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

Implement std::error::Error for kyber_pke::Error #2

Closed
jacksonn97 opened this issue May 30, 2024 · 0 comments · Fixed by #3
Closed

Implement std::error::Error for kyber_pke::Error #2

jacksonn97 opened this issue May 30, 2024 · 0 comments · Fixed by #3

Comments

@jacksonn97
Copy link
Contributor

jacksonn97 commented May 30, 2024

kyber_pke::Error not allow to use ? with encrypt or decrypt cause it is not implementing std::error::Error

so this encrypt(&open_key, &s, &nonce)? will throw an compiletime-error

suggested PR #3

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.

1 participant