Lines Matching refs:BlobMetaData
17 database::BlobMetaData,
126 fn from_metadata(metadata: &BlobMetaData) -> Option<Self> { in from_metadata()
136 fn add_to_metadata(&self, metadata: &mut BlobMetaData) { in add_to_metadata() argument
435 metadata: &BlobMetaData, in unwrap_key_if_required() argument
456 fn unwrap_key_with_key(blob: &[u8], metadata: &BlobMetaData, key: &SuperKey) -> Result<ZVec> { in unwrap_key_with_key() argument
663 ) -> Result<(Vec<u8>, BlobMetaData)> { in encrypt_with_password() argument
668 let mut metadata = BlobMetaData::new(); in encrypt_with_password()
688 ) -> Result<(Vec<u8>, BlobMetaData)> { in super_encrypt_on_key_init() argument
710 ) -> Result<(Vec<u8>, BlobMetaData)> { in encrypt_with_aes_super_key() argument
715 let mut metadata = BlobMetaData::new(); in encrypt_with_aes_super_key()
736 ) -> Result<(Vec<u8>, BlobMetaData)> { in handle_super_encryption_on_key_init() argument
738 SuperEncryptionType::None => Ok((key_blob.to_vec(), BlobMetaData::new())), in handle_super_encryption_on_key_init()
766 let mut metadata = BlobMetaData::new(); in handle_super_encryption_on_key_init()
802 ) -> Result<(KeyBlob<'a>, Option<BlobMetaData>)> { in reencrypt_if_required() argument