Home
last modified time | relevance | path

Searched defs:Tweak (Results 1 – 3 of 3) sorted by relevance

/external/rust/beto-rust/nearby/presence/ldt_tbc/src/
Dlib.rs39 type Tweak: From<[u8; B]>; typedef
51 type Tweak: From<[u8; B]>; typedef
55 fn encrypt(&self, tweak: Self::Tweak, block: &mut [u8; B]); in encrypt()
64 type Tweak: From<[u8; B]>; typedef
68 fn decrypt(&self, tweak: Self::Tweak, block: &mut [u8; B]); in decrypt()
/external/rust/beto-rust/nearby/presence/xts_aes/src/
Dlib.rs77 type Tweak = Tweak; typedef
109 pub fn encrypt_data_unit(&self, tweak: Tweak, data_unit: &mut [u8]) -> Result<(), XtsError> { in encrypt_data_unit()
191 pub fn decrypt_data_unit(&self, tweak: Tweak, data_unit: &mut [u8]) -> Result<(), XtsError> { in decrypt_data_unit()
277 type Tweak = Tweak; typedef
289 fn encrypt(&self, tweak: Self::Tweak, block: &mut [u8; 16]) { in encrypt()
301 type Tweak = Tweak; typedef
312 fn decrypt(&self, tweak: Self::Tweak, block: &mut [u8; 16]) { in decrypt()
491 pub struct Tweak { struct
495 impl Tweak { implementation
502 impl From<crypto_provider::aes::AesBlock> for Tweak { implementation
[all …]
/external/rust/beto-rust/nearby/presence/ldt/src/
Dlib.rs128 O: Fn(&C, T::Tweak, &mut [u8; B]), in do_ldt()
270 fn pad_tweak(&self, data: &[u8]) -> T::Tweak; in pad_tweak()
278 fn pad_tweak(&self, data: &[u8]) -> T::Tweak { in pad_tweak()
323 fn pad_tweak(&self, data: &[u8]) -> T::Tweak { in pad_tweak()