Home
last modified time | relevance | path

Searched refs:ConcatenatedKeyArray (Results 1 – 3 of 3) sorted by relevance

/aosp_15_r20/external/rust/beto-rust/nearby/presence/ldt_tbc/src/
Dlib.rs69 type ConcatenatedKeyArray: ConcatenatedKeyArray; typedef
72 fn split_from_concatenated(key: &Self::ConcatenatedKeyArray) -> (Self, Self); in split_from_concatenated()
75 fn concatenate_with(&self, other: &Self) -> Self::ConcatenatedKeyArray; in concatenate_with() argument
79 pub trait ConcatenatedKeyArray: Sized { interface
84 impl ConcatenatedKeyArray for [u8; 64] { impl
92 impl ConcatenatedKeyArray for [u8; 128] { impl
/aosp_15_r20/external/rust/beto-rust/nearby/presence/xts_aes/src/
Dlib.rs406 type ConcatenatedKeyArray = [u8; 64]; typedef
410 fn split_from_concatenated(key: &Self::ConcatenatedKeyArray) -> (Self, Self) { in split_from_concatenated()
414 fn concatenate_with(&self, other: &Self) -> Self::ConcatenatedKeyArray { in concatenate_with() argument
471 type ConcatenatedKeyArray = [u8; 128]; typedef
475 fn split_from_concatenated(key: &Self::ConcatenatedKeyArray) -> (Self, Self) { in split_from_concatenated()
479 fn concatenate_with(&self, other: &Self) -> Self::ConcatenatedKeyArray { in concatenate_with() argument
/aosp_15_r20/external/rust/beto-rust/nearby/presence/ldt/src/
Dlib.rs24 use ldt_tbc::{ConcatenatedKeyArray, TweakableBlockCipher, TweakableBlockCipherKey};
227 pub fn from_concatenated(key: &T::ConcatenatedKeyArray) -> Self { in from_concatenated()
234 Self::from_concatenated(&ConcatenatedKeyArray::from_random::<C>(rng)) in from_random()
239 pub fn as_concatenated(&self) -> T::ConcatenatedKeyArray { in as_concatenated() argument