<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/dsa, branch libressl-v2.4.0</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=libressl-v2.4.0</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=libressl-v2.4.0'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2016-03-01T07:04:41+00:00</updated>
<entry>
<title>Remove support for ancient, broken DSA implementations.</title>
<updated>2016-03-01T07:04:41+00:00</updated>
<author>
<name>doug</name>
<email></email>
</author>
<published>2016-03-01T07:04:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=f11420ceb66077dd214c6d112daf6e9ddd4cbbd8'/>
<id>urn:sha1:f11420ceb66077dd214c6d112daf6e9ddd4cbbd8</id>
<content type='text'>
Based on a few OpenSSL commits:

Remove ancient DSA workarounds
commit ab4a81f69ec88d06c9d8de15326b9296d7f498ed

Remove workaround for broken DSA implementations using negative integers
commit dfb10af92e9663ce4eefaa1d6b678817fa85344d

Typo in error name (EVP_R_DECODE_ERROR -&gt; DSA_R_DECODE_ERROR)
commit f6fb7f1856d443185c23f1a5968c08b4269dd37d

ok beck@
</content>
</entry>
<entry>
<title>Group d2i/i2d function prototypes by type and add missing externs for the</title>
<updated>2015-10-13T12:31:06+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2015-10-13T12:31:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=2bd90c5f37295bb7b873dbf00a1491667f972bb0'/>
<id>urn:sha1:2bd90c5f37295bb7b873dbf00a1491667f972bb0</id>
<content type='text'>
DSAPublicKey, DSAPrivateKey and DSAparams ASN1_ITEMs.
</content>
</entry>
<entry>
<title>We don't need no stinking "EXAMPLE OF THE DSA" or README (the credits are</title>
<updated>2015-09-26T15:18:55+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2015-09-26T15:18:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=db2afea6aa06d587ac44db5fdbb95fa9030dc1ff'/>
<id>urn:sha1:db2afea6aa06d587ac44db5fdbb95fa9030dc1ff</id>
<content type='text'>
already in the code).

ok beck@ miod@
</content>
</entry>
<entry>
<title>When loading a DSA key from an raw (without DH parameters) ASN.1 serialization,</title>
<updated>2015-09-10T18:12:55+00:00</updated>
<author>
<name>miod</name>
<email></email>
</author>
<published>2015-09-10T18:12:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=0d22a23455e18abc3dd489493f4d177022a596fd'/>
<id>urn:sha1:0d22a23455e18abc3dd489493f4d177022a596fd</id>
<content type='text'>
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@
</content>
</entry>
<entry>
<title>Fix an incorrect error check in DSA verify.</title>
<updated>2015-09-10T07:58:28+00:00</updated>
<author>
<name>bcook</name>
<email></email>
</author>
<published>2015-09-10T07:58:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=76fc9f6593a644ff05c58c3bb67790b09ce9fa31'/>
<id>urn:sha1:76fc9f6593a644ff05c58c3bb67790b09ce9fa31</id>
<content type='text'>
From Matt Caswell's OpenSSL commit "RT3192: spurious error in DSA verify".

https://github.com/openssl/openssl/commit/eb63bce040d1cc6147d256f516b59552c018e29b
</content>
</entry>
<entry>
<title>Fix inverted test in previous. Commit message told what we intended, but</title>
<updated>2015-07-15T18:34:37+00:00</updated>
<author>
<name>miod</name>
<email></email>
</author>
<published>2015-07-15T18:34:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=f30fe8a217df5c2c76828a8eb089a4b3e5135b2e'/>
<id>urn:sha1:f30fe8a217df5c2c76828a8eb089a4b3e5135b2e</id>
<content type='text'>
we did not notice my fingers slipping. Noticed by bcook@
</content>
</entry>
<entry>
<title>Previous fix for Coverity CID 21785 did not cope correctly with seed_len != 0,</title>
<updated>2015-07-15T16:32:29+00:00</updated>
<author>
<name>miod</name>
<email></email>
</author>
<published>2015-07-15T16:32:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=7be2975fd485c5a4452099e9727e8b485fba3d2b'/>
<id>urn:sha1:7be2975fd485c5a4452099e9727e8b485fba3d2b</id>
<content type='text'>
seed_in == NULL case. Since this situation is an error anyway, bail out
early.
with and ok beck@
</content>
</entry>
<entry>
<title>Avoid calling BN_CTX_end() on a context that wasn't started.</title>
<updated>2015-02-15T22:29:02+00:00</updated>
<author>
<name>doug</name>
<email></email>
</author>
<published>2015-02-15T22:29:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=191c62e76a1c0617acb040a77924d270b58dcd9b'/>
<id>urn:sha1:191c62e76a1c0617acb040a77924d270b58dcd9b</id>
<content type='text'>
In dsa_builtin_paramgen(), if BN_MONT_CTX_new() fails, the BN_CTX_new()
call above it will have allocated a ctx without calling BN_CTX_start() on
it.  The error handling calls BN_CTX_end() when ctx is allocated.

Move the BN_MONT_CTX_new() call up so it will fail first without splitting
up the BN_CTX_new() and BN_CTX_start().

tweak + ok miod@, ok bcook@
</content>
</entry>
<entry>
<title>If we decide to discard the provided seed buffer because its size is not</title>
<updated>2015-02-15T08:48:24+00:00</updated>
<author>
<name>miod</name>
<email></email>
</author>
<published>2015-02-15T08:48:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=97b0f555329124d4fe1111fe553da37b8171c196'/>
<id>urn:sha1:97b0f555329124d4fe1111fe553da37b8171c196</id>
<content type='text'>
large enough, do it correctly so that the local seed buffer on the stack
gets properly initialized in the first iteration of the loop.
While there, remove an outdated and bogus comment.
Coverity CID 21785
ok doug@ jsing@
</content>
</entry>
<entry>
<title>Coverity CID 21733 (unchecked allocation), 78823 (leak on error).</title>
<updated>2015-02-14T15:11:22+00:00</updated>
<author>
<name>miod</name>
<email></email>
</author>
<published>2015-02-14T15:11:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=3af8c40eebf091deb002ffc1d951570098ae7626'/>
<id>urn:sha1:3af8c40eebf091deb002ffc1d951570098ae7626</id>
<content type='text'>
ok doug@ jsing@
</content>
</entry>
</feed>
