pub struct OREAES128 { /* private fields */ }Trait Implementations
sourceimpl ORECipher for OREAES128
impl ORECipher for OREAES128
type LeftBlockType = GenericArray<u8, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>>
type RightBlockType = RightBlock32
fn init(k1: [u8; 16], k2: [u8; 16], seed: &[u8; 8]) -> Result<Self, OREError>
fn encrypt_left<const N: usize>(
&mut self,
x: &PlainText<N>
) -> Result<Left<OREAES128, N>, OREError>
fn encrypt<const N: usize>(
&mut self,
x: &PlainText<N>
) -> Result<CipherText<OREAES128, N>, OREError>
fn compare_raw_slices(a: &[u8], b: &[u8]) -> Option<Ordering>
Auto Trait Implementations
impl RefUnwindSafe for OREAES128
impl Send for OREAES128
impl Sync for OREAES128
impl Unpin for OREAES128
impl UnwindSafe for OREAES128
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more