Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Clear C4456 under MSVC | Jeffrey Walton | 2018-11-09 | 1 | -4/+4 | |
| | ||||||
* | Fix missing comment characters | Jeffrey Walton | 2018-11-09 | 1 | -1/+1 | |
| | ||||||
* | Fix global optimization bug for ChaCha AVX2 under VS2017 (GH #735) | Jeffrey Walton | 2018-11-09 | 2 | -6/+21 | |
| | | | | Also see https://github.com/weidai11/cryptopp/issues/649. The 649 issue is the one affecting AES. It appears to be the same problem. | |||||
* | Add ChaCha to self tests (GH #732) | Jeffrey Walton | 2018-11-08 | 4 | -21/+31 | |
| | ||||||
* | Clear C4456 under MSVC | Jeffrey Walton | 2018-11-08 | 1 | -6/+6 | |
| | ||||||
* | Whitespace check-in | Jeffrey Walton | 2018-11-08 | 1 | -11/+12 | |
| | ||||||
* | Lower Binutil version to 2.23 for AVX | Jeffrey Walton | 2018-11-08 | 1 | -2/+6 | |
| | ||||||
* | Add ChaCha AVX2 implementation (GH #735) | Jeffrey Walton | 2018-11-08 | 10 | -28/+485 | |
| | ||||||
* | Fix Solaris hardware cpas to allow AVX and AVX2 | Jeffrey Walton | 2018-11-08 | 1 | -1/+4 | |
| | ||||||
* | Fix compile using SunCC 5.9 | Jeffrey Walton | 2018-11-08 | 1 | -1/+3 | |
| | ||||||
* | whitespace check-in | Jeffrey Walton | 2018-11-07 | 1 | -4/+4 | |
| | ||||||
* | Disable global optimizations for Rijndael using MSC compiler (GH #649) | Jeffrey Walton | 2018-11-05 | 1 | -0/+8 | |
| | ||||||
* | Add meaningful test failure messages | Jeffrey Walton | 2018-11-05 | 1 | -12/+22 | |
| | ||||||
* | Whitespace check-in | Jeffrey Walton | 2018-11-05 | 1 | -1/+1 | |
| | | | | Look, we can finally use whitespace to add breaks and make these somewhat readable. | |||||
* | Improve datatest parser | Jeffrey Walton | 2018-11-05 | 1 | -59/+80 | |
| | | | | This switches to line oriented parsing for the test files. Previously we we using streams for names, and lines for values. We can now use whitespace and make the tests a bit more readable by grouping similar tests. AlgorithmType will clear the current accumlated values. | |||||
* | Add additional Salsa test vectors | Jeffrey Walton | 2018-11-05 | 1 | -0/+133 | |
| | ||||||
* | Add additional test vectors | Jeffrey Walton | 2018-11-04 | 1 | -31/+288 | |
| | ||||||
* | cryptlib.h | Jeffrey Walton | 2018-11-04 | 1 | -1/+1 | |
| | ||||||
* | Fix missing errno on PPC64 with GCC 4.8.5 | Jeffrey Walton | 2018-11-04 | 1 | -0/+1 | |
| | ||||||
* | Skip unneeded wrap check in SIMD book keeping (GH #732) | Jeffrey Walton | 2018-11-04 | 1 | -6/+9 | |
| | ||||||
* | Work-around potential counter increment problem in ChaCha20 (GH #732) | Jeffrey Walton | 2018-11-04 | 2 | -92/+113 | |
| | | | | | | | | This is only a work-around for the moment. The issue only affects SIMD code. The problem is, the algorithm we use performs a 32-bit add as an intermediate result, but we really need a 64-bit add. We are running 4 transforms in parallel, and we can't add and carry the way we need to. The workaround is, whenever we could cross the 32-bit counter boundary we use the C version of the transform. We determine the cross-over point by 'bool safe = 0xffffffff - state.low > 4'. When not safe we skip the SIMD version of the algorithm and use the C version. Once we are safe again we use the SIMD version again. The work-around costs us about 0.1 to 0.2 cpb. At 1.10 or 1.15 cpb that equates to about 200 MB/s on a Skylake. We'd like to get it back eventually. | |||||
* | Whitespace check-in | Jeffrey Walton | 2018-11-04 | 1 | -59/+59 | |
| | ||||||
* | Add additional ChaCha20 test vectors (GH #732) | Jeffrey Walton | 2018-11-04 | 1 | -0/+153 | |
| | | | | The additional tests ensure we cross the 32-bit boundary used by the state counters | |||||
* | Add ability to Seek64 in test framework (GH #732) | Jeffrey Walton | 2018-11-04 | 4 | -16/+55 | |
| | | | | Also see https://github.com/randombit/botan/pull/1728 | |||||
* | Fix compile on early Apple platforms. | Jeffrey Walton | 2018-11-03 | 1 | -1/+1 | |
| | | | | | | | | I think this may be related to the VectorSource check-in. The error is: algparam.h: In constructor 'ConstByteArrayParameter::ConstByteArrayParameter(const T&, bool) [with T = std::vector<byte, std::allocator<byte> >]': filters.h:1444: instantiated from here algparam.h:56: error: 'const class std::vector<byte, std::allocator<byte> >' has no member named 'data' | |||||
* | Use vec_shleft_octet to avoid confusion with vec_extract | Jeffrey Walton | 2018-11-03 | 1 | -21/+21 | |
| | ||||||
* | Update comments | Jeffrey Walton | 2018-11-03 | 1 | -2/+4 | |
| | ||||||
* | Use vec_sldo to avoid confusion with vec_extract | Jeffrey Walton | 2018-11-03 | 1 | -21/+21 | |
| | ||||||
* | Whitespace check-in | Jeffrey Walton | 2018-11-03 | 2 | -124/+124 | |
| | ||||||
* | Update documentation | Jeffrey Walton | 2018-11-03 | 1 | -3/+2 | |
| | ||||||
* | Update documentation | Jeffrey Walton | 2018-11-03 | 1 | -3/+5 | |
| | ||||||
* | Fix disjoint t[] and f[] when using SIMD implementations | Jeffrey Walton | 2018-11-03 | 4 | -37/+37 | |
| | ||||||
* | Rewrite BLAKE2 classes to remove intermediate base class | Jeffrey Walton | 2018-11-03 | 4 | -368/+510 | |
| | ||||||
* | Guard BLAKE2 on CRYPTOPP_ALTIVEC_AVAILABLE | Jeffrey Walton | 2018-11-03 | 4 | -18/+24 | |
| | ||||||
* | Use CRYPTOPP_ALTIVEC_AVAILABLE values over defined | Jeffrey Walton | 2018-11-03 | 1 | -7/+10 | |
| | | | | This allows users to -DCRYPTOPP_ALTIVEC_AVAILABLE=0 on the command line. It is especially important on PPC, which varies wildly among compilers dating back to the 2000's | |||||
* | Remove unneeded #undef's from BLAKE2_Compress32_POWER7 | Jeffrey Walton | 2018-11-02 | 1 | -20/+0 | |
| | ||||||
* | Cleanup return statements in PowerPC's VectorSet32 | Jeffrey Walton | 2018-11-02 | 1 | -6/+3 | |
| | ||||||
* | Remove unneeded BLAKE2B_IV from Blake2s source file | Jeffrey Walton | 2018-11-02 | 2 | -15/+3 | |
| | ||||||
* | Split Blake2 SIMD files into blake2s-simd.cpp and blake2b-simd.cpp (GH #729, ↵ | Jeffrey Walton | 2018-11-02 | 7 | -1020/+1117 | |
| | | | | | | GH #731) The split was required for Blake2b and Power8; Blake2s only requires Power7 | |||||
* | Add BLAKE2b Power8 implementation (GH #731) | Jeffrey Walton | 2018-11-02 | 2 | -37/+404 | |
| | ||||||
* | Use vec_perm on PowerPC little-endian for GCC | Jeffrey Walton | 2018-11-01 | 1 | -72/+85 | |
| | ||||||
* | Update comments | Jeffrey Walton | 2018-11-01 | 1 | -2/+3 | |
| | ||||||
* | Use vec_mergeh and vec_mergel for PowerPC | Jeffrey Walton | 2018-11-01 | 1 | -69/+101 | |
| | | | | Origian benchmarks showed no material difference. However, today we are seeing up to 0.4 cpb profit on GCC112. | |||||
* | Add VectorSource (GH #730) | orangefour | 2018-11-01 | 4 | -5/+29 | |
| | ||||||
* | Update comments | Jeffrey Walton | 2018-10-31 | 2 | -3/+8 | |
| | ||||||
* | Fix mask names | Jeffrey Walton | 2018-10-30 | 1 | -85/+85 | |
| | | | | This follows IBM convention, where the lowest memory address is "high", and the highest memory address is "low" | |||||
* | Update documentation | Jeffrey Walton | 2018-10-30 | 1 | -1/+2 | |
| | ||||||
* | Add BLAKE2b Power8 implementation (GH #729) | Jeffrey Walton | 2018-10-30 | 4 | -22/+491 | |
| | ||||||
* | Switch to pch.cpp for compile tests. | Jeffrey Walton | 2018-10-29 | 2 | -36/+36 | |
| | | | | | adhoc.cpp was a bit uncomfortable because we had to copy it out from adhoc.cpp.proto. For some reason CMake could not perform the copy, so we started using pch.cpp in CMake. This commit keeps them consistent. We may have problems with one test, and that is the Newlib tests. I seem to recall they a C++ header included to properly identify its use. We cross that bridge during MinGW testing. | |||||
* | Add CXX awareness to CMake test script | Jeffrey Walton | 2018-10-29 | 1 | -3/+11 | |
| |