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 165 forks source link

Update Wycheproof chacha20_poly1305 to v1 #157

Closed Sajjon closed 1 year ago

Sajjon commented 1 year ago

Update Wycheproof testvector chacha20_poly1305 v0 to chacha20_poly1305 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:

325 tests being run instead of v0's test count of ~151~.

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