[][src]Struct bulletproofs::range_proof::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 Send for PartyAwaitingPolyChallenge

impl Sync for PartyAwaitingPolyChallenge

Blanket Implementations

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

impl<T> From for T[src]

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

impl<T> Same for T

type Output = T

Should always be Self