Dimitris Apostolou
715a0bcce3
Fix typos (PR# 1099)
2022-01-04 05:06:35 -05:00
Jeffrey Walton
8e9cb9d9d8
Whitespace check-in
2021-03-04 22:49:25 -05:00
Tobias Nießen
0a40a0c3ca
Fix typos in documentation and comments (PR #1012 )
2021-03-04 13:17:42 -05:00
Jeffrey Walton
ac6987f3ae
Use \return and \throw consitently in the docs
2020-12-07 23:35:10 -05:00
Jeffrey Walton
d64e572031
Update documentation
2019-12-31 22:51:32 -05:00
Jeffrey Walton
75b47d38ac
Update documentation
2019-12-31 22:32:54 -05:00
Jeffrey Walton
b3eada566f
Update documentation
2019-12-31 22:25:23 -05:00
Jeffrey Walton
a91116b950
Update documentation
2019-12-31 20:39:54 -05:00
Jeffrey Walton
7a22d8845d
Update documentation
2019-09-26 13:45:31 -04:00
Jeffrey Walton
d49c1a1605
Update documentation
2019-08-17 14:49:03 -04:00
Jeffrey Walton
e22700f741
Fix use of MaxDerivedKeyLength (GH #874 )
2019-08-16 07:12:14 -04:00
Jeffrey Walton
32abab75f2
Add KeyDerivationFunction interface (GH #610 , PR #611 )
2018-03-29 20:18:27 -04:00
Jeffrey Walton
befd04312d
Remove unneeded Doxygen directive
2018-01-19 14:31:20 -05:00
Jeffrey Walton
61ec50dabe
Change Doxygen comment style from //! to ///
...
Also see https://groups.google.com/forum/#!topic/cryptopp-users/A7-Xt5Knlzw
2017-11-29 10:54:33 -05:00
Jeffrey Walton
086ad70feb
Update documentation
2017-08-05 07:53:52 -04:00
Jeffrey Walton
2c9a3039e8
Update documentation
...
This cleanup was performed using Clang and -Wdocumentation -Wno-documentation-deprecated-sync
2017-07-27 19:15:21 -04:00
Jeffrey Walton
bd8edfa87b
Add variable block size support for block ciphers
...
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);
2017-05-01 16:23:57 -04:00
Jeffrey Walton
5efb019d8b
Add C++ nullptr support (Issue 383)
2017-03-01 06:10:06 -05:00
Jeffrey Walton
81b1a18063
Change file preamble to include "originally written by Wei Dai"
...
We have made a fair number of changes, and we don't want WD to receive credit for issues he was not part of
2017-01-27 07:05:45 -05:00
klemens
5a5c633073
spelling fixes
2016-12-27 18:34:57 +01:00
Jeffrey Walton
93a6758fd9
Updated documentation
2016-10-12 02:57:28 -04:00
Jeffrey Walton
399a1546de
Add CRYPTOPP_ASSERT (Issue 277, CVE-2016-7420)
...
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
2016-09-16 11:27:15 -04:00
Jeffrey Walton
894874fe75
Whitespace checkin
2016-09-10 04:57:48 -04:00
Jeffrey Walton
30c1af2858
Added BLAKE2 Cryptographic Hash and Message Authentication Code
2016-04-17 03:06:28 -04:00
Jeffrey Walton
17ead160bf
Updated documentation
2015-12-16 19:39:29 -05:00
Jeffrey Walton
6ac1e46a1f
Cleared issues 11,12,13 (Clang integrated assembler), 58 (RC rollup), 66 (Coverity rollup)
2015-11-18 15:32:28 -05:00
Jeffrey Walton
48809d4e85
CRYPTOPP 5.6.3 RC6 checkin
2015-11-05 01:59:46 -05:00
Jeffrey Walton
22c3e41133
Removed USING_NAMESPACE(std). Changed cout → std::cout, cerr → std::cerr, ...
2015-07-30 17:35:58 -04:00
Jeffrey Walton
b7de164d62
Cut-in CRYPTOPP_ASSERT in all remaining header and source files
2015-07-26 16:03:14 -04:00
Jeffrey Walton
7b64ca489a
Added "trap.h" include for header and source files that assert
2015-07-26 15:51:16 -04:00
Jeffrey Walton
35b213c085
Cleared "unused parameter" warning with GCC 5.1 and -Wextra
2015-07-23 19:30:14 -04:00
weidai
8ca6148ad5
add x86/x64 assembly for SHA-256,
...
add DEFAULT_CHANNEL and AAD_CHANNEL,
fix macChannel for AuthenticatedEncryptionFilter
2009-03-10 02:56:19 +00:00
weidai
43b41c1042
update version number, port to Sun C++ 5.8
2006-12-18 02:34:33 +00:00
weidai
4afd858ae4
port to Borland C++Builder 2006
2006-12-14 11:41:39 +00:00
weidai
1db8ea5084
port to MSVC .NET 2005 beta 2
2005-07-12 04:23:32 +00:00
weidai
b3924f2108
changes done for FIPS-140 lab code drop
2005-01-20 04:19:35 +00:00
weidai
393ae4859a
fix documentation, fix PanamaMAC, fix algorithm names
2004-07-22 00:51:57 +00:00
weidai
f78fccb3cc
port to GCC 3.4
2004-06-19 08:28:09 +00:00
weidai
55a22f2adf
allow DLL to be built with VC++ .NET
2003-07-18 21:33:18 +00:00
weidai
38b49e4543
added support for using encoding parameters and key derivation parameters
2003-07-16 01:53:45 +00:00
weidai
f278895908
create DLL version, fix GetNextIV() bug in CTR and OFB modes
2003-07-04 00:17:37 +00:00
weidai
376fe5b4ae
sync with private branch
2003-06-19 17:09:07 +00:00
weidai
a003ea18cc
add CRYPTOPP_NO_VTABLE
2003-05-16 00:53:53 +00:00
weidai
538de80a91
various changes for 5.1
2003-03-20 01:24:12 +00:00
weidai
39fd2045e9
fixed to compile with Intel compiler
2002-11-19 20:44:40 +00:00
weidai
a3b6ece7ab
Initial revision
2002-10-04 17:31:41 +00:00