franziskuskiefer / hpke-rs

Pure Rust implementation of HPKE (https://www.rfc-editor.org/rfc/rfc9180.html)
28 stars 14 forks source link

New provider: aws-lc-rs #64

Open jplock opened 1 month ago

jplock commented 1 month ago

Would you be open to a pull request to add another provider that uses https://crates.io/crates/aws-lc-rs?

franziskuskiefer commented 1 month ago

Yeah, I'm open to adding other providers.

jplock commented 3 weeks ago

Adding this here for reference - https://github.com/rustls/rustls/pull/1963

cpu commented 3 weeks ago

FWIW, I think building an aws-lc-rs backend in this repo might bump into the aws-lc-rs/ring HKDF API limitation I mentioned here. We worked around this in Rustls without much fuss because we had a separate HKDF-using-HMAC implementation where there was a convenient way to expose what we needed. Without that machinery at hand one might need to negotiate upstream changes or think of a different workaround.