cipher: xts ppc64x fix 1

This commit is contained in:
Sun Yimin 2024-09-23 17:56:13 +08:00 committed by GitHub
parent 4808935f60
commit 5c6c1890ae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -50,7 +50,7 @@ TEXT ·mul2(SB),NOSPLIT,$0
MOVD $xtsMask<>(SB), CPOOL
CMPB R4, $1
CMPW R4, $1
BEQ gb_alg
// Load polynomial for reduction
@ -104,7 +104,7 @@ TEXT ·doubleTweaks(SB),NOSPLIT,$0
// Load tweak
LXVD2X (R3), B0
CMPB R6, $1
CMPW R6, $1
BEQ gb_alg
SRD $4, R5