<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/dsa, branch libressl-v2.3.0</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=libressl-v2.3.0</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=libressl-v2.3.0'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2015-09-10T18:12:55+00:00</updated>
<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>
<entry>
<title>Expand ASN1_CHOICE*, ASN1_SEQUENCE* and associated macros, making the</title>
<updated>2015-02-14T15:06:55+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2015-02-14T15:06:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=50c0f75baaf19556bde13d9ac8eeac270daa913b'/>
<id>urn:sha1:50c0f75baaf19556bde13d9ac8eeac270daa913b</id>
<content type='text'>
data structures visible and easier to review, without having to wade
through layers and layers of asn1t.h macros.

Change has been scripted and there is no change to the generated assembly.

Discussed with beck@ miod@ tedu@
</content>
</entry>
<entry>
<title>Guenther has plans for OPENSSL_NO_CMS, so revert this for the moment.</title>
<updated>2015-02-11T04:05:14+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2015-02-11T04:05:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=3fb89787679dd239a55ca0a4e366ad4e2051fe84'/>
<id>urn:sha1:3fb89787679dd239a55ca0a4e366ad4e2051fe84</id>
<content type='text'>
</content>
</entry>
<entry>
<title>get rid of OPENSSL_NO_CMS code we do not use.</title>
<updated>2015-02-11T03:55:42+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2015-02-11T03:55:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=1d3b395bb02124e944ce4abc2f2eab59e2cde925'/>
<id>urn:sha1:1d3b395bb02124e944ce4abc2f2eab59e2cde925</id>
<content type='text'>
ok miod@
</content>
</entry>
</feed>
