From 5c38bb3add8372239e5c35bcbd29b45b5be92968 Mon Sep 17 00:00:00 2001 From: Sun Yimin Date: Fri, 20 Sep 2024 17:55:39 +0800 Subject: [PATCH] #248, use kimd directly --- .github/workflows/test_s390x.yaml | 2 +- cipher/gcm_s390x.s | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test_s390x.yaml b/.github/workflows/test_s390x.yaml index abd2733..80e5126 100644 --- a/.github/workflows/test_s390x.yaml +++ b/.github/workflows/test_s390x.yaml @@ -14,7 +14,7 @@ jobs: test: strategy: matrix: - go-version: [1.19.x] + go-version: [1.22.x] arch: [s390x] runs-on: ubuntu-latest steps: diff --git a/cipher/gcm_s390x.s b/cipher/gcm_s390x.s index 70c9ed0..658c8b5 100644 --- a/cipher/gcm_s390x.s +++ b/cipher/gcm_s390x.s @@ -18,7 +18,7 @@ TEXT ·ghash(SB),NOSPLIT,$32-40 STMG R4, R7, (R1) LMG data+16(FP), R2, R3 // R2=base, R3=len loop: - WORD $0xB93E0002 // compute intermediate message digest (KIMD) + KIMD R0, R2 // compute intermediate message digest (KIMD) BVS loop // branch back if interrupted MVC $16, (R1), (R8) MOVD $0, R0