Commit Graph

1775 Commits (4cbe552d7e7acf9b4e9eb23b50cefa3874a1f9fd)

Author SHA1 Message Date
Jeffrey Walton 4cbe552d7e Merge 'master' into 'constexpr' 2016-09-07 13:30:15 -04:00
Jeffrey Walton d317881da9 Fix GCC compile error under LP64 data model (Issue 236) 2016-09-07 13:27:04 -04:00
Jeffrey Walton f0a4f74a23 Fix ld-gold detection under Debian 7 2016-09-07 12:40:53 -04:00
Jeffrey Walton 53bc3f146a Merge 'master' into 'constexpr' 2016-09-07 12:29:43 -04:00
Jeffrey Walton 8e5663fe23 Fix "error: integer constant is too large for ‘long’ type" on PowerMac 2016-09-07 12:29:29 -04:00
Jeffrey Walton 416605c311 Add additional KEYLENGTH and DEFAULT_KEYLENGTH tests 2016-09-07 10:10:27 -04:00
Jeffrey Walton f0e7b45bcb Remove comma operator from return values for StaticGetDefaultRounds and StaticGetValidKeyLength in non-constexpr builds (Issue 255) 2016-09-07 09:32:06 -04:00
Jeffrey Walton e2f2ace688 Add constexpr-ness to ChaCha StaticAlgorithmName member function 2016-09-07 06:39:52 -04:00
Jeffrey Walton c1556295e6 Add constexpr-ness to StaticAlgorithmName member function 2016-09-07 06:16:46 -04:00
Jeffrey Walton 6e324c161f Merge 'master' into 'constexpr' 2016-09-07 02:41:00 -04:00
Jeffrey Walton f4c33f6969 Add tests for Bounds Checking sanitizer 2016-09-07 02:40:50 -04:00
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