<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/aes/aes_core.c, branch libressl-v4.3.2</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=libressl-v4.3.2</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=libressl-v4.3.2'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2025-09-08T13:37:39+00:00</updated>
<entry>
<title>Call aes_set_encrypt_key_generic() from aes_set_decrypt_key_generic().</title>
<updated>2025-09-08T13:37:39+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2025-09-08T13:37:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=acdada09380aa5022157b7b571ff54855ef99792'/>
<id>urn:sha1:acdada09380aa5022157b7b571ff54855ef99792</id>
<content type='text'>
With the renaming, aes_set_decrypt_key_generic() should now call
aes_set_encrypt_key_generic() directly.
</content>
</entry>
<entry>
<title>Allow generic AES implementation to be used as a fallback.</title>
<updated>2025-09-08T12:56:17+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2025-09-08T12:56:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=edb41402990165c33fbbe4972a505d2b907f57b5'/>
<id>urn:sha1:edb41402990165c33fbbe4972a505d2b907f57b5</id>
<content type='text'>
Rename the C based AES implementation to *_generic() and provide
*_internal() wrappers for these. This allows for architectures to provide
accelerated versions without having to also provide a fallback
implementation.

ok tb@
</content>
</entry>
<entry>
<title>Validate AES_set_{encrypt,decrypt}_key() inputs at API boundary.</title>
<updated>2025-09-08T12:46:38+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2025-09-08T12:46:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=27935bc83495bf29902f88b49a448b5fba6cb8ac'/>
<id>urn:sha1:27935bc83495bf29902f88b49a448b5fba6cb8ac</id>
<content type='text'>
Every aes_set_{encrypt,decrypt}_key_internal() implementation is currently
required to check the inputs and return appropriate error codes. Pull the
input validation up to the API boundary, setting key-&gt;rounds at the same
time. Additionally, call aes_set_encrypt_key_internal() directly from
aes_set_decrypt_key_internal(), rather than going back through the public
API.

ok tb@
</content>
</entry>
<entry>
<title>Use standard integer types rather than custom typedefs.</title>
<updated>2025-04-21T12:23:09+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2025-04-21T12:23:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=c4b237a7061adb567097e71a27ee688e6486be76'/>
<id>urn:sha1:c4b237a7061adb567097e71a27ee688e6486be76</id>
<content type='text'>
Replace u32 with uint32_t, remove unused u16 and replace u8 with uint8_t.

ok tb@
</content>
</entry>
<entry>
<title>Move AES public functions from aes_core.c to aes.c.</title>
<updated>2025-04-20T09:17:53+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2025-04-20T09:17:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=76eca010fdc7bb95fac03d5e25af6f8c55fb5ffb'/>
<id>urn:sha1:76eca010fdc7bb95fac03d5e25af6f8c55fb5ffb</id>
<content type='text'>
This is where almost all of the public functions exist.

ok beck@ tb@
</content>
</entry>
<entry>
<title>AES_{decrypt,encrypt}() don't return void internal function</title>
<updated>2024-11-13T21:00:57+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-11-13T21:00:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=d8e54cade97b8f765d30971932b197d0f67e46a3'/>
<id>urn:sha1:d8e54cade97b8f765d30971932b197d0f67e46a3</id>
<content type='text'>
"A return statement with an expression shall not appear in a function
whose return type is void."

ok deraadt miod
</content>
</entry>
<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>Hide symbols in aes</title>
<updated>2024-03-30T05:14:12+00:00</updated>
<author>
<name>joshua</name>
<email></email>
</author>
<published>2024-03-30T05:14:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=8b4aee014ee4fcd87ae1facc48c141ed7662198a'/>
<id>urn:sha1:8b4aee014ee4fcd87ae1facc48c141ed7662198a</id>
<content type='text'>
ok jsing
</content>
</entry>
<entry>
<title>Tweak defines since the Td4 table is only used for AES_{encrypt,decrypt}</title>
<updated>2024-03-29T11:19:01+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2024-03-29T11:19:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=e8c593e2fbf1538d9a3d7dc723f5ebec314df757'/>
<id>urn:sha1:e8c593e2fbf1538d9a3d7dc723f5ebec314df757</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>
</feed>
