pub struct Receiver<OPRF: OprfReceiver + SemiHonest> { /* private fields */ }
Expand description
KMPRT oblivious programmable PRF receiver.
This implements the hashing-based OPPRF receiver in Figure 7 of the paper. It uses the table-based one-time OPPRF under-the-hood (Figure 6 of the paper), which itself uses an OPRF.
Implementations§
Auto Trait Implementations§
impl<OPRF> Freeze for Receiver<OPRF>where
OPRF: Freeze,
impl<OPRF> RefUnwindSafe for Receiver<OPRF>where
OPRF: RefUnwindSafe,
impl<OPRF> Send for Receiver<OPRF>where
OPRF: Send,
impl<OPRF> Sync for Receiver<OPRF>where
OPRF: Sync,
impl<OPRF> Unpin for Receiver<OPRF>where
OPRF: Unpin,
impl<OPRF> UnwindSafe for Receiver<OPRF>where
OPRF: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more