Skip to content

Commit 3b574b4

Browse files
committed
Fix tests and keep lowest go version
Signed-off-by: Yolan Romailler <[email protected]>
1 parent 2d25fb5 commit 3b574b4

File tree

5 files changed

+23
-5
lines changed

5 files changed

+23
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ main package is.
3737
Installing
3838
----------
3939

40-
First make sure you have [Go](https://golang.org) version 1.25 or newer installed.
40+
First make sure you have [Go](https://golang.org) version 1.24 or newer installed.
4141

4242
The basic crypto library requires only Go and a few
4343
third-party Go-language dependencies that can be installed automatically

go.mod

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
module github.com/drand/kyber
22

3-
go 1.25
3+
go 1.24.0
44

55
require (
66
github.com/cloudflare/circl v1.6.1
7-
github.com/consensys/gnark-crypto v0.19.0
7+
github.com/consensys/gnark-crypto v0.19.2
88
github.com/drand/kyber-bls12381 v0.3.3
99
github.com/jonboulle/clockwork v0.5.0
1010
github.com/stretchr/testify v1.11.1
@@ -14,12 +14,12 @@ require (
1414
)
1515

1616
require (
17-
github.com/bits-and-blooms/bitset v1.24.2 // indirect
17+
github.com/bits-and-blooms/bitset v1.24.3 // indirect
1818
github.com/davecgh/go-spew v1.1.1 // indirect
1919
github.com/kilic/bls12-381 v0.1.0 // indirect
2020
github.com/kr/text v0.2.0 // indirect
2121
github.com/pmezard/go-difflib v1.0.0 // indirect
2222
github.com/rogpeppe/go-internal v1.14.1 // indirect
23-
golang.org/x/sys v0.37.0 // indirect
23+
golang.org/x/sys v0.38.0 // indirect
2424
gopkg.in/yaml.v3 v3.0.1 // indirect
2525
)

go.sum

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
github.com/bits-and-blooms/bitset v1.24.2 h1:M7/NzVbsytmtfHbumG+K2bremQPMJuqv1JD3vOaFxp0=
22
github.com/bits-and-blooms/bitset v1.24.2/go.mod h1:7hO7Gc7Pp1vODcmWvKMRA9BNmbv6a/7QIWpPxHddWR8=
3+
github.com/bits-and-blooms/bitset v1.24.3 h1:Bte86SlO3lwPQqww+7BE9ZuUCKIjfqnG5jtEyqA9y9Y=
4+
github.com/bits-and-blooms/bitset v1.24.3/go.mod h1:7hO7Gc7Pp1vODcmWvKMRA9BNmbv6a/7QIWpPxHddWR8=
35
github.com/cloudflare/circl v1.6.1 h1:zqIqSPIndyBh1bjLVVDHMPpVKqp8Su/V+6MeDzzQBQ0=
46
github.com/cloudflare/circl v1.6.1/go.mod h1:uddAzsPgqdMAYatqJ0lsjX1oECcQLIlRpzZh3pJrofs=
57
github.com/consensys/gnark-crypto v0.19.0 h1:zXCqeY2txSaMl6G5wFpZzMWJU9HPNh8qxPnYJ1BL9vA=
68
github.com/consensys/gnark-crypto v0.19.0/go.mod h1:rT23F0XSZqE0mUA0+pRtnL56IbPxs6gp4CeRsBk4XS0=
9+
github.com/consensys/gnark-crypto v0.19.2 h1:qrEAIXq3T4egxqiliFFoNrepkIWVEeIYwt3UL0fvS80=
10+
github.com/consensys/gnark-crypto v0.19.2/go.mod h1:rT23F0XSZqE0mUA0+pRtnL56IbPxs6gp4CeRsBk4XS0=
711
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
812
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
913
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
@@ -44,6 +48,8 @@ golang.org/x/sys v0.0.0-20190124100055-b90733256f2e/go.mod h1:STP8DvDyc/dI5b8T5h
4448
golang.org/x/sys v0.0.0-20201101102859-da207088b7d1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
4549
golang.org/x/sys v0.37.0 h1:fdNQudmxPjkdUTPnLn5mdQv7Zwvbvpaxqs831goi9kQ=
4650
golang.org/x/sys v0.37.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks=
51+
golang.org/x/sys v0.38.0 h1:3yZWxaJjBmCWXqhN1qh02AkOnCQ1poK6oF+a7xWL6Gc=
52+
golang.org/x/sys v0.38.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks=
4753
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
4854
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
4955
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=

pairing/bn254/gfp_decl.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ package bn254
66
// This file contains forward declarations for the architecture-specific
77
// assembly implementations of these functions, provided that they exist.
88

9+
import (
10+
"golang.org/x/sys/cpu"
11+
)
12+
13+
var hasBMI2 = cpu.X86.HasBMI2
14+
915
//go:noescape
1016
func gfpNeg(c, a *gfP)
1117

pairing/bn256/gfp_decl.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ package bn256
66
// This file contains forward declarations for the architecture-specific
77
// assembly implementations of these functions, provided that they exist.
88

9+
import (
10+
"golang.org/x/sys/cpu"
11+
)
12+
13+
var hasBMI2 = cpu.X86.HasBMI2
14+
915
//go:noescape
1016
func gfpNeg(c, a *gfP)
1117

0 commit comments

Comments
 (0)