Lines Matching refs:BlobMetaData
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()
744 ) -> Result<(Vec<u8>, BlobMetaData)> { in handle_super_encryption_on_key_init() argument
746 SuperEncryptionType::None => Ok((key_blob.to_vec(), BlobMetaData::new())), in handle_super_encryption_on_key_init()
768 let mut metadata = BlobMetaData::new(); in handle_super_encryption_on_key_init()
800 ) -> Result<(KeyBlob<'a>, Option<BlobMetaData>)> { in reencrypt_if_required() argument