summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ec/ecp_methods.c
diff options
context:
space:
mode:
authorjsing <>2025-01-22 09:53:16 +0000
committerjsing <>2025-01-22 09:53:16 +0000
commit60d9ada94567fdf756caa5632ebe42512982d45c (patch)
tree436e2cdca73589a5b6b9f96145e05c14be5fafb7 /src/lib/libcrypto/ec/ecp_methods.c
parent9943924d04defaf3708999d0519c2262b2ac97b3 (diff)
downloadopenbsd-60d9ada94567fdf756caa5632ebe42512982d45c.tar.gz
openbsd-60d9ada94567fdf756caa5632ebe42512982d45c.tar.bz2
openbsd-60d9ada94567fdf756caa5632ebe42512982d45c.zip
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@
Diffstat (limited to 'src/lib/libcrypto/ec/ecp_methods.c')
0 files changed, 0 insertions, 0 deletions