Jeffrey Walton
8c20630c2d
Remove extra preamble for copyright.
...
Similar text may be added in the future
2017-02-21 02:54:09 -05:00
Jeffrey Walton
b8adc91ce8
Add asserts to validation routines
2017-01-29 04:58:56 -05:00
Jeffrey Walton
23fbba488d
Add BLAKE2B_ and BLAKE2S_ prefix to macros, remive \#undef's
2017-01-22 22:44:35 -05:00
Jeffrey Walton
6e1a021511
Comments and whitespace (Issue 367)
2017-01-22 13:34:50 -05:00
Jeffrey Walton
9dd2744419
Disable NEON for Cortex-A53 and A57 processors (Issue 367)
2017-01-22 13:18:35 -05:00
klemens
5a5c633073
spelling fixes
2016-12-27 18:34:57 +01:00
Jeffrey Walton
ba75834ae9
Removed VC++ 5.0 and 6.0 workarounds (Issue 342)
2016-12-03 05:05:56 -05:00
Jeffrey Walton
57b3a7c9cc
Fix SunCC compile under x86_64
2016-09-21 02:07:17 -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
ded4fd50a2
Work around BLAKE2b self test failures under SunCC 5.12 with SSE2 (Issue 247)
2016-08-24 02:39:06 -04:00
Jeffrey Walton
0c3313c8a2
Fix compile under VS2013 X86
2016-08-21 06:42:54 -04:00
Jeffrey Walton
898d6a3f78
Fix compile under VS2012 X86
2016-08-21 04:36:32 -04:00
Jeffrey Walton
cd3dd25b12
Fix compile under VS2010 X86
2016-08-21 04:16:44 -04:00
Jeffrey Walton
43320dd727
Fixed compile under Visual Studio 2008, 32-bit
2016-07-24 04:20:50 -04:00
Jeffrey Walton
fc5ad7ea7d
Removed SSE2 and SSE4 restrictions under Visual Studio
2016-07-24 01:25:30 -04:00
Jeffrey Walton
fa0b378173
Add SSE2 guard with CRYPTOPP_BOOL_SSE2_AVAILABLE
2016-07-24 00:47:37 -04:00
Jeffrey Walton
7716f5f689
Enable CRYPTOPP_BOOL_SSE4_INTRINSICS_AVAILABLE
2016-07-24 00:39:20 -04:00
Jeffrey Walton
32e6276baf
Prefer union access over pointer cast
...
Also see http://stackoverflow.com/a/38547909/608639
2016-07-24 00:34:55 -04:00
Jeffrey Walton
ef4f185d9b
Avoid accessing union value through inactive member
2016-07-23 23:49:26 -04:00
Jeffrey Walton
d8638a597f
Fixed arguments to _mm_set_epi64x
2016-07-23 22:09:26 -04:00
Jeffrey Walton
f532b02a96
Add replacement for _mm_set_epi64x under Sun Studio 12.3 and below
2016-07-23 21:39:18 -04:00
Jeffrey Walton
c4f9a7cfce
Fix compile under iOS
2016-07-13 01:45:09 -04:00
Jeffrey Walton
5080a065ce
Clear Valgrind findings under -Ofast
2016-07-12 23:05:00 -04:00
Jeffrey Walton
53e2147d8d
Fix compile under Sun Studio 12.3 and below with -xarch=aes defines
2016-07-10 20:40:45 -04:00
Jeffrey Walton
f8200af3ae
Add SunCC 12.4 support for specialized implementations if CRC, RDRAND and BLAKE2
2016-07-10 16:21:19 -04:00
Jeffrey Walton
6c0b120072
Go back to Commit 66ada4cc61
2016-07-06 14:39:18 -04:00
Mouse
87be783cd1
Revert "Merge remote-tracking branch 'upstream/master'" - not intended to be merged by me
...
This reverts commit 762c315566
, reversing
changes made to b48866631a
.
2016-07-06 12:01:28 -04:00
Jeffrey Walton
fb72dbc8cb
Add MacPorts GCC compiler and Clang integrated assembler support. This is a merge of the development branch 'clang-ia'
2016-07-05 02:48:27 -04:00
Jeffrey Walton
20c3e1a5ef
Avoid Coverity finding SIZEOF_MISMATCH/suspicious_sizeof (Issue 210)
2016-07-01 13:52:10 -04:00
Jeffrey Walton
4c6833e706
Use COUNTOF and offset consistently
2016-07-01 00:47:47 -04:00
Jeffrey Walton
920ba48317
Remove CRYPTOPP_NO_VTABLE from BLAKE2_Info<T>. Fix memset salt and personalization (Issue 209)
2016-06-30 20:55:56 -04:00
Jeffrey Walton
b1df5736a7
Merge 'solaris' dev branch into 'master'
2016-06-15 05:02:28 -04:00
Jeffrey Walton
c1f025343a
Add C++11 alignas support. Deleting 'alignas' branch
2016-06-14 19:14:09 -04:00
Jeffrey Walton
4431bc58e5
Cleared warning 'Warning: personalization hides CryptoPP::BLAKE2_ParameterBlock<0>::personalization'
2016-06-08 17:49:43 -04:00
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