Clean up alignment handling.
authorjsing <jsing@openbsd.org>
Tue, 15 Aug 2023 08:39:27 +0000 (08:39 +0000)
committerjsing <jsing@openbsd.org>
Tue, 15 Aug 2023 08:39:27 +0000 (08:39 +0000)
commitf4c5b171cadb91806164269fa38d5ec295996c0f
treeb152630f72425b8f56c23f4ed91432eaa929ca8d
parentd697bab7f78f9eb7696b65cb527128b61297d168
Clean up alignment handling.

Instead of using HOST_{c2l,l2c} macros, provide and use
crypto_load_le32toh() and crypto_store_htole32(). In some cases just
use htole32() directly.

ok tb@
lib/libcrypto/crypto_internal.h
lib/libcrypto/md5/md5.c