[−][src]Struct dusk_blindbidproof::Proof
Fields
proof: R1CSProof
commitments: Vec<CompressedRistretto>
t_c: Vec<CompressedRistretto>
Methods
impl Proof
[src]
pub fn new(
proof: R1CSProof,
commitments: Vec<CompressedRistretto>,
t_c: Vec<CompressedRistretto>
) -> Self
[src]
proof: R1CSProof,
commitments: Vec<CompressedRistretto>,
t_c: Vec<CompressedRistretto>
) -> Self
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]
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>
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.
fn try_from(bytes: Vec<u8>) -> Result<Self, Self::Error>
[src]
impl TryInto<Vec<u8>> for Proof
[src]
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]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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]
U: FromCast<T>,
impl<T> FromBits<T> for T
[src]
impl<T, U> IntoBits<U> for T where
U: FromBits<T>,
[src]
U: FromBits<T>,