pub struct EqAll<S, N> { /* private fields */ }
Expand description

Combinator for proving any number of statements of the same kind have the same witness.

Implementations

Create a EqAll<N,S> from a Sigma protocol S.

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

Returns the “default value” for a type. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

The witness for the relation.

The elements of the statement the prover is proving.

The type for the secret the prover creates when generating the proof.

The type for the public announcement the prover sends in the first round of the protocol.

The type for the response the prover sends in the last round of the protocol.

The length as a typenum Read more

Generates the prover’s response for the verifier’s challenge.

Generates the secret data to create the announcement

Generates the prover’s announcement message.

Uniformly samples a response from the response space of the Sigma protocol.

Computes what the announcement must be for the response to be valid.

Hashes the statement.

Hashes the announcement.

Hashes the witness.

Asks the thing to write itself to W.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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)

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

Converts the given value to a String. 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.