CVSROOT:        /cvs
Module name:    src
Changes by:     js...@cvs.openbsd.org   2025/01/22 02:46:26

Modified files:
        lib/libcrypto/sm4: sm4.c 

Log message:
Replace {load,store}_u32_be() with crypto_{load,store}_be32toh().

load_u32_be() and store_u32_be() are not symmetrical, with load_u32_be()
having a rather unexpected indexing interface. Fix up the callers to
perform their own indexing and use crypto_{load,store}_be32toh() instead.

ok tb@

Reply via email to