<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/lib/libcrypto/evp, branch master</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/lib/libcrypto/evp?h=master</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/lib/libcrypto/evp?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2021-03-31T16:47:00Z</updated>
<entry>
<title>Provide EVP_PKEY_new_CMAC_key(3)</title>
<updated>2021-03-31T16:47:00Z</updated>
<author>
<name>tb</name>
<email>tb@openbsd.org</email>
</author>
<published>2021-03-31T16:47:00Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=01f300463a9cfc0059aabe3087edb65e8ae07e40'/>
<id>urn:sha1:01f300463a9cfc0059aabe3087edb65e8ae07e40</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:23Z</updated>
<author>
<name>tb</name>
<email>tb@openbsd.org</email>
</author>
<published>2021-03-29T15:57:23Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=581451ffca74d4080e6480118a2752b6841ff73e'/>
<id>urn:sha1:581451ffca74d4080e6480118a2752b6841ff73e</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:29Z</updated>
<author>
<name>tb</name>
<email>tb@openbsd.org</email>
</author>
<published>2021-02-18T19:12:29Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=885969450102e2201056743ce572cf8e5180b3f1'/>
<id>urn:sha1:885969450102e2201056743ce572cf8e5180b3f1</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:42Z</updated>
<author>
<name>tb</name>
<email>tb@openbsd.org</email>
</author>
<published>2020-06-05T18:44:42Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=f72711c6fb8692f12b01b3a3b7f54687729f6f9b'/>
<id>urn:sha1:f72711c6fb8692f12b01b3a3b7f54687729f6f9b</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:41Z</updated>
<author>
<name>jsing</name>
<email>jsing@openbsd.org</email>
</author>
<published>2020-06-05T17:30:41Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=0dc17585e21702d324c1a89284e68280ad013824'/>
<id>urn:sha1:0dc17585e21702d324c1a89284e68280ad013824</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:11Z</updated>
<author>
<name>tb</name>
<email>tb@openbsd.org</email>
</author>
<published>2020-04-30T18:43:11Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=9ebe8809227b3735613e85de8b05ecbe3dfa78a4'/>
<id>urn:sha1:9ebe8809227b3735613e85de8b05ecbe3dfa78a4</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:02Z</updated>
<author>
<name>tb</name>
<email>tb@openbsd.org</email>
</author>
<published>2020-04-27T19:31:02Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=539125b0baa78c5c019ab9e3bbeca4fa822d1bf7'/>
<id>urn:sha1:539125b0baa78c5c019ab9e3bbeca4fa822d1bf7</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:21Z</updated>
<author>
<name>inoguchi</name>
<email>inoguchi@openbsd.org</email>
</author>
<published>2020-03-04T11:53:21Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=345f71f9e075f6cc91d3b0ee9acdf1e6be1d3c05'/>
<id>urn:sha1:345f71f9e075f6cc91d3b0ee9acdf1e6be1d3c05</id>
<content type='text'>
Referred to this OpenSSL commit and adopted to the codebase.
b785504a10310cb2872270eb409b70971be5e76e

suggest and ok tb@
</content>
</entry>
<entry>
<title>Fix base64 processing of long lines</title>
<updated>2020-03-03T15:03:14Z</updated>
<author>
<name>inoguchi</name>
<email>inoguchi@openbsd.org</email>
</author>
<published>2020-03-03T15:03:14Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=b244f117c3382cbd38dedad57925b5555dc126db'/>
<id>urn:sha1:b244f117c3382cbd38dedad57925b5555dc126db</id>
<content type='text'>
Fix the problem that long unbroken line of base64 text is not decoded.
Referred to this OpenSSL commit and adapted to the codebase.
3cdd1e94b1d71f2ce3002738f9506da91fe2af45

Reported by john.a.passaro &lt;at&gt; gmail.com to the LibreSSL ML.

ok tb@
</content>
</entry>
<entry>
<title>typo</title>
<updated>2020-01-26T07:47:26Z</updated>
<author>
<name>tb</name>
<email>tb@openbsd.org</email>
</author>
<published>2020-01-26T07:47:26Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=f8b03e9cfe01add87d93094776a778f1a6131064'/>
<id>urn:sha1:f8b03e9cfe01add87d93094776a778f1a6131064</id>
<content type='text'>
</content>
</entry>
</feed>
