[][src]Struct dusk_blindbidproof::Proof

pub struct Proof {
    pub proof: R1CSProof,
    pub commitments: Vec<CompressedRistretto>,
    pub t_c: Vec<CompressedRistretto>,
}

Fields

proof: R1CSProofcommitments: Vec<CompressedRistretto>t_c: Vec<CompressedRistretto>

Methods

impl Proof[src]

pub fn new(
    proof: R1CSProof,
    commitments: Vec<CompressedRistretto>,
    t_c: Vec<CompressedRistretto>
) -> Self
[src]

pub fn prove(
    d: Scalar,
    k: Scalar,
    y: Scalar,
    y_inv: Scalar,
    q: Scalar,
    z_img: Scalar,
    seed: Scalar,
    pub_list: Vec<Scalar>,
    toggle: u64
) -> Result<Self, Error>
[src]

pub fn try_from_reader_variables<R: Read>(reader: R) -> Result<Self, Error>[src]

Perform the deserialization of a request.

Currently the recommended method from TlvReaderis read_list instead of standard list deserialization

Trait Implementations

impl Clone for Proof[src]

impl Debug for Proof[src]

impl TryFrom<Vec<u8>> for Proof[src]

type Error = Error

The type returned in the event of a conversion error.

impl TryInto<Vec<u8>> for Proof[src]

type Error = Error

The type returned in the event of a conversion error.

Auto Trait Implementations

impl Send for Proof

impl Sync for Proof

impl Unpin for Proof

impl UnwindSafe for Proof

impl RefUnwindSafe for Proof

Blanket Implementations

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

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

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.

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

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

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

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

type Output = T

Should always be Self

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

impl<T, U> Cast<U> for T where
    U: FromCast<T>, 
[src]

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

impl<T, U> IntoBits<U> for T where
    U: FromBits<T>, 
[src]