Simplify handling of big vs little endian.
authorjsing <jsing@openbsd.org>
Tue, 11 Apr 2023 10:35:21 +0000 (10:35 +0000)
committerjsing <jsing@openbsd.org>
Tue, 11 Apr 2023 10:35:21 +0000 (10:35 +0000)
commitf234e14e1b567b402fe1cf12c1c106bdcf133855
tree8d47fc8b89d601edb2ca4c7da62859d7162e1f6f
parent13f683bd714966fd93bf7942600d45ae43329a8e
Simplify handling of big vs little endian.

Rather than sprinkling BYTE_ORDER checks throughout the implementation,
always define PULL64 - on big endian platforms it just becomes a no-op.

ok tb@
lib/libcrypto/sha/sha512.c