File tree Expand file tree Collapse file tree 2 files changed +1
-21
lines changed Expand file tree Collapse file tree 2 files changed +1
-21
lines changed Original file line number Diff line number Diff line change 27
27
_hash : PhantomData < D > ,
28
28
}
29
29
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
-
50
30
/// Tuple (g, g_hat, h, h_hat)
51
31
///
52
32
/// subject to proving: DLOG_{g}(g_hat) == DLOG_{h}(h_hat)
Original file line number Diff line number Diff line change 6
6
//! # Example
7
7
//! ```
8
8
//! use timeboost_crypto::prelude::*;
9
- //! use timeboost_crypto::mre::encrypt;
10
9
//! use ark_std::rand;
11
10
//!
12
11
//! let rng = &mut rand::thread_rng();
@@ -39,6 +38,7 @@ use spongefish::DigestBridge;
39
38
use crate :: { feldman, mre, sg_encryption, vess} ;
40
39
41
40
pub use crate :: feldman:: FeldmanVssPublicParam ;
41
+ pub use crate :: mre:: encrypt;
42
42
pub use crate :: sg_encryption:: Plaintext ;
43
43
pub use crate :: traits:: dkg:: { KeyResharing , VerifiableSecretSharing } ;
44
44
pub use crate :: traits:: tpke:: { ThresholdEncError , ThresholdEncScheme } ;
You can’t perform that action at this time.
0 commit comments