Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update comments in IterHashBase and friends | Jeffrey Walton | 2018-07-21 | 1 | -5/+7 |
| | | | | We also switched to "IsAligned<HashWordType>(input)". Using word64 was due to debug testing on Solaris (the alignment check is needed). Hard coding word64 should not have been checked in. | ||||
* | Use blockSize throughout HashMultipleBlocks | Jeffrey Walton | 2018-07-20 | 1 | -4/+4 |
| | |||||
* | Fix Tiger crash on Sparc (GH #690) | Jeffrey Walton | 2018-07-20 | 1 | -7/+19 |
| | | | | | Man, Sparc does not mess around with unaligned buffers. Without -xmemalign=4i the hardware wants 8-byte aligned word64's so it can use the high performance 64-bit move or add. Since we do not use -xmemalign we get the default behavior of either -xmemalgin=8i or -xmemalgin=8s. It shoul dnot matter to us since we removed unaligned data access at GH #682. | ||||
* | Align input buffer in HashMultipleBlocks | Jeffrey Walton | 2018-07-20 | 1 | -7/+26 |
| | | | | IteratedHashBase::Update aligns the buffer, but IteratedHashBase::HashBlock does not. It was causing a fair number of asserts to fire when the code was instrumented with alignment checks. Linux benchmarks shows the code does not run materially slower on i686 or x86_64. | ||||
* | Back-off on Hash asserts (GH #652) | Jeffrey Walton | 2018-05-05 | 1 | -17/+20 |
| | | | | The asserts were a little aggressive and caused very noisy Debug runs. The library itself was one of the biggest offenders. | ||||
* | Add CRYPTOPP_ASSERT to match Keccak and SHA3 (#654) | Asen Kovachev | 2018-05-03 | 1 | -0/+1 |
| | | | As described in https://github.com/weidai11/cryptopp/issues/652 for consistency we should add assert in all hash transformations. The expectation is to have a good pointer and a non-0 length or a null pointer and 0-length. | ||||
* | Fix Windows compilation issues (by RaptorFactor) (#444) | Marcel Raad | 2017-07-17 | 1 | -1/+1 |
| | | | | | | | | | | | | * Fix compilation on Windows with /DUNICODE * Fix linking of fipstest for MSVC targeting ARM (__crt_debugger_hook is not available). * Fix build for Clang on Windows with optimizations on. * Fix a warning about a non-existant warning under Clang. * Fix compilation under Intel C++ 18.0 on Windows | ||||
* | Avoid extra ByteReverse when using Intel SHA extensions | Jeffrey Walton | 2017-05-26 | 1 | -3/+0 |
| | | | | This gains about 0.6 cpb. SHA-1 is down to 1.7 to 1.9 cpb. SHA-256 is not affected | ||||
* | Revert "Avoid extra ByteReverse" | Jeffrey Walton | 2017-05-25 | 1 | -7/+4 |
| | | | | This reverts commit 3b56ba118f34. It broke Tiger and SEAL. Arg... | ||||
* | Add missing header | Jeffrey Walton | 2017-05-25 | 1 | -0/+1 |
| | |||||
* | Avoid extra ByteReverse | Jeffrey Walton | 2017-05-25 | 1 | -4/+7 |
| | | | | This gains about 0.6 cpb. SHA-1 is down to 1.9 cpb. SHA-256 is not affected | ||||
* | Change file preamble to include "originally written by Wei Dai" | Jeffrey Walton | 2017-01-27 | 1 | -1/+1 |
| | | | | We have made a fair number of changes, and we don't want WD to receive credit for issues he was not part of | ||||
* | Remove temporary array for SHA1. Whitespace and comments | Jeffrey Walton | 2016-12-06 | 1 | -0/+3 |
| | |||||
* | Add CRYPTOPP_ASSERT (Issue 277, CVE-2016-7420) | Jeffrey Walton | 2016-09-16 | 1 | -2/+2 |
| | | | | 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 | ||||
* | Cleared -Wcast-align (Issue 122) | Jeffrey Walton | 2016-01-24 | 1 | -2/+2 |
| | |||||
* | Cleared issues 11,12,13 (Clang integrated assembler), 58 (RC rollup), 66 ↵ | Jeffrey Walton | 2015-11-18 | 1 | -1/+1 |
| | | | | (Coverity rollup) | ||||
* | CRYPTOPP 5.6.3 RC6 checkin | Jeffrey Walton | 2015-11-05 | 1 | -167/+162 |
| | |||||
* | Whitespace checkin | Jeffrey Walton | 2015-07-30 | 1 | -3/+3 |
| | |||||
* | Cut-in CRYPTOPP_ASSERT in all remaining header and source files | Jeffrey Walton | 2015-07-26 | 1 | -1/+1 |
| | |||||
* | Added "trap.h" include for header and source files that assert | Jeffrey Walton | 2015-07-26 | 1 | -0/+1 |
| | |||||
* | Cleared UBsan warnings under GCC 5.1 | Jeffrey Walton | 2015-07-17 | 1 | -3/+9 |
| | |||||
* | fix memcpy with same src and dest (Peter Klotz) | weidai | 2010-08-03 | 1 | -1/+2 |
| | |||||
* | add x86/x64 assembly for SHA-256, | weidai | 2009-03-10 | 1 | -6/+10 |
| | | | | | add DEFAULT_CHANNEL and AAD_CHANNEL, fix macChannel for AuthenticatedEncryptionFilter | ||||
* | changes for 5.6: | weidai | 2009-03-02 | 1 | -5/+3 |
| | | | | | | - added AuthenticatedSymmetricCipher interface class and Filter wrappers - added CCM, GCM (with SSE2 assembly), CMAC, and SEED - improved AES speed on x86 and x64 - removed WORD64_AVAILABLE; compiler 64-bit int support is now required | ||||
* | fix compile with GCC 4.0.1 on MacOS X 64-bit | weidai | 2008-12-22 | 1 | -0/+12 |
| | |||||
* | reduce executable size when only hash functions are used | weidai | 2007-10-02 | 1 | -6/+1 |
| | |||||
* | optimizations | weidai | 2007-04-16 | 1 | -29/+38 |
| | |||||
* | update version number, port to Sun C++ 5.8 | weidai | 2006-12-18 | 1 | -0/+6 |
| | |||||
* | port to MSVC .NET 2005 beta 2 | weidai | 2005-07-12 | 1 | -8/+8 |
| | |||||
* | fix gcc 3.4.2 compile | weidai | 2004-10-17 | 1 | -1/+1 |
| | |||||
* | changes related to the next FIPS validation | weidai | 2004-09-03 | 1 | -6/+27 |
| | |||||
* | add SHA-224 | weidai | 2004-07-23 | 1 | -3/+10 |
| | |||||
* | merge in 5.0.4 changes (exclude DES and SHA-2 from DLL), | weidai | 2003-07-10 | 1 | -5/+0 |
| | | | | attempt (failed) to build DLL with GCC | ||||
* | create DLL version, fix GetNextIV() bug in CTR and OFB modes | weidai | 2003-07-04 | 1 | -15/+5 |
| | |||||
* | various changes for 5.1 | weidai | 2003-03-20 | 1 | -5/+4 |
| | |||||
* | Initial revision | weidai | 2002-10-04 | 1 | -0/+123 |