cryspen / hpke-rs

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

rm `RwLock` from `Hpke` and no-std-ify the `hpke-rs` library #55

Closed japaric closed 11 months ago

japaric commented 11 months ago

implements #52

this adds an opt-out Cargo feature named "std" and changes the signature of Hpke's methods; thus it's a semver breaking change.

this PR is best reviewed on a commit by commit basis

due to #54 I'm unable to test running this on a no-std target like the thumbv7em-none-eabihf but AFAICT no other dependency is pulling in libstd