-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update wycheproof testvectors to v1 #154
Conversation
@swift-server-bot test this please |
Ah maybe I lack access to trigger swift-server-bot to run tests... one can always try 😅 |
Good news though, I can tackle them! |
@swift-server-bot test this please |
@Lukasa would you be interested in me continuing with the rest of the vectors? I mean to say, if you don't think it a good idea, best I don't waste the time 😅. If you think it it a good idea, do you prefer all upgraded in the same PR? Or split across many? Let me know :) |
Hey @Sajjon, sorry for letting this sit here. I haven't lost track of it, I promise. I think in general this is something we want to accept, but I think splitting across PRs will make life easier. |
Great, I will split into multiple ones and referenced them here and then close this one. Might be some Talk soon! |
@Lukasa I've split this PR into six new ones, I will continue with the rest later next week. Should we have an umbrella issue for all PRs? Since they are strongly related. I can create that, and then we can close this PR. Let me know how you wanna proceed! :) |
The first 6 are merged, thanks! |
Great, I can maybe do some more later this week. |
Closed in favour of umbrella issue: #165 |
Update some Wycheproof testvectors (v0) to new testvectors_v1, which in general include more tests per file.
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.
Modification & Result
(I took the liberty to merge these to sections together)
More tests are now run 🎉 below is a table over all changes and result.
x25519_test
ed25519_test
eddsa_test
aes_gcm_test
chacha20_poly1305_test
ecdh_secp256r1_ecpoint_test
ecdh_secp256r1_test
fatalError
-> failable initI can upgrade all...
... but I wanted to hear first that you think it a good idea...
If so, should I do it in a single PR? I.e. add more commits to this PR?