Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update comments | Jeffrey Walton | 2020-04-11 | 1 | -1/+1 |
| | |||||
* | Update comments | Jeffrey Walton | 2020-04-06 | 1 | -6/+6 |
| | |||||
* | Use Altivec as minimum ISA for Blake2s | Jeffrey Walton | 2020-04-05 | 1 | -0/+4 |
| | |||||
* | Use Altivec as minimum ISA for Blake2s | Jeffrey Walton | 2020-04-05 | 1 | -24/+5 |
| | |||||
* | Fix BLAKE2 using default Salt and Personalization (GH #921) | Jeffrey Walton | 2020-01-08 | 1 | -12/+8 |
| | | | | We are going to keep the bug report open until we get some official test vectors. We will probably have to modify one of the Blake team's test programs since they did not publish test vectors using salt or personalization | ||||
* | Add XLC 12 loads and stores for AIX (PR #907) | Jeffrey Walton | 2019-10-26 | 1 | -12/+12 |
| | | | Add XLC 12 loads and stores for AIX | ||||
* | Remove C++11 constexpr code for CRYPTOPP_ALIGN_DATA (PR #830) | Jeffrey Walton | 2019-04-30 | 1 | -4/+1 |
| | | | I don't have faith in it even though it has tested good so far. | ||||
* | Clear alignment warnings on ARM 32-bit platforms (#828) | Jeffrey Walton | 2019-04-30 | 1 | -7/+8 |
| | |||||
* | Clear alignment warnings on ARM 32-bit platforms | Jeffrey Walton | 2019-04-29 | 1 | -4/+16 |
| | |||||
* | Use PowerPC unaligned loads and stores with Power8 (GH #825, PR #826) | Jeffrey Walton | 2019-04-27 | 1 | -11/+11 |
| | | | Use PowerPC unaligned loads and stores with Power8. Formerly we were using Power7 as the floor because the IBM POWER Architecture manuals said unaligned loads and stores were available. However, some compilers generate bad code for unaligned loads and stores using `-march=power7`, so bump to a known good. | ||||
* | Add missing BLAKE2 constructors | Jeffrey Walton | 2019-02-24 | 1 | -0/+20 |
| | | | | BLAKE2b and BLAKE2s are both missing a constructor that takes only the digest size. Also see https://groups.google.com/d/msg/cryptopp-users/QCFGYw8q3Yo/vpBCqz-vBgAJ | ||||
* | Cleanup BLAKE2 m_keyLength and m_digestSize | Jeffrey Walton | 2018-11-25 | 1 | -5/+7 |
| | |||||
* | Add CRYPTOPP_POWER7_ALTIVEC for XLC 12 on AIX workaround | Jeffrey Walton | 2018-11-24 | 1 | -0/+1 |
| | |||||
* | Use previous digest size as a default value in BLAKE2 | Jeffrey Walton | 2018-11-21 | 1 | -2/+2 |
| | |||||
* | Disable Altivec for BLAKE2s on AIX 7.1 and XLC 12.01 (GH #743) | Jeffrey Walton | 2018-11-21 | 1 | -0/+8 |
| | |||||
* | Rewrite BLAKE2 classes | Jeffrey Walton | 2018-11-20 | 1 | -310/+306 |
| | | | | | | The ParameterBlocks for BLAKE2 had undefined behavior. We relied on the compiler packing the bytes in the structure, then we used the first byte as the start of an array. This rewrite does things correctly. We don't memset the structure, and we don't treat the structure as a contiguous array. | ||||
* | Add BLAKE2s and ChaCha CORE SIMD function (GH #656) | Jeffrey Walton | 2018-11-18 | 1 | -6/+4 |
| | | | | | The CORE function provides the implementation for ChaCha_OperateKeystream_ALTIVEC, ChaCha_OperateKeystream_POWER7, BLAKE2_Compress32_ALTIVEC and BLAKE2_Compress32_POWER7. Depending on the options used to compile the source files, either POWER7 or ALTIVEC will be used. This is needed to support the "new toolchain, ancient hardware" use case. | ||||
* | Whitespace check-in | Jeffrey Walton | 2018-11-18 | 1 | -2/+2 |
| | |||||
* | Switch between POWER7 and POWER4 (GH #656) | Jeffrey Walton | 2018-11-18 | 1 | -3/+11 |
| | | | | | This is kind of tricky. We automatically drop from POWER7 to POWER4 if 7 is not available. However, if POWER7 is available the runtime test checks for HasAltivec(), and not HasPower7(), if the drop does not occur. All of this goodness is happening on an old Apple G4 laptop with Gentoo. It is a "new toolchain on old hardware". | ||||
* | Update comments | Jeffrey Walton | 2018-11-15 | 1 | -11/+22 |
| | |||||
* | Fix disjoint t[] and f[] when using SIMD implementations | Jeffrey Walton | 2018-11-03 | 1 | -22/+22 |
| | |||||
* | Rewrite BLAKE2 classes to remove intermediate base class | Jeffrey Walton | 2018-11-03 | 1 | -83/+203 |
| | |||||
* | Guard BLAKE2 on CRYPTOPP_ALTIVEC_AVAILABLE | Jeffrey Walton | 2018-11-03 | 1 | -3/+3 |
| | |||||
* | Remove unneeded BLAKE2B_IV from Blake2s source file | Jeffrey Walton | 2018-11-02 | 1 | -1/+1 |
| | |||||
* | Add BLAKE2b Power8 implementation (GH #731) | Jeffrey Walton | 2018-11-02 | 1 | -0/+19 |
| | |||||
* | Add BLAKE2b Power8 implementation (GH #729) | Jeffrey Walton | 2018-10-30 | 1 | -7/+17 |
| | |||||
* | Avoid std::call_once (GH #707) | Jeffrey Walton | 2018-08-21 | 1 | -2/+2 |
| | | | | | This commit also favors init priorities over C++ dynamic initialization. After the std::call_once problems on Sparc and PowerPC I'm worried about problems with Dynamic Initialization and Destruction with Concurrency. We also do away with supressing warnings and use CRYPTOPP_UNUSED instead. | ||||
* | Use bitwise not 0 for last block flag | Jeffrey Walton | 2018-08-21 | 1 | -2/+2 |
| | |||||
* | Switch to SaturatingSubtract to guard against wrap on user parameters | Jeffrey Walton | 2018-08-21 | 1 | -20/+18 |
| | |||||
* | Clear initialization warning due to non-trivial destructor | Jeffrey Walton | 2018-08-21 | 1 | -24/+82 |
| | |||||
* | Add algorithm provider member function to Algorithm class | Jeffrey Walton | 2018-07-06 | 1 | -0/+19 |
| | |||||
* | Back-off on Hash asserts (GH #652) | Jeffrey Walton | 2018-05-05 | 1 | -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 Walton | 2018-05-05 | 1 | -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 warnings | Jeffrey Walton | 2018-01-23 | 1 | -6/+0 |
| | |||||
* | Add const-ness to internal BLAKE2 functions (GH #527) | Jeffrey Walton | 2017-12-06 | 1 | -28/+28 |
| | |||||
* | Fix MSVC 2017 hang on BLAKE2 (GH #527) | Jeffrey Walton | 2017-12-06 | 1 | -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 Aarch64 | Jeffrey Walton | 2017-11-23 | 1 | -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 artifacts | Jeffrey Walton | 2017-11-15 | 1 | -14/+8 |
| | |||||
* | Use SSE4.1 instead of SSE4.2 for BLAKE2 | Jeffrey Walton | 2017-11-15 | 1 | -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++11 | Jeffrey Walton | 2017-11-13 | 1 | -4/+2 |
| | |||||
* | Update documentation | Jeffrey Walton | 2017-11-12 | 1 | -1/+2 |
| | |||||
* | Fix compile under Embarcadero (GH #498) | Jeffrey Walton | 2017-09-15 | 1 | -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 MSC | Jeffrey Walton | 2017-09-01 | 1 | -41/+30 |
| | |||||
* | Clear strict aliasing rule violation in BLAKE2 | Jeffrey Walton | 2017-09-01 | 1 | -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 Walton | 2017-08-17 | 1 | -3564/+53 |
| | | | | | #461) Split source files to support Base Implementation + SIMD implementation | ||||
* | Cleanup casts due to Clang | Jeffrey Walton | 2017-08-13 | 1 | -47/+51 |
| | |||||
* | NULLPTR fix for blake2 | Dmitry S. Baikov | 2017-05-11 | 1 | -1/+1 |
| | |||||
* | blake2: Fixed initialization when using non-keyed constructor with ↵ | Dmitry S. Baikov | 2017-05-11 | 1 | -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.5 | Jeffrey Walton | 2017-03-28 | 1 | -2/+1 |
| | |||||
* | Add C++ nullptr support (Issue 383) | Jeffrey Walton | 2017-03-01 | 1 | -3/+3 |
| |