Commit Graph

5053 Commits (176b8af327c58f69a703b818bf6897cb8ec634f3)

Author SHA1 Message Date
Jeffrey Walton 176b8af327
Fix DL_GroupParameters_EC<T>::Element operator<< 2019-08-05 02:40:25 -04:00
Jeffrey Walton bb8e4cb74c
Cleanup Add and Double return values 2019-08-05 02:05:11 -04:00
Jeffrey Walton 88b37cff04
Remove debug output from AuthenticatedKeyAgreementWithRolesValidate 2019-08-05 01:32:01 -04:00
Jeffrey Walton 21518778c5
Update after fixing Add and Double 2019-08-05 01:19:22 -04:00
Jeffrey Walton 64a6f53b65
Fix incorrect result when using Add and Double 2019-08-05 01:15:57 -04:00
Jeffrey Walton 9be8c7074c
Add test instantiations for ECMQV, ECHMQV and ECFHMQV 2019-08-04 16:51:17 -04:00
Jeffrey Walton 3dfeb39343
Use member variable m_ecp 2019-08-04 15:27:26 -04:00
Jeffrey Walton 99c0f694b2
Cleanup seed code in test.cpp 2019-08-04 14:37:48 -04:00
Jeffrey Walton 4c123ab0e3
Add key agreement dump on failure 2019-08-04 02:21:26 -04:00
Jeffrey Walton d4bcc4c707
Make global seed deteminsitic from the command line 2019-08-04 02:20:15 -04:00
Jeffrey Walton 86e4199923
Cleanup ecp.cpp 2019-08-04 01:06:57 -04:00
Jeffrey Walton b2a47cebc0 Merge branch 'master' of https://github.com/weidai11/cryptopp 2019-08-04 00:16:23 -04:00
Jeffrey Walton b3eb4c6a69
Fix AuthenticatedKeyAgreementWithRolesValidate messages 2019-08-03 23:59:25 -04:00
Jeffrey Walton 1f7787c925 Merge branch 'master' of https://github.com/weidai11/cryptopp 2019-08-03 23:53:46 -04:00
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 489dc00501 Merge branch 'master' of https://github.com/weidai11/cryptopp 2019-08-03 23:25:50 -04:00
Jeffrey Walton 0b42a18cde
Update documentation 2019-08-03 23:25:15 -04:00
Jeffrey Walton 85c9fd98e8 Merge branch 'master' of https://github.com/weidai11/cryptopp 2019-08-03 22:59:33 -04:00
Jeffrey Walton 4e6dd922f7
Update documentation 2019-08-03 22:33:46 -04:00
Jeffrey Walton b19fae25e1 Merge branch 'master' of https://github.com/weidai11/cryptopp 2019-08-03 22:27:50 -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 26946157a0 Merge branch 'master' of https://github.com/weidai11/cryptopp 2019-08-03 19:23:49 -04:00
Jeffrey Walton 47a58050c6
Update documentation 2019-08-03 19:22:17 -04:00
Jeffrey Walton 79824ec639 Merge branch 'master' of https://github.com/weidai11/cryptopp 2019-08-03 17:02:02 -04:00
Jeffrey Walton 2e6ccd7fb1
Fix authenticated key agreement domain parameter consistency test 2019-08-03 17:01:02 -04:00
Jeffrey Walton 122e3df252 Merge branch 'master' of https://github.com/weidai11/cryptopp 2019-08-03 16:34:11 -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 b6d7590ba5 Merge branch 'master' of https://github.com/weidai11/cryptopp 2019-08-03 03:34:04 -04:00
Jeffrey Walton 84c4ae429f
Fix const-ness in HMQV and FHMQV 2019-08-03 03:24:26 -04:00
Jeffrey Walton 0163c52588
Whitespace check-in 2019-08-03 02:41:27 -04:00
Jeffrey Walton 9366be5615 Use complete addition algorithms in ECP (GH #869)
This is the initial cut-in of complete addition algorithms according to https://eprint.iacr.org/2015/1060.pdf. There are two outstanding problems. First, HMQV and FHMQV are failing self tests. We need to investigate further. Second, we cannot use the new algorithms on paths where a Montgomery representation is used. We need to investigate further.
This cut-in will allow us to proceed on evaluating the timing leaks.
2019-08-02 23:21:04 -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