<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/rc4, branch OPENBSD_7_6</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_7_6</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_7_6'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2024-08-11T13:02:39+00:00</updated>
<entry>
<title>Provide and use crypto_arch.h.</title>
<updated>2024-08-11T13:02:39+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2024-08-11T13:02:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=5dcef2b3ea9eb7ace8ed74c27534785fc0b87130'/>
<id>urn:sha1:5dcef2b3ea9eb7ace8ed74c27534785fc0b87130</id>
<content type='text'>
Provide a per architecture crypto_arch.h - this will be used in a similar
manner to bn_arch.h and will allow for architecture specific #defines and
static inline functions. Move the HAVE_AES_* and HAVE_RC4_* defines here.

ok tb@
</content>
</entry>
<entry>
<title>Use static inline for rc4_set_key_internal().</title>
<updated>2024-03-28T12:11:26+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2024-03-28T12:11:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=e45946a7bbb9930880549017ee5a85918edc1d00'/>
<id>urn:sha1:e45946a7bbb9930880549017ee5a85918edc1d00</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Hide symbols in RC4</title>
<updated>2024-03-28T08:18:13+00:00</updated>
<author>
<name>joshua</name>
<email></email>
</author>
<published>2024-03-28T08:18:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=f62594c39479115536dfc56a66c3f22e527f1c38'/>
<id>urn:sha1:f62594c39479115536dfc56a66c3f22e527f1c38</id>
<content type='text'>
ok jsing tb beck
</content>
</entry>
<entry>
<title>Use C functions for RC4 public API.</title>
<updated>2024-03-28T01:49:29+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2024-03-28T01:49:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=ee4f7c5caf1aa306d0a5b443f5c9133ae646925b'/>
<id>urn:sha1:ee4f7c5caf1aa306d0a5b443f5c9133ae646925b</id>
<content type='text'>
Rather than having public API switch between C and assembly, always
use C functions as entry points, which then call an assembly
implementation (if available). This makes it significantly easier
to deal with symbol aliasing/namespaces and it also means we
benefit from vulnerability prevention provided by the C compiler.

Rename the assembly generated functions from RC4() to rc4_internal()
and RC4_set_key() to rc4_set_key_internal(). Always include rc4.c
and change it to use defines that are similar to those used in BN.

ok beck@ joshua@ tb@
</content>
</entry>
<entry>
<title>Remove unused rc4 parisc assembly.</title>
<updated>2024-03-27T12:59:12+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2024-03-27T12:59:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=ddf23e9f98c2df931e1bb028e49b3087001d98cc'/>
<id>urn:sha1:ddf23e9f98c2df931e1bb028e49b3087001d98cc</id>
<content type='text'>
This is already disabled since it is "about 35% slower than C code".
</content>
</entry>
<entry>
<title>Consolidate rc4 code.</title>
<updated>2024-03-27T12:54:42+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2024-03-27T12:54:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=0a0f5acdc5ba55ea5be44178642a216b3c020186'/>
<id>urn:sha1:0a0f5acdc5ba55ea5be44178642a216b3c020186</id>
<content type='text'>
Discussed with tb@
</content>
</entry>
<entry>
<title>Remove assembly for stitched modes.</title>
<updated>2024-03-27T12:42:30+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2024-03-27T12:42:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=f2c1de8d1431b110f243d6333f47359ef369d280'/>
<id>urn:sha1:f2c1de8d1431b110f243d6333f47359ef369d280</id>
<content type='text'>
The stitched modes have been removed, so having assembly for them is of
little use.
</content>
</entry>
<entry>
<title>Remove empty rc4_local.h include.</title>
<updated>2024-03-27T12:14:35+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2024-03-27T12:14:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=b8cc9e9bb809f08c95821ea00f6321ba508921de'/>
<id>urn:sha1:b8cc9e9bb809f08c95821ea00f6321ba508921de</id>
<content type='text'>
Discussed with tb@
</content>
</entry>
<entry>
<title>Remove private_RC4_set_key() from the public rc4.h header.</title>
<updated>2024-03-27T12:13:08+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2024-03-27T12:13:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=1fba0c2ce26b3040a896e7ef9b58eda50b96299a'/>
<id>urn:sha1:1fba0c2ce26b3040a896e7ef9b58eda50b96299a</id>
<content type='text'>
This does not exist in libcrypto.
</content>
</entry>
<entry>
<title>Replace uses of endbr64 with _CET_ENDBR from cet.h</title>
<updated>2024-02-24T15:30:14+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-02-24T15:30:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=c730c3b3b1845cc7c4a4aceff2031f1135faa6bb'/>
<id>urn:sha1:c730c3b3b1845cc7c4a4aceff2031f1135faa6bb</id>
<content type='text'>
cet.h is needed for other platforms to emit the relevant .gnu.properties
sections that are necessary for them to enable IBT. It also avoids issues
with older toolchains on macOS that explode on encountering endbr64.

based on a diff by kettenis
ok beck kettenis
</content>
</entry>
</feed>
