Mitigate kyberslash with official patching method from pq-crystals/kyber#110
Mitigate kyberslash with official patching method from pq-crystals/kyber#110JosePisco wants to merge 1 commit intoArgyle-Software:masterfrom
Conversation
fc4a7e0 to
ccd4935
Compare
ccd4935 to
5a0a19c
Compare
|
Note: closes #108 There's a branch here that also mitigates it, and includes some descriptive comments about how the approach works: bwesterb@b5c6ad1 |
This is right but as mentioned above, bwesterb's change uses different magic values as the ones used by the authors to patch this. While we can easily find approximate linear relations between the two sets of values, I believe this is for the best to align with pq-crystals/kyber as the reference. |
|
Hey @mberry , it's been a few weeks since I opened this PR and I wanted to call for an update. Cheers |
|
Hey @mberry, I'm also wondering whether this repository is still maintained, due to the length of time passed since 18th March 2024 due to now being 6th November 20224. It's currently holding up a patch to an issue in another piece of software. I hope you don't mind the ping, just looking forward to know if it's going to be resolved. Cheers. |
Hello everyone,
I suggest this diff against master to patch non-constant time division revealed by DJB through KyberSlash (https://kyberslash.cr.yp.to/).
For the sake of correctness, the changes proposed here are as close as possible to the official patch in pq-crystals/kyber#69.
While aware of a patched version available at bwesterb@b5c6ad1, their fix does not exactly match the values from the authors' patch.
Cheers,