/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 | gc.rs | 24 database::{BlobMetaData, KeystoreDB, Uuid}, 87 superseded_blobs: Vec<(i64, Vec<u8>, BlobMetaData)>,
|
D | super_key.rs | 17 database::BlobMetaData, 134 fn from_metadata(metadata: &BlobMetaData) -> Option<Self> { in from_metadata() 142 fn add_to_metadata(&self, metadata: &mut BlobMetaData) { in add_to_metadata() argument 421 metadata: &BlobMetaData, in unwrap_key_if_required() argument 442 fn unwrap_key_with_key(blob: &[u8], metadata: &BlobMetaData, key: &SuperKey) -> Result<ZVec> { in unwrap_key_with_key() argument 577 ) -> Result<(Vec<u8>, BlobMetaData)> { in encrypt_with_password() argument 586 let mut metadata = BlobMetaData::new(); in encrypt_with_password() 602 ) -> Result<(Vec<u8>, BlobMetaData)> { in encrypt_with_aes_super_key() argument 606 let mut metadata = BlobMetaData::new(); in encrypt_with_aes_super_key() 631 ) -> Result<(Vec<u8>, BlobMetaData)> { in encrypt_with_hybrid_super_key() argument [all …]
|
D | legacy_importer.rs | 18 BlobInfo, BlobMetaData, BlobMetaEntry, CertificateInfo, DateTime, EncryptedBy, KeyMetaData, 487 ) -> Result<(Option<(Blob, Vec<KeyParameter>)>, Option<(LegacyBlob<'static>, BlobMetaData)>)> in characteristics_file_to_cache() argument 531 let mut superseded_metadata = BlobMetaData::new(); in characteristics_file_to_cache() 554 let mut superseded_metadata = BlobMetaData::new(); in characteristics_file_to_cache() 646 let mut blob_metadata = BlobMetaData::new(); in check_and_import() 653 BlobValue::Decrypted(data) => (LegacyBlob::ZVec(data), BlobMetaData::new()), in check_and_import() 814 let mut blob_metadata = BlobMetaData::new(); in bulk_delete() 834 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() 270 let mut new_blob_metadata = BlobMetaData::new(); in upgrade_keyblob_if_required_with()
|
D | database.rs | 218 pub struct BlobMetaData; 245 impl BlobMetaData { implementation 617 metadata: &'a BlobMetaData, 622 superseded_blob: Option<(&'a [u8], &'a BlobMetaData)>, 628 pub fn new(blob: &'a [u8], metadata: &'a BlobMetaData) -> Self { in new() 636 metadata: &'a BlobMetaData, in new_with_superseded() argument 637 superseded_blob: Option<(&'a [u8], &'a BlobMetaData)>, in new_with_superseded() argument 679 key_blob_info: Option<(Vec<u8>, BlobMetaData)>, 694 pub fn key_blob_info(&self) -> &Option<(Vec<u8>, BlobMetaData)> { in key_blob_info() argument 698 pub fn take_key_blob_info(&mut self) -> Option<(Vec<u8>, BlobMetaData)> { in take_key_blob_info() argument [all …]
|
D | security_level.rs | 41 BlobMetaData, BlobMetaEntry, DateTime, KeyEntry, KeyEntryLoadBits, KeyMetaData, 250 BlobMetaData::new(), in create_operation()
|