[][src]Struct bulletproofs::range_proof_mpc::party::PartyAwaitingPolyChallenge

pub struct PartyAwaitingPolyChallenge {
    offset_zz: Scalar,
    l_poly: VecPoly1,
    r_poly: VecPoly1,
    t_poly: Poly2,
    v_blinding: Scalar,
    a_blinding: Scalar,
    s_blinding: Scalar,
    t_1_blinding: Scalar,
    t_2_blinding: Scalar,
}

A party which has committed to their polynomial coefficents and is waiting for the polynomial challenge from the dealer.

Fields

offset_zz: Scalarl_poly: VecPoly1r_poly: VecPoly1t_poly: Poly2v_blinding: Scalara_blinding: Scalars_blinding: Scalart_1_blinding: Scalart_2_blinding: Scalar

Methods

impl PartyAwaitingPolyChallenge[src]

pub fn apply_challenge(self, pc: &PolyChallenge) -> Result<ProofShare, MPCError>[src]

Receive a PolyChallenge from the dealer and compute the party's proof share.

Trait Implementations

impl Drop for PartyAwaitingPolyChallenge[src]

Overwrite secrets with null bytes when they go out of scope.

Auto Trait Implementations

impl RefUnwindSafe for PartyAwaitingPolyChallenge

impl Send for PartyAwaitingPolyChallenge

impl Sync for PartyAwaitingPolyChallenge

impl Unpin for PartyAwaitingPolyChallenge

impl UnwindSafe for PartyAwaitingPolyChallenge

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, U> Cast<U> for T where
    U: FromCast<T>, 

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

impl<T> FromBits<T> for T

impl<T> FromCast<T> for T

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

impl<T, U> IntoBits<U> for T where
    U: FromBits<T>, 

impl<T> Same<T> for T

type Output = T

Should always be Self

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.