mirror of
https://github.com/emmansun/gmsm.git
synced 2025-04-28 05:06:18 +08:00
check result
This commit is contained in:
parent
96059a7c75
commit
4bb9d9abf3
@ -8,6 +8,8 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"io"
|
"io"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
|
"golang.org/x/sys/cpu"
|
||||||
)
|
)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -46,6 +48,7 @@ func TestExpandKey(t *testing.T) {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
func TestExpandKeySimple(t *testing.T) {
|
func TestExpandKeySimple(t *testing.T) {
|
||||||
|
fmt.Printf("cpu.ARM64.HasAES=%v\n", cpu.ARM64.HasAES)
|
||||||
key := make([]byte, 16)
|
key := make([]byte, 16)
|
||||||
|
|
||||||
encRes1 := make([]uint32, 32)
|
encRes1 := make([]uint32, 32)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user