Trait ocelot::ot::FixedKeyInitializer
source · [−]pub trait FixedKeyInitializerwhere
Self: Sized,{
fn init_fixed_key<C: AbstractChannel, RNG: CryptoRng + Rng>(
channel: &mut C,
s_: [u8; 16],
rng: &mut RNG
) -> Result<Self, Error>;
}
Expand description
Trait for initializing an oblivious transfer object with a fixed key.