Lines Matching refs:SuperEncryptionAlgorithm
69 pub enum SuperEncryptionAlgorithm { enum
83 pub algorithm: SuperEncryptionAlgorithm,
93 algorithm: SuperEncryptionAlgorithm::Aes256Gcm,
102 algorithm: SuperEncryptionAlgorithm::Aes256Gcm,
111 algorithm: SuperEncryptionAlgorithm::EcdhP521,
158 algorithm: SuperEncryptionAlgorithm,
171 if self.algorithm == SuperEncryptionAlgorithm::Aes256Gcm { in decrypt()
179 if self.algorithm == SuperEncryptionAlgorithm::Aes256Gcm { in encrypt()
190 algorithm: SuperEncryptionAlgorithm,
394 algorithm: SuperEncryptionAlgorithm::Aes256Gcm, in lookup_key()
447 SuperEncryptionAlgorithm::Aes256Gcm => match (metadata.iv(), metadata.aead_tag()) { in unwrap_key_with_key()
457 SuperEncryptionAlgorithm::EcdhP521 => { in unwrap_key_with_key()
510 algorithm: SuperEncryptionAlgorithm, in populate_cache_from_super_key_blob() argument
523 algorithm: SuperEncryptionAlgorithm, in extract_super_key_from_key_entry() argument
602 if super_key.algorithm != SuperEncryptionAlgorithm::Aes256Gcm { in encrypt_with_aes_super_key()
752 SuperEncryptionAlgorithm::Aes256Gcm => { in create_super_key()
755 SuperEncryptionAlgorithm::EcdhP521 => { in create_super_key()