Commit Graph

901 Commits (7b9878509b6afd4d368c0bc62260da868896b5c6)

Author SHA1 Message Date
Jeffrey Walton 7b9878509b Added "sources" target to generate the list of library files and test files. The lists are suitable for Autotools and Android.mk file lists 2015-12-06 00:48:31 -05:00
Jeffrey Walton 0fb28c0ee4 Added "algebra.h" include for "make deps" recipe 2015-12-04 18:18:34 -05:00
Jeffrey Walton db1c95401c Fixed test using Xcode default compiler. Fixed makefile convert recipe to include ASM files 2015-12-04 12:52:40 -05:00
Jeffrey Walton 401308d14e Guarded Intel multiarch with CXX03/CXX11. Fixed typo in export for testing under Xcode compiler 2015-12-03 18:17:54 -05:00
Jeffrey Walton ac5bc5729e Added PowerPC multiarch tests to cryptest.sh 2015-12-03 12:39:25 -05:00
Jeffrey Walton 0059f486ad Changed RDSEED to use alternate ctor. Added comments about number of retries for RDRAND and RDSEED 2015-12-02 18:23:10 -05:00
Jeffrey Walton 2c16082495 Added recipe to build ISO for early distros like Fedora 1 on Linux using genisoimage 2015-12-02 17:21:25 -05:00
Jeffrey Walton c08cac0cd1 Fixed failed compile on OS X using "-arch i386" due to Clang defining __ILP32__ for everything that is 32-bit. MSVC, GCC, ICC and Comeau were OK 2015-12-02 15:54:35 -05:00
Jeffrey Walton b7d461b4e2 Added recipe to build ISO for early distros like Fedora 1. The Crypto++ source files are transferred to the VM through the CDROM device 2015-12-02 15:45:50 -05:00
Jeffrey Walton 8ba4232386 Changed retry count for RDRAND and RDSEED. RDSEED appears to fail to fulfill requests at about 6 to 8 times the rate of RDRAND. 2015-11-29 14:43:12 -05:00
Jeffrey Walton ed6c1de915 Fixed typos in comments 2015-11-25 15:20:37 -05:00
Jeffrey Walton f90a940e2e Added additional flags to warning build, including -Wstrict-overflow -Wstrict-aliasing=3 and -Waggressive-loop-optimizations 2015-11-24 10:54:10 -05:00
Jeffrey Walton fcd4f80bd3 Fix missing leading 0 for data byte directive 2015-11-24 09:46:25 -05:00
Jeffrey Walton 1d0f5080c6 Fix missing leading 0 on data byte 2015-11-24 09:38:55 -05:00
Jeffrey Walton 2fcbef965d Remove uneeded file 2015-11-22 19:23:02 -05:00
Jeffrey Walton 298988a5b9 Crypto++ 5.6.3 check-in 2015-11-22 19:17:15 -05:00
Jeffrey Walton 62618fda97 Revert botched "Crypto++ 5.6.3 check-in". Corruption due to VMware adding garbage to the end of some source files during drag and drop from guest to host.
This reverts commit c454358122.
2015-11-22 19:11:31 -05:00
Jeffrey Walton c454358122 Crypto++ 5.6.3 check-in 2015-11-20 19:15:33 -05:00
Jeffrey Walton 5f70a7c85e Added missing <rng.h> to validat1.cpp. MaurerRandomnessTest requires the header when -DNO_OS_DEPENDENCE 2015-11-19 17:28:37 -05:00
Jeffrey Walton baa19fb2b4 Added config.h due to privately reported issue 2015-11-19 16:48:56 -05:00
Jeffrey Walton b3e49d8c96 Additional documentation; fixed issues with Clang integrated assembler and different versions numbers for LLVM Clang and Apple Clang; fixed missing header in DSA class 2015-11-19 13:09:33 -05:00
Jeffrey Walton 6911cc9e91 Updated release notes 2015-11-18 16:43:53 -05:00
Jeffrey Walton 3203d7db54 Change __MINGW__ → __MINGW32__ 2015-11-18 15:52:54 -05:00
Jeffrey Walton c15be9178a Cleared issues 11,12,13 (Clang integrated assembler), 58 (RC rollup), 66 (Coverity rollup) 2015-11-18 15:45:32 -05:00
Jeffrey Walton 628f40755a Cleared issues 11,12,13 (Clang integrated assembler), 58 (RC rollup), 66 (Coverity rollup) 2015-11-18 15:35:35 -05:00
Jeffrey Walton 9f6a942218 Cleared issues 11,12,13 (Clang integrated assembler), 58 (RC rollup), 66 (Coverity rollup) 2015-11-18 15:34:27 -05:00
Jeffrey Walton 6ac1e46a1f Cleared issues 11,12,13 (Clang integrated assembler), 58 (RC rollup), 66 (Coverity rollup) 2015-11-18 15:32:28 -05:00
Jeffrey Walton d2fda9bd42 Cleared issues 11,12,13 (Clang integrated assembler), 58 (RC rollup), 66 (Coverity rollup) 2015-11-18 15:19:02 -05:00
Jeffrey Walton 1993a8b7b9 Merge pull request #63 from Zireael-N/master
Override a pure virtual function inherited from WindowsPipe
2015-11-13 09:15:47 -05:00
Zireael 9b140da272
Override a pure virtual function inherited from WindowsPipe
Fixes "undefined reference to non-virtual thunk" when compiling
cryptest.exe on MinGW.
2015-11-06 20:57:20 +03:00
Jeffrey Walton 2fbdeb70b4 Remove unneeded test file 2015-11-05 02:04:59 -05:00
Jeffrey Walton 48809d4e85 CRYPTOPP 5.6.3 RC6 checkin 2015-11-05 01:59:46 -05:00
Jeffrey Walton 025337a94a CRYPTOPP 5.6.3 RC6 checkin 2015-11-05 01:50:12 -05:00
Jeffrey Walton 8a02fe1787 Merge pull request #35 from bertothunder/master
Fixes the warning on IntToString about comparison of unsigned and sig…
2015-10-25 22:50:57 -04:00
Jeffrey Walton 0291c1318f Merge pull request #7 from jwakely/issue-5
Remove VC6 hacks in AssignFromHelperClass.
2015-10-25 22:50:31 -04:00
Jeffrey Walton 47571eebe8 Merge pull request #46 from Zireael-N/master
Remove implementation of ResizeBuffer() from headers
2015-10-25 22:38:35 -04:00
Zireael 8134f2cd50 Remove implementation of ResizeBuffer() from headers
Fixes issue #45
2015-10-26 05:11:59 +03:00
Alberto Curro 1d5bcc08fb Fixes the warning on IntToString about comparison of unsigned and signed values, when boost::uint32_t and boost::uint64_t are used with the function 2015-10-01 14:35:45 +01:00
Jeffrey Walton aff5105569 Removed "include <assert.h>" from files. Its now handled by "trap.h" 2015-08-03 19:21:57 -04:00
Jeffrey Walton 973e48744b Removed guard on memcpy_s call to memcpy. All the Undefined Behavior has been removed. The CRYPTOPP_ASSERT remains to guard the use of the functions, as does Clang/GCC Undefined Behavior sanitizer 2015-08-03 19:20:27 -04:00
Jeffrey Walton d96e0a3a19 Completed cutover to unscoped auto_ptr (which will use Crypto++'s namespace version) 2015-08-03 19:18:17 -04:00
Jeffrey Walton 09b5d2f5dd Switched to DebugBreak() for Windows machines to snap the debugger and allow a continue 2015-08-03 19:17:42 -04:00
Jeffrey Walton 1e103c0e5b Completed cutover to unscoped auto_ptr (which will use Crypto++'s namespace version) 2015-08-03 19:11:23 -04:00
Jeffrey Walton 7e6c9438da Companion checkin to 572506de3d. Salsa and Sosemanuk can no longer reach into a SecBlock for and touch its private members 2015-08-03 19:06:18 -04:00
Jeffrey Walton 572506de3d This patch (1) documents the interface, including when the underlying array is uninitialized versus set to 0; (2) adds move semantics; (3) makes its members private; (4) adds asserts for some sanity checks in Debug builds; (5) guards calls to memset and memcpy for NULL pointers and 0-sizes; (6) prefers initialization over assignment; and (7) switches to numeric_limits::max() for sizes 2015-08-03 18:59:02 -04:00
Jeffrey Walton 57865b43ce Improved comment on use of __cplusplus macro 2015-08-03 17:24:41 -04:00
Jeffrey Walton 651ba89176 Added CRYPTOPP_POSIX_ASSERT to config.h for those who want original Posix behavior of abort(). Additional cleanup of CRYPTOPP_CXX11 defines 2015-08-03 17:14:55 -04:00
Jeffrey Walton 8bfb29740f Removed inline ASM for GCC. According to the GCC devs, the cast to volatile is all that's required 2015-08-03 14:01:31 -04:00
Jeffrey Walton 69c6989e99 Cleared "-Wunused-but-set-variable" warning due to Bot_2 macro on x86_64 2015-08-03 13:14:44 -04:00
Jeffrey Walton fd300a1c90 Changed to dynamic_cast for GlobalRNG() 2015-08-03 12:48:12 -04:00