<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/dsa, branch OPENBSD_7_2</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_7_2</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_7_2'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2022-09-03T16:01:23+00:00</updated>
<entry>
<title>Stop using CBIGNUM_it internal to libcrypto.</title>
<updated>2022-09-03T16:01:23+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2022-09-03T16:01:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=2b62b98b944c0df9fbd9e41e33ea96b45b98e84b'/>
<id>urn:sha1:2b62b98b944c0df9fbd9e41e33ea96b45b98e84b</id>
<content type='text'>
CBIGNUM_it is supposed to be the "clear bignum" or "secure" bignum - that
is one which zeros its memory after use and ensures that the constant time
flags are set... in LibreSSL we always do both of these things for BIGNUMs,
so just use BIGNUM_it instead.

ok tb@
</content>
</entry>
<entry>
<title>nasty whitespace</title>
<updated>2022-08-31T13:28:39+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-08-31T13:28:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=bef184c688c711a88c484877b5864988ede7840d'/>
<id>urn:sha1:bef184c688c711a88c484877b5864988ede7840d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rework DSA_size() and ECDSA_size()</title>
<updated>2022-08-31T13:01:01+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-08-31T13:01:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=5a012dc99251d6861841dbe500e21ff7a4f63ccc'/>
<id>urn:sha1:5a012dc99251d6861841dbe500e21ff7a4f63ccc</id>
<content type='text'>
DSA_size() and ECDSA_size() have a very special hack. They fudge up an
ASN1_INTEGER with a size which is typically &gt; 100 bytes, backed by a
buffer of size 4. This was "fine", however, since they set buf[0] = 0xff,
where the craziness that was i2c_ASN1_INTEGER() only looks at the first
octet (one may then ask why a buffer of size 4 was necessary...).

This changed with the rewrite of i2c_ASN1_INTEGER(), which doesn't
respect this particular hack and rightly assumes that it is fed an
actual ASN1_INTEGER...

Instead, create an appropriate signature and use i2d to determine its
size.

Fixes an out-of-bounds read flagged by ASAN and oss-fuzz.

ok jsing
</content>
</entry>
<entry>
<title>Remove mkerr.pl remnants from LibreSSL</title>
<updated>2022-07-12T14:42:50+00:00</updated>
<author>
<name>kn</name>
<email></email>
</author>
<published>2022-07-12T14:42:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=89e42d5857196a8071fbafb5565388d0e20ec32b'/>
<id>urn:sha1:89e42d5857196a8071fbafb5565388d0e20ec32b</id>
<content type='text'>
This script is not used at all and files are edited by hand instead.
Thus remove misleading comments incl. the obsolete script/config.

Feedback OK jsing tb
</content>
</entry>
<entry>
<title>fix NULL return adding missing semicolon</title>
<updated>2022-07-11T05:33:14+00:00</updated>
<author>
<name>bcook</name>
<email></email>
</author>
<published>2022-07-11T05:33:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=6b7fc4c14ffb7f8bb75a64987ffc6c93e60e8534'/>
<id>urn:sha1:6b7fc4c14ffb7f8bb75a64987ffc6c93e60e8534</id>
<content type='text'>
ok tb@
</content>
</entry>
<entry>
<title>Expose new API in headers.</title>
<updated>2022-07-07T13:01:28+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-07-07T13:01:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=7986c6c16406e5ad9f53a49107428df9f9fd70c1'/>
<id>urn:sha1:7986c6c16406e5ad9f53a49107428df9f9fd70c1</id>
<content type='text'>
These are mostly security-level related, but there are also ASN1_TIME
and ASN_INTEGER functions here, as well as some missing accessors.

ok jsing
</content>
</entry>
<entry>
<title>Prepare to provide DSA_meth_{get0,set1}_name()</title>
<updated>2022-07-04T12:22:32+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-07-04T12:22:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=76cd62b3a22a0de732f8f93e3f6698a2a779f82b'/>
<id>urn:sha1:76cd62b3a22a0de732f8f93e3f6698a2a779f82b</id>
<content type='text'>
Also follow OpenSSL by making the name non-const to avoid ugly casting.
Used by OpenSC's pkcs11-helper, as reported by Fabrice Fontaine in
https://github.com/libressl-portable/openbsd/issues/130

ok jsing sthen
</content>
</entry>
<entry>
<title>Prepare to provide EVP_PKEY_security_bits()</title>
<updated>2022-06-27T12:36:06+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-06-27T12:36:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=3a9b1012fb6b57946e4cf3ee7b795a4bdcb905cc'/>
<id>urn:sha1:3a9b1012fb6b57946e4cf3ee7b795a4bdcb905cc</id>
<content type='text'>
This also provides a pkey_security_bits member to the PKEY ASN.1 methods
and a corresponding setter EVP_PKEY_asn1_set_security_bits().

ok beck jsing
</content>
</entry>
<entry>
<title>Prepare to provide DSA_security_bits()</title>
<updated>2022-06-27T12:28:46+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-06-27T12:28:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=896e0608790949d4649607486dfb63df13261954'/>
<id>urn:sha1:896e0608790949d4649607486dfb63df13261954</id>
<content type='text'>
ok beck jsing
</content>
</entry>
<entry>
<title>zap stray tab</title>
<updated>2022-05-07T10:31:54+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-05-07T10:31:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=0d00ae34d6e94054857b66fb87afcfa23e4a0095'/>
<id>urn:sha1:0d00ae34d6e94054857b66fb87afcfa23e4a0095</id>
<content type='text'>
</content>
</entry>
</feed>
