<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/rsa, branch OPENBSD_7_4_BASE</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_7_4_BASE</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_7_4_BASE'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2023-08-12T08:02:43+00:00</updated>
<entry>
<title>RSA's _free and _size also lose their int_ prefix</title>
<updated>2023-08-12T08:02:43+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-08-12T08:02:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=6f4fb785179744d4901d6775ab7599fb58103598'/>
<id>urn:sha1:6f4fb785179744d4901d6775ab7599fb58103598</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix a leak in rsa_pub_encode()</title>
<updated>2023-08-10T15:05:28+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-08-10T15:05:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=94d6db7aae41374a07274a3db71eb29dfc627d30'/>
<id>urn:sha1:94d6db7aae41374a07274a3db71eb29dfc627d30</id>
<content type='text'>
rsa_param_encode() allocates the PSS parameters in an ASN1_STRING which
is leaked if any error occurs later in rsa_pub_encode(). Convert the rest
of the code to follow our ordinary idioms more closely.

ok jsing
</content>
</entry>
<entry>
<title>rsa_priv_encode: plug leak on PKCS8_pkey_set0() failure</title>
<updated>2023-08-10T09:36:37+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-08-10T09:36:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=b0e225428c3a2379158e29168f0774c946ef7768'/>
<id>urn:sha1:b0e225428c3a2379158e29168f0774c946ef7768</id>
<content type='text'>
Change the code to use safer idioms and avoid nested function calls.

ok jsing
</content>
</entry>
<entry>
<title>Rework BN_BLINDING to use pthread_t directly</title>
<updated>2023-08-09T12:09:06+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-08-09T12:09:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=f6afd562e52c37d3b28855caea8e1d7b0cf643c5'/>
<id>urn:sha1:f6afd562e52c37d3b28855caea8e1d7b0cf643c5</id>
<content type='text'>
Instead of CRYPTO_THREADID, which passes pthread_via through unsigned long,
we can use pthread_self() and pthread_equal() directly. This commit keeps
using the awkward 'local' nomenclature as that is used throughout the rsa
code. This will be changed after the blinding code will have been fully
merged into rsa_blinding.c.

ok jsing
</content>
</entry>
<entry>
<title>Merge remainder of rsa_crpt.c into rsa_eay.c</title>
<updated>2023-08-09T09:32:23+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-08-09T09:32:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=5beb145459dc0be8af47bc0b606d828fbe0e0910'/>
<id>urn:sha1:5beb145459dc0be8af47bc0b606d828fbe0e0910</id>
<content type='text'>
Most of these are one line wrappers around methods implemented in rsa_eay.c
by default.
</content>
</entry>
<entry>
<title>Move RSA blinding API from rsa_crpt.c to rsa_blinding.c</title>
<updated>2023-08-09T09:26:43+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-08-09T09:26:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=0432ac7a254870842ed2d58e6f7719f5bf64cc2c'/>
<id>urn:sha1:0432ac7a254870842ed2d58e6f7719f5bf64cc2c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move RSA_blinding_{on,off}() to the bottom of the file</title>
<updated>2023-08-09T09:25:13+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-08-09T09:25:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=540e314cde1e31e57417d84591f1a6911a3dafd1'/>
<id>urn:sha1:540e314cde1e31e57417d84591f1a6911a3dafd1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move bn_blind.c to rsa_blinding.c</title>
<updated>2023-08-09T09:23:03+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-08-09T09:23:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=bfbc83aae49a28b991a404a75f049803aece30bf'/>
<id>urn:sha1:bfbc83aae49a28b991a404a75f049803aece30bf</id>
<content type='text'>
discussed with jsing
</content>
</entry>
<entry>
<title>Merge BN_BLINDING_create_param() into BN_BLINDING_new()</title>
<updated>2023-08-09T09:09:24+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-08-09T09:09:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=c69e1fb8b66f17d68e64bc3712521e1009bc1247'/>
<id>urn:sha1:c69e1fb8b66f17d68e64bc3712521e1009bc1247</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Drop the unused BN_BLINDING argument of BN_BLINDING_create_param()</title>
<updated>2023-08-08T15:18:24+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-08-08T15:18:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=862d71c9915c2560dcf695acd1713a102fe9c291'/>
<id>urn:sha1:862d71c9915c2560dcf695acd1713a102fe9c291</id>
<content type='text'>
</content>
</entry>
</feed>
