pub use crate::block::Block;
use rand_chacha::ChaCha20Rng;
use crate::{channel::Channel, mpc::faand::Error, ot};
pub async fn kos_ot_sender(
channel: &impl Channel,
deltas: &[Block],
p_to: usize,
shared_rand: &mut ChaCha20Rng,
) -> Result<Vec<u128>, Error> {
ot::kos_ot_sender(channel, deltas, p_to, shared_rand).await
}
pub async fn kos_ot_receiver(
channel: &impl Channel,
bs: &[bool],
p_to: usize,
shared_rand: &mut ChaCha20Rng,
) -> Result<Vec<u128>, Error> {
ot::kos_ot_receiver(channel, bs, p_to, shared_rand).await
}