You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#460 hardend the functions in verify.c that have to be constant time to avoid timing attacks.
We should test that this code (and all other code in mlkem-native operating on secrets) is actually constant time.
#460 hardend the functions in
verify.c
that have to be constant time to avoid timing attacks.We should test that this code (and all other code in mlkem-native operating on secrets) is actually constant time.
I propose we use the standard valgrind-based constant-time tests with the patch from https://kyberslash.cr.yp.to/papers.html for detecting secret dependent divisons.
This should be run in CI for as many compilers as possible with as many flag combinations as possible.
The text was updated successfully, but these errors were encountered: