Commit Graph

2183 Commits (b71b9bff023fb455b2c73608a6cfe5bc8ef7402c)

Author SHA1 Message Date
Jeffrey Walton aaedeaa647 Updated documentation 2016-09-20 10:03:11 -04:00
Jeffrey Walton b79ca63a34 Merge pull request #291 from DevJPM/Keccak-Typedef
Keccak typedef
2016-09-20 09:29:24 -04:00
DevJPM a9c901b90b fixed some overly aggressive replaces in the docs 2016-09-20 11:31:52 +02:00
DevJPM ccd59710a3 converted derived Keccak, SHA3 classes into typedefs
removed the old derived class (8 in total) and replaced them by typedefs
of {SHA3|Keccak}_Final<> to optimize engineering efforts
2016-09-20 11:27:25 +02:00
DevJPM ee194ed19e Merge remote-tracking branch 'refs/remotes/weidai11/master' into Keccak-Typedef 2016-09-20 11:04:37 +02:00
Jeffrey Walton 31a7b99f9e Remove CRYPTOPP_MAINTAIN_BACKWARDS_COMPATIBILITY_562 from block defining word64 based on data models
We use the samllest word size that meets requirements, not th e largest size. That helps us get to a word128 on more platforms
2016-09-20 02:26:04 -04:00
Jeffrey Walton de04771aa8 Merge pull request #280 from DevJPM/Keccak-HMAC
fixed Keccak and SHA3 to support HMAC
2016-09-20 02:12:58 -04:00
Jeffrey Walton 49d7187255 Cleanup feature defines in <config.h>. Cleanup intrinsic includes in <cpu.h> 2016-09-20 00:35:27 -04:00
Jeffrey Walton 51423972b1 Updated documentation 2016-09-19 23:18:19 -04:00
Jeffrey Walton 0e9da81311 Fix compile under CentOS 5 with GCC 4.1 2016-09-19 23:00:33 -04:00
Jeffrey Walton f7c8251a08 Updated documentation 2016-09-19 22:35:53 -04:00
Jeffrey Walton 923efa865b Fix Solaris GCC and "constructor priorities are not supported" 2016-09-19 21:18:58 -04:00
Jeffrey Walton 478d573416 Whitespace checkin 2016-09-19 19:07:27 -04:00
DevJPM 51466b5b24 moved BlockSize() into child classes
moved the BlockkSize() function into the child classes and made it
return the BLOCKSIZE value to enhance speed
2016-09-20 00:48:02 +02:00
Jeffrey Walton 6422ecfbeb Fix CRYPTOPP_UNUSED macro and CVE number 2016-09-19 17:55:36 -04:00
Jeffrey Walton adfe08d556 Merge pull request #286 from MarcelRaad/vc10_projects
Cleanup VS2010 Project Files by inheriting Optimizations and PreprocessorDefinitions
2016-09-19 17:50:51 -04:00
Marcel Raad 54fa27ae79 cryptlib.vcxproj: remove empty PreprocessorDefinitions properties
They have no effect.
2016-09-19 18:36:21 +02:00
Jeffrey Walton cacd104162 Fix CVE number to CVE-2016-7420. Deleted <config.recommend> by hand because Git could not find it in its heart to do it with 'git mv' 2016-09-19 12:22:51 -04:00
Marcel Raad 567e17587c cryptlib.vcxproj: remove per-file optimization properties
They have no effect and make it hard to manually change the
optimization level as it has to be done for every single file.
2016-09-19 18:07:55 +02:00
Marcel Raad 782ed4e5e0 Whitespace fixes in VC10 project files
Visual Studio doesn't like tabs and newlines in project files and
always removes them when saving the project.
2016-09-19 18:02:32 +02:00
Jeffrey Walton 151521d68f Cleanup use of CRYPTOPP_MAINTAIN_BACKWARDS_COMPATIBILITY_562 2016-09-19 00:56:01 -04:00
Jeffrey Walton 714daaf570 Fix broken Clang compile with -march=x86-64 (Issue 283)
It would be great if Clang stopped pretending to be other compilers. In the absence of honesty, it would be nice if it consumed the same programs GCC does
2016-09-19 00:51:35 -04:00
Jeffrey Walton 03785199fd Add guard for X86/X64/X32 headers 2016-09-18 22:24:10 -04:00
Jeffrey Walton fb6a11ff08 Remove library supplied aesenc, aesdec and friends (Issue 206) 2016-09-18 21:06:41 -04:00
Jeffrey Walton f19e97ad5c Removed unneeded WANTED_CONFIG 2016-09-18 20:44:24 -04:00
Jeffrey Walton ae3342fddc Moves <ossig.h> include into Linux and Unix section 2016-09-18 20:43:00 -04:00
Jeffrey Walton c88f09dad8 Updated comments 2016-09-18 17:55:23 -04:00
Jeffrey Walton d689c11b2d Fix compile under SunCC 5.11-5.13 (Issue 285) 2016-09-18 17:29:32 -04:00
Jeffrey Walton f57c4dced5 Moved config.h → config.compat; moved config.recommend → config.h
Also see http://groups.google.com/forum/#\!topic/cryptopp-users/bWcRw1XgJ_Q
2016-09-18 12:36:50 -04:00
Jeffrey Walton 33a59b8bd1 Reference 226 and 284 bugs in workaround since the gyrations are not readily apparent 2016-09-18 11:57:57 -04:00
Jeffrey Walton 2d0e388d9a Fix SunCC 12.5 failed validation in gcm.cpp (Issue 284) 2016-09-18 11:45:12 -04:00
Jeffrey Walton 4fb75a8f4d Fix SunCC 12.3 - 12.5 crash in gcm.cpp
/opt/developerstudio12.5/bin/CC -DNDEBUG -g2 -O2 -m64 -native -KPIC -template=no%extdef -c gcm.cpp

