Commit Graph

4542 Commits (5e48cfd0c9d9c44a60c6ea14faddb122f2dab07d)

Author SHA1 Message Date
Jeffrey Walton 5e48cfd0c9
Prepare for Crypto++ 8.0 release 2018-12-27 18:30:38 -05:00
Jeffrey Walton 5ace5e478a
Spelling corrections 2018-12-27 17:47:20 -05:00
Jeffrey Walton b877782692
Use local definition of space 2018-12-27 13:56:03 -05:00
Jeffrey Walton e8025bf6a9
Remove unused SM4 code for ARM 2018-12-27 11:52:12 -05:00
Jeffrey Walton 9f2917bb31
Check for root in governor.sh 2018-12-27 06:54:34 -05:00
Jeffrey Walton 0c658f5a7c
PublicKey is optional for curve25519 2018-12-26 20:35:49 -05:00
Jeffrey Walton d5338fd212
Remove unneeded buf compare 2018-12-26 19:55:12 -05:00
Jeffrey Walton 1fc26dc14c
Cleanup Validate tests 2018-12-26 19:50:51 -05:00
Jeffrey Walton 5202b6312f
Add ed25519PrivateKey::Validate body (GH #764)
We also clamp the private key and recalculate the public key. Note: we already know some IETF keys fail to validate because they are not clamped as specified in Bernsteain's paper or the RFCs (derp....)
2018-12-26 19:34:41 -05:00
Jeffrey Walton 21cd665a1c
Fix TestEd25519 for Debug builds on PowerPC 2018-12-26 15:21:36 -05:00
Jeffrey Walton d0245a4971
Fix "explicit template specialization cannot have a storage class" on Aarch64 debug builds 2018-12-26 13:32:26 -05:00
Jeffrey Walton b9688ec5e6
Fix "explicit template specialization cannot have a storage class" on Aarch64 debug builds 2018-12-26 13:24:54 -05:00
Jeffrey Walton 83a37b8284
Fix Debug PowerPC build 2018-12-26 12:29:32 -05:00
Jeffrey Walton 5f5250296d
Fix cryptest.vcxproj.user
Debug changes cross-pollinated into the commit
2018-12-25 23:48:59 -05:00
Jeffrey Walton bf10aae97d
Add additional asserts 2018-12-25 20:24:54 -05:00
Jeffrey Walton 6e09f4ee19
Update README.txt 2018-12-25 19:53:30 -05:00
Jeffrey Walton 82c0cb6b42
Whitespace check-in 2018-12-25 19:09:04 -05:00
Jeffrey Walton f9a33173f5
Add additional self tests 2018-12-25 18:38:08 -05:00
Jeffrey Walton 2ccac19de1
Use variable length messages in TestEd25519 2018-12-25 18:16:14 -05:00
Jeffrey Walton 0311daf7e2
Update documentation 2018-12-25 16:18:01 -05:00
Jeffrey Walton afd9c856ea
Update documentation 2018-12-25 15:42:36 -05:00
Jeffrey Walton 630361d249
Update documentation 2018-12-25 11:12:56 -05:00
Jeffrey Walton c55e58c205
Update documentation 2018-12-25 11:08:14 -05:00
Jeffrey Walton 567eef2d4d
Update documentation 2018-12-25 11:02:02 -05:00
Jeffrey Walton f981c86c69
Update documentation 2018-12-25 10:54:42 -05:00
Jeffrey Walton ba0dece8d9
Update documentation 2018-12-25 10:51:56 -05:00
Jeffrey Walton a749296504
Add additional self tests
And whitespace check-in
2018-12-25 10:08:49 -05:00
Jeffrey Walton 7226abd433
Add additional self tests
And whitespace check-in
2018-12-25 09:28:27 -05:00
Jeffrey Walton 2c3ca1c01e
Update documentation 2018-12-25 09:13:19 -05:00
Jeffrey Walton 4aa28fcf57
Update documentation 2018-12-25 09:10:11 -05:00
Jeffrey Walton bfd3f4e3c7
Update documentation 2018-12-25 09:00:52 -05:00
Jeffrey Walton d47f5506bb
Update documentation 2018-12-25 08:51:48 -05:00
Jeffrey Walton f528e9a238
Update documentation 2018-12-25 08:45:34 -05:00
Jeffrey Walton e389e2adc0
Update documentation 2018-12-25 08:38:15 -05:00
Jeffrey Walton ae2677648b
Update documentation 2018-12-25 08:17:20 -05:00
Jeffrey Walton 0d2067ab8d
Update documentation 2018-12-25 08:12:12 -05:00
Jeffrey Walton 430a968ca8
Update documentation 2018-12-25 08:10:24 -05:00
Jeffrey Walton d5e529d819
Update documentation 2018-12-25 07:46:59 -05:00
Jeffrey Walton 3b18e81bc1
Remove unneeded ed25519Verifier code
Add accessors for public and private key
2018-12-25 07:38:30 -05:00
Jeffrey Walton c37d7c83b1
Fix compile with NO_OS_DEPENDENCE 2018-12-25 06:48:09 -05:00
Jeffrey Walton 416db72f2c
Update documentation 2018-12-25 06:41:51 -05:00
Jeffrey Walton 5cbc6710d7
Clear unused variable warning 2018-12-25 05:49:43 -05:00
Jeffrey Walton 5b95b0ab1e
Update documentation 2018-12-24 18:17:25 -05:00
Jeffrey Walton d62674b561
Add ed25519 (GH #764, PR #767)
Add ed25519
2018-12-24 17:17:32 -05:00
Jeffrey Walton 2ba3c1fc73
Update documentation 2018-12-23 18:27:56 -05:00
Tanzinul Islam b5142e044f Use SSE2 intrinsics header in sse_simd.cpp only if needed (#759)
Embarcadero C++Builder v10.3 [has a bug](https://quality.embarcadero.com/browse/RSP-22883) where its old Intel intrinsics headers try to use retired Clang builtins and fail to compile. In devising a workaround with `-DCRYPTOPP_DISABLE_ASM`, I found that `sse_simd.cpp` includes `<emmintrin.h>` even when its code doesn't need the intrinsics.

With this patch, `-DCRYPTOPP_DISABLE_ASM` will be a sufficient workaround because `CRYPTOPP_SSE2_INTRIN_AVAILABLE` is derived from it in `config.h`.
2018-12-23 08:49:39 -05:00
Shmueli Englard fc87f8666a Add check for VS version and ExtendedControlRegister (PR #766) 2018-12-21 19:54:24 -05:00
hygonsoc 6dfb428f10 Add Hygon Dhyana support to enable RDRAND/RDSEED/ADX/AVX2 Feature (PR #765)
Hugh, interesting.

Thank you very much.

Ping @randombit. Botan may want or need this, too.
2018-12-20 17:33:16 -05:00
Jeffrey Walton 398964b87d
Add curve ids for x25519, ed25519, x448 and ed448
Also see https://tools.ietf.org/html/draft-ietf-curdle-pkix
2018-12-18 17:53:39 -05:00
Jeffrey Walton 4f7e2c984d
Make test vectors text files in VS filter file 2018-12-15 04:51:30 -05:00