Home
last modified time | relevance | path

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

/system/security/keystore2/src/
Draw_device.rs24 super_key::KeyBlob,
177 ) -> Result<(KeyIdGuard, KeyBlob)> in lookup_or_generate_key()
206 KeyBlob::NonSensitive(key_blob_vec), in lookup_or_generate_key()
242 .map(|(key_blob, _)| KeyBlob::NonSensitive(key_blob)) in lookup_or_generate_key()
255 key_blob: KeyBlob<'a>, in upgrade_keyblob_if_required_with()
257 ) -> Result<(T, KeyBlob<'a>)> in upgrade_keyblob_if_required_with()
290 KeyBlob::NonSensitive(upgraded_blob), in upgrade_keyblob_if_required_with()
313 let key_blob = KeyBlob::Ref(key_blob); in use_key_in_one_step()
Dsuper_key.rs201 .map(|(key_blob, _)| KeyBlob::Ref(key_blob)) in decrypt()
437 ) -> Result<KeyBlob<'a>> { in unwrap_key_if_required()
444 KeyBlob::Sensitive { in unwrap_key_if_required()
451 KeyBlob::Ref(blob) in unwrap_key_if_required()
800 key_blob_before_upgrade: &KeyBlob, in reencrypt_if_required() argument
802 ) -> Result<(KeyBlob<'a>, Option<BlobMetaData>)> { in reencrypt_if_required()
804 KeyBlob::Sensitive { reencrypt_with: super_key, .. } => { in reencrypt_if_required()
808 Ok((KeyBlob::NonSensitive(key), Some(metadata))) in reencrypt_if_required()
810 _ => Ok((KeyBlob::Ref(key_after_upgrade), None)), in reencrypt_if_required()
1186 pub enum KeyBlob<'a> { enum
[all …]
Dsecurity_level.rs28 use crate::super_key::{KeyBlob, SuperKeyManager};
523 &KeyBlob::Ref(&blob), in generate_key()
772 key_blob: &KeyBlob, in store_upgraded_keyblob() argument
800 key_blob: &KeyBlob, in upgrade_keyblob_if_required_with() argument