mirror of
https://github.com/rosenpass/rosenpass.git
synced 2026-02-27 14:03:11 -08:00
Supplying different memory locations to the memcmp function in the test is not constant time; this was an issue wit the test and not with memcmp itself. The issue mainly showed up in the Release build where the correlation coefficient was in the ballpark of just below -0.01 with enough variance to sometimes but not usually fail the test. The precise reason for this is unknown but some optimization applied in the release build is most likely the culprit. This should increase the stability of our CI which occasionally was flaky.
Rosenpass constant time library
Rosenpass internal library providing basic constant-time operations.
This is an internal library; not guarantee is made about its API at this point in time.