diff options
author | tb <> | 2022-07-07 20:01:20 +0000 |
---|---|---|
committer | tb <> | 2022-07-07 20:01:20 +0000 |
commit | b836d66591e0c2a45519653d065d29807d70ac5d (patch) | |
tree | 676c18a467cb0fc9fdc91292b157f3fe2fe38905 /src/lib/libcrypto/ecdsa/ecs_err.c | |
parent | dad327347e69c9005cad59140fe50274b5e469e6 (diff) | |
download | openbsd-b836d66591e0c2a45519653d065d29807d70ac5d.tar.gz openbsd-b836d66591e0c2a45519653d065d29807d70ac5d.tar.bz2 openbsd-b836d66591e0c2a45519653d065d29807d70ac5d.zip |
Add support for primality checking
Project Wycheproof's primality_tests.json contain a set of 280 numbers
that trigger edge cases in Miller-Rabin and related checks. libcrypto's
Miller-Rabin test is known to be rather poor, hopefully we will soon see
a diff on tech that improves on this.
This extends the Go test in the usual way and also adds a perl script
that allows testing on non-Go architectures.
Deliberately not yet linked to regress since the tests are flaky with
the current BN_is_prime_ex() implementatation.
Diffstat (limited to 'src/lib/libcrypto/ecdsa/ecs_err.c')
0 files changed, 0 insertions, 0 deletions