Skip to content
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

kem::SharedSecret field is not pub #23

Closed
BoOTheFurious opened this issue Apr 9, 2022 · 1 comment · Fixed by #27
Closed

kem::SharedSecret field is not pub #23

BoOTheFurious opened this issue Apr 9, 2022 · 1 comment · Fixed by #27

Comments

@BoOTheFurious
Copy link

Hello,

When implementing the kem trait for my own algorithm, I need to implement encap_with_eph and decap which return a SharedSecret. Thus I have to construct a SharedSecret which is not possible due to the inner field not being public. Is it possible to change this ?

Regards,

@rozbb
Copy link
Owner

rozbb commented Apr 9, 2022

Yup will fix

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 a pull request may close this issue.

2 participants