Commit Graph

1764 Commits (c45c854da0871e6ac5286049adf13e938b22a4d8)

Author SHA1 Message Date
Jeffrey Walton c45c854da0 Merge 'master' into 'constexpr' 2016-09-07 01:29:18 -04:00
Jeffrey Walton e91c85e84d Add tests for word64 and word128 Allocate, Concatenate, Append, FixedSizeAllocator Grow and Overflow. Add test for HuffmanEncoder::GenerateCodeLengths 2016-09-07 01:29:08 -04:00
Jeffrey Walton cdf659a277 Const-ify input, ky and iv 2016-09-06 23:04:42 -04:00
Jeffrey Walton 622e958098 Cleared "declaration hides other declaration" under VS2015 2016-09-06 22:57:46 -04:00
Jeffrey Walton ef5b0ff129 Merge 'master' into 'constexpr' 2016-09-06 13:45:25 -04:00
Jeffrey Walton 47af829cdc Add MacPorts GCC 7.x test. Add MacPorts Clang 3.7, 3.8 and 3.9 test 2016-09-06 13:44:58 -04:00
Jeffrey Walton 2d7cd34bea Merge branch \'master\' into \'constexpr\' 2016-09-06 11:48:30 -04:00
Jeffrey Walton 59aad798eb Cleared "local variable is initialized but not referenced" under VS2015 2016-09-06 08:59:31 -04:00
Jeffrey Walton 9205efda02 Add constexpr to CRYPTOPP_CONSTANT when CRYPTOPP_CXX11_CONSTEXPR is in effect 2016-09-06 08:53:55 -04:00
Jeffrey Walton 023615ef61 Fixed test for empty MACPORTS_CXX 2016-09-06 08:04:17 -04:00
Jeffrey Walton 65f8c7478f Add IS_DARWIN check for MacPorts compilers 2016-09-06 07:44:39 -04:00
Jeffrey Walton 29e190343c Add additional MacPorts compiler tests under OS X 2016-09-06 07:43:14 -04:00
Jeffrey Walton 2a51576adc Updated documentation 2016-09-06 05:03:17 -04:00
Jeffrey Walton db701719c7 Merge branch 'master' into constexpr 2016-09-06 04:36:45 -04:00
Jeffrey Walton a62aee441f Backed out use of "static const" to declare constant; switch to "enum" (Issue 255) 2016-09-06 04:04:03 -04:00
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 49ba6718e7 Cleared "local variable is initialized but not referenced" under VS2010 2016-09-05 07:21:50 -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