From 10620d504877cff51f994331e12b2227a3d6cab7 Mon Sep 17 00:00:00 2001 From: Sun Yimin Date: Wed, 4 Sep 2024 11:35:54 +0800 Subject: [PATCH] sm3: kdf s390x fix 1 --- sm3/sm3blocks_s390x.s | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sm3/sm3blocks_s390x.s b/sm3/sm3blocks_s390x.s index 6524de1..51096e0 100644 --- a/sm3/sm3blocks_s390x.s +++ b/sm3/sm3blocks_s390x.s @@ -57,8 +57,8 @@ GLOBL mask<>(SB), 8, $64 #define PROLD(s, r, n) \ VERLLF $n, s, r -#define loadWordByIndex(W, start, i) \ - VL $(4*i)(start), W +#define loadWordByIndex(W, i) \ + VL (4*i)(statePtr), W // one word is 16 bytes #define prepare4Words \