Home
last modified time | relevance | path

Searched refs:Password (Results 1 – 7 of 7) sorted by relevance

/system/security/keystore2/src/
Dsuper_key.rs46 aes_gcm_decrypt, aes_gcm_encrypt, generate_aes256_key, generate_salt, Password, ZVec,
394 pw: &Password, in unlock_user_key() argument
524 pw: &Password, in check_and_unlock_super_key() argument
553 pw: Option<&Password>, in check_and_initialize_super_key() argument
600 pw: &Password, in populate_cache_from_super_key_blob() argument
614 pw: &Password, in extract_super_key_from_key_entry() argument
624 (Some(&EncryptedBy::Password), Some(salt), Some(iv), Some(tag)) => { in extract_super_key_from_key_entry()
662 pw: &Password, in encrypt_with_password() argument
669 metadata.add(BlobMetaEntry::EncryptedBy(EncryptedBy::Password)); in encrypt_with_password()
821 password: &Password, in get_or_create_super_key() argument
[all …]
Dauthorization.rs35 use keystore2_crypto::Password;
132 password: Option<Password>, in on_lock_screen_event() argument
Dmaintenance.rs38 use keystore2_crypto::Password;
68 fn on_user_password_changed(user_id: i32, password: Option<Password>) -> Result<()> { in on_user_password_changed()
Dlegacy_migrator.rs35 use keystore2_crypto::{Password, ZVec};
343 pw: &Password, in with_try_migrate_super_key() argument
563 fn check_and_migrate_super_key(&mut self, user_id: u32, pw: &Password) -> Result<()> { in check_and_migrate_super_key()
Dlegacy_blob.rs27 use keystore2_crypto::{aes_gcm_decrypt, Password, ZVec};
1091 pub fn load_super_key(&self, user_id: u32, pw: &Password) -> Result<Option<ZVec>> { in load_super_key()
Ddatabase.rs331 Password, enumerator
341 Self::Password => Ok(ToSqlOutput::Owned(Value::Null)), in to_sql()
350 ValueRef::Null => Ok(Self::Password), in column_result()
5250 blob_metadata.add(BlobMetaEntry::EncryptedBy(EncryptedBy::Password)); in make_test_key_entry()
5279 blob_metadata.add(BlobMetaEntry::EncryptedBy(EncryptedBy::Password)); in make_test_key_entry_test_vector()
5465 let pw: keystore2_crypto::Password = (&b"xyzabc"[..]).into(); in test_store_super_key()
5610 blob_metadata.add(BlobMetaEntry::EncryptedBy(EncryptedBy::Password)); in test_verify_key_table_size_reporting()
/system/security/keystore2/src/crypto/
Dlib.rs159 pub enum Password<'a> { enum
166 impl<'a> From<&'a [u8]> for Password<'a> { implementation
172 impl<'a> Password<'a> { impl
217 pub fn try_clone(&self) -> Result<Password<'static>, Error> { in try_clone()
218 Ok(Password::Owned(ZVec::try_from(self.get_key())?)) in try_clone()