check result

This commit is contained in:
Emman 2021-12-31 13:29:57 +08:00
parent 96059a7c75
commit 4bb9d9abf3

View File

@ -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)