mirror of
https://github.com/emmansun/gmsm.git
synced 2025-04-26 04:06:18 +08:00
ppc64x: rollback again
This commit is contained in:
parent
08617245e0
commit
f7263ee31e
@ -84,10 +84,11 @@
|
|||||||
// - y: 128 bits temp register
|
// - y: 128 bits temp register
|
||||||
// - z: 128 bits temp register
|
// - z: 128 bits temp register
|
||||||
#define AFFINE_TRANSFORM(L, H, V_FOUR, x, y, z) \
|
#define AFFINE_TRANSFORM(L, H, V_FOUR, x, y, z) \
|
||||||
VAND NIBBLE_MASK, x, y; \
|
VAND NIBBLE_MASK, x, z; \
|
||||||
|
VPERM L, L, z, y; \
|
||||||
VSRB x, V_FOUR, z; \
|
VSRB x, V_FOUR, z; \
|
||||||
VPERM L, L, y, x; \
|
VPERM H, H, z, x; \
|
||||||
VPERMXOR H, H, z, x
|
VXOR y, x, x
|
||||||
|
|
||||||
// Affine Transform
|
// Affine Transform
|
||||||
// parameters:
|
// parameters:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user