Struct ark_poly_commit::ipa_pc::UniversalParams [−][src]
pub struct UniversalParams<G: AffineCurve> { pub comm_key: Vec<G>, pub h: G, pub s: G, }
Expand description
UniversalParams
are the universal parameters for the inner product arg scheme.
Fields
comm_key: Vec<G>
The key used to commit to polynomials.
h: G
Some group generator.
s: G
Some group generator specifically used for hiding.
Trait Implementations
Reads Self
from reader
.
Reads Self
from reader
without compression.
Reads self
from reader
without compression, and without performing
validity checks. Should be used only when the input is trusted. Read more
Serializes self
into writer
.
It is left up to a particular type for how it strikes the
serialization efficiency vs compression tradeoff.
For standard types (e.g. bool
, lengths, etc.) typically an uncompressed
form is used, whereas for algebraic types compressed forms are used. Read more
Serializes self
into writer
without compression.
Serializes self
into writer
without compression, and without
performing validity checks. Should be used only when there is no
danger of adversarial manipulation of the output. Read more
Outputs the maximum degree supported by the committer key.
Auto Trait Implementations
impl<G> RefUnwindSafe for UniversalParams<G> where
G: RefUnwindSafe,
impl<G> Send for UniversalParams<G>
impl<G> Sync for UniversalParams<G>
impl<G> Unpin for UniversalParams<G> where
G: Unpin,
impl<G> UnwindSafe for UniversalParams<G> where
G: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
fn hash_uncompressed<H>(&self) -> GenericArray<u8, <H as Digest>::OutputSize> where
H: Digest,
[src]type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V