Add validation for W3C_PADDING InitializeDerivedAndReturnNewSizes This should have occurred with PR 368 or Commit 8e088b4865
Jeffrey Walton
2017-05-09 00:58:42 -0400
Port Kalyna to big-endian (Issue 411) Tested on GCC110 from the GCC compile farm. Performance is comparable to AES on GCC110.
Jeffrey Walton
2017-05-08 01:59:37 -0400
b51386adc0Fix build for Clang on Windows with optimizations on.
RaptorFactor
2017-05-07 06:16:46 -0700
Add timing attack countermeasures to Kalyna (Issue 411) The code at check-in a5c67cfdd6 did not include it. Unlike Threefish, it looks like Kalyna could benefit from the cache hardening given how similar Kalyna is to AES. The hardening costs less than 0.1 cpb, which equates to about 199 MB/s vs 201 MB/s on a 6th gen Skylake
Jeffrey Walton
2017-05-06 20:14:26 -0400
Add Kalyna block cipher (Issue 411) Thanks to Roman Oliynykov and Oleksandr Kazymyrov for their assistance. Thanks to Keru Kuro for the reference implementation.
Jeffrey Walton
2017-05-06 00:24:35 -0400
Updated MersenneTwister tests The tests now include the first 10 elements of the sequence to ensure a properly implemented algorithm and endianess correctness.
Jeffrey Walton
2017-05-05 19:00:17 -0400
Add variable block size support to test and benchmarks CRYPTOPP_COVERAGE was added at 9614307ab7 to increase code coverage support. This commit enables additional validation routines when CRYPTOPP_COVERAGE is in effect.
Jeffrey Walton
2017-05-04 19:11:24 -0400
Add VariableBlockSize constants to FixedBlockSize This also follows the pattern set forth by FxiedKeyLength and VariableKeyLength
Jeffrey Walton
2017-05-03 22:34:37 -0400
Remove BLOCKSIZE from VariableBlockSize (Issue 408) VariableBlockSize and VariableBlockCipherImpl were added at Commit bd8edfa87b. Reflecting on FixedKeyLength and VariableKeyLength, the const KEYLENGTH is only provided by FixedKeyLength. VariableKeyLength provides DEFAULT_KEYLENGTH. This check-in makes VariableBlockSize follow VariableKeyLength. This check-in also splits block size and iv length. Its conceivable we will encounter a cipher with a block size of 128-bits with an iv of 256-bits. The bd8edfa87b check-in could not handle the difference, so we fix it now.
Jeffrey Walton
2017-05-03 21:06:49 -0400
Remove HashFunction typedef (Issue 369) This should have happened when we removed most of MAINTAIN_BACKWARDS_COMPATIBILITY artifacts.
Jeffrey Walton
2017-05-01 16:41:43 -0400
Removed "typedef SHA1 SHA" (Issue 369) This should have happened when we removed most of MAINTAIN_BACKWARDS_COMPATIBILITY artifacts. Its not practical move SHA1 into Weak:: namespace or "typedef SHA256 SHA" because SHA1 is too intertwined at the moment.
Jeffrey Walton
2017-04-24 05:05:14 -0400
Add safety for SSSE4.1 and SSE4.2 intructions They are giving ARIA and BLAKE2 trouble. It looks like SSE4 support appeared in the GCC compiler around 4.1 or 4.2. It looks like SHA support appeared in the GNU assembler around 2.18
Jeffrey Walton
2017-04-23 06:37:03 -0400
Add safety for SHA intructions It looks like SHA support appeared in the GCC compiler around 4.8 or 4.9. It looks like SHA support appeared in the GNU assembler around 2.23
Jeffrey Walton
2017-04-22 19:46:13 -0400
Add missing sha2 and sha3 test file names sha2.txt and sha3.txt are just collections of other files, so they don't take up much space.
Jeffrey Walton
2017-04-15 08:50:03 -0400
Add missing sha2 and sha3 test file names sha2.txt and sha3.txt are just collections of other files, so they don't take up much space.
Jeffrey Walton
2017-04-15 08:49:00 -0400
Add whitespace to test_script cmd Without the additional CRLF, Appveyor dies with on the command . The odd thing is, YAML validated OK.
Jeffrey Walton
2017-04-15 04:22:26 -0400
Use full S1 table for timing attack counter measures Change stride to cache line size divided by word size based on Yun's 32-bit word implementation
Jeffrey Walton
2017-04-14 06:24:54 -0400
Split regtest.cpp into regtest{1|2|3}.cpp regtest.cpp is where ciphers register by name. The library has added a number of ciphers over the last couple of years and the source file has experienced bloat. Most of the ARM and MIPS test borads were suffering Out of Memory (OOM) kills as the compiler processed the source fille and the included header files. This won't stop the OOM kills, but it will help the situation. An early BeagleBoard with 512 MB of RAM is still going to have trouble, but it can be worked around by building with 1 make job as opposed to 2 or 4.
Jeffrey Walton
2017-04-13 21:45:21 -0400
Improve x86 and x64 ARIA performance The changes were meant to improve Windows, but GCC benefited more. Windows gained 0.3 cpb, while GCC gained 1.2 cpb
Jeffrey Walton
2017-04-13 06:52:56 -0400
Rework ARIA_GSRK to have MSVC generate "rotate imm" rather than "rot reg" The immediate version of rotate can be 4 to 6 times faster than the register version
Jeffrey Walton
2017-04-11 20:47:54 -0400
Switch to code based on 32-bit implementation The 32-bit code is based on Aaram Yun's code. Yun's code combined with a few library specific tweaks improves performance to roughly Camellia.
Jeffrey Walton
2017-04-11 11:39:45 -0400