Skip to content

Commit 9ca798e

Browse files
committed
Change the reddsa dependency to ironfish-reddsa
1 parent d4681df commit 9ca798e

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ chacha20poly1305 = "0.10.1"
1515
ed25519-dalek = { version = "2.1.0", default-features = false, features = ["rand_core", "alloc"] }
1616
rand_chacha = { version = "0.3.1", optional = true, default-features = false }
1717
rand_core = { version = "0.6.4", default-features = false, features = ["alloc"] }
18-
reddsa = { git = "https://github.com/ZcashFoundation/reddsa.git", rev="ed49e9ca0699a6450f6d4a9fe62ff168f5ea1ead", features = ["frost"], default-features = false }
18+
ironfish-reddsa = { version = "0.1.0", default-features = false, features = ["frost"] }
1919
siphasher = { version = "1.0.0", default-features = false }
2020
x25519-dalek = { version = "2.0.0", default-features = false, features = ["reusable_secrets", "static_secrets"] }
2121

@@ -26,6 +26,6 @@ rand = "0.8.5"
2626
[features]
2727
default = ["dkg", "signing", "std"]
2828

29-
std = ["reddsa/std"]
29+
std = ["ironfish-reddsa/std"]
3030
signing = ["dep:blake3", "dep:rand_chacha"]
3131
dkg = []

src/dkg/round3.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ use crate::serde::write_u16;
2222
use crate::serde::write_variable_length;
2323
use crate::serde::write_variable_length_bytes;
2424
use core::borrow::Borrow;
25-
use reddsa::frost::redjubjub::keys::dkg::round1::Package as Round1Package;
26-
use reddsa::frost::redjubjub::keys::dkg::round2::Package as Round2Package;
27-
use reddsa::frost::redjubjub::VerifyingKey;
25+
use ironfish_reddsa::frost::redjubjub::keys::dkg::round1::Package as Round1Package;
26+
use ironfish_reddsa::frost::redjubjub::keys::dkg::round2::Package as Round2Package;
27+
use ironfish_reddsa::frost::redjubjub::VerifyingKey;
2828

2929
#[cfg(feature = "std")]
3030
use std::collections::BTreeMap;
@@ -342,10 +342,10 @@ mod tests {
342342
extern crate alloc;
343343
use alloc::vec::Vec;
344344
use hex_literal::hex;
345+
use ironfish_reddsa::frost::redjubjub::keys::split;
346+
use ironfish_reddsa::frost::redjubjub::SigningKey;
347+
use ironfish_reddsa::frost::redpallas::frost::keys::IdentifierList;
345348
use rand::thread_rng;
346-
use reddsa::frost::redjubjub::keys::split;
347-
use reddsa::frost::redjubjub::SigningKey;
348-
use reddsa::frost::redpallas::frost::keys::IdentifierList;
349349

350350
#[test]
351351
fn public_pkg_serialization_roundtrip() {

src/error.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
* License, v. 2.0. If a copy of the MPL was not distributed with this
33
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
44

5-
use reddsa::frost::redjubjub::frost::Error as FrostError;
6-
use reddsa::frost::redjubjub::JubjubBlake2b512;
5+
use ironfish_reddsa::frost::redjubjub::frost::Error as FrostError;
6+
use ironfish_reddsa::frost::redjubjub::JubjubBlake2b512;
77

88
use crate::io;
99

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ pub mod signature_share;
2727
#[cfg(feature = "signing")]
2828
pub mod signing_commitment;
2929

30-
pub use reddsa::frost::redjubjub as frost;
30+
pub use ironfish_reddsa::frost::redjubjub as frost;
3131

3232
#[cfg(feature = "std")]
3333
mod io {

src/signature_share.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
use crate::io;
66

7-
use reddsa::frost::redjubjub::round2::SignatureShare as FrostSignatureShare;
7+
use ironfish_reddsa::frost::redjubjub::round2::SignatureShare as FrostSignatureShare;
88

99
use crate::{
1010
error::IronfishFrostError,

0 commit comments

Comments
 (0)