<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/sha/sha3.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-04-18T07:36:11+00:00</updated>
<entry>
<title>Use 'ctx' for sha3_ctx variables, rather than the less readable 'c'.</title>
<updated>2025-04-18T07:36:11+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2025-04-18T07:36:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=40f74488b8ad99303861a7ad88abf6108df59fb0'/>
<id>urn:sha1:40f74488b8ad99303861a7ad88abf6108df59fb0</id>
<content type='text'>
ok tb@
</content>
</entry>
<entry>
<title>Pull casts from void * to uint8_t * up to variables, rather than inline.</title>
<updated>2025-04-18T07:27:42+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2025-04-18T07:27:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=b9a0523d97444dc48412549cc52bb57d6dcd7d7e'/>
<id>urn:sha1:b9a0523d97444dc48412549cc52bb57d6dcd7d7e</id>
<content type='text'>
ok tb@
</content>
</entry>
<entry>
<title>Use two temporary variables in sha3_keccakf(), rather than reusing bc[0].</title>
<updated>2025-04-18T07:23:53+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2025-04-18T07:23:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=0cfcf98fa69ee0b31f87737228a909957c333871'/>
<id>urn:sha1:0cfcf98fa69ee0b31f87737228a909957c333871</id>
<content type='text'>
ok tb@
</content>
</entry>
<entry>
<title>Use crypto_rol_u64() instead of a separate ROTL64 define.</title>
<updated>2025-04-18T07:19:48+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2025-04-18T07:19:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=8f837a7afcb2f30d9e5cfd02b41d379d1e356f89'/>
<id>urn:sha1:8f837a7afcb2f30d9e5cfd02b41d379d1e356f89</id>
<content type='text'>
ok tb@
</content>
</entry>
<entry>
<title>Simplify endian handling in SHA-3.</title>
<updated>2024-11-23T15:38:12+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2024-11-23T15:38:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=d858094ad2067b28a4d1db54ddc77ec7db656253'/>
<id>urn:sha1:d858094ad2067b28a4d1db54ddc77ec7db656253</id>
<content type='text'>
Rather than having blocks of code that are conditional on
BYTE_ORDER != LITTLE_ENDIAN, use le64toh() and htole64() unconditionally.
In the case of a little endian platform, the compiler will optimise this
away, while on a big endian platform we'll either end up with better code
or the same code than we have currently.

ok tb@
</content>
</entry>
<entry>
<title>Bounds check mdlen that is passed to sha3_init().</title>
<updated>2023-04-16T15:32:16+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2023-04-16T15:32:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=0c298c3dfe9febe4b3b507b64495edecbec5a202'/>
<id>urn:sha1:0c298c3dfe9febe4b3b507b64495edecbec5a202</id>
<content type='text'>
While here, use KECCAK_BYTE_WIDTH instead of hardcoding the value.
</content>
</entry>
<entry>
<title>Use size_t rather than int.</title>
<updated>2023-04-15T20:00:24+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2023-04-15T20:00:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=1f390e937ee421648ebeb8e0f9ccf69cd8993a1a'/>
<id>urn:sha1:1f390e937ee421648ebeb8e0f9ccf69cd8993a1a</id>
<content type='text'>
Also buy a vowel for rsiz.
</content>
</entry>
<entry>
<title>Remove sha3() function, which will not be used or exposed.</title>
<updated>2023-04-15T19:30:31+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2023-04-15T19:30:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=379c0e1b83d3b3687c62a136279d55b0e4141de6'/>
<id>urn:sha1:379c0e1b83d3b3687c62a136279d55b0e4141de6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Mark sha3_keccakf() as static and remove prototype from header.</title>
<updated>2023-04-15T19:29:20+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2023-04-15T19:29:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=381963737afddc578047e2ddb396b26e46053de6'/>
<id>urn:sha1:381963737afddc578047e2ddb396b26e46053de6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use memset() to zero the context, instead of zeroing manually.</title>
<updated>2023-04-15T19:27:54+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2023-04-15T19:27:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=419fac83c522f91f0de710533df00c3bbebaecb4'/>
<id>urn:sha1:419fac83c522f91f0de710533df00c3bbebaecb4</id>
<content type='text'>
</content>
</entry>
</feed>
