Lines Matching refs:algorithm
83 pub algorithm: SuperEncryptionAlgorithm, field
93 algorithm: SuperEncryptionAlgorithm::Aes256Gcm,
102 algorithm: SuperEncryptionAlgorithm::Aes256Gcm,
111 algorithm: SuperEncryptionAlgorithm::EcdhP521,
158 algorithm: SuperEncryptionAlgorithm, field
171 if self.algorithm == SuperEncryptionAlgorithm::Aes256Gcm { in decrypt()
179 if self.algorithm == SuperEncryptionAlgorithm::Aes256Gcm { in encrypt()
190 algorithm: SuperEncryptionAlgorithm, field
200 Ok(LockedKey { algorithm: to_encrypt.algorithm, id: to_encrypt.id, nonce, ciphertext }) in new()
236 Ok(Arc::new(SuperKey { algorithm: self.algorithm, key, id: self.id, reencrypt_with })) in decrypt()
394 algorithm: SuperEncryptionAlgorithm::Aes256Gcm, in lookup_key()
446 match key.algorithm { in unwrap_key_with_key()
510 algorithm: SuperEncryptionAlgorithm, in populate_cache_from_super_key_blob()
514 let super_key = Self::extract_super_key_from_key_entry(algorithm, entry, pw, None) in populate_cache_from_super_key_blob()
523 algorithm: SuperEncryptionAlgorithm, in extract_super_key_from_key_entry()
564 algorithm, in extract_super_key_from_key_entry()
602 if super_key.algorithm != SuperEncryptionAlgorithm::Aes256Gcm { in encrypt_with_aes_super_key()
751 let (super_key, public_key) = match key_type.algorithm { in create_super_key()
776 algorithm: key_type.algorithm, in create_super_key()
797 key_type.algorithm, in get_or_create_super_key()
1169 alias.algorithm, in unlock_user()