diff options
author | miod <> | 2015-09-10 18:12:55 +0000 |
---|---|---|
committer | miod <> | 2015-09-10 18:12:55 +0000 |
commit | 0d22a23455e18abc3dd489493f4d177022a596fd (patch) | |
tree | c7a5db64ea563820aeaaa58a08ece178048e2580 /src/lib/libc/include | |
parent | 288249c86d75390d7fb274f34b20b789635d6c23 (diff) | |
download | openbsd-0d22a23455e18abc3dd489493f4d177022a596fd.tar.gz openbsd-0d22a23455e18abc3dd489493f4d177022a596fd.tar.bz2 openbsd-0d22a23455e18abc3dd489493f4d177022a596fd.zip |
When loading a DSA key from an raw (without DH parameters) ASN.1 serialization,
perform some consistency checks on its `p' and `q' values, and return an
error if the checks failed.
Thanks for Georgi Guninski (guninski at guninski dot com) for mentioning
the possibility of a weak (non prime) q value and providing a test case.
See https://cpunks.org/pipermail/cypherpunks/2015-September/009007.html
for a longer discussion.
ok bcook@ beck@
Diffstat (limited to 'src/lib/libc/include')
0 files changed, 0 insertions, 0 deletions