all: ensure compatibility with older Go versions

This commit is contained in:
Filippo Valsorda 2019-12-05 00:28:18 -05:00
parent ab077c8b63
commit 60e71d0c0c
2 changed files with 2 additions and 2 deletions

2
go.mod
View File

@ -1,3 +1,3 @@
module github.com/gtank/ristretto255
go 1.12
go 1.11

View File

@ -35,6 +35,6 @@ func BenchmarkMul32(b *testing.B) {
x.One()
b.ResetTimer()
for i := 0; i < b.N; i++ {
x.Mul32(&x, 0b10101010_10101010_10101010_10101010)
x.Mul32(&x, 0xaa42aa42)
}
}