-
Notifications
You must be signed in to change notification settings - Fork 496
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Add full-cycle speed test #1391
Conversation
Failures mostly "as expected" (triggered by the Falcon-1024 bug). @Martyrshot : Can you see a reason why this code SIGSEGVs on the ARM emulator? It works perfectly on the M1 (??). |
My first thought is that maybe an optimized implementation is being used when it shouldn't be. I wonder if the new falcon implementation checks feature support differently than the previous version did. |
@Martyrshot Sorry, I wasn't clear in my question: It's only the new "fullcycletest" (keygen-sign-verify) that fails on ARM emulator -- and that for all algorithms (see test log), not just falcon. |
@baentsch Can I get access to that environment? Do these happen only when |
Most definitely: It's "simply" a set of docker images. All code is visible here. I'm right now trying to reproduce myself:
Ideas welcome... |
See also PQClean/PQClean#477 |
So I guess the first thing to point out is the emulator is using armv7, where as the m1 is armv8. I wonder if there is some data width issues somewhere that doesn't happen on armv8 since it's 64 bit, but does happen on armv7 because it's 32 bit? |
2846b16
to
9c159b0
Compare
Maybe -- but definitely not in the code added as part of this PR: Just confirmed that the |
Running
./tests/speed_sig Falcon-1024
with this new code reliably reproduces #1390 and could unearth similar such errors in the future --whennow added to CI:Feedback as to whether we should do this welcome: Would complete this PR with KEM-equivalent and github CI tests then.