<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/chacha, branch master</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=master</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2025-01-25T17:59:44+00:00</updated>
<entry>
<title>Remove #error if OPENSSL_NO_FOO is defined</title>
<updated>2025-01-25T17:59:44+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2025-01-25T17:59:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=5d52abc236226c5a47c36b07e2256e77141e373a'/>
<id>urn:sha1:5d52abc236226c5a47c36b07e2256e77141e373a</id>
<content type='text'>
discussed with jsing
</content>
</entry>
<entry>
<title>Revert __bounded__ hack in chacha-merged.c</title>
<updated>2024-06-05T19:43:06+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-06-05T19:43:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=38fd83f2336c4ed37f535189502be491a97ba50a'/>
<id>urn:sha1:38fd83f2336c4ed37f535189502be491a97ba50a</id>
<content type='text'>
Thanks to Viktor Szakats for figuring out that stdint.h was missing
in the portable tarballs.
</content>
</entry>
<entry>
<title>Neuter the bounded attribute as was done elsewhere for portable</title>
<updated>2024-06-01T17:56:44+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-06-01T17:56:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=476ee576a7f40211b1d3c914b3cb5fedd49177dc'/>
<id>urn:sha1:476ee576a7f40211b1d3c914b3cb5fedd49177dc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Unbreak the namespace build after a broken mk.conf and tool misfire had</title>
<updated>2023-07-07T19:37:54+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2023-07-07T19:37:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=1ca8095297adf80b48019b5a2d18010ff9e3427f'/>
<id>urn:sha1:1ca8095297adf80b48019b5a2d18010ff9e3427f</id>
<content type='text'>
me aliasing symbols not in the headers I was procesing.

This unbreaks the namespace build so it will pass again

ok tb@
</content>
</entry>
<entry>
<title>Hide symbols in chacha</title>
<updated>2023-07-05T16:17:20+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2023-07-05T16:17:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=83dc6d5723e9e90220d97b03404c734cc9b8b6ac'/>
<id>urn:sha1:83dc6d5723e9e90220d97b03404c734cc9b8b6ac</id>
<content type='text'>
ok jsing@
</content>
</entry>
<entry>
<title>Remove UINT32_MAX limitation on ChaCha() and CRYPTO_chacha_20().</title>
<updated>2022-08-20T18:44:58+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2022-08-20T18:44:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=c4f5cc12854a0a64258f9452a1d89656f20a1ca8'/>
<id>urn:sha1:c4f5cc12854a0a64258f9452a1d89656f20a1ca8</id>
<content type='text'>
We can avoid this unnecessary limitation by calling chacha_encrypt_bytes()
multiple times internally. In the case of ChaCha(), the caller still needs
to ensure that the same IV is not used for more than 2^70 bytes.

ok tb@
</content>
</entry>
<entry>
<title>Switch from u_int and u_char to u32 and u8 to avoid portability issues.</title>
<updated>2021-10-22T17:43:00+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2021-10-22T17:43:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=f88a73e4ec84a81466950e92df5ae0ecab269bde'/>
<id>urn:sha1:f88a73e4ec84a81466950e92df5ae0ecab269bde</id>
<content type='text'>
Prompted by a diff by Jonas Termansen.

ok 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>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>
</feed>
