mirror of
https://github.com/emmansun/gmsm.git
synced 2025-04-26 04:06:18 +08:00
sm3: ppc64x, kdf mult by 4, 2
This commit is contained in:
parent
8a33e6278b
commit
0cfb42fb8b
@ -63,9 +63,9 @@ GLOBL ·mask(SB), RODATA, $80
|
|||||||
VSPLTISW $n, TMP5 \
|
VSPLTISW $n, TMP5 \
|
||||||
VRLW s, TMP5, r
|
VRLW s, TMP5, r
|
||||||
|
|
||||||
#define loadWordByIndex(W, r, i) \
|
#define loadWordByIndex(W, i) \
|
||||||
MOVD $(16*(i)), r \
|
MOVD $(16*(i)), R19 \
|
||||||
LXVW4X (r)(statePtr), W
|
LXVW4X (R19)(statePtr), W
|
||||||
|
|
||||||
// one word is 16 bytes
|
// one word is 16 bytes
|
||||||
#define prepare4Words \
|
#define prepare4Words \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user