Update sm3_test.go

This commit is contained in:
Sun Yimin 2021-12-31 13:32:56 +08:00 committed by GitHub
parent 96059a7c75
commit ba0b9bcab8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -110,7 +110,7 @@ func TestBlockSize(t *testing.T) {
if got := c.BlockSize(); got != BlockSize { if got := c.BlockSize(); got != BlockSize {
t.Errorf("BlockSize = %d want %d", got, BlockSize) t.Errorf("BlockSize = %d want %d", got, BlockSize)
} }
fmt.Printf("ARM64 has sm3 %v ? has sm4 %v ?\n", cpu.ARM64.HasSM3, cpu.ARM64.HasSM4) fmt.Printf("ARM64 has sm3 %v, has sm4 %v, has aes %v\n", cpu.ARM64.HasSM3, cpu.ARM64.HasSM4, cpu.ARM64.HasAES)
} }
var bench = New() var bench = New()