<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/evp, branch libressl-v2.9.2</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=libressl-v2.9.2</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=libressl-v2.9.2'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2019-04-03T15:33:37+00:00</updated>
<entry>
<title>Avoid some out of bound accesses in aesni_cbc_hmac_sha1_cipher().</title>
<updated>2019-04-03T15:33:37+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2019-04-03T15:33:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=1292146bda904a7983b666fdf116ea07699d00e6'/>
<id>urn:sha1:1292146bda904a7983b666fdf116ea07699d00e6</id>
<content type='text'>
The plen variable can be NO_PAYLOAD_LENGTH == (size_t)-1, so doing
tls_aad[plen-4] is no good. Also check that the length of the AAD
set via the control interface is equal to 13 since the whole file
is written with that case in mind.

Note that we no longer use this code in LibreSSL/OpenBSD. We
eliminated the use of these control interfaces and stitched cipher
modes in libssl a while ago.

Problem found by Guido Vranken with his cryptofuzz - thanks!

input &amp; ok beck, jsing
</content>
</entry>
<entry>
<title>Cast nonce bytes to avoid undefined behaviour when left shifting.</title>
<updated>2019-03-27T15:34:01+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2019-03-27T15:34:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=cdf69bf1f6e114809c90b04a7d5dbadab3264929'/>
<id>urn:sha1:cdf69bf1f6e114809c90b04a7d5dbadab3264929</id>
<content type='text'>
Reported by oss-fuzz, really fixes issue #13805.

ok beck@ tb@
</content>
</entry>
<entry>
<title>Cast nonce bytes to avoid undefined behaviour when left shifting.</title>
<updated>2019-03-24T12:04:12+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2019-03-24T12:04:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=66f0e9952ce2ad50c63a44df282d6e217c1e9f84'/>
<id>urn:sha1:66f0e9952ce2ad50c63a44df282d6e217c1e9f84</id>
<content type='text'>
Reported by oss-fuzz, fixes issue #13805.

ok beck@ tb@
</content>
</entry>
<entry>
<title>Expand the ERR_PACK() macro to ERR_REASON() for consistency.</title>
<updated>2019-03-18T05:34:29+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2019-03-18T05:34:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=60690466852971b4a7bd7a7a7ef0d04fe15c0ced'/>
<id>urn:sha1:60690466852971b4a7bd7a7a7ef0d04fe15c0ced</id>
<content type='text'>
No binary change.
</content>
</entry>
<entry>
<title>Provide EVP_PKEY_get0_hmac(). From OpenSSL 1.1.1 which is still</title>
<updated>2019-03-17T18:17:45+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2019-03-17T18:17:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=d1cff79a11e003c54fb26944575ab3013366508d'/>
<id>urn:sha1:d1cff79a11e003c54fb26944575ab3013366508d</id>
<content type='text'>
freely licensed.

From jsing
</content>
</entry>
<entry>
<title>Provide EVP_aes_{128,192,256}_wrap(). This is a compatible</title>
<updated>2019-03-17T18:07:41+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2019-03-17T18:07:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=9651ec05f00bf3384031fb7428d88d3daf1e1139'/>
<id>urn:sha1:9651ec05f00bf3384031fb7428d88d3daf1e1139</id>
<content type='text'>
implementation based on the one in OpenSSL 1.0.2r which is
still freely licensed.

The functions are undocumented in OpenSSL. To use them, one
needs to set the undocumented EVP_CIPHER_CTX_FLAG_WRAP_ALLOW
flag on the EVP_CIPHER_CTX.

resolves #505

ok jsing
</content>
</entry>
<entry>
<title>Add the SM4 block cipher from the Chinese standard GB/T 32907-2016.</title>
<updated>2019-03-17T17:42:37+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2019-03-17T17:42:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=83706f88f1f845458a32eb6c86da86d667e28f1b'/>
<id>urn:sha1:83706f88f1f845458a32eb6c86da86d667e28f1b</id>
<content type='text'>
This is an ISC licensed version based on the sources by Ribose Inc
that were ported to OpenSSL in 2017.

Patch from Daniel Wyatt with minor tweaks.
ok inoguchi, jsing
</content>
</entry>
<entry>
<title>add support for xchacha20 and xchacha20-poly1305</title>
<updated>2019-01-22T00:59:21+00:00</updated>
<author>
<name>dlg</name>
<email></email>
</author>
<published>2019-01-22T00:59:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=4dfb993f9f695f40d03730129e2c082223711b65'/>
<id>urn:sha1:4dfb993f9f695f40d03730129e2c082223711b65</id>
<content type='text'>
xchacha is a chacha stream that allows for an extended nonce, which
in turn makes it feasible to use random nonces.

ok tb@
</content>
</entry>
<entry>
<title>provide EVP_ENCODE_CTX_{new,free}().</title>
<updated>2019-01-19T01:24:18+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2019-01-19T01:24:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=8f423e1fc981cab57cbb760dd6cab4253792b86b'/>
<id>urn:sha1:8f423e1fc981cab57cbb760dd6cab4253792b86b</id>
<content type='text'>
ok jsing
</content>
</entry>
<entry>
<title>Make AES CCM available in tables.</title>
<updated>2018-12-26T15:11:04+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2018-12-26T15:11:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=2701c034d87fc7e79576861ab2d5ebc638a23f43'/>
<id>urn:sha1:2701c034d87fc7e79576861ab2d5ebc638a23f43</id>
<content type='text'>
Omission reported by reyk and Alice Wonder.

ok bcook jsing
</content>
</entry>
</feed>
