Trait ocelot::ot::CorrelatedSender
source · pub trait CorrelatedSender: Senderwhere
Self: Sized,{
// Required method
fn send_correlated<C: AbstractChannel, RNG: CryptoRng + Rng>(
&mut self,
channel: &mut C,
deltas: &[Self::Msg],
rng: &mut RNG
) -> Result<Vec<(Self::Msg, Self::Msg)>, Error>;
}
Expand description
Trait for one-out-of-two correlated oblivious transfer from the sender’s point-of-view.
Required Methods§
Correlated oblivious transfer send. Takes as input an array deltas
which specifies the offset between the zero and one message.
Object Safety§
This trait is not object safe.