Commit Graph

  • c4a5d802e7 Enabled -Wall for GCC 4.7 and above, and Clang Jeffrey Walton 2015-07-19 15:04:57 -0400
  • 88f94ed358 Cleared behavior that relied upon undefined behavior Jeffrey Walton 2015-07-19 14:35:30 -0400
  • a56f07709e g_hasISSE -> h_hasSSE. That's how old this function is... Jeffrey Walton 2015-07-19 13:39:57 -0400
  • 11eb9957d4 HasISSE -> HasSSE. That's how old this function is... Jeffrey Walton 2015-07-19 13:33:41 -0400
  • ea9081ebc4 Cleared -Wunneeded-internal-declaration from GCC 5.1 Jeffrey Walton 2015-07-19 12:30:16 -0400
  • 786b3f1660 Cleared warning "GCC diagnostic kind" unknown. It appears to be a Clang warning Jeffrey Walton 2015-07-19 12:16:19 -0400
  • e522574ddd Attempting to clear unknown pragma warning under GCC 5.1. This might be a compiler bug... Jeffrey Walton 2015-07-19 12:12:50 -0400
  • c33a567654 Updated comment with TODO to make it easy to locate in the future via grep/find Jeffrey Walton 2015-07-19 12:04:23 -0400
  • 7c0c1f57d5 Cleared -Wparentheses from GCC 5.1 Jeffrey Walton 2015-07-19 12:00:17 -0400
  • ef5a8f883c Cleared -Wparentheses from GCC 5.1 Jeffrey Walton 2015-07-19 11:27:11 -0400
  • d04b813e8b Cleared -Wmaybe-uninitialized under GCC 5.1 Jeffrey Walton 2015-07-19 11:05:48 -0400
  • e874cd2ef8 Fixed spelling error in header comments Jeffrey Walton 2015-07-19 10:57:12 -0400
  • 90b5dc9e61 Cleared remaining virtual destructor warnings under GCC with -Wall Jeffrey Walton 2015-07-19 10:24:10 -0400
  • 8f59d9af35 Cleared unused variable and function warnings Jeffrey Walton 2015-07-19 10:22:16 -0400
  • 41be55ca17 Fixed copy/paste error Jeffrey Walton 2015-07-19 09:43:10 -0400
  • ee71d0041f Cleared virtual destructor warnings under GCC with -Wall Jeffrey Walton 2015-07-19 09:41:46 -0400
  • c8fb6567da Cleared virtual destructor warnings under GCC with -Wall Jeffrey Walton 2015-07-19 09:29:02 -0400
  • 5bd61dcc92 Added inline assembly for left and right rotate under GCC on x86/x86_64 Jeffrey Walton 2015-07-19 08:31:58 -0400
  • d19790bbca Cleared UBsan errors Jeffrey Walton 2015-07-19 07:58:55 -0400
  • b54e637896 Whitespace checkin Jeffrey Walton 2015-07-19 07:21:42 -0400
  • 1026b51922 Changed 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
  • 8c259ee6b4 Added 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
  • bf9df8f970 Added 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
  • e4ab1cd70c Cleared UBsan error on non-null pointer use Jeffrey Walton 2015-07-17 22:53:36 -0400
  • 8cef820ac8 Cleared 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
  • cac038a855 Cleared UBsan error using non-null pointer Jeffrey Walton 2015-07-17 21:50:47 -0400
  • 20962b51a0 Changed guard on memcpy use to make it less intrusive. More closely resembles original code Jeffrey Walton 2015-07-17 21:44:53 -0400
  • 434c56fcd2 Cleared UBsan error using non-null pointer Jeffrey Walton 2015-07-17 21:36:13 -0400
  • 5f299d76a0 Cleared 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
  • 134ba3e16b Added -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
  • 0578334f7a Cleared warning under Visual Studio Jeffrey Walton 2015-07-17 10:40:22 -0400
  • 3faaf986a4 Cleared warning under Visual Studio Jeffrey Walton 2015-07-17 10:39:45 -0400
  • ca6a93bbc5 Cleared virtual destructor warning by explicitly adding them Jeffrey Walton 2015-07-17 10:38:44 -0400
  • b435ce07c8 Cleared Visual Studio warning on type mismatch in std::bind Jeffrey Walton 2015-07-17 10:37:30 -0400
  • 398bda4051 Removed cross-pollination during testing Jeffrey Walton 2015-07-17 10:05:56 -0400
  • 172cce3974 Added source code documentation on the rotFixed, rotVariable and rotMod functions Jeffrey Walton 2015-07-17 07:40:16 -0400
  • e7eee759bb Cleared UBsan errors under GCC 5.1. Cleared signed/unsigned warnings under Visual Studio Jeffrey Walton 2015-07-17 07:16:01 -0400
  • 427e1cf028 Cleared UBsan warnings under GCC 5.1 Jeffrey Walton 2015-07-17 07:13:23 -0400
  • 3a08e02f71 Cleared Issue #5. Thanks to Jonathan Wakely for the patch Jeffrey Walton 2015-07-16 17:11:01 -0400
  • 2b373cd2ed Remove VC6 hacks in AssignFromHelperClass. Jonathan Wakely 2015-07-16 10:14:33 +0100
  • 06ea2d2952 Cleared Cygwin i386 crash at -O3 due to unaligned data access and vectorization Jeffrey Walton 2015-07-16 00:50:13 -0400
  • 04429b291d Added targets for UBsan and Asan Jeffrey Walton 2015-07-16 00:47:09 -0400
  • c3c9f2f114 Cleared Issue #6. Thanks to Jonathan Wakely for reporting Jeffrey Walton 2015-07-16 00:43:38 -0400
  • 00cc470f04 Folded 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
  • 857d7c84d1 Cleared 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
  • 866fbeb8e4 Cleared compile error masked behind ASSERT Jeffrey Walton 2015-07-14 01:25:59 -0400
  • 828c550389 Cleared C4242 warning uder Visual Studio Jeffrey Walton 2015-07-13 23:59:01 -0400
  • 01caf892e0 Whitespcae check-in Jeffrey Walton 2015-07-13 23:20:36 -0400
  • 9bf0eed0f6 Cleared 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
  • e78b8fe1df Cleared warnings on WindowSlider struct Jeffrey Walton 2015-07-13 21:40:42 -0400
  • b5ed163c87 Cleared 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
  • c6abf130eb Moved GCC_DIAGNOSTIC_AWARE and GCC_OPTIMIZE_AWARE into misc.h Jeffrey Walton 2015-07-13 00:39:13 -0400
  • 12931b3301 Cleared signed/unsigned warning on IncrementCounterByOne Jeffrey Walton 2015-07-12 18:32:10 -0400
  • 02dff96e97 Cleared signed/unsigned warning using GCC __builtin_XXX Jeffrey Walton 2015-07-12 18:19:46 -0400
  • 981b4c9d04 Added test for 'v<0' in GetAsUIntValue Jeffrey Walton 2015-07-09 05:24:10 -0400
  • 8ed9bc7f1f Fixed multiarch detection on OS X Jeffrey Walton 2015-07-09 02:19:15 -0400
  • 6556d68543 Added test suites for HKDF Jeffrey Walton 2015-07-09 01:38:05 -0400
  • 69e1017ac5 Added Crypto++ artifacts to .gitignore Jeffrey Walton 2015-07-09 01:36:37 -0400
  • 94f28091e8 GNUmakefile improvements. Changed default optimization level to -O3, except on Cygwin. Added IS_DARWIN for consistency Jeffrey Walton 2015-07-08 15:34:23 -0400
  • 6cfee97b27 Merge branch 'master' of https://github.com/weidai11/cryptopp Jeffrey Walton 2015-07-08 15:31:44 -0400
  • 217cb1f983 GNUmakefile improvements. Changed default optimization level to -O3, except on Cygwin. Added IS_DARWIN for consistency Jeffrey Walton 2015-07-08 15:31:33 -0400
  • d091b803c6 Added 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
  • 8393eeb409 Static and constness to arrays Jeffrey Walton 2015-07-05 19:20:15 -0400
  • 8386b3f139 Guarded COUNTOF macro. Thanks to Graham Bull for the suggestion Jeffrey Walton 2015-07-05 17:53:42 -0400
  • aa8bb8c5cd Added cryptopp.mac.done to ignores after tests full Visual Studio solution Jeffrey Walton 2015-07-03 18:59:37 -0400
  • 21527f8f73 Cut-over to COUNTOF in source files Jeffrey Walton 2015-07-03 17:16:05 -0400
  • f2379159f8 Added 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
  • 63dd0f5f54 Added diff and patch files to the ignore list Jeffrey Walton 2015-07-03 10:33:45 -0400
  • 18070eb093 Cleared "Access declarations are deprecated..." warning under MinGW Jeffrey Walton 2015-07-03 10:27:17 -0400
  • 1f0c35e669 Cleared initialization warning related to use of brackets Jeffrey Walton 2015-07-02 21:25:39 -0400
  • b2820c28d3 Fixed spelling error in attribution Jeffrey Walton 2015-07-02 17:48:45 -0400
  • 260810ce63 Implmented Bernstein\'s Tweaked Roots for Rabin-Williams signatures. Thanks to Evgeny Sidorov for suggesting it Jeffrey Walton 2015-07-02 17:41:19 -0400
  • 70bddb83ef Cleared unused function warnings Jeffrey Walton 2015-07-01 21:35:19 -0400
  • ea75b3ae5f Added Base64URLEncoder and decoder for web safe alphabet from RFC 4648, Section 5. Discussion at https://groups.google.com/d/msg/cryptopp-users/OF5RPXW-cHw/EDrOuA4-rRYJ Jeffrey Walton 2015-07-01 21:06:29 -0400
  • 99ed4c86db Added PHONY targets for clean, install and remove Jeffrey Walton 2015-06-30 22:41:47 -0400
  • 91b0730c33 Fixed compile on Cygwin x86_64. Thanks to Alex Afanasyev Jeffrey Walton 2015-06-30 22:25:15 -0400
  • 1d8934e5b7 Removed -fPIC for Cygwin x86_64 compiles Jeffrey Walton 2015-06-30 22:06:59 -0400
  • 79c9348599 Fixed spelling error in attribution Jeffrey Walton 2015-06-30 15:58:02 -0400
  • c9068f3ab2 Merge f66da32db0 into bb0d9c7caf Alex Afanasyev 2015-06-29 18:16:32 +0000
  • 17b0787048 Merge c88f5c8ba6 into bb0d9c7caf Alex Afanasyev 2015-06-29 17:58:58 +0000
  • bb0d9c7caf Cleared warning on operator precedence Jeffrey Walton 2015-06-29 09:46:48 -0400
  • 457eaeaf23 Static 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
  • e67480dd9e Enabled security related warnings; see http://blogs.msdn.com/b/vcblog/archive/2010/12/14/off-by-default-compiler-warnings-in-visual-c.aspx Jeffrey Walton 2015-06-29 05:49:40 -0400
  • a14a5696e1 Added 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
  • 44a5c2c860 Added Crypto++ specific ignores to the list Jeffrey Walton 2015-06-29 00:53:14 -0400
  • dd22311acd Fix cross-pollination of other changes to validat2.cpp Jeffrey Walton 2015-06-28 23:12:09 -0400
  • b51c3ea0b5 Modified 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
  • a0390f1fd7 Added inline to StringNarrow to squash unused function warning Jeffrey Walton 2015-06-28 22:21:57 -0400
  • c88f5c8ba6 Static cast type narrowing (prevent failures in C++11 mode with clang compiler) Alexander Afanasyev 2015-06-28 18:36:25 -0700
  • f66da32db0 Fix compilation issue on Cygwin64 Alex Afanasyev 2014-12-15 13:52:13 -0800
  • 9425e16437 Fix 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
  • cf08f3e98d Remove dSYM directory for OS X during clean Jeffrey Walton 2015-06-24 15:57:17 -0400
  • 2afb07c427 Removed execute bit from other project files Jeffrey Walton 2015-06-24 15:44:20 -0400
  • f03ab5cbd1 Removed execute bit from C++ header and source files Jeffrey Walton 2015-06-24 14:15:29 -0400
  • 4206b4a4dc Added 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
  • 3829c7fd51 Added OMP thread count to test program. Discussion at https://groups.google.com/d/msg/cryptopp-users/M4vy6PFy40s/9n869TXAqoYJ Jeffrey Walton 2015-06-13 21:11:22 -0400
  • 17fea9df2a Backed out commit d2686acc10. Its not clear it was safe to clear the warning this way Jeffrey Walton 2015-06-13 15:40:06 -0400
  • 789aacd4d3 Merge branch 'master' of https://github.com/weidai11/cryptopp Jeffrey Walton 2015-06-12 10:40:18 -0400
  • 15d312e986 Fixed potential missing argument when using tv subcommand with argv[2] Jeffrey Walton 2015-06-12 10:39:55 -0400
  • be48625234 Changed 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