Skip to content

Conversation

SebastianFaller
Copy link

This adds structs Encapsulator and Decacpsulator that implement the RustCrypto traits kem::Encapsulate and kem::Decapsulate, as well as Signer and Verifier that implement signature::Signer and signature::Verifier.

Note that I used version v0.3.0-pre.0 of RustCrypto's KEM trait, and not v0.2.0. The newer traits are much nicer to work with and in particular, don't require to manually define extra types for ciphertext size and shared secret size of each individual KEM. See this issue for a more detailed discussion.

This is my first PR in this project, so please let me know if anything is off.
I read CONTRIBUTING.md and README.md.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant