Closed Sajjon closed 1 year ago
Update Wycheproof testvector ecdh_secp256r1_test v0 to ecdh_secp256r1_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 612 instead of v0's test count of ~340~.
612
340
Cherry pick from https://github.com/apple/swift-crypto/pull/154
@swift-server-bot test this please
Update Wycheproof testvector ecdh_secp256r1_test v0 to ecdh_secp256r1_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.Result:
Number of tests is now
612
instead of v0's test count of ~340
~.