Searched refs:BlobMetaData (Results 1 – 7 of 7) sorted by relevance
/system/security/keystore2/src/ |
D | attestation_key_utils.rs | 18 use crate::database::{BlobMetaData, KeyEntryLoadBits, KeyType}; 45 blob_metadata: BlobMetaData, 100 ) -> Result<(KeyIdGuard, Vec<u8>, Vec<u8>, BlobMetaData)> { in load_attest_key_blob_and_cert() argument
|
D | super_key.rs | 17 database::BlobMetaData, 125 fn from_metadata(metadata: &BlobMetaData) -> Option<Self> { in from_metadata() 133 fn add_to_metadata(&self, metadata: &mut BlobMetaData) { in add_to_metadata() argument 452 metadata: &BlobMetaData, in unwrap_key_if_required() argument 473 fn unwrap_key_with_key(blob: &[u8], metadata: &BlobMetaData, key: &SuperKey) -> Result<ZVec> { in unwrap_key_with_key() argument 671 ) -> Result<(Vec<u8>, BlobMetaData)> { in encrypt_with_password() argument 676 let mut metadata = BlobMetaData::new(); in encrypt_with_password() 696 ) -> Result<(Vec<u8>, BlobMetaData)> { in super_encrypt_on_key_init() argument 719 ) -> Result<(Vec<u8>, BlobMetaData)> { in encrypt_with_aes_super_key() argument 723 let mut metadata = BlobMetaData::new(); in encrypt_with_aes_super_key() [all …]
|
D | gc.rs | 24 database::{BlobMetaData, KeystoreDB, Uuid}, 87 superseded_blobs: Vec<(i64, Vec<u8>, BlobMetaData)>,
|
D | legacy_importer.rs | 18 BlobInfo, BlobMetaData, BlobMetaEntry, CertificateInfo, DateTime, EncryptedBy, KeyMetaData, 482 ) -> Result<(Option<(Blob, Vec<KeyParameter>)>, Option<(LegacyBlob<'static>, BlobMetaData)>)> in characteristics_file_to_cache() argument 526 let mut superseded_metadata = BlobMetaData::new(); in characteristics_file_to_cache() 549 let mut superseded_metadata = BlobMetaData::new(); in characteristics_file_to_cache() 641 let mut blob_metadata = BlobMetaData::new(); in check_and_import() 648 BlobValue::Decrypted(data) => (LegacyBlob::ZVec(data), BlobMetaData::new()), in check_and_import() 809 let mut blob_metadata = BlobMetaData::new(); in bulk_delete() 829 Some((LegacyBlob::ZVec(data), BlobMetaData::new())) in bulk_delete()
|
D | raw_device.rs | 19 BlobInfo, BlobMetaData, BlobMetaEntry, CertificateInfo, DateTime, KeyEntry, 124 let mut blob_metadata = BlobMetaData::new(); in create_and_store_key() 277 let mut new_blob_metadata = BlobMetaData::new(); in upgrade_keyblob_if_required_with()
|
D | database.rs | 175 pub struct BlobMetaData; 202 impl BlobMetaData { impl 585 metadata: &'a BlobMetaData, 590 superseded_blob: Option<(&'a [u8], &'a BlobMetaData)>, 596 pub fn new(blob: &'a [u8], metadata: &'a BlobMetaData) -> Self { in new() 604 metadata: &'a BlobMetaData, in new_with_superseded() argument 605 superseded_blob: Option<(&'a [u8], &'a BlobMetaData)>, in new_with_superseded() argument 647 key_blob_info: Option<(Vec<u8>, BlobMetaData)>, 662 pub fn key_blob_info(&self) -> &Option<(Vec<u8>, BlobMetaData)> { in key_blob_info() argument 666 pub fn take_key_blob_info(&mut self) -> Option<(Vec<u8>, BlobMetaData)> { in take_key_blob_info() argument [all …]
|
D | security_level.rs | 38 BlobMetaData, BlobMetaEntry, DateTime, KeyEntry, KeyEntryLoadBits, KeyMetaData, 243 BlobMetaData::new(), in create_operation()
|