Skip to content

Commit bf81765

Browse files
committed
bump versions and rename crate
Signed-off-by: lovesh <lovesh.bond@gmail.com>
1 parent 26da956 commit bf81765

File tree

23 files changed

+61
-61
lines changed

23 files changed

+61
-61
lines changed

bbs_plus/Cargo.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "bbs_plus"
3-
version = "0.13.0"
3+
version = "0.14.0"
44
edition.workspace = true
55
authors.workspace = true
66
license.workspace = true
@@ -19,10 +19,10 @@ ark-std.workspace = true
1919
digest.workspace = true
2020
rayon = {workspace = true, optional = true}
2121
itertools = "0.10.5"
22-
schnorr_pok = { version = "0.10.0", default-features = false, path = "../schnorr_pok" }
23-
dock_crypto_utils = { version = "0.11.0", default-features = false, path = "../utils" }
24-
oblivious_transfer = { version = "0.1.0", default-features = false, path = "../oblivious_transfer" }
25-
secret_sharing_and_dkg = { version = "0.3.0", default-features = false, path = "../secret_sharing_and_dkg" }
22+
schnorr_pok = { version = "0.11.0", default-features = false, path = "../schnorr_pok" }
23+
dock_crypto_utils = { version = "0.12.0", default-features = false, path = "../utils" }
24+
oblivious_transfer_protocols = { version = "0.1.0", default-features = false, path = "../oblivious_transfer" }
25+
secret_sharing_and_dkg = { version = "0.4.0", default-features = false, path = "../secret_sharing_and_dkg" }
2626
sha3 = { version = "0.10.6", default-features = false }
2727
serde.workspace = true
2828
serde_with.workspace = true
@@ -37,6 +37,6 @@ ark-poly.workspace = true
3737

3838
[features]
3939
default = [ "parallel" ]
40-
std = [ "ark-ff/std", "ark-ec/std", "ark-std/std", "ark-serialize/std", "schnorr_pok/std", "dock_crypto_utils/std", "serde/std", "oblivious_transfer/std"]
40+
std = [ "ark-ff/std", "ark-ec/std", "ark-std/std", "ark-serialize/std", "schnorr_pok/std", "dock_crypto_utils/std", "serde/std", "oblivious_transfer_protocols/std"]
4141
print-trace = [ "ark-std/print-trace", "schnorr_pok/print-trace", "dock_crypto_utils/print-trace" ]
42-
parallel = [ "std", "ark-ff/parallel", "ark-ec/parallel", "ark-std/parallel", "rayon", "schnorr_pok/parallel", "dock_crypto_utils/parallel", "oblivious_transfer/parallel"]
42+
parallel = [ "std", "ark-ff/parallel", "ark-ec/parallel", "ark-std/parallel", "rayon", "schnorr_pok/parallel", "dock_crypto_utils/parallel", "oblivious_transfer_protocols/parallel"]

bbs_plus/src/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use dock_crypto_utils::{
66
serde_utils::ArkSerializationError,
77
try_iter::{IndexIsOutOfBounds, InvalidPair},
88
};
9-
use oblivious_transfer::{error::OTError, ParticipantId};
9+
use oblivious_transfer_protocols::{error::OTError, ParticipantId};
1010
use schnorr_pok::error::SchnorrError;
1111
use serde::Serialize;
1212

