Commit Graph

1447 Commits

Author SHA1 Message Date
Jeffrey Walton
01d137155c Add SHA3/FIPS 202 test vectors. Add note to config.h on uncommenting sha3_fips_202.txt when defining CRYPTOPP_USE_FIPS_202_SHA3 2016-04-23 21:55:47 -04:00
Jeffrey Walton
df1c94a38a Initial cut-in of CRYPTOPP_USE_FIPS_202_SHA3 macro 2016-04-23 18:47:23 -04:00
Jeffrey Walton
62a72f9dfa Merge pull request #41 from kinap/master
Updated SHA3 padding to NIST final FIPS 202 spec.
2016-04-23 17:41:31 -05:00
Jeffrey Walton
920b23d884 Added deprecated warning to SHA3 classes due to FIPS 202 finalization 2016-04-23 17:05:14 -04:00
Jeffrey Walton
2b311f2194 Add CRYPTOPP_DEPRECATED macro 2016-04-23 16:45:35 -04:00
Jeffrey Walton
ca9690312b Modify BLAKE2_State ctor to initialize each member except buffer[] 2016-04-22 20:40:40 -04:00
Jeffrey Walton
abcec10b29 Cleared Visual Studio warning on padding structures 2016-04-22 20:31:18 -04:00
Jeffrey Walton
9e2b4f84ee Change default key size to output size per BLAKE2 recommendation 2016-04-22 18:09:47 -04:00
Jeffrey Walton
138093d1af Add benchmarks for BLAKE2 and ChaCha 2016-04-22 17:02:03 -04:00
Jeffrey Walton
676e6546e5 Fix CPU_SPEED 2016-04-22 16:09:28 -04:00
Jeffrey Walton
bb3976b608 Delete original bench.cpp since Git could not find it in its heart to do it during the move 2016-04-22 14:53:15 -04:00
Jeffrey Walton
63529159d6 Add blake2.cpp chacha.cpp to DLLSRCS 2016-04-22 14:19:51 -04:00
Jeffrey Walton
f8ad685c3d Rename bench.cpp to bench1.cpp 2016-04-22 14:15:09 -04:00
Jeffrey Walton
c8900f3992 Updated documentation 2016-04-22 00:06:50 -04:00
Jeffrey Walton
131fd4bb7b Updated documentation 2016-04-22 00:03:03 -04:00
Jeffrey Walton
746b618c3e Updated documentation 2016-04-21 23:06:26 -04:00
Jeffrey Walton
433f2d6566 Remove branch in increment counter 2016-04-21 19:53:04 -04:00
Jeffrey Walton
da05d100e3 Add ChaCha test vectors to All group 2016-04-21 13:16:03 -04:00
Jeffrey Walton
b5ec56219e Add test vectors 2016-04-21 12:37:02 -04:00
Jeffrey Walton
90bb31360d Update ChaCha to latest sources 2016-04-21 12:14:26 -04:00
Jeffrey Walton
38f6c33789 Update ChaCha to latest sources 2016-04-21 12:12:42 -04:00
Jeffrey Walton
0f702accfc Add ChaCha family of stream ciphers 2016-04-21 12:08:36 -04:00
Jeffrey Walton
d4d418503f Add ChaCha family of stream ciphers 2016-04-21 12:08:21 -04:00
Jeffrey Walton
53b51331a4 Add ChaCha family of stream ciphers 2016-04-21 12:05:25 -04:00
Jeffrey Walton
c82f0a0d6a Updated documentation 2016-04-21 04:08:06 -04:00
Jeffrey Walton
8ac5c499c2 Updated documentation 2016-04-21 00:40:03 -04:00
Jeffrey Walton
4c78330cb9 Updated documentation 2016-04-21 00:24:55 -04:00
Jeffrey Walton
8f22e80654 Cleared -Wcast-align warnings under Clang (also see LLVM bug 20670) 2016-04-20 20:52:03 -04:00
denisbider
938c0a8bf1 Add size_t cast to resolve VS warning C4334
Resolve C4334: 'operator' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
2016-04-20 17:10:01 -06:00
denisbider
2dde105c3f Add size_t cast to resolve VS warning C4334
Resolve C4334: 'operator' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
2016-04-20 17:07:44 -06:00
Jeffrey Walton
f4d8b054b3 Updated documentation 2016-04-20 19:03:46 -04:00
Jeffrey Walton
50881b3fb3 Enable BLAKE2_SSE2_Compress32 and BLAKE2_SSE4_Compress32. Add static function pointer for one-time initialization 2016-04-19 11:59:21 -04:00
Jeffrey Walton
acd43c212f Enable BLAKE2_SSE4_Compress32 and BLAKE2_SSE4_Compress64 for VS2008 2016-04-19 10:42:26 -04:00
Jeffrey Walton
6d8332b76b Fix missing </File> tag 2016-04-19 06:31:33 -04:00
Jeffrey Walton
5d3a499638 Fix Apple Clang 6.0/Clang 3.5 compile 2016-04-19 04:06:01 -04:00
Jeffrey Walton
8e070a9955 Assign copyright to project. Add initial BLAKE2_SSE4_Compress32. Whitespace 2016-04-19 02:46:24 -04:00
Jeffrey Walton
71a6c2c187 Improved Visual Studio detection for BLAKE2 SSE implementations 2016-04-19 01:48:55 -04:00
Jeffrey Walton
f1ab826ff4 Added BLAKE2_SSE4_Compress64 2016-04-19 01:21:11 -04:00
Jeffrey Walton
e52ccb6d56 Switch to DIGESTSIZE for key size. Switch to FixedSizeAlignedSecBlock for key. Add initial BLAKE2_SSE2_Compress32 2016-04-18 23:54:20 -04:00
Jeffrey Walton
7d4a5d3ded Fix assertion in DEBUG builds 2016-04-18 05:16:25 -04:00
Jeffrey Walton
63cd55901c Added BLAKE2 self tests 2016-04-18 02:39:10 -04:00
Jeffrey Walton
1b661bb688 Add constants for MIN_KEYLENGTH, MAX_KEYLENGTH, DEFAULT_KEYLENGTH. Fix keyed hash calculation. Fix tree mode variable initialization. Cleanup whitespace in BLAKE2_SSE2_Compress64 2016-04-18 00:46:59 -04:00
Jeffrey Walton
5607bd571f Add missing filters for blake2.h and blake2.cpp 2016-04-17 20:08:55 -04:00
Jeffrey Walton
fe7ac4322f Added Test Vectors to Visual Studio project files 2016-04-17 19:19:21 -04:00
Jeffrey Walton
d656f4404a Added Windows support for BLAKE2 2016-04-17 10:48:26 -04:00
Jeffrey Walton
30c1af2858 Added BLAKE2 Cryptographic Hash and Message Authentication Code 2016-04-17 03:06:28 -04:00
Jeffrey Walton
a11c9e7574 Add SSE4.1 and SSE4.2 feature detection 2016-04-15 16:23:04 -04:00
Jeffrey Walton
22f493dda9 Fix the Rijndael timing attack counter measure (Issue 146) 2016-04-12 14:43:39 -04:00
Jeffrey Walton
29e9bd2b27 Fixed OIDs for curve25519 and curve448 2016-04-11 18:28:05 -04:00
Jeffrey Walton
7ca5f7d3b5 Add OIDs for curve25519 and curve448 2016-04-11 04:14:07 -04:00