Searched refs:blob_metadata (Results 1 – 7 of 7) sorted by relevance
/system/security/keystore2/src/ |
D | attestation_key_utils.rs | 45 blob_metadata: BlobMetaData, 86 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() 115 let (blob, blob_metadata) = key_entry in load_attest_key_blob_and_cert() 123 Ok((key_id_guard, blob, cert, blob_metadata)) in load_attest_key_blob_and_cert()
|
D | legacy_importer.rs | 634 let (blob, mut blob_metadata) = match km_blob.take_value() { in check_and_import() 641 let mut blob_metadata = BlobMetaData::new(); in check_and_import() localVariable 642 blob_metadata.add(BlobMetaEntry::Iv(iv.to_vec())); in check_and_import() 643 blob_metadata.add(BlobMetaEntry::AeadTag(tag.to_vec())); in check_and_import() 644 blob_metadata in check_and_import() 646 (LegacyBlob::Vec(data), blob_metadata) in check_and_import() 657 blob_metadata.add(BlobMetaEntry::KmUuid(km_uuid)); in check_and_import() 666 &blob_metadata, in check_and_import() 720 let (blob, blob_metadata) = in check_and_import_super_key() 729 &blob_metadata, in check_and_import_super_key() [all …]
|
D | gc.rs | 112 if let Some((blob_id, blob, blob_metadata)) = self.superseded_blobs.pop() { in process_one_key() 122 if let Some(uuid) = blob_metadata.km_uuid() { in process_one_key() 127 .unwrap_key_if_required(&blob_metadata, &blob) in process_one_key()
|
D | raw_device.rs | 124 let mut blob_metadata = BlobMetaData::new(); in create_and_store_key() localVariable 125 blob_metadata.add(BlobMetaEntry::KmUuid(self.km_uuid)); in create_and_store_key() 131 &BlobInfo::new(&creation_result.keyBlob, &blob_metadata), in create_and_store_key() 198 let key_blob = key_entry.take_key_blob_info().and_then(|(key_blob, blob_metadata)| { in lookup_or_generate_key() 199 if Some(&self.km_uuid) == blob_metadata.km_uuid() { in lookup_or_generate_key()
|
D | security_level.rs | 164 let (key_blob, mut blob_metadata) = SUPER_KEY in store_new_key() 180 blob_metadata.add(BlobMetaEntry::KmUuid(self.km_uuid)); in store_new_key() 187 &BlobInfo::new(&key_blob, &blob_metadata), in store_new_key() 223 let (km_blob, key_properties, key_id_guard, blob_metadata) = match key.domain { in create_operation() 271 let (blob, blob_metadata) = in create_operation() 282 blob_metadata, in create_operation() 315 .unwrap_key_if_required(&blob_metadata, km_blob) in create_operation() 323 blob_metadata.km_uuid().copied(), in create_operation() 557 blob_metadata, in generate_key() 564 blob_metadata.km_uuid().copied(), in generate_key()
|
D | database.rs | 1296 blob_metadata: &BlobMetaData, in store_super_key() 1327 Some(blob_metadata), in store_super_key() 1618 blob_metadata: Option<&BlobMetaData>, in set_blob() 1623 Self::set_blob_internal(tx, key_id.0, sc_type, blob, blob_metadata).need_gc() in set_blob() 1632 pub fn set_deleted_blob(&mut self, blob: &[u8], blob_metadata: &BlobMetaData) -> Result<()> { in set_deleted_blob() 1641 Some(blob_metadata), in set_deleted_blob() 1653 blob_metadata: Option<&BlobMetaData>, in set_blob_internal() 1663 if let Some(blob_metadata) = blob_metadata { in set_blob_internal() 1669 blob_metadata in set_blob_internal() 2250 let BlobInfo { blob, metadata: blob_metadata, superseded_blob } = *blob_info; in store_new_key() [all …]
|
D | super_key.rs | 579 let (encrypted_super_key, blob_metadata) = in check_and_initialize_super_key() 587 &blob_metadata, in check_and_initialize_super_key() 848 let (encrypted_super_key, blob_metadata) = in get_or_create_super_key() 859 &blob_metadata, in get_or_create_super_key()
|