Commit Graph

  • 2f58912fdd
    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
  • c925c62509 Fix a warning about a non-existant warning under Clang. RaptorFactor 2017-05-21 01:16:08 -0700
  • 5fd202077c
    Add additional compilers for inline ASM (Issue 428) Jeffrey Walton 2017-05-20 18:32:48 -0400
  • 9d2455a699
    Add inline ASM for missing CRC intrinsics (Issue 428) Jeffrey Walton 2017-05-20 18:03:53 -0400
  • bc0f943c6b
    Add defines for GCC_INLINE and GCC_INLINE_ATTRIB (Issues 427 and 428) Jeffrey Walton 2017-05-20 17:59:21 -0400
  • 8c02c60584
    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
  • 1427f5ecf9
    Clear coverity finding FORWARD_NULL (CID 147865) Jeffrey Walton 2017-05-20 02:37:51 -0400
  • 1abb5c36bd Revert "Clear coverity finding FORWARD_NULL (CID 147865)" Jeffrey Walton 2017-05-20 02:20:25 -0400
  • 0bdbde2c21
    Clear coverity finding FORWARD_NULL (CID 147865) Jeffrey Walton 2017-05-20 02:12:43 -0400
  • 25fcb7bef8
    Clear coverity finding CHECKED_RETURN (CID 147833) Jeffrey Walton 2017-05-20 01:42:20 -0400
  • 555617d456
    Clear coverity finding CONSTANT_EXPRESSION_RESULT (CID 147833) Jeffrey Walton 2017-05-20 01:35:39 -0400
  • e0d856d0ca
    Clear coverity finding CONSTANT_EXPRESSION_RESULT (CID 179384) Jeffrey Walton 2017-05-20 01:27:23 -0400
  • 4fef9b8837
    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
  • 82accdc13b
    Sort source list (Pull Request 426) Jeffrey Walton 2017-05-19 20:12:29 -0400
  • 033fed8c92 have constant link order (#426) Bernhard M. Wiedemann 2017-05-20 00:34:08 +0200
  • b80337cd65 have constant link order Bernhard M. Wiedemann 2017-05-19 21:44:31 +0200
  • 0010ea69c9
    hrtimer.cpp: fix Win32 DLL-Import build Marcel Raad 2017-05-18 18:36:22 +0200
  • 9dcb72f9e5
    Fix "error LNK2019: unresolved external symbol TestAutoSeededX917()" under Windows Phone Jeffrey Walton 2017-05-18 09:35:09 -0400
  • a090aad8d2
    Fix "warning C4702: unreachable code" under Windows Phone Jeffrey Walton 2017-05-18 08:45:07 -0400
  • ddcd70b152
    Fix "error C2065: prng undeclared identifier" under Windows Phone Jeffrey Walton 2017-05-18 08:36:00 -0400
  • 3fe188ba89
    Updated README with additional algorithms Jeffrey Walton 2017-05-18 00:59:11 -0400
  • 1b1c32d7cf
    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
  • 03a6a8fb73
    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
  • 5b81b5c66c
    Updated test scripts for ARM NEON Jeffrey Walton 2017-05-17 10:59:22 -0400
  • 947c96680a
    CMake: build RDRAND only for X86/X32/X64 anonimal 2017-05-16 22:25:40 +0000
  • a59e32be73
    Add missing Threefish test vectors to Filelist (Isse 422) Jeffrey Walton 2017-05-16 04:49:33 -0400
  • c9d4ebb3d4
    Cleared C4250 under MSVC (Issue 412) Jeffrey Walton 2017-05-16 04:21:27 -0400
  • 5f0cbde980
    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
  • 97bf82261a Merge b0dfbfdbcf into b083390d4f Berendea Nicolae 2017-05-16 07:10:57 +0000
  • b083390d4f
    Added some intelligence to truncated Gzip stream test Jeffrey Walton 2017-05-16 01:59:09 -0400
  • 5bf43f4ef3
    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
  • ae09662f43
    Update Makefile to trim data files Jeffrey Walton 2017-05-15 22:53:44 -0400
  • 30ac53ff41
    Add support for word32 and word64 parsing Jeffrey Walton 2017-05-15 21:55:39 -0400
  • 4da06919eb
    Switch conversion switch from 'ce' to 'cvt' There were some collisions in the RSA test vectors Jeffrey Walton 2017-05-15 21:02:47 -0400
  • 30ac06dd0d
    Fix substring length Jeffrey Walton 2017-05-15 20:41:32 -0400
  • 7fd5c13e06
    Fix PutDecodedDatumInto on OS X Jeffrey Walton 2017-05-15 20:14:22 -0400
  • a61c97f7ee
    Re-enable the Tweak on Threefish Jeffrey Walton 2017-05-15 18:42:20 -0400
  • f60f212687
    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
  • b3399b4f86
    Remove SSE2 intrinsics from Threefish The benchmarks showed things ran slower with GCC and MSVC Jeffrey Walton 2017-05-14 16:59:04 -0400
  • 54ca8b3a16
    Whitespace check-in Jeffrey Walton 2017-05-14 15:30:59 -0400
  • 32ab4af5ff
    Add Threefish to project files Whitespace check-in Jeffrey Walton 2017-05-14 15:27:50 -0400
  • 8c34a5f7f5
    Add Threefish block cipher (Issue 422) Jeffrey Walton 2017-05-14 13:51:41 -0400
  • 7ee87af86b
    Don't latch BlockSize or BlockPaddingScheme across tests Jeffrey Walton 2017-05-14 05:26:33 -0400
  • 017f7f61b4
    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
  • 2c570e27a0
    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
  • bc2678478c
    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
  • cea45eb024 Revert "Add polynomial for 1024-bit block cipher." Jeffrey Walton 2017-05-13 19:18:24 -0400
  • d654c893ef
    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
  • 7697857481
    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
  • e226523b05
    Call cipher.SetKey() before cipher.BlockSize() (Issue 408) Jeffrey Walton 2017-05-13 16:28:05 -0400
  • 0611e11507
    Disable word128 for PPC64 and GCC 4.8 (Issue 421) Jeffrey Walton 2017-05-12 23:51:27 -0400
  • 78db20d939
    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
  • e3ae7000ea
    Whitespace check-in Jeffrey Walton 2017-05-12 16:53:07 -0400
  • cfa339535b Revert "Write MTIME in big-endian order" Jeffrey Walton 2017-05-12 16:51:03 -0400
  • 591b139343
    Write MTIME in big-endian order Whitespace Jeffrey Walton 2017-05-12 15:29:03 -0400
  • d901ecd9a4 Gunzip: added GetFilename() and GetComment() methods (#418) c0ff 2017-05-12 22:09:21 +0300
  • e56eb12921 gzip: added filetime/filename/comment support from Gzip.diff.zip Dmitry S. Baikov 2017-05-12 21:34:06 +0300
  • 973de7712a
    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
  • 3d8e3683db Gunzip: added GetFilename() and GetComment() methods Dmitry S. Baikov 2017-05-11 09:29:35 +0300
  • 3f9667f3cd
    Remove VC++ 6.0 workaround in datatest.cpp Jeffrey Walton 2017-05-12 03:50:37 -0400
  • b160cb40e1
    Add comment concerning empty value Jeffrey Walton 2017-05-12 03:09:06 -0400
  • d3986223a6
    Add early continuation for parsing a continued line Jeffrey Walton 2017-05-12 03:05:24 -0400
  • ac6db2fa91
    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
  • 9850576d0b
    Improve compressor error messages Jeffrey Walton 2017-05-11 17:59:20 -0400
  • 35451f3ab6
    Additional self tests for Decompressors Jeffrey Walton 2017-05-11 13:00:17 -0400
  • 537ee61ade
    Switch to _MSC_FULL_VER for SP1 releases Jeffrey Walton 2017-05-11 12:05:57 -0400
  • aa287d6112
    Fix compile under GCC 6.3 on Fedora Jeffrey Walton 2017-05-11 11:55:00 -0400
  • 308336c4e1
    Switch to COUNTOF in validat3.cpp Jeffrey Walton 2017-05-11 11:18:52 -0400
  • 34edf7e12f
    Fix subscript out of range in test Jeffrey Walton 2017-05-11 04:14:13 -0400
  • ea5d003a9a
    Move TestPolynomialMod2 to validat0.cpp Jeffrey Walton 2017-05-11 03:56:19 -0400
  • c87b0d1485
    Fix subscript out of range in test Jeffrey Walton 2017-05-11 02:57:48 -0400
  • 598f838e0a
    Reduce random string size. Tests run faster without diminishing returns Jeffrey Walton 2017-05-11 02:13:27 -0400
  • b40d4d9180
    Add CRYPTOPP_COVERAGE for Asan and UBsan builds Jeffrey Walton 2017-05-11 01:35:32 -0400
  • b3f5bae3b9 Merge pull request #417 from c0ff/master Jeffrey Walton 2017-05-11 00:46:56 -0400
  • a9b06b40e7 fixed type casts in blake2 tests Dmitry S. Baikov 2017-05-11 07:39:51 +0300
  • 39abbbb070 NULLPTR fix for blake2 tests Dmitry S. Baikov 2017-05-11 07:14:37 +0300
  • e1b9582a4a Merge pull request #416 from c0ff/master Jeffrey Walton 2017-05-11 00:10:14 -0400
  • 369fa3bc52 NULLPTR fix for blake2 Dmitry S. Baikov 2017-05-11 07:04:51 +0300
  • e8e0b1c3f2 blake2: 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
  • 702dae7db9
    Fix Mersenne output on big-endian machines Jeffrey Walton 2017-05-10 21:00:53 -0400
  • 2a20d09dc6
    Additional self tests for Decompressors Jeffrey Walton 2017-05-10 20:32:50 -0400
  • 07dbcc3d96
    Add Inflator::BadDistanceErr exception (Issue 414) The improved validation and excpetion clears the Address Sanitizer and Undefined Behavior Sanitizer findings Jeffrey Walton 2017-05-10 18:17:12 -0400
  • e456cd2275
    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
  • d236cf1277
    Add Kalyna CBC test vectors Jeffrey Walton 2017-05-10 15:27:57 -0400
  • b2a6ba460f
    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
  • 0de44edde1
    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
  • 3bee1f57cf
    XOR block in specialized ProcessBlock Use Put and Get blocks consistently Jeffrey Walton 2017-05-10 06:34:22 -0400
  • 20c3d556c3 Revert "XOR block in specialized ProcessBlock" Jeffrey Walton 2017-05-10 06:30:08 -0400
  • 76bb4ead40
    XOR block in specialized ProcessBlock Use Put and Get blocks consistently Jeffrey Walton 2017-05-10 06:26:29 -0400
  • 9b383e8a07
    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
  • 093499260e
    Fix compile error with NO_OS_DEPENDENCE Jeffrey Walton 2017-05-10 03:50:32 -0400
  • 151ec518e8
    Add additional tests Jeffrey Walton 2017-05-10 01:28:52 -0400
  • 4904a951ce
    Fix bad code generation with GCC, -Os and rdseed Jeffrey Walton 2017-05-10 01:28:25 -0400
  • 5c42ec96f2
    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
  • 0cbaea0428
    Add tests for Information Dispersal and Secret Sharing Jeffrey Walton 2017-05-09 18:44:45 -0400
  • 35ec7b105e
    Enable MD4 testing under extended validations Jeffrey Walton 2017-05-09 16:40:02 -0400
  • 33235f88db
    Removed unneeded guard Whitespace check-in Jeffrey Walton 2017-05-09 16:23:30 -0400
  • 3b4a9e2ccf
    Update padding check logic Jeffrey Walton 2017-05-09 15:48:52 -0400
  • f817fc7c2e
    Clear C4100 warning (Issue 412) Jeffrey Walton 2017-05-09 15:40:49 -0400
  • a0832a63be
    Whitespace check-in Jeffrey Walton 2017-05-09 15:28:42 -0400