sm4: is it really related to ctr change?

This commit is contained in:
Sun Yimin 2024-09-12 10:44:56 +08:00 committed by GitHub
parent b8eeda2309
commit 777ab60dd0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 14 additions and 1 deletions

View File

@ -42,6 +42,19 @@ jobs:
GOARCH: ${{ matrix.arch }}
GOPPC64: ${{ matrix.ppc64 }}
- name: Test Cipher
run: go test -v -short ./cipher/...
env:
GOARCH: ${{ matrix.arch }}
GOPPC64: ${{ matrix.ppc64 }}
- name: Test Cipher Force SM4 Single Block with AES-NI
run: go test -v -short ./cipher/...
env:
GOARCH: ${{ matrix.arch }}
GOPPC64: ${{ matrix.ppc64 }}
FORCE_SM4BLOCK_AESNI: 1
- name: Test Force SM4 Single Block with AES-NI
run: go test -v -short ./sm4/...
env:

View File

@ -1,4 +1,4 @@
//go:build (amd64 || arm64 || ppc64 || ppc64le) && !purego
//go:build (amd64 || arm64) && !purego
package sm4