assertion failed in function pr_post_process_node() @ preopt.c:3868
assert(nd_eq_(scope_first_stmt_(node), first_s))

CC: ube failed for gcm.cpp
2016-09-18 10:26:57 -04:00
Jeffrey Walton 8f33054545 Revert "Fix SunCC 12.3 - 12.5 crash in gcm.cpp"
This reverts commit 519b41e47e. Additional testing cruft was included in the commit.
2016-09-18 10:23:10 -04:00
Jeffrey Walton 519b41e47e Fix SunCC 12.3 - 12.5 crash in gcm.cpp
$ /opt/developerstudio12.5/bin/CC -DNDEBUG -g2 -O2 -D__SSE2__ -D__SSE3__ -D__SSSE3__ -xarch=ssse3  -Wno-deprecated-declarations -m64 -native -KPIC -template=no%extdef -c gcm.cpp

assertion failed in function pr_post_process_node() @ preopt.c:3868
assert(nd_eq_(scope_first_stmt_(node), first_s))

CC: ube failed for gcm.cpp
2016-09-18 10:21:59 -04:00
Jeffrey Walton bad74bb3ab Add test for mismatched capabiliities between libcryptopp.a and cryptest.exe (Issue 283) 2016-09-18 09:28:47 -04:00
Jeffrey Walton 73bc1a0e38 Add information on static linking and risk with dynamic runtime linking 2016-09-18 08:52:10 -04:00
Jeffrey Walton 002509a9a9 Updated comments 2016-09-18 03:53:57 -04:00
Jeffrey Walton 0d434fb419 Updated failure message 2016-09-18 03:03:07 -04:00
Jeffrey Walton 85241c94a8 Updated IS_X86 detection code 2016-09-18 02:46:36 -04:00
Jeffrey Walton f041382c55 Add tests with -march=i686 and -march=x86-64
-march=native effectively tests a maximum, while the two new tests verify the minimum
2016-09-18 01:00:23 -04:00
Jeffrey Walton d6d2307b78 Fix test for assert, std::min and std::max
OS X's grep is not matching them, but egrep matches them
2016-09-18 00:39:56 -04:00
Jeffrey Walton 7de39aa18f Updated comments in cryptest.nmake 2016-09-17 23:21:34 -04:00
Jeffrey Walton 587a9956fc Added test for use of std::min and std::max
This is due to Windows.h and NOMINMAX. Linux test fine, while Windows breaks. We need to use either the library's 'STDMIN(a,b)' or '(std::min)(a, b);'
2016-09-17 22:08:12 -04:00
Jeffrey Walton 6930e27842 Add Tweak name for tweakable block ciphers 2016-09-17 20:16:03 -04:00
Jeffrey Walton 7620976826 Guard inclusion of <intrin.h> with VS2005 and above 2016-09-17 18:42:35 -04:00
Jeffrey Walton a0bc85cfc8 Add trap.h and ossig.h to vs2005.zip 2016-09-17 18:41:36 -04:00
Jeffrey Walton 334514d585 Add trap.h and ossig.h to vc60.zip 2016-09-17 18:12:45 -04:00
Jeffrey Walton 01b4ada148 Merge dev-branch 'trap' into 'master' 2016-09-17 17:21:53 -04:00
Jeffrey Walton 262e95fd84 Add VS2010 *.filters files to list of files converted to CRLF endings 2016-09-17 17:20:24 -04:00
Jeffrey Walton b7a08f1110 Use __debugbreak rather than DebugBreak on Windows
Also see "How to get a declaration for DebugBreak without including Windows.h?" (http://stackoverflow.com/q/39551229) on Stack Overflow
2016-09-17 17:17:28 -04:00