Skip to main content

prove_respondent

Function prove_respondent 

Source
pub fn prove_respondent(
    q: &BigUint,
    paillier: &PaillierPublicKey,
    ck: &CommitmentKey,
    c1: &BigUint,
    c2: &BigUint,
    x: &BigUint,
    y: &BigUint,
    r: &BigUint,
) -> RespondentProof
Expand description

Prove the responder statement for c₂ = c₁^x·Γ^y·r^N mod N², where r is the Paillier randomness used for the Γ^y term.