randombit / botan

Cryptography Toolkit
https://botan.randombit.net
BSD 2-Clause "Simplified" License
2.59k stars 569 forks source link

Weird ecc_randomized failure #4415

Closed randombit closed 3 weeks ago

randombit commented 3 weeks ago

https://github.com/randombit/botan/actions/runs/11540997855/job/32122471011

Seed 1802538CC7A462A1


  ECC randomized secp160k1 ran 79 tests in 62.22 msec 1 FAILED
  Failure 1: ECC randomized secp160k1 secp160k1 with error EC_Scalar::from_bigint input out of range (at /home/runner/work/botan/botan/source/src/tests/test_ec_group.cpp:160)
randombit commented 3 weeks ago

Doesn't seem to repro :(

randombit commented 3 weeks ago

Happened again on another build

./botan-test ecc_randomized --drbg-seed=000001D88204E97C

repros