#248, use kimd directly

This commit is contained in:
Sun Yimin 2024-09-20 17:55:39 +08:00 committed by GitHub
parent 925472fed4
commit 5c38bb3add
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ jobs:
test: test:
strategy: strategy:
matrix: matrix:
go-version: [1.19.x] go-version: [1.22.x]
arch: [s390x] arch: [s390x]
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:

View File

@ -18,7 +18,7 @@ TEXT ·ghash(SB),NOSPLIT,$32-40
STMG R4, R7, (R1) STMG R4, R7, (R1)
LMG data+16(FP), R2, R3 // R2=base, R3=len LMG data+16(FP), R2, R3 // R2=base, R3=len
loop: loop:
WORD $0xB93E0002 // compute intermediate message digest (KIMD) KIMD R0, R2 // compute intermediate message digest (KIMD)
BVS loop // branch back if interrupted BVS loop // branch back if interrupted
MVC $16, (R1), (R8) MVC $16, (R1), (R8)
MOVD $0, R0 MOVD $0, R0