CVSROOT: /cvs Module name: src Changes by: js...@cvs.openbsd.org 2025/01/22 02:53:16
Modified files: lib/libcrypto/sm4: sm4.c Log message: Expand the SM4_ROUNDS macro. This macro references variable names that are in the consuming function and are not actually passed to the macro. Expanding it makes the logic clearer. If we wanted to reduce code the middle six group of rounds could be implemented using a for loop (which the compiler can then choose to unroll). ok tb@