summaryrefslogtreecommitdiff
path: root/etc/etc.i386
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2024-11-23 15:38:13 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2024-11-23 15:38:13 +0000
commite93caa589206870e501c0b0b93eb7cfc37666057 (patch)
tree29a31857ac48f83699c2d9afb723f7166e7b1d8f /etc/etc.i386
parent8ef08fa89b2028fe2a77891cccb493d020ee5452 (diff)
Simplify endian handling in SHA-3.
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@
Diffstat (limited to 'etc/etc.i386')
0 files changed, 0 insertions, 0 deletions