mirror of https://github.com/gtank/ristretto255
all: ensure compatibility with older Go versions
This commit is contained in:
parent
a679c261e4
commit
502122d125
2
go.mod
2
go.mod
|
@ -1,3 +1,3 @@
|
||||||
module github.com/gtank/ristretto255
|
module github.com/gtank/ristretto255
|
||||||
|
|
||||||
go 1.12
|
go 1.11
|
||||||
|
|
|
@ -35,6 +35,6 @@ func BenchmarkMul32(b *testing.B) {
|
||||||
x.One()
|
x.One()
|
||||||
b.ResetTimer()
|
b.ResetTimer()
|
||||||
for i := 0; i < b.N; i++ {
|
for i := 0; i < b.N; i++ {
|
||||||
x.Mul32(&x, 0b10101010_10101010_10101010_10101010)
|
x.Mul32(&x, 0xaa42aa42)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue