Commit Graph

2023 Commits (49d7187255a3a44819d76a173d51a598a16cbedf)

Author SHA1 Message Date
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
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
Jeffrey Walton dc09f7446c Remove use of NDEBUG in dll.h 2016-09-17 14:40:23 -04:00
Jeffrey Walton eb107a6d6f Update copyright message 2016-09-17 14:39:32 -04:00
Jeffrey Walton c207012123 Add cryptest.sh tests for includio of <assert.h> and <cassert>; and use of NDEBUG or assert\(...\) 2016-09-17 14:38:52 -04:00
Jeffrey Walton 3815b908ab Add ossig.h. Move SignalHandler to ossig.h
This avoids a circular dependency between misc.h and trap.h. It also allows us to logically segregate and group code to replace C++ handlers, like set_terminate
2016-09-17 12:23:02 -04:00
Jeffrey Walton 91ca6c117d Change from NDEBUG to CRYPTOPP_DEBUG in source files to ensure all debug behavior pivots on CRYPTOPP_DEBUG, and not NDEBUG (Issue 277, CVE-2016-7420) 2016-09-16 14:51:48 -04:00
Jeffrey Walton 9ea63e7b28 Merge pull request #282 from mouse07410/master
$%^@!  448 bits is 56 bytes, not 58!!! Fixing that oversight.
2016-09-16 13:16:15 -04:00
Uri Blumenthal 8ad82f3f66 $%^@! 448 bits is 56 bytes, not 58!!! Fixing that oversight. 2016-09-16 12:36:05 -04:00
Jeffrey Walton 1bf805cd3e Merge pull request #281 from mouse07410/master
Restore MARS capability to use 448-bit keys
2016-09-16 12:23:15 -04:00