Skip to content

Commit

Permalink
Merge branch 'main' into compute-cells
Browse files Browse the repository at this point in the history
  • Loading branch information
jtraglia authored Feb 12, 2025
2 parents 8e23af2 + 9007294 commit 2d8c7f5
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 18 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ no-threads = ["blst/no-threads"]

[dependencies]
arbitrary = { version = "1", features = ["derive"] }
blst = { version = "0.3.12", default-features = false }
blst = { version = "0.3.14", default-features = false }
hex = { version = "0.4.2", default-features = false, features = ["alloc"] }
libc = { version = "0.2", default-features = false }
serde = { version = "1.0", optional = true, default-features = false, features = [
Expand Down
16 changes: 9 additions & 7 deletions bindings/go/blst_headers/blst.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,17 @@ typedef __UINT64_TYPE__ uint64_t;

#ifdef __cplusplus
extern "C" {
#elif defined(__BLST_CGO__)
#elif !defined(__STDC_VERSION__) || __STDC_VERSION__<202311
# if defined(__BLST_CGO__)
typedef _Bool bool; /* it's assumed that cgo calls modern enough compiler */
#elif !defined(bool)
# if defined(__STDC_VERSION__) && __STDC_VERSION__>=199901
# define bool _Bool
# else
# define bool int
# elif !defined(bool)
# if defined(__STDC_VERSION__) && __STDC_VERSION__>=199901
# define bool _Bool
# else
# define bool int
# endif
# define __blst_h_bool__
# endif
# define __blst_h_bool__
#endif

#ifdef SWIG
Expand Down
2 changes: 1 addition & 1 deletion blst
Submodule blst updated 52 files
+9 −7 .github/workflows/ci.yml
+7 −3 .golangci.yml
+2 −2 README.md
+9 −7 bindings/blst.h
+32 −7 bindings/blst.swg
+1 −1 bindings/c#/poc.csproj
+10 −6 bindings/go/README.md
+594 −262 bindings/go/blst.go
+63 −39 bindings/go/blst.tgo
+39 −26 bindings/go/blst_htoc_test.go
+1 −1 bindings/go/blst_miller_loop_test.go
+35 −29 bindings/go/blst_minpk.tgo
+43 −36 bindings/go/blst_minpk_test.go
+43 −36 bindings/go/blst_minsig_test.go
+44 −37 bindings/go/blst_misc.tgo
+219 −74 bindings/go/blst_px.tgo
+1 −0 bindings/go/generate.py
+19 −6 bindings/python/run.me
+3 −5 bindings/rust/Cargo.toml
+6 −5 bindings/rust/README.md
+354 −47 bindings/rust/src/lib.rs
+18 −0 bindings/rust/src/pippenger-no_std.rs
+117 −1 bindings/rust/src/pippenger.rs
+29 −1 build.bat
+13 −2 build.sh
+4 −2 build/cheri/ct_inverse_mod_256-armv8.S
+4 −2 build/cheri/ct_inverse_mod_384-armv8.S
+2 −0 build/cheri/mul_mont_384-armv8.S
+2 −0 build/cheri/sha256-armv8.S
+4 −2 build/coff/ct_inverse_mod_256-armv8.S
+4 −2 build/coff/ct_inverse_mod_384-armv8.S
+2 −0 build/coff/mul_mont_384-armv8.S
+2 −0 build/coff/sha256-armv8.S
+4 −2 build/elf/ct_inverse_mod_256-armv8.S
+4 −2 build/elf/ct_inverse_mod_384-armv8.S
+2 −0 build/elf/mul_mont_384-armv8.S
+2 −0 build/elf/sha256-armv8.S
+4 −2 build/mach-o/ct_inverse_mod_256-armv8.S
+4 −2 build/mach-o/ct_inverse_mod_384-armv8.S
+2 −0 build/mach-o/mul_mont_384-armv8.S
+2 −0 build/mach-o/sha256-armv8.S
+14 −0 build/srcroot.go
+4 −2 build/win64/ct_inverse_mod_256-armv8.asm
+4 −2 build/win64/ct_inverse_mod_384-armv8.asm
+2 −0 build/win64/mul_mont_384-armv8.asm
+2 −0 build/win64/sha256-armv8.asm
+8 −0 src/asm/arm-xlate.pl
+4 −2 src/asm/ct_inverse_mod_256-armv8.pl
+4 −2 src/asm/ct_inverse_mod_384-armv8.pl
+2 −0 src/asm/mul_mont_384-armv8.pl
+2 −0 src/asm/sha256-armv8.pl
+2 −2 src/cpuid.c
6 changes: 3 additions & 3 deletions fuzz/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.19

require (
github.com/stretchr/testify v1.8.1
github.com/supranational/blst v0.3.12
github.com/supranational/blst v0.3.14
gopkg.in/yaml.v3 v3.0.1
)

Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/
github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk=
github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
github.com/supranational/blst v0.3.12 h1:Vfas2U2CFHhniv2QkUm2OVa1+pGTdqtpqm9NnhUUbZ8=
github.com/supranational/blst v0.3.12/go.mod h1:jZJtfjgudtNl4en1tzwPIV3KjUnQUvG3/j+w+fVonLw=
github.com/supranational/blst v0.3.14 h1:xNMoHRJOTwMn63ip6qoWJ2Ymgvj7E2b9jY2FAwY+qRo=
github.com/supranational/blst v0.3.14/go.mod h1:jZJtfjgudtNl4en1tzwPIV3KjUnQUvG3/j+w+fVonLw=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
Expand Down

0 comments on commit 2d8c7f5

Please sign in to comment.