Struct sigma_fun::ext::dl_secp256k1_ed25519_eq::CrossCurveDLEQ [−][src]
pub struct CrossCurveDLEQ<T> { /* fields omitted */ }
Expand description
The proof system which prepares the high level statement to be proved/verified with
CoreProof
.
Implementations
Creates a new prover given the the additional point to be used inthe Pedersen commitment for each curve.
Generates the two corresponding points for the same 252-bit ed25519 secret and generates a proof that they have the same discrete logarithm.
Returns the proof and the two points that form the equality claim.
Panics
- If the secret is larger than 2^253 -1
- If the secret is 0
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for CrossCurveDLEQ<T> where
T: RefUnwindSafe,
impl<T> Send for CrossCurveDLEQ<T> where
T: Send,
impl<T> Sync for CrossCurveDLEQ<T> where
T: Sync,
impl<T> Unpin for CrossCurveDLEQ<T> where
T: Unpin,
impl<T> UnwindSafe for CrossCurveDLEQ<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a new instance of the invocant that will be marked with M
. Read more
type Output = T
type Output = T
Should always be Self