pub struct PreparedCircuitVerifyingKey<E: PairingEngine, MM: MarlinMode> {
pub constraint_domain_size: u64,
pub non_zero_a_domain_size: u64,
pub non_zero_b_domain_size: u64,
pub non_zero_c_domain_size: u64,
pub orig_vk: CircuitVerifyingKey<E, MM>,
}
Expand description
Verification key, prepared (preprocessed) for use in pairings.
Fields§
§constraint_domain_size: u64
Size of the variable domain.
non_zero_a_domain_size: u64
Size of the domain that represents A.
non_zero_b_domain_size: u64
Size of the domain that represents B.
non_zero_c_domain_size: u64
Size of the domain that represents C.
orig_vk: CircuitVerifyingKey<E, MM>
Non-prepared verification key, for use in native “prepared verify” (which is actually standard verify), as well as in absorbing the original vk into the Fiat-Shamir sponge.
Trait Implementations§
source§impl<E: Clone + PairingEngine, MM: Clone + MarlinMode> Clone for PreparedCircuitVerifyingKey<E, MM>
impl<E: Clone + PairingEngine, MM: Clone + MarlinMode> Clone for PreparedCircuitVerifyingKey<E, MM>
source§fn clone(&self) -> PreparedCircuitVerifyingKey<E, MM>
fn clone(&self) -> PreparedCircuitVerifyingKey<E, MM>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<E: PairingEngine, MM: MarlinMode> From<PreparedCircuitVerifyingKey<E, MM>> for CircuitVerifyingKey<E, MM>
impl<E: PairingEngine, MM: MarlinMode> From<PreparedCircuitVerifyingKey<E, MM>> for CircuitVerifyingKey<E, MM>
source§fn from(other: PreparedCircuitVerifyingKey<E, MM>) -> Self
fn from(other: PreparedCircuitVerifyingKey<E, MM>) -> Self
Converts to this type from the input type.