From 5c6c1890ae9fb0e7ae94f8e909e5dba6927e60b9 Mon Sep 17 00:00:00 2001 From: Sun Yimin Date: Mon, 23 Sep 2024 17:56:13 +0800 Subject: [PATCH] cipher: xts ppc64x fix 1 --- cipher/xts_ppc64x.s | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cipher/xts_ppc64x.s b/cipher/xts_ppc64x.s index 57a3910..d5e522d 100644 --- a/cipher/xts_ppc64x.s +++ b/cipher/xts_ppc64x.s @@ -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