Searched defs:Tweak (Results 1 – 3 of 3) sorted by relevance
/external/rust/beto-rust/nearby/presence/ldt_tbc/src/ |
D | lib.rs | 34 type Tweak: From<[u8; B]>; typedef 46 type Tweak: From<[u8; B]>; typedef 50 fn encrypt(&self, tweak: Self::Tweak, block: &mut [u8; B]); in encrypt() 59 type Tweak: From<[u8; B]>; typedef 63 fn decrypt(&self, tweak: Self::Tweak, block: &mut [u8; B]); in decrypt()
|
/external/rust/beto-rust/nearby/presence/xts_aes/src/ |
D | lib.rs | 72 type Tweak = Tweak; typedef 103 pub fn encrypt_data_unit(&self, tweak: Tweak, data_unit: &mut [u8]) -> Result<(), XtsError> { in encrypt_data_unit() 188 pub fn decrypt_data_unit(&self, tweak: Tweak, data_unit: &mut [u8]) -> Result<(), XtsError> { in decrypt_data_unit() 295 type Tweak = Tweak; typedef 307 fn encrypt(&self, tweak: Self::Tweak, block: &mut [u8; BLOCK_SIZE]) { in encrypt() 318 type Tweak = Tweak; typedef 329 fn decrypt(&self, tweak: Self::Tweak, block: &mut [u8; BLOCK_SIZE]) { in decrypt() 504 pub struct Tweak { struct 508 impl Tweak { impl 515 impl From<AesBlock> for Tweak { implementation [all …]
|
/external/rust/beto-rust/nearby/presence/ldt/src/ |
D | lib.rs | 149 O: Fn(&C, T::Tweak, &mut [u8; B]), in do_ldt() 282 fn pad_tweak(&self, data: &[u8]) -> T::Tweak; in pad_tweak() 290 fn pad_tweak(&self, data: &[u8]) -> T::Tweak { in pad_tweak() 335 fn pad_tweak(&self, data: &[u8]) -> T::Tweak { in pad_tweak()
|