cryspen / hpke-rs

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

correct error type for aead_type_to_mode in evercrypt provider #37

Closed jvmncs closed 2 years ago

jvmncs commented 2 years ago

Hi, thanks for providing this library! It looks like the wrong error type was being returned by this helper function in the evercrypt_provider crate. I had some trouble getting evercrypt-sys to build on my M1 mac, so have only tested the fix on Ubuntu 18.04