sntrup761: replace PQClean code with public domain OpenSSH code#2356
sntrup761: replace PQClean code with public domain OpenSSH code#2356bbbrumley wants to merge 11 commits intoopen-quantum-safe:mainfrom
Conversation
|
I don't really know what that DCO check means, I added the string to the commit message, idk if that was correct 🤷 |
3604ed5 to
0764558
Compare
|
0764558 should solve some of the CI failures. Will take a look at what's still failing after the CI runs. |
|
... and @dstebila thank you for the push |
|
Thanks for your patience while I stumble through your CI! |
Thanks for your willingness to do that. Just triggered a full run. |
baentsch
left a comment
There was a problem hiding this comment.
One quick initial comment on the PR: Could you please also amend the ntruprime files in the folder https://github.com/open-quantum-safe/liboqs/tree/main/docs/algorithms/kem as part of the PR? Those files had been auto-generated while importing from PQClean -- but that obviously now no longer works.... If at all possible, please retain the format but replace everything that no longer applies (optimizations, license info, etc.). Thanks in advance!
@baentsch absolutely, I saw those but wasn't sure exactly what the procedure is -- does the |
Yes, the Markdown gets generated from the YAML file by the |
Let us know if we can help with that. Although my own expertise with the Windows builds (which are the ones currently failing) is low. |
will do, making progress. (I think I'm almost there, also no direct windows experience since early 2000s ...) |
95ff834 to
e7204bc
Compare
Signed-off-by: Billy Brumley <bbb@iki.fi>
Signed-off-by: Douglas Stebila <dstebila@uwaterloo.ca>
Signed-off-by: Billy Brumley <bbb@iki.fi>
…ake stricter android ld.lld happy Signed-off-by: Billy Brumley <bbb@iki.fi>
Signed-off-by: Billy Brumley <bbb@iki.fi>
…able length arrays Signed-off-by: Billy Brumley <bbb@iki.fi>
…th arrays on the stack; script to modify upstream source Signed-off-by: Billy Brumley <bbb@iki.fi>
Signed-off-by: Billy Brumley <bbb@iki.fi>
Signed-off-by: Billy Brumley <bbb@iki.fi>
Signed-off-by: Billy Brumley <bbb@iki.fi>
e7204bc to
89eeb44
Compare
Ah I see, I think I got it now, changes from running that script like the CI does are in 89eeb44 Also rebased on current |
Signed-off-by: Billy Brumley <bbb@iki.fi>
|
If you need a GH handle for sntrup761 going forward, I added myself in 6edba19 |
PQClean does not support sntrup761 anymore, since it did not proceed in the NIST standardization process. The liboqs code for sntrup761 needs updating, so it makes sense to ditch the PQClean code and go with "something else."
sntrup761 remains relevant for many reasons, IMO the most significant being its (standardized) use in SSH key exchange. (OK, maybe it's a draft rn, but it's deployed, keys are out there, and they're only growing, the details are historical footnotes.)
In this case, OpenSSH maintains a public domain single-file implementation. (Big props upstream! Thank you for your contribution.)
So this PR removes the PQClean code for sntrup761 and shims in that OpenSSH code.
Fixes #2324.
This is not a new feature.
I think this change is transparent to linking applications. But idk liboqs that well, just my best guess.
No AI.