mirror of
https://github.com/emmansun/gmsm.git
synced 2025-04-26 04:06:18 +08:00
add FORCE_SM4BLOCK_AESNI test
This commit is contained in:
parent
a01428eaf3
commit
f04d7f102f
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@ -40,6 +40,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
files: ./coverage1.txt,./coverage2.txt
|
files: ./coverage1.txt,./coverage2.txt
|
||||||
|
|
||||||
|
- name: Test Force SM4 Single Block with AES-NI
|
||||||
|
run: go test -short sm4/...
|
||||||
|
env:
|
||||||
|
FORCE_SM4BLOCK_AESNI: 1
|
||||||
|
|
||||||
- name: Test only
|
- name: Test only
|
||||||
if: ${{ matrix.goVer != '1.18' }}
|
if: ${{ matrix.goVer != '1.18' }}
|
||||||
run: go test -short ./...
|
run: go test -short ./...
|
||||||
|
6
.github/workflows/test_qemu.yml
vendored
6
.github/workflows/test_qemu.yml
vendored
@ -36,3 +36,9 @@ jobs:
|
|||||||
DISABLE_SM4NI: 1
|
DISABLE_SM4NI: 1
|
||||||
GODEBUG: x509sha1=1
|
GODEBUG: x509sha1=1
|
||||||
GOARCH: ${{ matrix.arch }}
|
GOARCH: ${{ matrix.arch }}
|
||||||
|
|
||||||
|
- name: Test Force SM4 Single Block with AES-NI
|
||||||
|
run: go test -v -short sm4/...
|
||||||
|
env:
|
||||||
|
DISABLE_SM4NI: 1
|
||||||
|
FORCE_SM4BLOCK_AESNI: 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user