Skip to content

Commit

Permalink
try VNAND
Browse files Browse the repository at this point in the history
  • Loading branch information
emmansun authored Sep 11, 2024
1 parent 4f60a23 commit 2ca0421
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sm4/asm_ppc64x.s
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ GLOBL ·rcon(SB), RODATA, $192
// - y: 128 bits temp register
// - z: 128 bits temp register
#define AFFINE_TRANSFORM_N(L, H, V_FOUR, x, y, z) \
VNAND NIBBLE_MASK, x, z; \
VNAND x, NIBBLE_MASK, z; \
VPERM L, L, z, y; \
VSRW x, V_FOUR, x; \
VAND NIBBLE_MASK, x, z; \
Expand Down

0 comments on commit 2ca0421

Please sign in to comment.