Commit Graph

5030 Commits (5aac8506bd97deb547963625f99467a40a463ffc)

Author SHA1 Message Date
Jeffrey Walton 5aac8506bd
Use recipient rather than responder in authenticated key agreement
The recipient may not respond (though they do in the case of these key agreement schemes)
2019-08-03 23:52:50 -04:00
Jeffrey Walton 0b42a18cde
Update documentation 2019-08-03 23:25:15 -04:00
Jeffrey Walton 4e6dd922f7
Update documentation 2019-08-03 22:33:46 -04:00
Jeffrey Walton c3e0d123b2
Update documentation 2019-08-03 22:08:07 -04:00
Jeffrey Walton 37c0fb7ba8
Update documentation 2019-08-03 22:05:01 -04:00
Jeffrey Walton 057c2b434b
Update documentation 2019-08-03 21:58:26 -04:00
Jeffrey Walton 47a58050c6
Update documentation 2019-08-03 19:22:17 -04:00
Jeffrey Walton 2e6ccd7fb1
Fix authenticated key agreement domain parameter consistency test 2019-08-03 17:01:02 -04:00
Jeffrey Walton 7eeb954b23
Add AuthenticatedKeyAgreementValidateWithRoles free standing test function 2019-08-03 16:32:36 -04:00
Jeffrey Walton 3c5cb828b1
Spelling 2019-08-03 15:38:39 -04:00
Jeffrey Walton 84c4ae429f
Fix const-ness in HMQV and FHMQV 2019-08-03 03:24:26 -04:00
Jeffrey Walton 176cab0dc5
Update comments
Reference the bug report in DL_SignerBase::SignAndRestart for future readers
2019-07-29 10:36:29 -04:00
Ján Jančár f68f00f560 Fix ECDSA scalar multiplication leakage of bit-length. (GH #870)
This fixes the timing leakage of bit-length of nonces in ECDSA by essentially
fixing the bit-length, by using a nonce equivalent modulo the subgroup order.
2019-07-29 10:12:14 -04:00
Jeffrey Walton 739e5799e3 Whitespace check-in 2019-07-27 15:56:15 -04:00
Jeffrey Walton e4c402ace9
Clear truncation warning in rng.cpp (PR #867) 2019-07-25 04:52:24 -04:00
Andrew Marshall 12382a14be Use fixed size temporary in LC_RNG for consistency across platforms (#867) 2019-07-23 12:39:51 -04:00
Jeffrey Walton 614795f3e1
Add -DNDEBUG for openSUSE standrad build test 2019-07-22 16:10:43 -04:00
Jeffrey Walton 6eab4b7c32
Add openSUSE standard build test (GH #865) 2019-07-22 15:37:25 -04:00
Jeffrey Walton 9d2cab7548
Add CRYPTOPP_CXX14 define 2019-07-22 01:08:12 -04:00
Jeffrey Walton a7f2796dda
Update comments 2019-07-21 22:21:10 -04:00
Jeffrey Walton 7b7827e9cb
Clear Clang warning on SSE2 load 2019-07-21 22:20:55 -04:00
Jeffrey Walton 46e58df837
Add LINK_LIBRARY_PATH (GH #866) 2019-07-21 15:57:26 -04:00
Jeffrey Walton 3747e3d944
Don't use BASH_SOURCE in cryptest.sh 2019-07-21 03:19:14 -04:00
Jeffrey Walton ed7f4a0493
Use LINK_LIBRARY in cryptest-symbols.sh script (GH #866) 2019-07-21 03:16:01 -04:00
Jeffrey Walton dfaf2fc453
Remove references to GNUmakefile.shared (GH# 866) 2019-07-21 03:06:44 -04:00
Jeffrey Walton ef6e57990e
Use LINK_LIBRARY in cryptest.sh script (GH #866) 2019-07-21 03:02:43 -04:00
Jeffrey Walton 52ad132134
Add link-library variable to Makefiles (GH #866)
This should help distros and Crypto++ test scripts
2019-07-21 02:24:06 -04:00
Jeffrey Walton 5957b19fb8
Fix AVX2 feature test under Clang 3.3
Clang 3.3 appears to support some of AVX2, but it is missing _mm256_broadcastsi128_si256.
2019-07-21 00:27:23 -04:00
Jeffrey Walton 22a55bbbc5
Use wildcard for FORTIFY_SOURCE filter on TCXXFLAGS (GH #865) 2019-07-19 11:26:20 -04:00
Jeffrey Walton 417fbd719a
Fix missing if statement
Copy/paste error from the regular GNUmakefile
2019-07-19 00:16:23 -04:00
Jeffrey Walton 058a59814f
Fix TCXXFLAGS using openSUSE standard flags (GH #865) 2019-07-19 00:14:25 -04:00
Jeffrey Walton 07c208dbc6
Filter out static_assert from Posix assert test 2019-07-14 22:43:31 -04:00
Jeffrey Walton 769643bbe1
Fix macro paste in CRYPTOPP_ASSERT_JOIN 2019-07-14 19:09:05 -04:00
Jeffrey Walton 388a2e6ded
Fix macro paste in CRYPTOPP_ASSERT_JOIN 2019-07-14 19:04:52 -04:00
Jeffrey Walton f5881d121a
CRYPTOPP_CXX11_STATIC_ASSERT -> CRYPTOPP_CXX14_STATIC_ASSERT
WHoops, this is a C++14 feature
2019-07-14 19:02:58 -04:00
Jeffrey Walton 002e794ae2
Use C++ static_assert from N3928 when available 2019-07-14 18:28:51 -04:00
Jeffrey Walton 5de1089c8c
Update documentation 2019-07-14 12:50:50 -04:00
Jeffrey Walton e8b07b162f
Avoid preprocessor error in SIZE_MAX (GH #864) 2019-07-14 00:52:30 -04:00
Jeffrey Walton 6ae9c055cc
Move CRYPTOPP_CXX11 down in list of defines 2019-07-11 12:12:19 -04:00
Jeffrey Walton f0d7917719
Move CRYPTOPP_NO_CXX11 and CRYPTOPP_NO_CXX17 to config_cxx.h
It looks like these two were overlooked during refactoring
2019-07-11 12:10:19 -04:00
Jeffrey Walton 8260dd1e81
Increase m_buf size (GH #862) 2019-07-10 15:54:48 -04:00
Jeffrey Walton 6d69043403
Add BufferedTransformation GetWord64 and PutWord64 (GH #862) 2019-07-10 10:04:58 -04:00
Jeffrey Walton a76c6a203f
Update documentation 2019-07-10 08:10:44 -04:00
Jeffrey Walton 60e7bf3081
Update documentation 2019-07-08 18:46:27 -04:00
Jeffrey Walton 195cd6e7c8
Update documentation 2019-07-06 16:06:27 -04:00
Jeffrey Walton 2ffa70fbc6
Clear asserts under DEBUG builds 2019-07-06 15:57:08 -04:00
Jeffrey Walton fd7115fc8b
Remove duplicate CRYPTOPP_GCC_VERSION test 2019-07-06 08:06:00 -04:00
Jeffrey Walton b76a010dda
Cleanup PowerPC defines 2019-07-06 07:35:36 -04:00
Jeffrey Walton f0a2967191
Fix missing binary operator 2019-07-06 07:07:16 -04:00
Jeffrey Walton 37de652635
Use C++ feature test macros when available
There are not too many of them. __cpp_threadsafe_static_init may be useful for less frequently used compilers and platforms.
2019-07-06 07:03:26 -04:00