summaryrefslogtreecommitdiff
path: root/blake2.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Back-off on Hash asserts (GH #652)Jeffrey Walton2018-05-051-1/+1
| | | | The asserts were a little aggressive and caused very noisy Debug runs. The library itself was one of the biggest offenders.
* Back-off on Hash asserts (GH #652)Jeffrey Walton2018-05-051-0/+4
| | | | The asserts were a little aggressive and caused very noisy Debug runs. The library itself was one of the biggest offenders.
* Clear clang-tidy warningsJeffrey Walton2018-01-231-6/+0
|
* Add const-ness to internal BLAKE2 functions (GH #527)Jeffrey Walton2017-12-061-28/+28
|
* Fix MSVC 2017 hang on BLAKE2 (GH #527)Jeffrey Walton2017-12-061-116/+112
| | | | It looks like the macros for BLAKE2B and BLAKE2S round functions were too much for the compiler to handle
* Add CRYPTOPP_SLOW_ARMV8_SHIFT for Aarch32 and Aarch64Jeffrey Walton2017-11-231-4/+9
| | | | Both BLAKE2 and SPECK slow down when using NEON/ASIMD. When just BLAKE2 experienced the issue, it was a one-off problem. Its now wider than a one-off, so add the formal define
* Cleanup comments and old code artifactsJeffrey Walton2017-11-151-14/+8
|
* Use SSE4.1 instead of SSE4.2 for BLAKE2Jeffrey Walton2017-11-151-12/+6
| | | | BLAKE2 requires SSE4.1, no SSE4.2. This change should have been made when we split SSE4 into .1 and .2, but we needed more OS X and LLVM testing
* Fix SunCC 12.5 compile with -std=c++11Jeffrey Walton2017-11-131-4/+2
|
* Update documentationJeffrey Walton2017-11-121-1/+2
|
* Fix compile under Embarcadero (GH #498)Jeffrey Walton2017-09-151-0/+2
| | | | [bcc32c Error] blake2.cpp(49): 'alignas' must be specified on definition if it is specified on any declaration
* Cleared unused variable warning under MSCJeffrey Walton2017-09-011-41/+30
|
* Clear strict aliasing rule violation in BLAKE2Jeffrey Walton2017-09-011-28/+48
| | | | There was no aliasing violation in practice. We used a to assign the right pointer. If the compiler would have removed the unneeded assignment based on T_64bit, then we would not have been flagged.
* Split source files to support Base Implementation + SIMD implementation (GH ↵Jeffrey Walton2017-08-171-3564/+53
| | | | | #461) Split source files to support Base Implementation + SIMD implementation
* Cleanup casts due to ClangJeffrey Walton2017-08-131-47/+51
|
* NULLPTR fix for blake2Dmitry S. Baikov2017-05-111-1/+1
|
* blake2: Fixed initialization when using non-keyed constructor with ↵Dmitry S. Baikov2017-05-111-1/+1
| | | | | | | | 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
* Removed 'aligned' makefile target. It was made default in 5.6.5Jeffrey Walton2017-03-281-2/+1
|
* Add C++ nullptr support (Issue 383)Jeffrey Walton2017-03-011-3/+3
|
* Remove extra preamble for copyright.Jeffrey Walton2017-02-211-3/+2
| | | | Similar text may be added in the future
* Add asserts to validation routinesJeffrey Walton2017-01-291-2/+2
|
* Add BLAKE2B_ and BLAKE2S_ prefix to macros, remive \#undef'sJeffrey Walton2017-01-221-227/+130
|
* Comments and whitespace (Issue 367)Jeffrey Walton2017-01-221-96/+97
|
* Disable NEON for Cortex-A53 and A57 processors (Issue 367)Jeffrey Walton2017-01-221-2081/+1153
|
* spelling fixesklemens2016-12-271-2/+2
|
* Removed VC++ 5.0 and 6.0 workarounds (Issue 342)Jeffrey Walton2016-12-031-1/+1
|
* Fix SunCC compile under x86_64Jeffrey Walton2016-09-211-8/+3
|
* Add CRYPTOPP_ASSERT (Issue 277, CVE-2016-7420)Jeffrey Walton2016-09-161-14/+14
| | | | 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
* Work around BLAKE2b self test failures under SunCC 5.12 with SSE2 (Issue 247)Jeffrey Walton2016-08-241-0/+7
|
* Fix compile under VS2013 X86Jeffrey Walton2016-08-211-2/+2
|
* Fix compile under VS2012 X86Jeffrey Walton2016-08-211-1/+1
|
* Fix compile under VS2010 X86Jeffrey Walton2016-08-211-1/+1
|
* Fixed compile under Visual Studio 2008, 32-bitJeffrey Walton2016-07-241-1/+1
|
* Removed SSE2 and SSE4 restrictions under Visual StudioJeffrey Walton2016-07-241-15/+3
|
* Add SSE2 guard with CRYPTOPP_BOOL_SSE2_AVAILABLEJeffrey Walton2016-07-241-1/+1
|
* Enable CRYPTOPP_BOOL_SSE4_INTRINSICS_AVAILABLEJeffrey Walton2016-07-241-1/+1
|
* Prefer union access over pointer castJeffrey Walton2016-07-241-5/+5
| | | | Also see http://stackoverflow.com/a/38547909/608639
* Avoid accessing union value through inactive memberJeffrey Walton2016-07-231-2/+3
|
* Fixed arguments to _mm_set_epi64xJeffrey Walton2016-07-231-1/+1
|
* Add replacement for _mm_set_epi64x under Sun Studio 12.3 and belowJeffrey Walton2016-07-231-3/+13
|
* Fix compile under iOSJeffrey Walton2016-07-131-7/+1
|
* Clear Valgrind findings under -OfastJeffrey Walton2016-07-121-7/+9
|
* Fix compile under Sun Studio 12.3 and below with -xarch=aes definesJeffrey Walton2016-07-101-6/+6
|
* Add SunCC 12.4 support for specialized implementations if CRC, RDRAND and BLAKE2Jeffrey Walton2016-07-101-2/+7
|
* Go back to Commit 66ada4cc61d62afcJeffrey Walton2016-07-061-1/+1
|
* Revert "Merge remote-tracking branch 'upstream/master'" - not intended to be ↵Mouse2016-07-061-1/+1
| | | | | | | merged by me This reverts commit 762c315566bce681e380641d1894251f984eac10, reversing changes made to b48866631a5587e9348245fedd6f1e0871df35db.
* Add MacPorts GCC compiler and Clang integrated assembler support. This is a ↵Jeffrey Walton2016-07-051-1/+1
| | | | merge of the development branch 'clang-ia'
* Avoid Coverity finding SIZEOF_MISMATCH/suspicious_sizeof (Issue 210)Jeffrey Walton2016-07-011-23/+29
|
* Use COUNTOF and offset consistentlyJeffrey Walton2016-07-011-16/+20
|
* Remove CRYPTOPP_NO_VTABLE from BLAKE2_Info<T>. Fix memset salt and ↵Jeffrey Walton2016-06-301-20/+24
| | | | personalization (Issue 209)