Enable RDSEED and SHA for AMD processors AMD donated a AMD Ryzen 7 1700X to the GCC Compile Farm. We were able to verify compatibility and correctness. Many thanks to AMD for the donation
Jeffrey Walton
2017-05-21 11:38:56 -0400
c925c62509Fix a warning about a non-existant warning under Clang.
RaptorFactor
2017-05-21 01:16:08 -0700
Add missing <sstream> header This failed under C++03 builds. C++11 was OK, so it slipped past the initial smoke tests
Jeffrey Walton
2017-05-20 04:09:17 -0400
Rework benchmark code This change moves test selections from test.cpp into bench.cpp. It also allows us finer control over test classes and algorithms
Jeffrey Walton
2017-05-19 23:29:59 -0400
Build RDRAND for all platofrms (Issue 419, PR 424) We have not been able to determine a reliable way to detect cpu's and platforms with Cmake. We are side stepping the Cmake problem by building rdrand.cpp all the time. If its not avilable for a cpu or platform, then RDRAND or RDSEED throw an exception.
Jeffrey Walton
2017-05-17 16:21:20 -0400
Add separate Enc and Dec classes to Threefish The change speeds up benchmarks for Threefish-256 and Threefish-512 by about 10 MiB/s on a 6th gen Skylake
Jeffrey Walton
2017-05-17 14:38:37 -0400
Removed MSVC warning suppression for many warnings (Issue 412) Most of these appear to have been cleared over the last couple of years.
Jeffrey Walton
2017-05-16 03:52:03 -0400
Add additional Threefish test vectors The test vectors came from NIST submission archive (NIST_CD_102610), skein_golden_kat_short_internals.txt
Jeffrey Walton
2017-05-15 22:55:33 -0400
Remove Tweak handling. We are arriving at incorrect result for G2 after the first Key Injection, and its not readily apparent why.
Jeffrey Walton
2017-05-15 14:38:24 -0400
Rearrange characters in whitespace string The arrangement saves about 1.3 seconds when running the test vectors. It looks like the tab character is dominant, so we profit by listing it first.
Jeffrey Walton
2017-05-14 04:09:26 -0400
Explicitly add space on line continuation Formatting of data for a failed self test was still off a bit. It was due to retaining a whitespace character from the test vector file. The problem was, the whitespace was a tab on occasion.
Jeffrey Walton
2017-05-14 02:41:22 -0400
Add polynomial for 1024-bit block cipher. This will support Threefish and its 1024-bit block size. I believe this is correct, but it may be wrong. According to "Table of Low-Weight Binary Irreducible Polynomials" (http://www.hpl.hp.com/techreports/98/HPL-98-135.pdf), the polynomial is x^1024 + x^19 + x^6 + x + 1.
Jeffrey Walton
2017-05-13 19:23:24 -0400
Add polynomial for 1024-bit block cipher. This will support Threefish and its 1024-bit block size. I believe this is correct, but it may be wrong. According to "Table of Low-Weight Binary Irreducible Polynomials" (http://www.hpl.hp.com/techreports/98/HPL-98-135.pdf), the polynomial is x^1024 + x^19 + x^6 + x + 1.
Jeffrey Walton
2017-05-13 19:15:46 -0400
Add polynomial for 512-bit block ciphers I believe this is correct, but it may be wrong. According to the Kalyna team, the polynomial for GCM mode is x^512 + x^8 + x^5 + x^2 + 1. It appears the polinomial applies to other block cipher modes of operations, like CMAC.Dropping the first term and evaluating the remaining terms at X=2 results in 293 (0x125)
Jeffrey Walton
2017-05-13 17:36:29 -0400
Add FileName, FileTime and Comment to argnames.h Add self tests to verify handling of filenames, filetimes and comments
Jeffrey Walton
2017-05-12 19:52:42 -0400
Fix GetField for stray CR or LF The test vector rsa_pkcs1_1_5.txt is the torture test. We calculated an incorrect index when a line continuation was part of a comment
Jeffrey Walton
2017-05-12 14:25:25 -0400
3d8e3683dbGunzip: added GetFilename() and GetComment() methods
Dmitry S. Baikov
2017-05-11 09:29:35 +0300
Fix parser break on OS X This was introduced at Commit e456cd2275, and affected Uri during his rounds of testing. We also took the opportunity to write it in modern C++ (and remove the VC++ 6.0 bug workaround)
Jeffrey Walton
2017-05-12 02:20:44 -0400
369fa3bc52NULLPTR fix for blake2
Dmitry S. Baikov
2017-05-11 07:04:51 +0300
e8e0b1c3f2blake2: Fixed initialization when using non-keyed constructor with non-standard digest size. Added test vectors.
Dmitry S. Baikov
2017-05-11 06:46:56 +0300
Modify datatest parse to eat whitespace when line continuation is in effect Previously the parsed string would look as follows. You would get this on a failed self test. Key: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
Jeffrey Walton
2017-05-10 16:20:12 -0400
Make datatest.cpp aware of padding schemes This change was needed for Kalyna and its CBC test vectors. One test uses OneAndZeros padding
Jeffrey Walton
2017-05-10 15:26:36 -0400
Remove EncryptBlockCipher The test mode EncryptBlockCipher is not needed. datatest.cpp is versatile enough to handle variable block sizes under test mode Encrypt
Jeffrey Walton
2017-05-10 13:50:36 -0400
Clear out-of-bounds read when fuzzing zinflate.cpp:553:41: runtime error: index 30 out of bounds for type 'unsigned int [30]' zinflate.cpp:553:11: runtime error: load of address 0x0000011806b8 with insufficient space for an object of type 'const unsigned int' zinflate.cpp:32:32: runtime error: shift exponent 64 is too large for 64-bit type 'long unsigned int'
Jeffrey Walton
2017-05-10 04:15:42 -0400
Fix bad GCC code generation with -Os It appears GCC was doing something wonky with the call to RDSEED. The test script was experiencing a hang
Jeffrey Walton
2017-05-09 22:47:14 -0400