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

Verify the claimed points have the same 252-bit discrete logarithm

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Returns a new instance of the invocant that will be marked with M. Read more

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.