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

pub struct PartyAwaitingPolyChallenge {
    z: Scalar,
    offset_z: 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

z: Scalaroffset_z: 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> 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, 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.