Skip to content

Commit f16b848

Browse files
committed
Fix lint.
1 parent 9bdc678 commit f16b848

File tree

2 files changed

+1
-21
lines changed

2 files changed

+1
-21
lines changed

timeboost-crypto/src/cp_proof.rs

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -27,26 +27,6 @@ where
2727
_hash: PhantomData<D>,
2828
}
2929

30-
pub struct CPParameters<C, D>
31-
where
32-
C: CurveGroup,
33-
D: DuplexSpongeInterface,
34-
{
35-
_hash: PhantomData<D>,
36-
pub generator: C,
37-
pub io_pattern: DomainSeparator<D>,
38-
}
39-
40-
impl<C: CurveGroup, D: DuplexSpongeInterface> Clone for CPParameters<C, D> {
41-
fn clone(&self) -> Self {
42-
Self {
43-
_hash: PhantomData,
44-
generator: self.generator,
45-
io_pattern: self.io_pattern.clone(),
46-
}
47-
}
48-
}
49-
5030
/// Tuple (g, g_hat, h, h_hat)
5131
///
5232
/// subject to proving: DLOG_{g}(g_hat) == DLOG_{h}(h_hat)

timeboost-crypto/src/prelude.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
//! # Example
77
//! ```
88
//! use timeboost_crypto::prelude::*;
9-
//! use timeboost_crypto::mre::encrypt;
109
//! use ark_std::rand;
1110
//!
1211
//! let rng = &mut rand::thread_rng();
@@ -39,6 +38,7 @@ use spongefish::DigestBridge;
3938
use crate::{feldman, mre, sg_encryption, vess};
4039

4140
pub use crate::feldman::FeldmanVssPublicParam;
41+
pub use crate::mre::encrypt;
4242
pub use crate::sg_encryption::Plaintext;
4343
pub use crate::traits::dkg::{KeyResharing, VerifiableSecretSharing};
4444
pub use crate::traits::tpke::{ThresholdEncError, ThresholdEncScheme};

0 commit comments

Comments
 (0)