bbs_plus/src/threshold/base_ot_phase.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use ark_std::{
1010
UniformRand,
1111
};
1212
use digest::Digest;
13-
use oblivious_transfer::{
13+
use oblivious_transfer_protocols::{
1414
base_ot::simplest_ot::{
1515
Challenges, HashedKey, OneOfTwoROTSenderKeys, ROTReceiverKeys, ROTSenderSetup,
1616
ReceiverPubKeys, Responses, SecretKnowledgeProof, SenderPubKey, VSROTChallenger,

bbs_plus/src/threshold/commitment.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use ark_std::{cfg_into_iter, collections::BTreeMap, rand::RngCore, vec, vec::Vec
77
use digest::Digest;
88
use sha3::Sha3_256;
99

10-
use oblivious_transfer::ParticipantId;
10+
use oblivious_transfer_protocols::ParticipantId;
1111

1212
use crate::error::BBSPlusError;
1313

bbs_plus/src/threshold/multiplication_phase.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use ark_std::{
1010
use digest::DynDigest;
1111
use dock_crypto_utils::transcript::Merlin;
1212
use itertools::interleave;
13-
use oblivious_transfer::{
13+
use oblivious_transfer_protocols::{
1414
ot_based_multiplication::{
1515
dkls18_mul_2p::MultiplicationOTEParams,
1616
dkls19_batch_mul_2p::{GadgetVector, MaskedInputs, Party1, Party2, RLC},

bbs_plus/src/threshold/randomness_generation_phase.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ use ark_ff::PrimeField;
99
use ark_serialize::{CanonicalDeserialize, CanonicalSerialize};
1010
use ark_std::vec::Vec;
1111
use digest::DynDigest;
12-
use oblivious_transfer::ParticipantId;
12+
use oblivious_transfer_protocols::ParticipantId;
1313

1414
/// This is the first phase of the signing protocol where parties generate random values, jointly and
1515
/// individually including additive shares of 0.

bbs_plus/src/threshold/threshold_bbs.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ use crate::{
1717
signature_23::Signature23G1,
1818
threshold::randomness_generation_phase::Phase1,
1919
};
20-
use oblivious_transfer::ParticipantId;
20+
use oblivious_transfer_protocols::ParticipantId;
2121

2222
/// The length of vectors `r`, `e`, `masked_signing_key_shares`, `masked_rs` should
2323
/// be `batch_size` each item of the vector corresponds to 1 signature
@@ -196,7 +196,7 @@ pub mod tests {
196196
UniformRand,
197197
};
198198
use blake2::Blake2b512;
199-
use oblivious_transfer::ot_based_multiplication::{
199+
use oblivious_transfer_protocols::ot_based_multiplication::{
200200
dkls18_mul_2p::MultiplicationOTEParams, dkls19_batch_mul_2p::GadgetVector,
201201
};
202202

bbs_plus/src/threshold/threshold_bbs_plus.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ use ark_std::{
99
vec::Vec,
1010
};
1111
use digest::DynDigest;
12-
use oblivious_transfer::ParticipantId;
12+
use oblivious_transfer_protocols::ParticipantId;
1313

1414
use crate::{
1515
error::BBSPlusError,
@@ -203,7 +203,7 @@ pub mod tests {
203203
base_ot_phase::tests::do_base_ot_for_threshold_sig, multiplication_phase::Phase2,
204204
},
205205
};
206-
use oblivious_transfer::ot_based_multiplication::{
206+
use oblivious_transfer_protocols::ot_based_multiplication::{
207207
dkls18_mul_2p::MultiplicationOTEParams, dkls19_batch_mul_2p::GadgetVector,
208208
};
209209

bbs_plus/src/threshold/utils.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use ark_ec::{AffineRepr, CurveGroup};
33
use ark_ff::PrimeField;
44
use ark_std::{cfg_into_iter, ops::Mul, vec::Vec};
55
use itertools::Itertools;
6-
use oblivious_transfer::ParticipantId;
6+
use oblivious_transfer_protocols::ParticipantId;
77

88
#[cfg(feature = "parallel")]
99
use rayon::prelude::*;

bbs_plus/src/threshold/zero_sharing.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ use ark_std::{
1717
vec::Vec,
1818
};
1919
use digest::DynDigest;
20-
use oblivious_transfer::ParticipantId;
20+
use oblivious_transfer_protocols::ParticipantId;
2121

2222
// TODO: This should be generic over the size of random committed seeds. Called lambda in the paper
2323
#[derive(Clone, Debug, PartialEq, CanonicalSerialize, CanonicalDeserialize)]

0 commit comments

Comments
 (0)