Rework loads and stores for sm3.
authorjsing <jsing@openbsd.org>
Thu, 28 Mar 2024 11:22:58 +0000 (11:22 +0000)
committerjsing <jsing@openbsd.org>
Thu, 28 Mar 2024 11:22:58 +0000 (11:22 +0000)
commita1643a4601e91d5c43531a6fb2b0f4e2ca2bb6b2
treeecf5641bce400b10fb74bc8dc7294953b5335b29
parent2f1c0508c1323f55ad36b75e2d4dc8593320f384
Rework loads and stores for sm3.

Replace loads with crypto_load_be32toh() or be32toh(). Use
crypto_store_htobe32() or htobe32() for stores.

ok tb@
lib/libcrypto/sm3/sm3.c