mirror of
https://github.com/emmansun/gmsm.git
synced 2025-04-26 20:26:19 +08:00
internal/zuc: fix build error
This commit is contained in:
parent
a49eecd572
commit
21f96e536b
@ -232,12 +232,7 @@ func benchmarkSeek(b *testing.B, offset uint64) {
|
||||
var key [16]byte
|
||||
var iv [16]byte
|
||||
|
||||
stream, _ := NewCipher(key[:], iv[:])
|
||||
|
||||
eea, ok := stream.(*eea)
|
||||
if !ok {
|
||||
b.Fatal("not an eea")
|
||||
}
|
||||
eea, _ := NewCipher(key[:], iv[:])
|
||||
|
||||
b.ResetTimer()
|
||||
for i := 0; i < b.N; i++ {
|
||||
|
Loading…
x
Reference in New Issue
Block a user