<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/chacha, branch libressl-v2.7.2</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=libressl-v2.7.2</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=libressl-v2.7.2'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2017-08-13T16:55:31+00:00</updated>
<entry>
<title>Convert the sigma and tau initialisers to byte arrays, rather than using</title>
<updated>2017-08-13T16:55:31+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2017-08-13T16:55:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=ae4d6b8586e285ed1d7d18a7a183f18f35fc8b1c'/>
<id>urn:sha1:ae4d6b8586e285ed1d7d18a7a183f18f35fc8b1c</id>
<content type='text'>
strings. The original code is perfectly valid C, however it causes some
compilers to complain since it lacks room for a string NUL terminator and
the compiler is not smart enough to realise that these are only used as
byte arrays and never treated as strings.

ok bcook@ beck@ inoguchi@
</content>
</entry>
<entry>
<title>Change the counter argument for CRYPTO_chacha_20 to be 64-bits on all platforms.</title>
<updated>2015-12-09T14:07:55+00:00</updated>
<author>
<name>bcook</name>
<email></email>
</author>
<published>2015-12-09T14:07:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=9c3c66be91c8f6aee01b5b594cb0340b86a35bfb'/>
<id>urn:sha1:9c3c66be91c8f6aee01b5b594cb0340b86a35bfb</id>
<content type='text'>
The recently-added EVP_aead_chacha20_poly1305_ietf() function, which implements
informational RFC 7539, "ChaCha20 and Poly1305 for IETF Protocols", needs a
64-bit counter to avoid truncation on 32-bit platforms.

The existing TLS ChaCha20-Poly1305 ciphersuite is not impacted by this, but
making this change requires an ABI bump.

ok jsing@, "Looks sane" beck@
</content>
</entry>
<entry>
<title>Add missing year to copyright.</title>
<updated>2014-07-25T14:04:51+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2014-07-25T14:04:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=155fbc115e08fe35c3363e1eec376f81c141a5f7'/>
<id>urn:sha1:155fbc115e08fe35c3363e1eec376f81c141a5f7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>replace u_int8_t with uint8_t</title>
<updated>2014-07-11T08:47:47+00:00</updated>
<author>
<name>bcook</name>
<email></email>
</author>
<published>2014-07-11T08:47:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=2ca0a041179d92f856da4e6fbfa2b4d62c44be06'/>
<id>urn:sha1:2ca0a041179d92f856da4e6fbfa2b4d62c44be06</id>
<content type='text'>
ok beck@
</content>
</entry>
<entry>
<title>add missing stdint. include for uint32_t, etc.</title>
<updated>2014-07-08T14:30:23+00:00</updated>
<author>
<name>bcook</name>
<email></email>
</author>
<published>2014-07-08T14:30:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=4e034cc02822d664dec3b2e45e8e620fd3301ed3'/>
<id>urn:sha1:4e034cc02822d664dec3b2e45e8e620fd3301ed3</id>
<content type='text'>
ok beck@ jsing@
</content>
</entry>
<entry>
<title>If a chacha operation does not consume all of the generated key stream,</title>
<updated>2014-06-24T18:12:09+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2014-06-24T18:12:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=125ab32227935a33d4c3ef80e58ed8f9d7cfbe8d'/>
<id>urn:sha1:125ab32227935a33d4c3ef80e58ed8f9d7cfbe8d</id>
<content type='text'>
ensure that we save it and consume it on subsequent writes. Otherwise we
end up discarding part of the key stream and instead generate a new block
at the start of the next write.

This was only an issue for callers that did multiple writes that are not
multiples of 64 bytes - in particular, the ChaCha20Poly1305 usage does not
hit this problem since it performs encryption in a single-shot. For the
same reason, this is also a non-issue when openssl(1) is used to encrypt
with ChaCha.

Issue identified by insane coder; reported to bugs@ by Joseph M. Schwartz.

ok beck@
</content>
</entry>
<entry>
<title>Some KNF.</title>
<updated>2014-06-24T17:48:30+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2014-06-24T17:48:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=c58a8845c63797e02604d37d10de2de9a1f8b046'/>
<id>urn:sha1:c58a8845c63797e02604d37d10de2de9a1f8b046</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tags as requested by miod and tedu</title>
<updated>2014-06-12T15:49:31+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2014-06-12T15:49:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=59f4f2c61d71e266d37dd2fc97615b3fd35b4721'/>
<id>urn:sha1:59f4f2c61d71e266d37dd2fc97615b3fd35b4721</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Get the public headers from the official place with &lt;openssl/ &gt;</title>
<updated>2014-05-31T23:33:33+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2014-05-31T23:33:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=a7b63ccb9e17cfaf899ee299d155908a5a86d31b'/>
<id>urn:sha1:a7b63ccb9e17cfaf899ee299d155908a5a86d31b</id>
<content type='text'>
from Brent Cook
</content>
</entry>
<entry>
<title>KNF.</title>
<updated>2014-05-15T14:14:56+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2014-05-15T14:14:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=adc9381efba015741fc5ed51d459725dee87fb54'/>
<id>urn:sha1:adc9381efba015741fc5ed51d459725dee87fb54</id>
<content type='text'>
</content>
</entry>
</feed>
