Skip to content

Commit 0023be5

Browse files
committed
Bump versions and misc small changes
Signed-off-by: lovesh <lovesh.bond@gmail.com>
1 parent 9d1b031 commit 0023be5

46 files changed

Lines changed: 230 additions & 270 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

bbs_plus/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "bbs_plus"
3-
version = "0.24.0"
3+
version = "0.25.0"
44
edition.workspace = true
55
authors.workspace = true
66
license.workspace = true
@@ -23,10 +23,10 @@ itertools.workspace = true
2323
serde.workspace = true
2424
serde_with.workspace = true
2525
zeroize.workspace = true
26-
schnorr_pok = { version = "0.22.0", default-features = false, path = "../schnorr_pok" }
27-
dock_crypto_utils = { version = "0.22.0", default-features = false, path = "../utils" }
28-
oblivious_transfer_protocols = { version = "0.11.0", default-features = false, path = "../oblivious_transfer" }
29-
secret_sharing_and_dkg = { version = "0.15.0", default-features = false, path = "../secret_sharing_and_dkg" }
26+
schnorr_pok = { version = "0.23.0", default-features = false, path = "../schnorr_pok" }
27+
dock_crypto_utils = { version = "0.23.0", default-features = false, path = "../utils" }
28+
oblivious_transfer_protocols = { version = "0.12.0", default-features = false, path = "../oblivious_transfer" }
29+
secret_sharing_and_dkg = { version = "0.16.0", default-features = false, path = "../secret_sharing_and_dkg" }
3030

3131
[dev-dependencies]
3232
blake2.workspace = true

bulletproofs_plus_plus/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "bulletproofs_plus_plus"
3-
version = "0.8.0"
3+
version = "0.9.0"
44
edition.workspace = true
55
authors.workspace = true
66
license.workspace = true
@@ -18,7 +18,7 @@ serde.workspace = true
1818
serde_with.workspace = true
1919
zeroize.workspace = true
2020
rayon = { workspace = true, optional = true }
21-
dock_crypto_utils = { version = "0.22.0", default-features = false, path = "../utils" }
21+
dock_crypto_utils = { version = "0.23.0", default-features = false, path = "../utils" }
2222

2323
[dev-dependencies]
2424
blake2.workspace = true

coconut/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "coconut-crypto"
3-
version = "0.13.0"
3+
version = "0.14.0"
44
edition.workspace = true
55
authors.workspace = true
66
license.workspace = true
@@ -22,9 +22,9 @@ itertools.workspace = true
2222
zeroize.workspace = true
2323
serde_with.workspace = true
2424
rayon = { workspace = true, optional = true }
25-
utils = { package = "dock_crypto_utils", version = "0.22.0", default-features = false, path = "../utils" }
26-
schnorr_pok = { version = "0.22.0", default-features = false, path = "../schnorr_pok" }
27-
secret_sharing_and_dkg = { version = "0.15.0", default-features = false, path = "../secret_sharing_and_dkg" }
25+
utils = { package = "dock_crypto_utils", version = "0.23.0", default-features = false, path = "../utils" }
26+
schnorr_pok = { version = "0.23.0", default-features = false, path = "../schnorr_pok" }
27+
secret_sharing_and_dkg = { version = "0.16.0", default-features = false, path = "../secret_sharing_and_dkg" }
2828

2929
[dev-dependencies]
3030
blake2.workspace = true

compressed_sigma/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "compressed_sigma"
3-
version = "0.0.12"
3+
version = "0.0.13"
44
edition.workspace = true
55
authors.workspace = true
66
license.workspace = true
@@ -15,7 +15,7 @@ ark-std.workspace = true
1515
ark-poly.workspace = true
1616
rayon = {workspace = true, optional = true}
1717
digest.workspace = true
18-
dock_crypto_utils = { version = "0.22.0", default-features = false, path = "../utils" }
18+
dock_crypto_utils = { version = "0.23.0", default-features = false, path = "../utils" }
1919

2020
[dev-dependencies]
2121
blake2.workspace = true

delegatable_credentials/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "delegatable_credentials"
3-
version = "0.11.0"
3+
version = "0.12.0"
44
edition.workspace = true
55
authors.workspace = true
66
license.workspace = true
@@ -20,8 +20,8 @@ serde.workspace = true
2020
serde_with.workspace = true
2121
zeroize.workspace = true
2222
num-bigint = { version = "0.4.0", default-features = false }
23-
schnorr_pok = { version = "0.22.0", default-features = false, path = "../schnorr_pok" }
24-
dock_crypto_utils = { version = "0.22.0", default-features = false, path = "../utils" }
23+
schnorr_pok = { version = "0.23.0", default-features = false, path = "../schnorr_pok" }
24+
dock_crypto_utils = { version = "0.23.0", default-features = false, path = "../utils" }
2525

2626
[dependencies.num-integer]
2727
version = "0.1.42"

equality_across_groups/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "equality_across_groups"
3-
version = "0.1.0"
3+
version = "0.2.0"
44
edition.workspace = true
55
authors.workspace = true
66
license.workspace = true
@@ -16,10 +16,10 @@ ark-secp256r1.workspace = true
1616
zeroize.workspace = true
1717
rayon = {workspace = true, optional = true}
1818
crypto-bigint = { version = "0.6.0-rc.6", default-features = false, features = ["zeroize", "alloc", "rand_core"] }
19-
bulletproofs_plus_plus = { version = "0.8.0", default-features = false, path = "../bulletproofs_plus_plus" }
20-
dock_crypto_utils = { version = "0.22.0", default-features = false, path = "../utils" }
21-
schnorr_pok = { version = "0.22.0", default-features = false, path = "../schnorr_pok" }
22-
kvac = { version = "0.7.0", default-features = false, path = "../kvac" }
19+
bulletproofs_plus_plus = { version = "0.9.0", default-features = false, path = "../bulletproofs_plus_plus" }
20+
dock_crypto_utils = { version = "0.23.0", default-features = false, path = "../utils" }
21+
schnorr_pok = { version = "0.23.0", default-features = false, path = "../schnorr_pok" }
22+
kvac = { version = "0.8.0", default-features = false, path = "../kvac" }
2323

