cryspen / hpke-rs

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

New provider: aws-lc-rs #64

Open jplock opened 5 months ago

jplock commented 5 months ago

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

franziskuskiefer commented 5 months ago

Yeah, I'm open to adding other providers.

jplock commented 5 months ago

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

cpu commented 5 months 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.