Dmitry S. Baikov
369fa3bc52
NULLPTR fix for blake2
2017-05-11 07:04:51 +03:00
Dmitry S. Baikov
e8e0b1c3f2
blake2: Fixed initialization when using non-keyed constructor with non-standard digest size. Added test vectors.
...
https://github.com/weidai11/cryptopp/issues/415
Test vectors generated with pyblake2 which uses 'BLAKE2 reference source code package' by Samuel Neves
2017-05-11 06:46:56 +03:00
Jeffrey Walton
c21023e2dc
Removed 'aligned' makefile target. It was made default in 5.6.5
2017-03-28 23:49:58 -04:00
Jeffrey Walton
5efb019d8b
Add C++ nullptr support (Issue 383)
2017-03-01 06:10:06 -05:00
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