summaryrefslogtreecommitdiff
path: root/simple.h
Commit message (Collapse)AuthorAgeFilesLines
* Update documentationJeffrey Walton2019-09-261-1/+1
|
* Update documentationJeffrey Walton2019-08-171-0/+60
|
* Fix use of MaxDerivedKeyLength (GH #874)Jeffrey Walton2019-08-161-2/+2
|
* Add KeyDerivationFunction interface (GH #610, PR #611)Jeffrey Walton2018-03-291-0/+7
|
* Remove unneeded Doxygen directiveJeffrey Walton2018-01-191-17/+0
|
* Change Doxygen comment style from //! to ///Jeffrey Walton2017-11-291-133/+133
| | | | Also see https://groups.google.com/forum/#!topic/cryptopp-users/A7-Xt5Knlzw
* Update documentationJeffrey Walton2017-08-051-1/+9
|
* Update documentationJeffrey Walton2017-07-271-2/+0
| | | | This cleanup was performed using Clang and -Wdocumentation -Wno-documentation-deprecated-sync
* Add variable block size support for block ciphersJeffrey Walton2017-05-011-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This should lead the way for more modern block ciphers like Threefish and Kalyna. It tested well with both regular cipher modes (the mode has an instance of the cipher) and external cipher modes (the cipher and mode are distinct objects, and the mode holds a reference to the cipher). We still have to work out the details of naming a cipher. For example, Kalyna with a 128-bit key can use a 128-bit or 256-bit block size. Kalyna-128 is not enough to describe the algorithm and locate it in the object registry. Kalyna-128-128 looks kind of weird; maybe Kalyna-128(128) or Kalyna-128(256) would be better. Here are the initial test cases to verify functionality: byte key[64] = {}, iv[32] = {}; ECB_Mode<Kalyna>::Encryption enc1; enc1.SetKey(key, 16); CBC_Mode<Kalyna>::Encryption enc2; enc2.SetKeyWithIV(key, 16, iv); AlgorithmParameters params = MakeParameters (Name::BlockSize(), 32) (Name::IV(), ConstByteArrayParameter(iv, 32)); CTR_Mode<Kalyna>::Encryption enc3; enc3.SetKey(key, 16, params); CBC_Mode<Kalyna>::Encryption enc4; enc4.SetKey(key, 32, params); Kalyna::Encryption enc5; ECB_Mode_ExternalCipher::Encryption ecb(enc5); ecb.SetKey(key, 16, params); Kalyna::Encryption enc6; ECB_Mode_ExternalCipher::Encryption cbc(enc6); cbc.SetKey(key, 32, params);
* Add C++ nullptr support (Issue 383)Jeffrey Walton2017-03-011-1/+1
|
* Change file preamble to include "originally written by Wei Dai"Jeffrey Walton2017-01-271-1/+1
| | | | We have made a fair number of changes, and we don't want WD to receive credit for issues he was not part of
* spelling fixesklemens2016-12-271-2/+2
|
* Updated documentationJeffrey Walton2016-10-121-11/+66
|
* Add CRYPTOPP_ASSERT (Issue 277, CVE-2016-7420)Jeffrey Walton2016-09-161-3/+3
| | | | trap.h and CRYPTOPP_ASSERT has existed for over a year in Master. We deferred on the cut-over waiting for a minor version bump (5.7). We have to use it now due to CVE-2016-7420
* Whitespace checkinJeffrey Walton2016-09-101-1/+1
|
* Added BLAKE2 Cryptographic Hash and Message Authentication CodeJeffrey Walton2016-04-171-0/+16
|
* Updated documentationJeffrey Walton2015-12-161-1/+2
|
* Cleared issues 11,12,13 (Clang integrated assembler), 58 (RC rollup), 66 ↵Jeffrey Walton2015-11-181-25/+88
| | | | (Coverity rollup)
* CRYPTOPP 5.6.3 RC6 checkinJeffrey Walton2015-11-051-221/+226
|
* Removed USING_NAMESPACE(std). Changed cout → std::cout, cerr → ↵Jeffrey Walton2015-07-301-1/+1
| | | | std::cerr, ...
* Cut-in CRYPTOPP_ASSERT in all remaining header and source filesJeffrey Walton2015-07-261-3/+3
|
* Added "trap.h" include for header and source files that assertJeffrey Walton2015-07-261-0/+1
|
* Cleared "unused parameter" warning with GCC 5.1 and -WextraJeffrey Walton2015-07-231-0/+11
|
* add x86/x64 assembly for SHA-256,weidai2009-03-101-9/+9
| | | | | add DEFAULT_CHANNEL and AAD_CHANNEL, fix macChannel for AuthenticatedEncryptionFilter
* update version number, port to Sun C++ 5.8weidai2006-12-181-11/+0
|
* port to Borland C++Builder 2006weidai2006-12-141-11/+1
|
* port to MSVC .NET 2005 beta 2weidai2005-07-121-13/+13
|
* changes done for FIPS-140 lab code dropweidai2005-01-201-1/+1
|
* fix documentation, fix PanamaMAC, fix algorithm namesweidai2004-07-221-4/+14
|
* port to GCC 3.4weidai2004-06-191-8/+8
|
* allow DLL to be built with VC++ .NETweidai2003-07-181-18/+0
|
* added support for using encoding parameters and key derivation parametersweidai2003-07-161-9/+17
|
* create DLL version, fix GetNextIV() bug in CTR and OFB modesweidai2003-07-041-13/+13
|
* sync with private branchweidai2003-06-191-1/+1
|
* add CRYPTOPP_NO_VTABLEweidai2003-05-161-10/+10
|
* various changes for 5.1weidai2003-03-201-0/+2
|
* fixed to compile with Intel compilerweidai2002-11-191-4/+4
|
* Initial revisionweidai2002-10-041-0/+228