summaryrefslogtreecommitdiff
path: root/src/lib/libc/string
diff options
context:
space:
mode:
authorjsing <>2026-07-22 14:34:38 +0000
committerjsing <>2026-07-22 14:34:38 +0000
commitffcf6234bccf652a6a35ea18d71997d46f147d4f (patch)
treec3ae88fb533a86365c140ed0e320fe27903ee34f /src/lib/libc/string
parent1cf0a1493f6c88cf1b6b29ab13034d3dcb5f676d (diff)
downloadopenbsd-ffcf6234bccf652a6a35ea18d71997d46f147d4f.tar.gz
openbsd-ffcf6234bccf652a6a35ea18d71997d46f147d4f.tar.bz2
openbsd-ffcf6234bccf652a6a35ea18d71997d46f147d4f.zip
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@
Diffstat (limited to 'src/lib/libc/string')
0 files changed, 0 insertions, 0 deletions