From 624d0351000111276aa70a32145945d2645e49a9 Mon Sep 17 00:00:00 2001 From: Simon Peffers Date: Fri, 2 Apr 2021 17:13:07 -0400 Subject: [PATCH] Update rust crate version to v0.3.4. --- bindings/go/blst.go | 14 ++++++++------ bindings/go/blst_minpk.tgo | 7 ++++--- bindings/rust/Cargo.toml | 2 +- 3 files changed, 13 insertions(+), 10 deletions(-) diff --git a/bindings/go/blst.go b/bindings/go/blst.go index 7009ae14..71a5b9d5 100644 --- a/bindings/go/blst.go +++ b/bindings/go/blst.go @@ -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 @@ -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 { @@ -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 @@ -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 { diff --git a/bindings/go/blst_minpk.tgo b/bindings/go/blst_minpk.tgo index ee83335b..072c4317 100644 --- a/bindings/go/blst_minpk.tgo +++ b/bindings/go/blst_minpk.tgo @@ -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 @@ -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 { diff --git a/bindings/rust/Cargo.toml b/bindings/rust/Cargo.toml index 83075524..1e671a31 100644 --- a/bindings/rust/Cargo.toml +++ b/bindings/rust/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "blst" -version = "0.3.3" +version = "0.3.4" authors = ["sean-sn "] edition = "2018" license = "Apache-2.0"