1026b51922Changed TestOS_RNG to use a MeterFilter rather than an ArraySink with a NULL array. The NULL array meant ArraySink::Put2 returned early, and it did *not* update m_total. Even if Put2 did not exit early, it still could not update m_total because the bytes were *not* processed. This change was required in preparation for clearing UBsan errors in filters.cpp
Jeffrey Walton
2015-07-19 07:15:06 -0400
8c259ee6b4Added recipe to create dependencies. The dependencies are only generated if multiarch is not in effect. MULTIARCH_SUPPORT was also changed to an overrideable makefile variable
Jeffrey Walton
2015-07-18 23:41:41 -0400
bf9df8f970Added additional crypto++ artifcats used during testing. Added *.o because Fedora 22 does not exclude them by default
Jeffrey Walton
2015-07-18 22:16:47 -0400
e4ab1cd70cCleared UBsan error on non-null pointer use
Jeffrey Walton
2015-07-17 22:53:36 -0400
8cef820ac8Cleared UBsan error based on undefined shift. Tightened behaviors based on offline conversation with Wei and Denis. One shift error remains due to use of rotVariable by Cast. The UB will be cleared shortly, when specializations using GCC assembler is checked in
Jeffrey Walton
2015-07-17 22:21:01 -0400
5f299d76a0Cleared UBsan error on non-null pointers being used with memcpy and memmove from library functions memcpy_s and memmove_s
Jeffrey Walton
2015-07-17 21:09:42 -0400
134ba3e16bAdded -fsanitize-undefined-trap-on-error to help with a call stack on violations. Disabled by default
Jeffrey Walton
2015-07-17 11:02:37 -0400
0578334f7aCleared warning under Visual Studio
Jeffrey Walton
2015-07-17 10:40:22 -0400
3faaf986a4Cleared warning under Visual Studio
Jeffrey Walton
2015-07-17 10:39:45 -0400
ca6a93bbc5Cleared virtual destructor warning by explicitly adding them
Jeffrey Walton
2015-07-17 10:38:44 -0400
b435ce07c8Cleared Visual Studio warning on type mismatch in std::bind
Jeffrey Walton
2015-07-17 10:37:30 -0400
398bda4051Removed cross-pollination during testing
Jeffrey Walton
2015-07-17 10:05:56 -0400
172cce3974Added source code documentation on the rotFixed, rotVariable and rotMod functions
Jeffrey Walton
2015-07-17 07:40:16 -0400
e7eee759bbCleared UBsan errors under GCC 5.1. Cleared signed/unsigned warnings under Visual Studio
Jeffrey Walton
2015-07-17 07:16:01 -0400
3a08e02f71Cleared Issue #5. Thanks to Jonathan Wakely for the patch
Jeffrey Walton
2015-07-16 17:11:01 -0400
2b373cd2edRemove VC6 hacks in AssignFromHelperClass.
Jonathan Wakely
2015-07-16 10:14:33 +0100
06ea2d2952Cleared Cygwin i386 crash at -O3 due to unaligned data access and vectorization
Jeffrey Walton
2015-07-16 00:50:13 -0400
04429b291dAdded targets for UBsan and Asan
Jeffrey Walton
2015-07-16 00:47:09 -0400
c3c9f2f114Cleared Issue #6. Thanks to Jonathan Wakely for reporting
Jeffrey Walton
2015-07-16 00:43:38 -0400
00cc470f04Folded OPTIMIZE and SYMBOLS back into CXXFLAGS (we can use 'subst' to modify CXXFLAGS). Moved Cygwin work arounds into block guarded by IS_X86 (Cygwin only runs on Windows)
Jeffrey Walton
2015-07-15 19:03:49 -0400
857d7c84d1Cleared UBsan error of "load of value 127, which is not a valid value for type 'bool'" by initializing negateNext
Jeffrey Walton
2015-07-15 17:48:43 -0400
9bf0eed0f6Cleared crash with GCC 4.8 and above and -O3. In a nutshell, it was due to vectorization and alignment violations agains the vmovdqa instruction
Jeffrey Walton
2015-07-13 22:53:16 -0400
e78b8fe1dfCleared warnings on WindowSlider struct
Jeffrey Walton
2015-07-13 21:40:42 -0400
b5ed163c87Cleared UBSan warnings reported by Jonathan Wakely. Cleared many issues reported in GitHub Issue 4 (its a rollup of -fsanitize=undefined)
Jeffrey Walton
2015-07-13 20:37:34 -0400
c6abf130ebMoved GCC_DIAGNOSTIC_AWARE and GCC_OPTIMIZE_AWARE into misc.h
Jeffrey Walton
2015-07-13 00:39:13 -0400
12931b3301Cleared signed/unsigned warning on IncrementCounterByOne
Jeffrey Walton
2015-07-12 18:32:10 -0400
217cb1f983GNUmakefile improvements. Changed default optimization level to -O3, except on Cygwin. Added IS_DARWIN for consistency
Jeffrey Walton
2015-07-08 15:31:33 -0400
d091b803c6Added GetAsUIntValue{WithDefault} to help manage signed/unsigned warnings. The value is still written as an signed int; but its retrieved, range checked and then returned as an unsigned int
Jeffrey Walton
2015-07-07 19:46:09 -0400
8393eeb409Static and constness to arrays
Jeffrey Walton
2015-07-05 19:20:15 -0400
8386b3f139Guarded COUNTOF macro. Thanks to Graham Bull for the suggestion
Jeffrey Walton
2015-07-05 17:53:42 -0400
aa8bb8c5cdAdded cryptopp.mac.done to ignores after tests full Visual Studio solution
Jeffrey Walton
2015-07-03 18:59:37 -0400
21527f8f73Cut-over to COUNTOF in source files
Jeffrey Walton
2015-07-03 17:16:05 -0400
f2379159f8Added COUNTOF to misc.h to count elements in an array (fails on pointers). Moved CRYPTOPP_UNUSED to misc.h
Jeffrey Walton
2015-07-03 15:40:44 -0400
63dd0f5f54Added diff and patch files to the ignore list
Jeffrey Walton
2015-07-03 10:33:45 -0400
18070eb093Cleared "Access declarations are deprecated..." warning under MinGW
Jeffrey Walton
2015-07-03 10:27:17 -0400
1f0c35e669Cleared initialization warning related to use of brackets
Jeffrey Walton
2015-07-02 21:25:39 -0400
b2820c28d3Fixed spelling error in attribution
Jeffrey Walton
2015-07-02 17:48:45 -0400
260810ce63Implmented Bernstein\'s Tweaked Roots for Rabin-Williams signatures. Thanks to Evgeny Sidorov for suggesting it
Jeffrey Walton
2015-07-02 17:41:19 -0400
70bddb83efCleared unused function warnings
Jeffrey Walton
2015-07-01 21:35:19 -0400
bb0d9c7cafCleared warning on operator precedence
Jeffrey Walton
2015-06-29 09:46:48 -0400
457eaeaf23Static analysis showed the unsigned int y is truncated to an unsigned char via _rotr16. It does not appear to be a problem with the library, but it may be a problem for users. The assert will alert in Debug builds (but not Release builds)
Jeffrey Walton
2015-06-29 08:38:38 -0400
a14a5696e1Added GCC_DIAGNOSTIC_AWARE to help suppress some warnings on contemporary compilers. The macro was needed to help with managing old compilers, like GCC 4.2.1, present on OpenBSD
Jeffrey Walton
2015-06-29 02:09:02 -0400
44a5c2c860Added Crypto++ specific ignores to the list
Jeffrey Walton
2015-06-29 00:53:14 -0400
dd22311acdFix cross-pollination of other changes to validat2.cpp
Jeffrey Walton
2015-06-28 23:12:09 -0400
b51c3ea0b5Modified validation suite to use VerifyBufsEqual rather than memcmp. VerifyBufsEqual is a constant time compare, so it serves to educate users on the function to call to use
Jeffrey Walton
2015-06-28 23:06:12 -0400
a0390f1fd7Added inline to StringNarrow to squash unused function warning
Jeffrey Walton
2015-06-28 22:21:57 -0400
c88f5c8ba6Static cast type narrowing (prevent failures in C++11 mode with clang compiler)
Alexander Afanasyev
2015-06-28 18:36:25 -0700
f66da32db0Fix compilation issue on Cygwin64
Alex Afanasyev
2014-12-15 13:52:13 -0800
9425e16437Fix for CVE-2015-2141. Thanks to Evgeny Sidorov for reporting. Squaring to satisfy Jacobi requirements suggested by JPM.
Jeffrey Walton
2015-06-27 17:56:01 -0400
cf08f3e98dRemove dSYM directory for OS X during clean
Jeffrey Walton
2015-06-24 15:57:17 -0400
2afb07c427Removed execute bit from other project files
Jeffrey Walton
2015-06-24 15:44:20 -0400
f03ab5cbd1Removed execute bit from C++ header and source files
Jeffrey Walton
2015-06-24 14:15:29 -0400
4206b4a4dcAdded IS_X86_64, enabled -fPIC for IS_X86_64. Cleared compile error when building the shared object
Jeffrey Walton
2015-06-14 19:07:06 -0400
15d312e986Fixed potential missing argument when using tv subcommand with argv[2]
Jeffrey Walton
2015-06-12 10:39:55 -0400
be48625234Changed m_compress and m_encodeAsOID to mutable. They are presentation details, and passing a const-key or cont-params means they cannot be changed when writing
Jeffrey Walton
2015-06-11 19:10:46 -0400