-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ml-kem: make encapsulation_key()
public
#39
Comments
FWIW we had some discussion of traits for this here: RustCrypto/traits#1559 (comment) |
Barring some resolution on what the traits should look like, I think we can start by making cc @bifurcation |
I don't see anything wrong with making it public, although I'm not the original owner of this code. |
If someone wants to open a PR we can move forward on making it public |
tarcieri
added a commit
that referenced
this issue
Aug 16, 2024
tarcieri
changed the title
Make
ml-kem: make Aug 16, 2024
encapsulation_key()
publicencapsulation_key()
public
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
For easier integration with others crates and simplify some
ml-kem
use cases, it would be nice to have a way to obtain the encapsulation key from the decapsulation one.It seems that this is already possible and done inside the crate, but the related function is not published publicly:
KEMs/ml-kem/src/kem.rs
Line 109 in a8315ad
Would it be possible to make it widely available, or am I missing an already existing method to obtain the encapsulating key from the decapsulation key?
The text was updated successfully, but these errors were encountered: