Commit Graph

1783 Commits (b6e0465e716669a9c92d014d5c887190f78b74f9)

Author SHA1 Message Date
Jeffrey Walton b6e0465e71 Output formatting for TestPolynomialMod2 2016-09-08 04:24:29 -04:00
Jeffrey Walton e609559f06 Use "unsigned long" rather than "unsigned long long" for word64 when '_LP64 || __LP64__'
Guard use of the change on CRYPTOPP_MAINTAIN_BACKWARDS_COMPATIBILITY_562
2016-09-08 03:33:05 -04:00
Jeffrey Walton be8a9f6742 Merge branch 'constexpr' 2016-09-08 01:27:23 -04:00
Jeffrey Walton ef0bf87dc2 Merge pull request #258 from Blacktempel/patch-3
Fix for CAST256 - Key-size
2016-09-08 01:26:42 -04:00
Jeffrey Walton 2551ec0d4c Add detection based on PROCESSOR_ARCHITECTURE = "AMD64" 2016-09-07 19:53:38 -04:00
Jeffrey Walton 2ec4045824 Add /wd4511 to disable "could not generate a default copy-constructor" 2016-09-07 19:32:09 -04:00
Jeffrey Walton 89809b7d59 Removed experimental rotlImmediate and rotrImmediate 2016-09-07 15:02:23 -04:00
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
Flo 931d972add Update cast.h
Returned valid size is 16+1+1+1+1+1.... instead of 16+4... (16, 20, 24, 28, 32)
2016-09-07 19:16:35 +02: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