Skip to content

Commit

Permalink
sm3: ppc64x, kdf mult by 4, 3
Browse files Browse the repository at this point in the history
  • Loading branch information
emmansun authored Sep 6, 2024
1 parent 0cfb42f commit 5d9a4eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sm3/sm3blocks_ppc64x.s
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#define ESPERMW V31 // Endian swapping permute into BE

DATA ·mask+0x00(SB)/8, $0x0b0a09080f0e0d0c // byte swap per word
DATA ·mask+0x18(SB)/8, $0x0302010007060504
DATA ·mask+0x08(SB)/8, $0x0302010007060504
DATA ·mask+0x10(SB)/8, $0x0001020310111213 // Permute for transpose matrix
DATA ·mask+0x18(SB)/8, $0x0405060714151617
DATA ·mask+0x20(SB)/8, $0x08090a0b18191a1b
Expand Down

0 comments on commit 5d9a4eb

Please sign in to comment.