(b *testing.B)
| 78 | } |
| 79 | |
| 80 | func BenchmarkEncodeString(b *testing.B) { |
| 81 | d := &state{rate: 104, outputLen: 48, dsbyte: 0x06} |
| 82 | s := []byte("foo") |
| 83 | for i := 0; i < b.N; i++ { |
| 84 | encodeString(d, s) |
| 85 | } |
| 86 | } |
| 87 | |
| 88 | func BenchmarkInitCShake(b *testing.B) { |
| 89 | d := &state{rate: 104, outputLen: 48, dsbyte: 0x06} |
nothing calls this directly
no test coverage detected