Closed Sajjon closed 1 year ago
Update Wycheproof testvector ecdh_secp384r1_test v0 to ecdh_secp384r1_test v1.
gyb
.script/generate_boilerplate_files_with_gyb
We ought to use as many and as up to date test vectors as possible. Wycheproofs v0 were created 4 years ago and were due some upgrade.
fatalError
Number of tests is now 1047 instead of v0's test count of ~319~.
1047
319
@swift-server-bot test this please
Update Wycheproof testvector ecdh_secp384r1_test v0 to ecdh_secp384r1_test v1.
Checklist
If you've made changes to
gyb
files.script/generate_boilerplate_files_with_gyb
and included updated generated files in a commit of this pull requestMotivation:
We ought to use as many and as up to date test vectors as possible. Wycheproofs v0 were created 4 years ago and were due some upgrade.
Modifications:
fatalError
in test code with a failable init (same change as in https://github.com/apple/swift-crypto/pull/160)Result:
Number of tests is now
1047
instead of v0's test count of ~319
~.