Home
last modified time | relevance | path

Searched defs:ZVec (Results 1 – 7 of 7) sorted by relevance

/system/security/keystore2/src/crypto/
Dzvec.rs27 pub struct ZVec { struct
32 impl ZVec { implementation
53 impl Drop for ZVec { implementation
68 impl Deref for ZVec { implementation
76 impl DerefMut for ZVec { implementation
82 impl fmt::Debug for ZVec { implementation
92 impl TryFrom<&[u8]> for ZVec { implementation
104 impl TryFrom<Vec<u8>> for ZVec { implementation
Dlib.rs82 pub fn aes_gcm_decrypt(data: &[u8], iv: &[u8], tag: &[u8], key: &[u8]) -> Result<ZVec, Error> { in aes_gcm_decrypt()
183 pub fn derive_key(&self, salt: Option<&[u8]>, key_length: usize) -> Result<ZVec, Error> { in derive_key()
223 pub fn hkdf_extract(secret: &[u8], salt: &[u8]) -> Result<ZVec, Error> { in hkdf_extract()
253 pub fn hkdf_expand(out_len: usize, prk: &[u8], info: &[u8]) -> Result<ZVec, Error> { in hkdf_expand()
316 pub fn ecdh_compute_key(pub_key: &EC_POINT, priv_key: &ECKey) -> Result<ZVec, Error> { in ecdh_compute_key()
348 pub fn ec_key_marshal_private_key(key: &ECKey) -> Result<ZVec, Error> { in ec_key_marshal_private_key()
/system/security/keystore2/src/
Dboot_level_keys.rs51 pub fn get_level_zero_key(db: &mut KeystoreDB) -> Result<ZVec> { in get_level_zero_key()
158 fn get_hkdf_key(&mut self, boot_level: usize) -> Result<Option<&ZVec>> { in get_hkdf_key()
223 ) -> Result<Option<ZVec>> { in expand_key()
232 pub fn aes_key(&mut self, boot_level: usize) -> Result<Option<ZVec>> { in aes_key()
Dec_crypto.rs44 pub fn private_key(&self) -> Result<ZVec> { in private_key()
65 ) -> Result<ZVec> { in agree_key()
110 ) -> Result<ZVec> { in decrypt_message()
Dsuper_key.rs163 pub fn aes_gcm_decrypt(&self, data: &[u8], iv: &[u8], tag: &[u8]) -> Result<ZVec> { in aes_gcm_decrypt()
456 fn unwrap_key_with_key(blob: &[u8], metadata: &BlobMetaData, key: &SuperKey) -> Result<ZVec> { in unwrap_key_with_key()
Dlegacy_migrator.rs719 ZVec(ZVec), enumerator
Dlegacy_blob.rs410 F: FnOnce(&[u8], &[u8], &[u8], Option<&[u8]>, Option<usize>) -> Result<ZVec>, in new_from_stream_decrypt_with()
1091 pub fn load_super_key(&self, user_id: u32, pw: &Password) -> Result<Option<ZVec>> { in load_super_key()