-
Notifications
You must be signed in to change notification settings - Fork 151
Assert that MLKEM APIs generate real keys #470
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
base: master
Are you sure you want to change the base?
Conversation
|
Why is it scary? |
bwesterb
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Timing side channel
|
Still not safe. |
|
We really shouldn't write this needless code. It's only more chances to get things wrong. |
|
ok, fine. I've removed the check for all-0 keys. Now it's just a good'ol error handling bugfix. |
|
BTW, why using |
|
|
It's scary that the
MLKEM768_generate_keyis avoidfunction without ability to report an error. This adds a check that someseed/secretparseable public key has actually been written.