pub struct RespondentProof {
pub z: BigUint,
pub z_prime: BigUint,
pub t: BigUint,
pub v: BigUint,
pub w: BigUint,
pub s: BigUint,
pub s1: BigUint,
pub s2: BigUint,
pub t1: BigUint,
pub t2: BigUint,
}Expand description
Responder proof for plain MtA: knowledge of (x, y, r) with
c₂ = c₁^x·Γ^y·r^N mod N², x ∈ [0, q³], y ∈ [0, q⁷].
Fields§
§z: BigUintCommitment h₁^x·h₂^ρ mod Ñ (binds the secret x).
z_prime: BigUintAnnouncement h₁^α·h₂^{ρ'} mod Ñ.
t: BigUintCommitment h₁^y·h₂^σ mod Ñ (binds the mask y).
v: BigUintAnnouncement c₁^α·Γ^γ·β^N mod N².
w: BigUintAnnouncement h₁^γ·h₂^τ mod Ñ.
s: BigUintResponse r^e·β mod N.
s1: BigUintResponse e·x + α (checked ≤ q³).
s2: BigUintResponse e·ρ + ρ'.
t1: BigUintResponse e·y + γ (checked ≤ q⁷).
t2: BigUintResponse e·σ + τ.
Trait Implementations§
Source§impl Clone for RespondentProof
impl Clone for RespondentProof
Source§fn clone(&self) -> RespondentProof
fn clone(&self) -> RespondentProof
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RespondentProof
impl RefUnwindSafe for RespondentProof
impl Send for RespondentProof
impl Sync for RespondentProof
impl Unpin for RespondentProof
impl UnsafeUnpin for RespondentProof
impl UnwindSafe for RespondentProof
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more