apple / swift-crypto

Open-source implementation of a substantial portion of the API of Apple CryptoKit suitable for use on Linux platforms.
https://apple.github.io/swift-crypto
Apache License 2.0
1.47k stars 166 forks source link

Update Wycheproof ecdh_secp256r1_ecpoint_test.json to v1 #158

Closed Sajjon closed 1 year ago

Sajjon commented 1 year ago

Update Wycheproof testvector ecdh_secp256r1_ecpoint v0 to ecdh_secp256r1_ecpoint v1.

Checklist

If you've made changes to gyb files

Motivation:

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:

Replaced the v0 with the v1 version, no other changed needed.

Result:

355 tests being run instead of v0's test count of ~99~.

Sajjon commented 1 year ago

Cherry pick from https://github.com/apple/swift-crypto/pull/154

Lukasa commented 1 year ago

@swift-server-bot test this please