New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[3.3.0] Sporadic dilithium_kat_4x4_AES_Deterministic failure #3917
Comments
Huh, I hit this one before in #3623 (comment). |
Has a test failure. Bug: randombit/botan#3917 Bug: https://bugs.gentoo.org/925147 Signed-off-by: Sam James <sam@gentoo.org>
This is a surprising test to sporadically fail since it's specifically testing that the (completely deterministic) Dilithium key generation process behaves as expected. If it failed, I would expect it to be due to a miscompilation and always fail. Just did |
Last time @thesamesam saw such sporadic test failures, it had to do with tests racing each other on CPUID and (independently) a racy registration of ECC curves. Given that the failing test deals with AES: Could this again be a CPUID race? Edit: Perhaps #3860? |
@thesamesam Could you try whether this patch helps? |
I was trying to reproduce #3916 with 3.3.0 but not yet succeeded.
I can reproduce with both:
gcc (Gentoo Hardened 14.0.9999 p, commit 568b3f9940f87a775060aea789b2f438af477e9f) 14.0.1 20240218 (experimental) e63ae9085aca9d306a2f16445b473289b9186e10
gcc-13 (Gentoo Hardened 13.2.1_p20240217 p13) 13.2.1 20240217
I did however hit another failure once in many runs:
The text was updated successfully, but these errors were encountered: