-
Notifications
You must be signed in to change notification settings - Fork 443
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
Update Falcon implementation #1395
Update Falcon implementation #1395
Conversation
FWIW, the "randomness" error is gone/repeated speed tests pass -- Thanks, @thomwiggers! However, the constant_time tests fail on my machine. |
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.
- Clarity to be obtained as to how this code relates to the NIST competition
- license update
- version ID update
- constant time checks should pass (or algorithm should be documented not having this property/excluding it from testing, see document BIKE lacks constant time protection #1397 as example for the latter)
The implementation should be constant-time; and there aren't too many differences with the implementation that was here before. The main difference seems the checks to resolve #1315. Maybe the existing suppressions need to be reconstructed because a bunch of the code moved back from c files into .h files |
ad6cc64
to
1d93158
Compare
Will you add this to this PR then or do you want to do a separate PR as soon as weekly CI constant time testing fails (maybe also a "solution" for #1400)? |
I have no idea how to do that |
This is documented in https://github.com/open-quantum-safe/liboqs/blob/main/tests/test_constant_time.py . |
I'm not sure if I will have time in the coming month to write these valgrind suppression files, I'm afraid, so I would appreciate it if someone could take over this PR. |
I've updated the constant-time suppression files. |
@baentsch What do you mean by "license update"? As for the version ID and how it relates to the NIST competition, @thomwiggers I can email Thomas Pornin if you like to ask what version identifier he would give this, unless you already have an answer to that question. |
Thanks very much. They're looking good to me (and the tests pass on my machine). That indeed only leaves the version ID question open to close this. |
Version ID question is now resolved: an email from Thomas Pornin to me and Thom says that he would call this version "20211101", so I've labelled it as such. |
Any objections to merging? |
Nope. Thanks @thomwiggers for the PR and @dstebila for addressing all issues (I had :) |
Updates Falcon to the latest version of the code.
Closes #1390 and #1315