Struct bellperson::groth16::aggregate::AggregateProof[][src]

pub struct AggregateProof<E: Engine> {
    pub com_ab: Output<E>,
    pub com_c: Output<E>,
    pub ip_ab: E::Fqk,
    pub agg_c: E::G1,
    pub tmipp: TippMippProof<E>,
}
Expand description

AggregateProof contains all elements to verify n aggregated Groth16 proofs using inner pairing product arguments. This proof can be created by any party in possession of valid Groth16 proofs.

Fields

com_ab: Output<E>

commitment to A and B using the pair commitment scheme needed to verify TIPP relation.

com_c: Output<E>

commit to C separate since we use it only in MIPP

ip_ab: E::Fqk

$A^r * B = Z$ is the left value on the aggregated Groth16 equation

agg_c: E::G1

$C^r$ is used on the right side of the aggregated Groth16 equation

tmipp: TippMippProof<E>

Implementations

Performs some high level checks on the length of vectors and others to make sure all items in the proofs are consistent with each other.

Writes the agggregated proof into the provided buffer.

Returns the number of bytes this proof is serialized to.

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

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

This method tests for !=.

Serialize this value into the given Serde serializer. 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.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

Should always be Self

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.