-
Notifications
You must be signed in to change notification settings - Fork 2
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
Generate k256 test vectors on secp #9
Conversation
907592d
to
486836c
Compare
RFC 9180 makes use of aes-gcm, so we want to generate test vectors supporting that aead, but we don't need them in production in this crate.
0186344
to
fc63116
Compare
@spacebear21 I requested your review knowing that you're not familiar with this codebase. My main concern is whether or not you think this has major organizational problems. I'm confident the vectors it generates work in 3 separate implementations, 2 based on this rust-hpke codebase and one based on the hpke-rs codebase referenced in the MR history. Does my (unimplemented) thinking to separate into a |
At a high level this seems reasonable to me. Nice work on getting those vectors ready. I don't see any organizational issues with splitting up the |
I'd like to not have to maintain a fork, but I think most payjoin targets will already have chacha20poly1305, sha256, and secp256k1 available through bitcoin dependencies and our fork can depend on those same dependencies to reduce the size of the dep tree. Perhaps it can all be upstream with feature gates to rust-hpke, but I'm not sure. It seems like that crate's minimum requirement for a main branch merge was to have an RFC specifying the DHKEM |
fc63116
to
ea07c06
Compare
The only change post @spacebear21's comment was |
No description provided.