summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/dsa/dsa_prn.c
diff options
context:
space:
mode:
authortb <>2022-11-17 19:06:35 +0000
committertb <>2022-11-17 19:06:35 +0000
commite165e48439b7352951e9b611223bb89cf830062e (patch)
tree1734ac46b96c48486d67bf795e4be7b60b0cfcb4 /src/lib/libcrypto/dsa/dsa_prn.c
parent39401085a3fd36d7c2ad32db5f56ac0b9fb95069 (diff)
downloadopenbsd-e165e48439b7352951e9b611223bb89cf830062e.tar.gz
openbsd-e165e48439b7352951e9b611223bb89cf830062e.tar.bz2
openbsd-e165e48439b7352951e9b611223bb89cf830062e.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_prn.c')
0 files changed, 0 insertions, 0 deletions