GithubHelp home page GithubHelp logo

Comments (4)

thesamesam avatar thesamesam commented on May 24, 2024

Huh, I hit this one before in #3623 (comment).

from botan.

randombit avatar randombit commented on May 24, 2024

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 ./botan-test dilithium_kat_4x4_AES_Deterministic --test-runs=1000 and all passed. I'm going to try 10,000 runs now. If I can't repro with that it's probably either an interleaving problem running tests in multiple threads, or a hardware fluke on your machine, and in either case would need further digging.

from botan.

reneme avatar reneme commented on May 24, 2024

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?

from botan.

reneme avatar reneme commented on May 24, 2024

@thesamesam Could you try whether this patch helps?

from botan.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.