pub struct ProvedMessage2 {
pub ciphertext: BigUint,
pub respondent_proof: RespondentProof,
pub beta: BigUint,
}Expand description
Proved round-2 message: bound ciphertext plus its respondent proof.
Fields§
§ciphertext: BigUintEncrypted k_i·x_j + β′ under i’s Paillier public key.
respondent_proof: RespondentProofZK proof that this ciphertext is c₁^x·Γ^{β'}·r^N with
x < q³, β′ < q⁷.
beta: BigUintThe mask β′ (party j’s negated additive share).
Trait Implementations§
Source§impl Clone for ProvedMessage2
impl Clone for ProvedMessage2
Source§fn clone(&self) -> ProvedMessage2
fn clone(&self) -> ProvedMessage2
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 ProvedMessage2
impl RefUnwindSafe for ProvedMessage2
impl Send for ProvedMessage2
impl Sync for ProvedMessage2
impl Unpin for ProvedMessage2
impl UnsafeUnpin for ProvedMessage2
impl UnwindSafe for ProvedMessage2
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