<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/rsa, branch OPENBSD_7_1_BASE</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_7_1_BASE</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_7_1_BASE'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2022-02-20T19:16:34+00:00</updated>
<entry>
<title>Fix a buffer overread in OAEP padding removal</title>
<updated>2022-02-20T19:16:34+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-02-20T19:16:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=7628b3cbf8e092fc94951499208d3a7c349c590c'/>
<id>urn:sha1:7628b3cbf8e092fc94951499208d3a7c349c590c</id>
<content type='text'>
This only occurs on very small payloads and tightly allocated buffers
that don't usually occur in practice.

This is OpenSSL f61c6804

ok inoguchi jsing
</content>
</entry>
<entry>
<title>Fix check for BN_mod_inverse_ct return value</title>
<updated>2022-01-20T11:12:14+00:00</updated>
<author>
<name>inoguchi</name>
<email></email>
</author>
<published>2022-01-20T11:12:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=1ca471b8e14d63d9b7059b86938ef989ff0857db'/>
<id>urn:sha1:1ca471b8e14d63d9b7059b86938ef989ff0857db</id>
<content type='text'>
ok jsing@ millert@ tb@
</content>
</entry>
<entry>
<title>Add check for BN_sub return value</title>
<updated>2022-01-20T11:10:11+00:00</updated>
<author>
<name>inoguchi</name>
<email></email>
</author>
<published>2022-01-20T11:10:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=846b7466150d7ed07fc6523804e2e33a1d6d16eb'/>
<id>urn:sha1:846b7466150d7ed07fc6523804e2e33a1d6d16eb</id>
<content type='text'>
CID 24839

ok jsing@ millert@ tb@
</content>
</entry>
<entry>
<title>Make RSA, RSA_PSS_PARAMS and RSA_METHOD opaque</title>
<updated>2022-01-14T08:34:39+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-01-14T08:34:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=0264d15b2db8e92add54fc0b024d5430c53683d3'/>
<id>urn:sha1:0264d15b2db8e92add54fc0b024d5430c53683d3</id>
<content type='text'>
Move the struct internals to rsa_locl.h and provide a missing
typedef in ossl_typ.h.

ok inoguchi jsing
</content>
</entry>
<entry>
<title>Remove obsolete key formats</title>
<updated>2022-01-14T08:12:31+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-01-14T08:12:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=52dcf108ffdd923eecabf36d4015036834354df8'/>
<id>urn:sha1:52dcf108ffdd923eecabf36d4015036834354df8</id>
<content type='text'>
This removes NETSCAPE_X509, NETSCAPE{,_ENCRYPTED}_PKEY, RSA_NET,
Netscape_RSA things. Some of the nasty tentacles that could go in
principle are used in some test suites, so we need to keep them...

All this was removed as part of OpenSSL commit 0bc2f365.

ok inoguchi jsing
</content>
</entry>
<entry>
<title>Unifdef LIBRESSL_OPAQUE_* and LIBRESSL_NEXT_API</title>
<updated>2022-01-14T07:49:49+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-01-14T07:49:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=82ec18edf4e632f36b6f79c239fdb6961d421a82'/>
<id>urn:sha1:82ec18edf4e632f36b6f79c239fdb6961d421a82</id>
<content type='text'>
This marks the start of major surgery in libcrypto. Do not attempt to
build the tree for a while (~50 commits).
</content>
</entry>
<entry>
<title>Prepare to provide EVP_PKEY_check()</title>
<updated>2022-01-10T11:52:43+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-01-10T11:52:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=c4f6925dc73274ba5f411d30fbd78b6be1580782'/>
<id>urn:sha1:c4f6925dc73274ba5f411d30fbd78b6be1580782</id>
<content type='text'>
This allows checking the validity of an EVP_PKEY. Only RSA and EC keys
are supported. If a check function is set the EVP_PKEY_METHOD, it will
be used, otherwise the check function on the EVP_PKEY_ASN1_METHOD is
used.  The default ASN.1 methods wrap RSA_check_key() and
EC_KEY_check_key(), respectively.

The corresponding setters are EVP_PKEY_{asn1,meth}_set_check().

It is unclear why the PKEY method has no const while the ASN.1 method
has const.

Requested by tobhe and used by PHP 8.1.
Based on OpenSSL commit 2aee35d3

ok inoguchi jsing
</content>
</entry>
<entry>
<title>Check that the RSA exponent is neither even nor 1 in RSA_check_key()</title>
<updated>2022-01-10T00:03:02+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-01-10T00:03:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=7ca5a7aaa49e29b98846195b536e53a1a1499b53'/>
<id>urn:sha1:7ca5a7aaa49e29b98846195b536e53a1a1499b53</id>
<content type='text'>
Part of OpenSSL commit 464d59a5

ok inoguchi jsing
</content>
</entry>
<entry>
<title>include asn1_locl.h where it will be needed for the bump.</title>
<updated>2022-01-07T11:13:55+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-01-07T11:13:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=204a46a7c8e5bf3414ba115aae9636162c92a39a'/>
<id>urn:sha1:204a46a7c8e5bf3414ba115aae9636162c92a39a</id>
<content type='text'>
discussed with jsing
</content>
</entry>
<entry>
<title>Prepare to make RSA and RSA_METHOD opaque by including rsa_locl.h</title>
<updated>2022-01-07T09:55:32+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-01-07T09:55:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=443c3d5c755f7f540390fcf1a11c8a443b2553cc'/>
<id>urn:sha1:443c3d5c755f7f540390fcf1a11c8a443b2553cc</id>
<content type='text'>
where it will be needed in the upcoming bump.

discussed with jsing
</content>
</entry>
</feed>
