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 Classic McEliece #1470
Update Classic McEliece #1470
Conversation
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.
Thanks for taking this on, @praveksharma ! Basically LGTM; it would be better if the old "*_vec" and "_avx" source files also already can be removed with this PR, though -- so that @dstebila doesn't have to do another "cleanup PR" again (as I failed to do this with Kyber90s :-/ :-)
@baentsch, I've made a new commit which removes the old vec/avx directories. |
Hmm -- @dstebila: do the remaining errors require a manual review of the suppression files or is it just a case of changed line numbers? If the former, who can do this? How long would that take? I wouldn't be particularly happy about holding 0.8.0 just for this. But having to do an 0.9.0 in a few days later because of the KAT changes also isn't appealing.... |
These errors actually aren't related to the constant time tests, they are compiler warnings and memory leak errors. So updating the suppression files won't help here. (We may also have to update the suppression files, but we'll only learn that when we run the constant time tests, which are not part of the regular CI process, only weekly or manual runs.) I spent about an hour looking at the above failures this afternoon. I understand the warning in the scan-build job and I know that it's a false positive, though I don't know how to tell that to scan-build. As for the failures in test_kem_leak, I did not yet investigate those, so I don't know how much work it is to resolve those. I do not think I will have time to work on it on Friday. |
The commit 8d16512 fixes the CI errors. The The memory leak issue is fixed by building Classic McEliece with lower optimisation, |
Thanks for these updates getting everything "green", @praveksharma !
This IMO begs one change to https://github.com/open-quantum-safe/liboqs/blob/main/docs/algorithms/kem/classic_mceliece.md#advisories: Something along the lines " |
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.
One more change request on this PR: The liboqs version number must be moved to "0.9.0-dev" in the toplevel CMakeLists.txt
. Arguably also the "SOVERSION" (in src/CMakeLists.txt
) -- but I'm not sure about that: Did we bump that when going to "0.8.0", @dstebila ?
Dropping comments regarding library versioning
d5d8ccd fixes the version number and the issues regarding the comments. That leaves us with deciding whether or not to bump the SOVERSION. |
Let's increment the SOVERSION. |
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.
Thanks for working through all these issues, @praveksharma ! Now LGTM.
Fixes #1314 and takes into account discussion from #1459.
Changes SPDX line for
src\common\pqclean_shims\crypto_declassify.h
from MIT to CC0.