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

IBKEM trait flexibility #6

Open
leonbotros opened this issue Jul 8, 2022 · 0 comments
Open

IBKEM trait flexibility #6

leonbotros opened this issue Jul 8, 2022 · 0 comments

Comments

@leonbotros
Copy link
Contributor

leonbotros commented Jul 8, 2022

Currently the IBKEM trait is not very flexible. Some constructions require a public key in the decapsulation function (for example the FO variants). Right now, we pass an Option<&Self::Pk> to the decapsulation function, which panics at runtime when no public key is given, but ideally this would be a compile-time error.

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

No branches or pull requests

1 participant