[][src]Struct bulletproofs::range_proof_mpc::messages::ProofShare

pub struct ProofShare {
    pub(super) t_x: Scalar,
    pub(super) t_x_blinding: Scalar,
    pub(super) e_blinding: Scalar,
    pub(super) l_vec: Vec<Scalar>,
    pub(super) r_vec: Vec<Scalar>,
}

A party's proof share, ready for aggregation into the final RangeProof.

Fields

t_x: Scalart_x_blinding: Scalare_blinding: Scalarl_vec: Vec<Scalar>r_vec: Vec<Scalar>

Methods

impl ProofShare[src]

pub(super) fn audit_share(
    &self,
    bp_gens: &BulletproofGens,
    pc_gens: &PedersenGens,
    j: usize,
    bit_commitment: &BitCommitment,
    bit_challenge: &BitChallenge,
    poly_commitment: &PolyCommitment,
    poly_challenge: &PolyChallenge
) -> Result<(), ()>
[src]

Audit an individual proof share to determine whether it is malformed.

Trait Implementations

impl Clone for ProofShare[src]

impl Debug for ProofShare[src]

impl<'de> Deserialize<'de> for ProofShare[src]

impl Serialize for ProofShare[src]

Auto Trait Implementations

impl RefUnwindSafe for ProofShare

impl Send for ProofShare

impl Sync for ProofShare

impl Unpin for ProofShare

impl UnwindSafe for ProofShare

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.