Skip to content

Commit

Permalink
Update rust crate version to v0.3.4.
Browse files Browse the repository at this point in the history
  • Loading branch information
simonatsn committed Apr 2, 2021
1 parent c2fc391 commit 624d035
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
14 changes: 8 additions & 6 deletions bindings/go/blst.go
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,10 @@ func (dummy *P2Affine) VerifyCompressed(sig []byte, sigGroupcheck bool,
}

// Aggregate verify with uncompressed signature and public keys
// Note that checking message uniqueness, if required, is left to the user.
// Not all signature schemes require it and this keeps the binding minimal
// and fast. Refer to the Uniq function for one method method of performing
// this check.
func (sig *P2Affine) AggregateVerify(sigGroupcheck bool,
pks []*P1Affine, pksVerify bool, msgs []Message, dst []byte,
optional ...interface{}) bool { // useHash bool, augs [][]byte
Expand Down Expand Up @@ -670,9 +674,6 @@ type P2Aggregate struct {
}

// Aggregate uncompressed elements
// Note that checking message uniqueness, if required, is left to the user.
// Not all signature schemes require it and this keeps the binding minimal
// and fast.
func (agg *P2Aggregate) Aggregate(elmts []*P2Affine,
groupcheck bool) bool {
if len(elmts) == 0 {
Expand Down Expand Up @@ -914,6 +915,10 @@ func (dummy *P1Affine) VerifyCompressed(sig []byte, sigGroupcheck bool,
}

// Aggregate verify with uncompressed signature and public keys
// Note that checking message uniqueness, if required, is left to the user.
// Not all signature schemes require it and this keeps the binding minimal
// and fast. Refer to the Uniq function for one method method of performing
// this check.
func (sig *P1Affine) AggregateVerify(sigGroupcheck bool,
pks []*P2Affine, pksVerify bool, msgs []Message, dst []byte,
optional ...interface{}) bool { // useHash bool, augs [][]byte
Expand Down Expand Up @@ -1271,9 +1276,6 @@ type P1Aggregate struct {
}

// Aggregate uncompressed elements
// Note that checking message uniqueness, if required, is left to the user.
// Not all signature schemes require it and this keeps the binding minimal
// and fast.
func (agg *P1Aggregate) Aggregate(elmts []*P1Affine,
groupcheck bool) bool {
if len(elmts) == 0 {
Expand Down
7 changes: 4 additions & 3 deletions bindings/go/blst_minpk.tgo
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@ func (dummy *P2Affine) VerifyCompressed(sig []byte, sigGroupcheck bool,
}

// Aggregate verify with uncompressed signature and public keys
// Note that checking message uniqueness, if required, is left to the user.
// Not all signature schemes require it and this keeps the binding minimal
// and fast. Refer to the Uniq function for one method method of performing
// this check.
func (sig *P2Affine) AggregateVerify(sigGroupcheck bool,
pks []*P1Affine, pksVerify bool, msgs []Message, dst []byte,
optional ...interface{}) bool { // useHash bool, augs [][]byte
Expand Down Expand Up @@ -440,9 +444,6 @@ type P2Aggregate struct {
}

// Aggregate uncompressed elements
// Note that checking message uniqueness, if required, is left to the user.
// Not all signature schemes require it and this keeps the binding minimal
// and fast.
func (agg *P2Aggregate) Aggregate(elmts []*P2Affine,
groupcheck bool) bool {
if len(elmts) == 0 {
Expand Down
2 changes: 1 addition & 1 deletion bindings/rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "blst"
version = "0.3.3"
version = "0.3.4"
authors = ["sean-sn <sean@supranational.net>"]
edition = "2018"
license = "Apache-2.0"
Expand Down

0 comments on commit 624d035

Please sign in to comment.