<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/aes/asm, branch OPENBSD_7_8_BASE</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_7_8_BASE</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_7_8_BASE'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2025-06-15T15:11:50+00:00</updated>
<entry>
<title>Integrate AES-NI into the AES code.</title>
<updated>2025-06-15T15:11:50+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2025-06-15T15:11:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=51f804b282da1b0813454f9f6027d3726deea4c7'/>
<id>urn:sha1:51f804b282da1b0813454f9f6027d3726deea4c7</id>
<content type='text'>
Currently, the AES-NI code is only integrated into EVP - add code to
integrate AES-NI into AES. Rename the assembly provided functions and
provide C versions for the original names, which check for AES-NI support
and dispatch to the appropriate function. This means that the AES_* public
API will now use AES-NI, if available.

ok tb@
</content>
</entry>
<entry>
<title>Remove now unused AES assembly generation scripts.</title>
<updated>2025-05-21T11:03:48+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2025-05-21T11:03:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=f5bb1ffd995e0f824013d5c14b536a4b71a48431'/>
<id>urn:sha1:f5bb1ffd995e0f824013d5c14b536a4b71a48431</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Always use C functions for AES_{encrypt,decrypt}().</title>
<updated>2024-03-29T11:00:57+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2024-03-29T11:00:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=2f6039e975b851c54c5857fe9253b02da013fb32'/>
<id>urn:sha1:2f6039e975b851c54c5857fe9253b02da013fb32</id>
<content type='text'>
Always provide AES_{encrypt,decrypt}() via C functions, which then either
use a C implementation or call the assembly implementation.

ok tb@
</content>
</entry>
<entry>
<title>Always use C functions for AES_set_{encrypt,decrypt}_key().</title>
<updated>2024-03-29T04:39:54+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2024-03-29T04:39:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=2c1a87a439933e428607afc0c18d4d12070ae246'/>
<id>urn:sha1:2c1a87a439933e428607afc0c18d4d12070ae246</id>
<content type='text'>
Always include aes_core.c and provide AES_set_{encrypt,decrypt}_key() via C
functions, which then either use a C implementation or call the assembly
implementation.

ok tb@
</content>
</entry>
<entry>
<title>Rename AES_cbc_encrypt to aes_cbc_encrypt_internal for the SEH handlers.</title>
<updated>2024-03-29T01:27:42+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2024-03-29T01:27:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=f8ad9d09c9360bde74a2c15f487d03b470375d10'/>
<id>urn:sha1:f8ad9d09c9360bde74a2c15f487d03b470375d10</id>
<content type='text'>
Should fix windows build.
</content>
</entry>
<entry>
<title>Make AES_cbc_encrypt() always be a C function.</title>
<updated>2024-03-28T12:28:48+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2024-03-28T12:28:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=4762bb5731bf7cd92c8b8ef889df0870ac19d3bd'/>
<id>urn:sha1:4762bb5731bf7cd92c8b8ef889df0870ac19d3bd</id>
<content type='text'>
Rename the assembly generated functions from AES_cbc_encrypt() to
aes_cbc_encrypt_internal(). Always include aes_cbc.c and change it
to use defines that are similar to those used in BN.

ok 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>Add a few missing endbr64 to libcrypto</title>
<updated>2024-02-24T17:53:20+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-02-24T17:53:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=2c66b949eac93a66838f31bcbbd5e3c769038538'/>
<id>urn:sha1:2c66b949eac93a66838f31bcbbd5e3c769038538</id>
<content type='text'>
gcm_{gmult,ghash}_4bit(), aesni_ccm64_decrypt_blocks(), aes_cbc_encrypt(),
and aesni_xts_{en,de}crypt() were overlooked in previous passes.

Found with a diff for ld.lld by kettenis
ok kettenis
</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>aesni_ctr32_encrypt_blocks() is called indirectly from C code, so it</title>
<updated>2023-09-18T22:38:16+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2023-09-18T22:38:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=bc048d0b869312fac6a3582a4bdb402c5301283f'/>
<id>urn:sha1:bc048d0b869312fac6a3582a4bdb402c5301283f</id>
<content type='text'>
needs endbr64
ok kettenis tb
</content>
</entry>
</feed>
