mirror of
https://github.com/emmansun/gmsm.git
synced 2025-04-26 04:06:18 +08:00
Update sm3_test.go
This commit is contained in:
parent
96059a7c75
commit
ba0b9bcab8
@ -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()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user