Lines Matching refs:blob_metadata
1266 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()
2262 Some(&blob_metadata), in store_new_key()
2935 if let (_, Some((_, blob_metadata)), _, _) = in unbind_keys_for_user()
2939 if blob_metadata.encrypted_by().is_none() { in unbind_keys_for_user()
3850 let mut blob_metadata = BlobMetaData::new(); in test_set_blob() localVariable
3851 blob_metadata.add(BlobMetaEntry::KmUuid(KEYSTORE_UUID)); in test_set_blob()
3856 Some(&blob_metadata), in test_set_blob()
3885 blob_metadata in test_set_blob()
5249 let mut blob_metadata = BlobMetaData::new(); in make_test_key_entry() localVariable
5250 blob_metadata.add(BlobMetaEntry::EncryptedBy(EncryptedBy::Password)); in make_test_key_entry()
5251 blob_metadata.add(BlobMetaEntry::Salt(vec![1, 2, 3])); in make_test_key_entry()
5252 blob_metadata.add(BlobMetaEntry::Iv(vec![2, 3, 1])); in make_test_key_entry()
5253 blob_metadata.add(BlobMetaEntry::AeadTag(vec![3, 1, 2])); in make_test_key_entry()
5254 blob_metadata.add(BlobMetaEntry::KmUuid(KEYSTORE_UUID)); in make_test_key_entry()
5260 Some(&blob_metadata), in make_test_key_entry()
5278 let mut blob_metadata = BlobMetaData::new(); in make_test_key_entry_test_vector() localVariable
5279 blob_metadata.add(BlobMetaEntry::EncryptedBy(EncryptedBy::Password)); in make_test_key_entry_test_vector()
5280 blob_metadata.add(BlobMetaEntry::Salt(vec![1, 2, 3])); in make_test_key_entry_test_vector()
5281 blob_metadata.add(BlobMetaEntry::Iv(vec![2, 3, 1])); in make_test_key_entry_test_vector()
5282 blob_metadata.add(BlobMetaEntry::AeadTag(vec![3, 1, 2])); in make_test_key_entry_test_vector()
5283 blob_metadata.add(BlobMetaEntry::KmUuid(KEYSTORE_UUID)); in make_test_key_entry_test_vector()
5290 key_blob_info: Some((TEST_KEY_BLOB.to_vec(), blob_metadata)), in make_test_key_entry_test_vector()
5308 let mut blob_metadata = BlobMetaData::new(); in make_bootlevel_key_entry() localVariable
5310 blob_metadata.add(BlobMetaEntry::MaxBootLevel(3)); in make_bootlevel_key_entry()
5312 blob_metadata.add(BlobMetaEntry::KmUuid(KEYSTORE_UUID)); in make_bootlevel_key_entry()
5318 Some(&blob_metadata), in make_bootlevel_key_entry()
5339 let mut blob_metadata = BlobMetaData::new(); in make_bootlevel_test_key_entry_test_vector() localVariable
5341 blob_metadata.add(BlobMetaEntry::MaxBootLevel(3)); in make_bootlevel_test_key_entry_test_vector()
5343 blob_metadata.add(BlobMetaEntry::KmUuid(KEYSTORE_UUID)); in make_bootlevel_test_key_entry_test_vector()
5350 key_blob_info: Some((TEST_KEY_BLOB.to_vec(), blob_metadata)), in make_bootlevel_test_key_entry_test_vector()
5609 let mut blob_metadata = BlobMetaData::new(); in test_verify_key_table_size_reporting() localVariable
5610 blob_metadata.add(BlobMetaEntry::EncryptedBy(EncryptedBy::Password)); in test_verify_key_table_size_reporting()