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 eddsa_test to v1 (renamed to ed25519_test) #159

Closed Sajjon closed 1 year ago

Sajjon commented 1 year ago

Update Wycheproof testvector eddsa_test v0 to eddsa_test v1 (renamed to ed25519_test).

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:

Result:

Number of tests is now 150 instead of v0's test count of ~145~.

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