Commit Graph

31 Commits

Author SHA1 Message Date
Jeffrey Walton
bc52b1abf8 Cleared warning 'extra ";" ignored' 2016-06-08 16:46:51 -04:00
Jeffrey Walton
77f870abb3 Cleared "C4101: unreferenced local variable" under Visual Studio 2016-05-30 08:35:58 -04:00
Jeffrey Walton
be572877f6 Commented out assert. Its still firing without an accompanying SIGBUS 2016-05-28 19:22:24 -04:00
Jeffrey Walton
b86f3fef87 Backed-off assert for input byte array 2016-05-28 16:01:18 -04:00
Jeffrey Walton
884f7fd4ac Remove uneeded assert 2016-05-21 13:00:00 -04:00
Jeffrey Walton
2162219299 Add call to ThrowIfInvalidTruncatedSize in TruncatedFinal 2016-05-21 12:28:52 -04:00
Jeffrey Walton
309fbc2e78 Fix hash calculation for big endian machines. Remove unused functions 2016-05-21 12:19:57 -04:00
Jeffrey Walton
a6d58714ac Avoid Valgrind uninitialized warning by defering checks and using asserts 2016-05-21 08:45:05 -04:00
Jeffrey Walton
b005d8b4b5 Fixed memory error after switch to FixedSizeAlignedSecBlock<State> and FixedSizeAlignedSecBlock<ParameterBlock> 2016-05-19 14:55:51 -04:00
Jeffrey Walton
3c7b585810 Add test for AES, SHA1 and SHA2 from ARM Crypto extension 2016-05-19 04:18:35 -04:00
Jeffrey Walton
77613ae9b0 Clear Visual Studio C4316 warning for "object allocated on the heap may not be aligned 16" 2016-05-17 08:08:40 -04:00
Jeffrey Walton
c0a6c27cec Cleared unused variable warning under MSC. Whitespace cleanup 2016-05-15 01:32:35 -04:00
Jeffrey Walton
52a6d43c5e Re-enable BLAKE2_NEON_Compress64 2016-05-14 13:58:53 -04:00
Jeffrey Walton
6203f7fb1e Disable ARM NEON 64-bit Comprress function. Its got a copy/paste error somewhere in the bowels 2016-05-12 15:05:35 -04:00
Jeffrey Walton
ea561646b9 Fix Restart() 2016-05-11 15:32:10 -04:00
Jeffrey Walton
73fea1dba0 Add BLAKE2_NEON_Compress64 2016-05-11 15:07:29 -04:00
Jeffrey Walton
ab72b432cb Change each 'm' to use 'm[]' with a reserve for creating arrays in-place. It avoids two extra copies for each call to vld1q_s32 2016-05-07 16:40:03 -04:00
Jeffrey Walton
01452d4ece Add BLAKE2_NEON_Compress32 2016-05-07 08:08:40 -04:00
Jeffrey Walton
1ce593357f Cleared compile errors under Visual Studio .Net compilers 2016-04-29 10:25:18 -04:00
Jeffrey Walton
8f22e80654 Cleared -Wcast-align warnings under Clang (also see LLVM bug 20670) 2016-04-20 20:52:03 -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
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
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
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