mirror of https://github.com/golang/go.git
crypto/subtle: remove unused code
Change-Id: Ib02c7f1cf70448d8438b5a57f86f2d8643e81971
This commit is contained in:
parent
b634f6fdcb
commit
046943ff48
|
|
@ -63,14 +63,6 @@ func TestXorBytesPanic(t *testing.T) {
|
|||
})
|
||||
}
|
||||
|
||||
func min(a, b []byte) int {
|
||||
n := len(a)
|
||||
if len(b) < n {
|
||||
n = len(b)
|
||||
}
|
||||
return n
|
||||
}
|
||||
|
||||
func BenchmarkXORBytes(b *testing.B) {
|
||||
dst := make([]byte, 1<<15)
|
||||
data0 := make([]byte, 1<<15)
|
||||
|
|
|
|||
Loading…
Reference in New Issue