<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/des/des_enc.c, branch OPENBSD_7_9</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_7_9</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_7_9'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2025-07-27T13:26:24+00:00</updated>
<entry>
<title>Rework DES encryption/decryption loops.</title>
<updated>2025-07-27T13:26:24+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2025-07-27T13:26:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=305717a23aaf1a0716fdfeb5149ac4a9b8e3393a'/>
<id>urn:sha1:305717a23aaf1a0716fdfeb5149ac4a9b8e3393a</id>
<content type='text'>
Use a slightly unrolled loop, which gets us half way between DES_UNROLL and
no DES_UNROLL. While we're not terribly concerned by DES performance, this
gets us a small gain on aarch64 and a small loss on arm. But above all, we
end up with simpler code.

ok tb@
</content>
</entry>
<entry>
<title>Unifdef DES_PTR, DES_RISC1 and DES_RISC2.</title>
<updated>2024-08-31T16:17:13+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2024-08-31T16:17:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=b4a7118880d144942505fcaf652b145d16c4066e'/>
<id>urn:sha1:b4a7118880d144942505fcaf652b145d16c4066e</id>
<content type='text'>
These are all go fast knobs that convolute the code and can be dangerous.
Lets presume that we have a modern and somewhat capable C compiler instead.

ok tb@
</content>
</entry>
<entry>
<title>Unifdef OPENBSD_DES_ASM.</title>
<updated>2024-08-31T16:04:22+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2024-08-31T16:04:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=664cc25b60211c31da224b8018b7df63055631ed'/>
<id>urn:sha1:664cc25b60211c31da224b8018b7df63055631ed</id>
<content type='text'>
There are no assembly implementations now.

ok tb@
</content>
</entry>
<entry>
<title>Inline and remove spr.h.</title>
<updated>2024-08-31T16:01:18+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2024-08-31T16:01:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=738cbfabd749440f37d4359759ee7f661f6608db'/>
<id>urn:sha1:738cbfabd749440f37d4359759ee7f661f6608db</id>
<content type='text'>
This is only included once in des_enc.c - inline the tables instead.

Prompted by tb@
</content>
</entry>
<entry>
<title>Expand DES_ncbc_encrypt() in des_enc.c.</title>
<updated>2024-08-31T14:29:15+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2024-08-31T14:29:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=bc4e62650b37e403ebda500e819c5fd2248f6416'/>
<id>urn:sha1:bc4e62650b37e403ebda500e819c5fd2248f6416</id>
<content type='text'>
Copy ncbc_enc.c where it was previously #included, then clean up with
`unifdef -m -UCBC_ENC_C__DONT_UPDATE_IV`.

Discussed with tb@
</content>
</entry>
<entry>
<title>Hide symbols in DES</title>
<updated>2024-03-29T01:47:29+00:00</updated>
<author>
<name>joshua</name>
<email></email>
</author>
<published>2024-03-29T01:47:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=180ff1f0243566d2bdec5895a9f30bdeb795c928'/>
<id>urn:sha1:180ff1f0243566d2bdec5895a9f30bdeb795c928</id>
<content type='text'>
ok jsing beck
</content>
</entry>
<entry>
<title>More style(9).</title>
<updated>2023-07-08T07:34:34+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2023-07-08T07:34:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=504c63e0950c4057c00ed7e8f35975096b6c06e0'/>
<id>urn:sha1:504c63e0950c4057c00ed7e8f35975096b6c06e0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Hit the des directory with the loving mallet of knfmt</title>
<updated>2023-07-08T07:11:07+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2023-07-08T07:11:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=690a2d7bb2ae49af3eba452cabf6daa1c05c5468'/>
<id>urn:sha1:690a2d7bb2ae49af3eba452cabf6daa1c05c5468</id>
<content type='text'>
ok tb@
</content>
</entry>
<entry>
<title>Make internal header file names consistent</title>
<updated>2022-11-26T16:08:57+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-11-26T16:08:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=81d98bf600a381a625eb11b39a725b08c0ba547f'/>
<id>urn:sha1:81d98bf600a381a625eb11b39a725b08c0ba547f</id>
<content type='text'>
Libcrypto currently has a mess of *_lcl.h, *_locl.h, and *_local.h names
used for internal headers. Move all these headers we inherited from
OpenSSL to *_local.h, reserving the name *_internal.h for our own code.
Similarly, move dtls_locl.h and ssl_locl.h to dtls_local and ssl_local.h.
constant_time_locl.h is moved to constant_time.h since it's special.

Adjust all .c files in libcrypto, libssl and regress.

The diff is mechanical with the exception of tls13_quic.c, where
#include &lt;ssl_locl.h&gt; was fixed manually.

discussed with jsing,
no objection bcook
</content>
</entry>
<entry>
<title>deregister; no binary change</title>
<updated>2014-10-28T07:35:59+00:00</updated>
<author>
<name>jsg</name>
<email></email>
</author>
<published>2014-10-28T07:35:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=0505bd63c15c82aead21cde52afbf6c41421d140'/>
<id>urn:sha1:0505bd63c15c82aead21cde52afbf6c41421d140</id>
<content type='text'>
ok jsing@ miod@
</content>
</entry>
</feed>
