CVS: cvs.openbsd.org: src

Joel Sing <[email protected]> Wed, 22 Jul 2026 08:34:38 -0600 (MDT)
Newsgroups gmane.os.openbsd.cvs
Message-ID <[email protected]>
CVSROOT:	/cvs
Module name:	src
Changes by:	[email protected]	2026/07/22 08:34:38

Modified files:
	lib/libcrypto/sha: sha3.c 

Log message:
Improve SHA-3 performance.

Replace the tiny-sha3 keccakf implementation with an unrolled and
interleaved algorithm, that is hidden away in an obsolete reference
implementation.

This gets us 3.3x speed up on arm64 (Apple M2), a 1.3x speed up on amd64
(Intel i7-1165G7) and 6x speed up on sparc64 (M3000).

ok tb@