2424
[dev-dependencies]
2525
blake2.workspace = true

equality_across_groups/src/ec/sw_point_addition.rs

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ impl<P: SWPoint, C: SWPoint> PointAdditionProof<P, C> {
233233
if !self.tau_sqr.verify(
234234
self.comm_tau,
235235
(comm_a_plus_t.x + comm_b.x).into_affine(),
236-
&challenge,
236+
challenge,
237237
comm_key,
238238
) {
239239
return Err(Error::TauSquareProofFailed);
@@ -243,7 +243,7 @@ impl<P: SWPoint, C: SWPoint> PointAdditionProof<P, C> {
243243
self.comm_tau,
244244
(comm_a.x + comm_t.x.into_group().neg()).into_affine(),
245245
comm_a_plus_t.y,
246-
&challenge,
246+
challenge,
247247
comm_key,
248248
) {
249249
return Err(Error::TxProofFailed);
@@ -252,13 +252,13 @@ impl<P: SWPoint, C: SWPoint> PointAdditionProof<P, C> {
252252
self.bx_minus_ax.verify_for_inequality_with_public_value(
253253
&comm_b_minus_a.x,
254254
&C::ScalarField::zero(),
255-
&challenge,
255+
challenge,
256256
comm_key,
257257
)?;
258258

259259
if !self
260260
.ay
261-
.verify(&comm_a.y, &comm_key.g, &comm_key.h, &challenge)
261+
.verify(&comm_a.y, &comm_key.g, &comm_key.h, challenge)
262262
{
263263
return Err(Error::TyProofFailed);
264264
}
@@ -297,21 +297,20 @@ impl<P: SWPoint, C: SWPoint> PointAdditionProof<P, C> {
297297
self.comm_tau,
298298
(comm_a.x + comm_t.x.into_group().neg()).into_affine(),
299299
comm_a_plus_t.y,
300-
&challenge,
300+
challenge,
301301
comm_key,
302302
rmc,
303303
);
304304
self.bx_minus_ax
305305
.verify_for_inequality_with_public_value_using_randomized_mult_checker(
306306
comm_b_minus_a.x,
307307
&C::ScalarField::zero(),
308-
&challenge,
308+
challenge,
309309
comm_key,
310310
rmc,
311311
)?;
312-
self.ay.verify_using_randomized_mult_checker(
313-
comm_a.y, comm_key.g, comm_key.h, &challenge, rmc,
314-
);
312+
self.ay
313+
.verify_using_randomized_mult_checker(comm_a.y, comm_key.g, comm_key.h, challenge, rmc);
315314
Ok(())
316315
}
317316

kvac/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "kvac"
3-
version = "0.7.0"
3+
version = "0.8.0"
44
edition.workspace = true
55
authors.workspace = true
66
license.workspace = true
@@ -19,8 +19,8 @@ rayon = {workspace = true, optional = true}
1919
serde.workspace = true
2020
serde_with.workspace = true
2121
itertools.workspace = true
22-
dock_crypto_utils = { version = "0.22.0", default-features = false, path = "../utils" }
23-
schnorr_pok = { version = "0.22.0", default-features = false, path = "../schnorr_pok" }
22+
dock_crypto_utils = { version = "0.23.0", default-features = false, path = "../utils" }
23+
schnorr_pok = { version = "0.23.0", default-features = false, path = "../schnorr_pok" }
2424
ark-secp256r1.workspace = true
2525

2626
[dev-dependencies]

kvac/src/bbdt_2016/mac.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,6 @@ impl<G: AffineRepr> MAC<G> {
167167
s: self.s + blinding,
168168
e: self.e,
169169
}
170-
.into()
171170
}
172171
}
173172

kvac/src/bbdt_2016/proof.rs

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -137,16 +137,12 @@ impl<G: AffineRepr> PoKOfMACProtocol<G> {
137137
let msg_comm_iter = indexed_blindings
138138
.into_iter()
139139
.map(|(idx, blinding)| (params.g_vec[idx], blinding, messages[idx]));
140-
let (bases, randomness, sc_wits_msgs): (Vec<_>, Vec<_>, Vec<_>) = multiunzip(
141-
msg_comm_iter.chain(
142-
[
143-
(params.g, rand(rng), mac.s),
144-
(B_0_affine, rand(rng), lambda),
145-
(f, t_blinding, t),
146-
]
147-
.into_iter(),
148-
),
149-
);
140+
let (bases, randomness, sc_wits_msgs): (Vec<_>, Vec<_>, Vec<_>) =
141+
multiunzip(msg_comm_iter.chain([
142+
(params.g, rand(rng), mac.s),
143+
(B_0_affine, rand(rng), lambda),
144+
(f, t_blinding, t),
145+
]));
150146
let sc_comm_msgs = SchnorrCommitment::new(&bases, randomness);
151147
Ok(Self {
152148
B_0: B_0_affine,

0 commit comments

Comments
 (0)