Home
last modified time | relevance | path

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

/system/security/keystore2/src/
Dattestation_key_utils.rs44 blob_metadata: BlobMetaData,
85 let (key_id_guard, blob, cert, blob_metadata) = in get_user_generated_attestation_key()
93 Ok(AttestationKeyInfo::UserGenerated { key_id_guard, blob, issuer_subject, blob_metadata }) in get_user_generated_attestation_key()
116 let (blob, blob_metadata) = in load_attest_key_blob_and_cert()
125 Ok((key_id_guard, blob, cert, blob_metadata)) in load_attest_key_blob_and_cert()
Dlegacy_migrator.rs459 let (blob, mut blob_metadata) = match km_blob.take_value() { in check_and_migrate()
498 let mut blob_metadata = BlobMetaData::new(); in check_and_migrate() localVariable
499 blob_metadata.add(BlobMetaEntry::Iv(iv.to_vec())); in check_and_migrate()
500 blob_metadata.add(BlobMetaEntry::AeadTag(tag.to_vec())); in check_and_migrate()
501 blob_metadata in check_and_migrate()
503 (LegacyBlob::Vec(data), blob_metadata) in check_and_migrate()
515 blob_metadata.add(BlobMetaEntry::KmUuid(km_uuid)); in check_and_migrate()
528 &(&blob, &blob_metadata), in check_and_migrate()
573 let (blob, blob_metadata) = in check_and_migrate_super_key()
582 &blob_metadata, in check_and_migrate_super_key()
[all …]
Dgc.rs111 if let Some((blob_id, blob, blob_metadata)) = self.superseded_blobs.pop() { in process_one_key()
121 if let Some(uuid) = blob_metadata.km_uuid() { in process_one_key()
124 .unwrap_key_if_required(&blob_metadata, &blob) in process_one_key()
Draw_device.rs119 let mut blob_metadata = BlobMetaData::new(); in create_and_store_key() localVariable
120 blob_metadata.add(BlobMetaEntry::KmUuid(self.km_uuid)); in create_and_store_key()
126 &(&creation_result.keyBlob, &blob_metadata), in create_and_store_key()
193 let key_blob = key_entry.take_key_blob_info().and_then(|(key_blob, blob_metadata)| { in lookup_or_generate_key()
194 if Some(&self.km_uuid) == blob_metadata.km_uuid() { in lookup_or_generate_key()
Dsecurity_level.rs160 let (key_blob, mut blob_metadata) = SUPER_KEY in store_new_key()
174 blob_metadata.add(BlobMetaEntry::KmUuid(self.km_uuid)); in store_new_key()
181 &(&key_blob, &blob_metadata), in store_new_key()
217 let (km_blob, key_properties, key_id_guard, blob_metadata) = match key.domain { in create_operation()
262 let (blob, blob_metadata) = in create_operation()
273 blob_metadata, in create_operation()
304 .unwrap_key_if_required(&blob_metadata, km_blob) in create_operation()
317 &blob_metadata, in create_operation()
517 blob_metadata, in generate_key()
524 &blob_metadata, in generate_key()
[all …]
Ddatabase.rs1266 blob_metadata: &BlobMetaData, in store_super_key()
1297 Some(blob_metadata), in store_super_key()
1590 blob_metadata: Option<&BlobMetaData>, in set_blob()
1595 Self::set_blob_internal(&tx, key_id.0, sc_type, blob, blob_metadata).need_gc() in set_blob()
1604 pub fn set_deleted_blob(&mut self, blob: &[u8], blob_metadata: &BlobMetaData) -> Result<()> { in set_deleted_blob()
1613 Some(blob_metadata), in set_deleted_blob()
1625 blob_metadata: Option<&BlobMetaData>, in set_blob_internal()
1635 if let Some(blob_metadata) = blob_metadata { in set_blob_internal()
1641 blob_metadata in set_blob_internal()
2256 let (blob, blob_metadata) = *blob_info; in store_new_key()
[all …]
Dsuper_key.rs567 let (encrypted_super_key, blob_metadata) = Self::encrypt_with_password(&super_key, pw) in check_and_initialize_super_key()
575 &blob_metadata, in check_and_initialize_super_key()
854 let (encrypted_super_key, blob_metadata) = in get_or_create_super_key()
866 &blob_metadata, in get_or_create_super_key()