Trait ocelot::ot::CorrelatedReceiver
source · [−]pub trait CorrelatedReceiver: Receiverwhere
Self: Sized,{
fn receive_correlated<C: AbstractChannel, RNG: CryptoRng + Rng>(
&mut self,
channel: &mut C,
inputs: &[bool],
rng: &mut RNG
) -> Result<Vec<Self::Msg>, Error>;
}
Expand description
Trait for one-out-of-two correlated oblivious transfer from the receiver’s point-of-view.
Required Methods
Correlated oblivious transfer receive.