<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/evp, branch libressl-v3.4.1</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=libressl-v3.4.1</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=libressl-v3.4.1'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2021-05-10T17:00:32+00:00</updated>
<entry>
<title>Expose EVP_Digest{Sign,Verify}(3)</title>
<updated>2021-05-10T17:00:32+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2021-05-10T17:00:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=0736b9c781c627f1c51859d70c0dd39522c9a5a7'/>
<id>urn:sha1:0736b9c781c627f1c51859d70c0dd39522c9a5a7</id>
<content type='text'>
ok jsing
</content>
</entry>
<entry>
<title>Prepare to provide EVP_Digest{Sign,Verify}</title>
<updated>2021-05-09T14:25:40+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2021-05-09T14:25:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=258556827001d9b174663d7dfbf8a8495b0c8868'/>
<id>urn:sha1:258556827001d9b174663d7dfbf8a8495b0c8868</id>
<content type='text'>
These are one-shot versions combining EVP_Digest{Sign,Verify}{Update,Final}.
and are part of the OpenSSL 1.1.1 API. While they simplify callers in some
situations slightly, their real use is for EdDSA that by design can't be
split into Update/Final steps.

Based on OpenSSL commit 7539418981c140648a620d72edd7398564878b5c

ok inoguchi
</content>
</entry>
<entry>
<title>Provide EVP_PKEY_new_CMAC_key(3)</title>
<updated>2021-03-31T16:47:01+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2021-03-31T16:47:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=c7922f8b9a137af47dc02a37ceec9bfacef62554'/>
<id>urn:sha1:c7922f8b9a137af47dc02a37ceec9bfacef62554</id>
<content type='text'>
ok bcook inoguchi jsing
</content>
</entry>
<entry>
<title>Prepare to provide EVP_PKEY_new_CMAC_key()</title>
<updated>2021-03-29T15:57:23+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2021-03-29T15:57:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=e5044a16b50be503267937298648ce4abb8bbcbc'/>
<id>urn:sha1:e5044a16b50be503267937298648ce4abb8bbcbc</id>
<content type='text'>
sebastia ran into this when attempting to update security/hcxtools.
This will be tested via wycheproof.go once the symbol is public.

ok jsing, tested by sebastia
</content>
</entry>
<entry>
<title>Pull in fix for EVP_CipherUpdate() overflow from OpenSSL.</title>
<updated>2021-02-18T19:12:29+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2021-02-18T19:12:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=437b348a511b4b2e5f787c70cbc0d6b72e041b43'/>
<id>urn:sha1:437b348a511b4b2e5f787c70cbc0d6b72e041b43</id>
<content type='text'>
ok inoguchi

commit 6a51b9e1d0cf0bf8515f7201b68fb0a3482b3dc1
Author: Matt Caswell &lt;matt@openssl.org&gt;
Date:   Tue Feb 2 17:17:23 2021 +0000

    Don't overflow the output length in EVP_CipherUpdate calls

    CVE-2021-23840

    Reviewed-by: Paul Dale &lt;pauli@openssl.org&gt;
</content>
</entry>
<entry>
<title>Add a custom copy handler for AES key wrap</title>
<updated>2020-06-05T18:44:42+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2020-06-05T18:44:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=f599916be5b15add90651fc8802c4f96fc257310'/>
<id>urn:sha1:f599916be5b15add90651fc8802c4f96fc257310</id>
<content type='text'>
This is necessary because ctx-&gt;cipher_data is an EVP_AES_WRAP_CTX
containing a pointer to ctx-&gt;iv. EVP_CIPHER_CTX_copy() uses memcpy
to copy cipher_data to the target struct. The result is that the
copy contains a pointer to the wrong struct, which then leads to a
use-after-free. The custom copy handler fixes things up to avoid
that.

Issue reported by Guido Vranken

ok beck inoguchi jsing
</content>
</entry>
<entry>
<title>Allow GOST R 34.11-2012 in PBE/PBKDF2/PKCS#5.</title>
<updated>2020-06-05T17:30:41+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2020-06-05T17:30:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=35a22aaa59dd2c20dc984d2317024ae0ea5c4939'/>
<id>urn:sha1:35a22aaa59dd2c20dc984d2317024ae0ea5c4939</id>
<content type='text'>
Diff from Dmitry Baryshkov &lt;dbaryshkov@gmail.com&gt;

Sponsored by ROSA Linux

ok inoguchi@ tb@
</content>
</entry>
<entry>
<title>Disallow setting the AES-GCM IV length to 0</title>
<updated>2020-04-30T18:43:11+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2020-04-30T18:43:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=1813a9138ee882b675662d47ed9fe6974bd433f3'/>
<id>urn:sha1:1813a9138ee882b675662d47ed9fe6974bd433f3</id>
<content type='text'>
It is possible to do this by abusing the EVP_CTRL_INIT API.
Pointed out by jsing.

ok inoguchi jsing (as part of a larger diff)
</content>
</entry>
<entry>
<title>Disallow the use of zero length IVs in AES-GCM via</title>
<updated>2020-04-27T19:31:02+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2020-04-27T19:31:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=59b4077b60cc24004bc23295bd2ff465be743f11'/>
<id>urn:sha1:59b4077b60cc24004bc23295bd2ff465be743f11</id>
<content type='text'>
EVP_AEAD_CTX_{open,seal}, as this leaks the authentication key.

Issue reported and fix tested by Guido Vranken.

ok beck, jsing

This commit adds a constant to a public header despite library lock,
as discussed with deraadt and sthen.
</content>
</entry>
<entry>
<title>Check high bit for base64 decode</title>
<updated>2020-03-04T11:53:21+00:00</updated>
<author>
<name>inoguchi</name>
<email></email>
</author>
<published>2020-03-04T11:53:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=b112788885dac0be8d46296a88f6713f8e4fccd0'/>
<id>urn:sha1:b112788885dac0be8d46296a88f6713f8e4fccd0</id>
<content type='text'>
Referred to this OpenSSL commit and adopted to the codebase.
b785504a10310cb2872270eb409b70971be5e76e

suggest and ok tb@
</content>
</entry>
</feed>
