summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/dsa/dsa_key.c
diff options
context:
space:
mode:
authortb <>2022-11-17 19:06:35 +0000
committertb <>2022-11-17 19:06:35 +0000
commit36ad4a2e38bf8611a95639634d88796bb2c08a30 (patch)
tree1734ac46b96c48486d67bf795e4be7b60b0cfcb4 /src/lib/libcrypto/dsa/dsa_key.c
parent3df451964c26e01d8ff57468d02c495bfe18832d (diff)
downloadopenbsd-36ad4a2e38bf8611a95639634d88796bb2c08a30.tar.gz
openbsd-36ad4a2e38bf8611a95639634d88796bb2c08a30.tar.bz2
openbsd-36ad4a2e38bf8611a95639634d88796bb2c08a30.zip
Add a regression test for curve25519.c r1.14
Generate random signatures of random messages and verify them. Then check that the signature modified by adding the edwards25519 group order to the upper half are rejected. This would not always be accepted without the check in curve25519.c r1.14, but often enough that a few iterations suffice to expose the missing check.
Diffstat (limited to 'src/lib/libcrypto/dsa/dsa_key.c')
0 files changed, 0 insertions, 0 deletions