Commit Graph

1748 Commits (45323bddd83982a183714d91167194f73bab1440)

Author SHA1 Message Date
Jeffrey Walton 45323bddd8 Initial fix for older Apple ld's non_lazy_ptr missing symbols (Issue 255) 2016-09-06 02:51:16 -04:00
Jeffrey Walton 33522b39b1 Updated documentation 2016-09-05 13:57:33 -04:00
Jeffrey Walton edf7bd8fa6 Add StaticGetValidKeyLength tests for MARS, RC5 and RC6 block ciphers (Issue 252) 2016-09-05 13:08:15 -04:00
Jeffrey Walton 9767221125 Fix MARS VariableKeyLength information (Issue 252) 2016-09-05 13:06:26 -04:00
Jeffrey Walton 0d14a52790 Fix RC6 VariableKeyLength information (Issue 252) 2016-09-05 13:01:44 -04:00
Jeffrey Walton 022c33a172 Add StaticGetValidKeyLength tests for block ciphers (Issue 252) 2016-09-05 11:35:00 -04:00
Jeffrey Walton 0ee3ae136d Fix CAST-128 and CAST-256 VariableKeyLength information (Issue 252) 2016-09-05 11:18:10 -04:00
Jeffrey Walton b472b446fb Fix SHARK VariableKeyLength information (Issue 252) 2016-09-05 10:52:53 -04:00
Jeffrey Walton ea02dc0b94 Fix Serpent VariableKeyLength information (Issue 252) 2016-09-05 09:50:26 -04:00
Jeffrey Walton 88bc98fa25 Modify "Algorithm key lengths" output format 2016-09-05 09:37:51 -04:00
Jeffrey Walton 0bc85ca42f Fix Twofish VariableKeyLength information (Issue 252) 2016-09-05 09:35:19 -04:00
Jeffrey Walton 5057991a31 Add StaticGetValidKeyLength tests for RijndaelEncryption, RijndaelDecryption, TwofishEncryption and TwofishDecryption 2016-09-05 09:10:12 -04:00
Jeffrey Walton 60be5a672a Fixed compile under SunCC 5.14 and SimpleKeyingInterfaceImpl (with virtual functions) using constexpr. Updated documentation 2016-09-05 04:36:08 -04:00
Jeffrey Walton cf81d8a099 Add constexpr-ness to seckey.h classes.
Coarse grained benchmarking with GCC 4.8 at -O2 using 'time' and 'cryptest.exe' shows we shaved about 100ms to 150ms off the running time. We are ready to break the 1-second mark for the running time (its elluded me for some time now)
2016-09-05 03:13:45 -04:00
Jeffrey Walton 75f4281857 Merge branch 'master' into constexpr 2016-09-05 01:18:16 -04:00
Jeffrey Walton 50c276bda7 Merge pull request #254 from Blacktempel/patch-2
Update seckey.h
2016-09-05 01:13:30 -04:00
Jeffrey Walton 6df846ffec Add <string> header for C++{03|11|14|17} testing
Added after testing revealed Clang 3.6 claimed to support C++14, but it failed to compile a program that included <string>. Also see http://bugs.launchpad.net/ubuntu/+bug/1620181
2016-09-05 00:27:17 -04:00
Jeffrey Walton 60911fe235 Add X86 ADX feature flag detection for adcx/adox 2016-09-04 16:25:11 -04:00
Jeffrey Walton 741d205592 Removed Clang version information from message since its not affected by the version 2016-09-04 13:22:37 -04:00
Jeffrey Walton cc1fe049cd Added test for "rotate immediate" code generation using SHA 2016-09-04 12:22:48 -04:00
Flo 262d125fb2 Update seckey.h
InvalidRounds expects a std::string, so it can be constructed in-place and the `__BORLANDC__` define can be removed.
2016-09-04 14:10:43 +02:00
Flo a11985e6e4 Update seckey.h
See
https://github.com/weidai11/cryptopp/issues/252
2016-09-04 13:47:39 +02:00
Jeffrey Walton a534ccb1bc Stub-out a rotlImmediate and rotrImmediate providing shift/rotate amount as a template parameter.
Also see http://stackoverflow.com/q/39314690 and http://stackoverflow.com/q/39284065
2016-09-04 06:44:33 -04:00
Jeffrey Walton fea45591b2 Add constexpr to size_max() methods for C++11 2016-09-04 02:29:32 -04:00
Jeffrey Walton f23314f731 Add configuration support for C++11 constexpr 2016-09-01 22:45:44 -04:00
Jeffrey Walton 77f57c758f Add additional ARM NEON mnemonics for disassembly check 2016-08-28 19:42:52 -04:00
Jeffrey Walton fcdc845bba Updated documentation (Issue 248) 2016-08-27 23:52:43 -04:00
Jeffrey Walton 15ec4ef713 Removed Solaris comments as things work as expected. Cleaned the object file of interest before compiling 2016-08-26 07:41:43 -04:00
Jeffrey Walton ada2aa55ed Fix typo on SunCC version 2016-08-26 05:08:57 -04:00
Jeffrey Walton 81f868e6ff Add newline to echo for error and warning reports 2016-08-25 19:40:28 -04:00
Jeffrey Walton dbf65e82bf Fold CPU features and flags into single variables: X86_CPU_FLAGS and ARM_CPU_FLAGS. Consult the variables throughout the script 2016-08-25 19:26:48 -04:00
Jeffrey Walton 65e91a8caa Fix compile and code generation tests under Clang 3.4, 3.5 and 3.6 2016-08-25 01:25:33 -04:00
Jeffrey Walton eab45a1d66 Add disassembly tests for ARM NEON vector add and xor 2016-08-24 23:02:30 -04:00
Jeffrey Walton 4396f58f66 Account for Clang and use of ldp (load register pairs) 2016-08-24 22:09:15 -04:00
Jeffrey Walton ef6be6718b Add disassembly tests for ARM NEON 2016-08-24 21:15:55 -04:00
Jeffrey Walton 57a0059eb7 Improve CPU feature detection for X86 and ARM. Add tests for X86 Carryless Multiply; and X86 and ARM CRC32 2016-08-24 12:36:03 -04:00
Jeffrey Walton 954c3bb82b Enable AES-NI intrinsics for Clang. Add ARM NEON and PMULL implementation 2016-08-24 12:28:54 -04:00
Jeffrey Walton b1d7754ff7 Add disassembly tests for RDRAND and RDSEED 2016-08-24 08:10:37 -04:00
Jeffrey Walton 7c3967ad8f Add disassembly tests to verify some aspects of code generation. Fix SUNCC_CXXFLAGS flags. Fix "Quick Tests" undr Clang (Issues 245 and 246) 2016-08-24 06:19:42 -04:00
Jeffrey Walton f7efde3a26 Enable OpenMP by default for RWSS if -fopnmp is present.
The user asked for OMP, and they can turn it off for the source file if they desire
2016-08-24 06:15:09 -04:00
Jeffrey Walton ded4fd50a2 Work around BLAKE2b self test failures under SunCC 5.12 with SSE2 (Issue 247) 2016-08-24 02:39:06 -04:00
Jeffrey Walton ff1e5ce63a Tweak makefile variables (SUNCC_120_OR_LATER → SUNCC_510_OR_LATER, etc) 2016-08-23 23:43:50 -04:00
Jeffrey Walton 3fee549476 Fix SunCC 12.3 and 12.4 verions 2016-08-23 22:17:56 -04:00
Jeffrey Walton 06a23f56fe Fix SunCC 12.2 test under Release builds 2016-08-22 17:02:24 -04:00
Jeffrey Walton de01e0fdfc Add Rabin-Williams signatures using Bernstein's tweaked roots. Improve documentation 2016-08-22 09:53:22 -04:00
Jeffrey Walton c1b692af13 Fix SunCC 12.2 compile error 2016-08-22 08:53:01 -04:00
Jeffrey Walton 83b8d51487 Simplified logic to determine ARM platform flags 2016-08-22 08:17:31 -04:00
Jeffrey Walton a4be62a41f Fix -Os option. Add install results to test results 2016-08-22 06:27:35 -04:00
Jeffrey Walton 81e346ff35 Remove ubsan target from OpenMP test 2016-08-22 03:16:12 -04:00
Jeffrey Walton 4892ae25a7 Add debug and release test 2016-08-22 03:11:52 -04:00