diff --git a/sm4/aesni_macros_ppc64x.s b/sm4/aesni_macros_ppc64x.s index 3d7ab9b..f162c6d 100644 --- a/sm4/aesni_macros_ppc64x.s +++ b/sm4/aesni_macros_ppc64x.s @@ -84,11 +84,7 @@ // - y: 128 bits temp register // - z: 128 bits temp register #define AFFINE_TRANSFORM(L, H, V_FOUR, x, y, z) \ - VAND NIBBLE_MASK, x, z; \ - VPERM L, L, z, y; \ - VSRB x, V_FOUR, z; \ - VPERM H, H, z, x; \ - VXOR y, x, x + VPERMXOR L, H, x, x // Affine Transform // parameters: