Trait ocelot::oprf::ObliviousPrf

source ·
pub trait ObliviousPrf
where Self: Sized,
{ type Seed: Sized; type Input: Sized; type Output: Sized; }
Expand description

Trait containing the associated types used by an oblivious PRF.

Required Associated Types§

source

type Seed: Sized

PRF seed.

source

type Input: Sized

PRF input.

source

type Output: Sized

PRF output.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<OT: OtReceiver<Msg = Block> + SemiHonest> ObliviousPrf for Sender<OT>

§

type Seed = Block512

§

type Input = Block

§

type Output = Block512

source§

impl<OT: OtSender<Msg = Block> + SemiHonest> ObliviousPrf for Receiver<OT>

§

type Seed = Block512

§

type Input = Block

§

type Output = Block512