summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Clear C4456 under MSVCJeffrey Walton2018-11-091-4/+4
|
* Fix missing comment charactersJeffrey Walton2018-11-091-1/+1
|
* Fix global optimization bug for ChaCha AVX2 under VS2017 (GH #735)Jeffrey Walton2018-11-092-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 Walton2018-11-084-21/+31
|
* Clear C4456 under MSVCJeffrey Walton2018-11-081-6/+6
|
* Whitespace check-inJeffrey Walton2018-11-081-11/+12
|
* Lower Binutil version to 2.23 for AVXJeffrey Walton2018-11-081-2/+6
|
* Add ChaCha AVX2 implementation (GH #735)Jeffrey Walton2018-11-0810-28/+485
|
* Fix Solaris hardware cpas to allow AVX and AVX2Jeffrey Walton2018-11-081-1/+4
|
* Fix compile using SunCC 5.9Jeffrey Walton2018-11-081-1/+3
|
* whitespace check-inJeffrey Walton2018-11-071-4/+4
|
* Disable global optimizations for Rijndael using MSC compiler (GH #649)Jeffrey Walton2018-11-051-0/+8
|
* Add meaningful test failure messagesJeffrey Walton2018-11-051-12/+22
|
* Whitespace check-inJeffrey Walton2018-11-051-1/+1
| | | | Look, we can finally use whitespace to add breaks and make these somewhat readable.
* Improve datatest parserJeffrey Walton2018-11-051-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 vectorsJeffrey Walton2018-11-051-0/+133
|
* Add additional test vectorsJeffrey Walton2018-11-041-31/+288
|
* cryptlib.hJeffrey Walton2018-11-041-1/+1
|
* Fix missing errno on PPC64 with GCC 4.8.5Jeffrey Walton2018-11-041-0/+1
|
* Skip unneeded wrap check in SIMD book keeping (GH #732)Jeffrey Walton2018-11-041-6/+9
|
* Work-around potential counter increment problem in ChaCha20 (GH #732)Jeffrey Walton2018-11-042-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-inJeffrey Walton2018-11-041-59/+59
|
* Add additional ChaCha20 test vectors (GH #732)Jeffrey Walton2018-11-041-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 Walton2018-11-044-16/+55
| | | | Also see https://github.com/randombit/botan/pull/1728
* Fix compile on early Apple platforms.Jeffrey Walton2018-11-031-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_extractJeffrey Walton2018-11-031-21/+21
|
* Update commentsJeffrey Walton2018-11-031-2/+4
|
* Use vec_sldo to avoid confusion with vec_extractJeffrey Walton2018-11-031-21/+21
|
* Whitespace check-inJeffrey Walton2018-11-032-124/+124
|
* Update documentationJeffrey Walton2018-11-031-3/+2
|
* Update documentationJeffrey Walton2018-11-031-3/+5
|
* Fix disjoint t[] and f[] when using SIMD implementationsJeffrey Walton2018-11-034-37/+37
|
* Rewrite BLAKE2 classes to remove intermediate base classJeffrey Walton2018-11-034-368/+510
|
* Guard BLAKE2 on CRYPTOPP_ALTIVEC_AVAILABLEJeffrey Walton2018-11-034-18/+24
|
* Use CRYPTOPP_ALTIVEC_AVAILABLE values over definedJeffrey Walton2018-11-031-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_POWER7Jeffrey Walton2018-11-021-20/+0
|
* Cleanup return statements in PowerPC's VectorSet32Jeffrey Walton2018-11-021-6/+3
|
* Remove unneeded BLAKE2B_IV from Blake2s source fileJeffrey Walton2018-11-022-15/+3
|
* Split Blake2 SIMD files into blake2s-simd.cpp and blake2b-simd.cpp (GH #729, ↵Jeffrey Walton2018-11-027-1020/+1117
| | | | | | GH #731) The split was required for Blake2b and Power8; Blake2s only requires Power7
* Add BLAKE2b Power8 implementation (GH #731)Jeffrey Walton2018-11-022-37/+404
|
* Use vec_perm on PowerPC little-endian for GCCJeffrey Walton2018-11-011-72/+85
|
* Update commentsJeffrey Walton2018-11-011-2/+3
|
* Use vec_mergeh and vec_mergel for PowerPCJeffrey Walton2018-11-011-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)orangefour2018-11-014-5/+29
|
* Update commentsJeffrey Walton2018-10-312-3/+8
|
* Fix mask namesJeffrey Walton2018-10-301-85/+85
| | | | This follows IBM convention, where the lowest memory address is "high", and the highest memory address is "low"
* Update documentationJeffrey Walton2018-10-301-1/+2
|
* Add BLAKE2b Power8 implementation (GH #729)Jeffrey Walton2018-10-304-22/+491
|
* Switch to pch.cpp for compile tests.Jeffrey Walton2018-10-292-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 scriptJeffrey Walton2018-10-291-3/+11
|