pub struct Garbler<W, RNG> { /* private fields */ }Expand description
The garbled circuit garbler.
This is the party that produces the garbled circuit to be evaluated by an
crate::Evaluator.
Implementations§
Trait Implementations§
Source§impl<W: BinaryWireLabel, RNG: CryptoRng> FancyBinary for Garbler<W, RNG>
impl<W: BinaryWireLabel, RNG: CryptoRng> FancyBinary for Garbler<W, RNG>
Auto Trait Implementations§
impl<W, RNG> Freeze for Garbler<W, RNG>
impl<W, RNG> RefUnwindSafe for Garbler<W, RNG>where
W: RefUnwindSafe,
RNG: RefUnwindSafe,
impl<W, RNG> Send for Garbler<W, RNG>
impl<W, RNG> Sync for Garbler<W, RNG>
impl<W, RNG> Unpin for Garbler<W, RNG>
impl<W, RNG> UnsafeUnpin for Garbler<W, RNG>where
W: UnsafeUnpin,
RNG: UnsafeUnpin,
impl<W, RNG> UnwindSafe for Garbler<W, RNG>where
W: UnwindSafe,
RNG: UnwindSafe,
Blanket Implementations§
§impl<F> BinaryEncode for Fwhere
F: FancyEncode<F2>,
impl<F> BinaryEncode for Fwhere
F: FancyEncode<F2>,
§fn bin_encode<const N: usize>(
&mut self,
value: u128,
channel: &mut Channel<'_>,
) -> Result<BinaryBundle<Self::Item, N>, Error>
fn bin_encode<const N: usize>( &mut self, value: u128, channel: &mut Channel<'_>, ) -> Result<BinaryBundle<Self::Item, N>, Error>
Encode a
u128 as a [BinaryBundle].§impl<F> BinaryOutput for Fwhere
F: FancyOutput<F2>,
impl<F> BinaryOutput for Fwhere
F: FancyOutput<F2>,
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
§impl<T> IsSameType<T> for T
impl<T> IsSameType<T> for T
§type EqualityProposition = TrueEqualityProposition
type EqualityProposition = TrueEqualityProposition
The [
EqualityProposition] that Self == T