<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/rc4/asm, branch libressl-v4.1.2</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=libressl-v4.1.2</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=libressl-v4.1.2'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2024-03-28T01:49:29+00:00</updated>
<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>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>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>
<entry>
<title>Garbage collect rodata only used by RC4_options()</title>
<updated>2023-07-29T06:17:56+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-07-29T06:17:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=60b0a67d6f70a6e96e29ae00ccca16a0b797c777'/>
<id>urn:sha1:60b0a67d6f70a6e96e29ae00ccca16a0b797c777</id>
<content type='text'>
build tested by miod
</content>
</entry>
<entry>
<title>Remove various ${thing}_options</title>
<updated>2023-07-28T10:35:14+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-07-28T10:35:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=e91177528644d7ab4206592aac5a07f85a3ceec2'/>
<id>urn:sha1:e91177528644d7ab4206592aac5a07f85a3ceec2</id>
<content type='text'>
Various, ancient ciphers exposed some of their innards via an _options()
API. Apart from openssl version/speed, only some lua thingie in nmap ever
looked at these. Go figure.

hppa testing by miod, i386 testing by sthen. Thanks!

ok jsing
</content>
</entry>
<entry>
<title>Add endbr64 where needed by inspection.  Passes regresson tests.</title>
<updated>2023-04-25T04:42:26+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2023-04-25T04:42:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=f56bc15e44b93e564d434a7d0b5c8f837812aac3'/>
<id>urn:sha1:f56bc15e44b93e564d434a7d0b5c8f837812aac3</id>
<content type='text'>
ok jsing, and kind of tb an earlier version
</content>
</entry>
<entry>
<title>Use explicit .text instead of .previous to please Windows/MinGW on amd64</title>
<updated>2023-02-23T08:55:44+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-02-23T08:55:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=0dadd2bf46f37ca96a50e247649a11b3c5273234'/>
<id>urn:sha1:0dadd2bf46f37ca96a50e247649a11b3c5273234</id>
<content type='text'>
ok miod
</content>
</entry>
<entry>
<title>Use .section .rodata instead of a plain .rodata</title>
<updated>2023-02-09T19:57:00+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-02-09T19:57:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=4355eb6aeababf0126972f85bdeed63048a99df1'/>
<id>urn:sha1:4355eb6aeababf0126972f85bdeed63048a99df1</id>
<content type='text'>
At least gcc 12 on Fedora is very unhappy about a plain .rodata and throws
Error: unknown pseudo-op: `.rodata'. So add a .section in front of it to
make it happy.

ok deraadt miod
</content>
</entry>
<entry>
<title>Move all data blocks from .text to .rodata and cleanup up and homogeneize code</title>
<updated>2023-02-01T20:45:04+00:00</updated>
<author>
<name>miod</name>
<email></email>
</author>
<published>2023-02-01T20:45:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=5957c398bf683b5334ed18dd0f830b1cfffbf027'/>
<id>urn:sha1:5957c398bf683b5334ed18dd0f830b1cfffbf027</id>
<content type='text'>
responsible from getting the proper address of those blocks.

ok tb@ jsing@
</content>
</entry>
</feed>
