Lines Matching refs:SuperEncryptionAlgorithm
66 pub enum SuperEncryptionAlgorithm { enum
80 pub algorithm: SuperEncryptionAlgorithm,
86 SuperKeyType { alias: "USER_SUPER_KEY", algorithm: SuperEncryptionAlgorithm::Aes256Gcm };
92 algorithm: SuperEncryptionAlgorithm::Aes256Gcm,
99 algorithm: SuperEncryptionAlgorithm::EcdhP521,
145 algorithm: SuperEncryptionAlgorithm,
158 if self.algorithm == SuperEncryptionAlgorithm::Aes256Gcm { in decrypt()
167 if self.algorithm == SuperEncryptionAlgorithm::Aes256Gcm { in encrypt()
179 algorithm: SuperEncryptionAlgorithm,
386 algorithm: SuperEncryptionAlgorithm::Aes256Gcm, in lookup_key()
479 SuperEncryptionAlgorithm::Aes256Gcm => match (metadata.iv(), metadata.aead_tag()) { in unwrap_key_with_key()
492 SuperEncryptionAlgorithm::EcdhP521 => { in unwrap_key_with_key()
621 algorithm: SuperEncryptionAlgorithm, in populate_cache_from_super_key_blob() argument
635 algorithm: SuperEncryptionAlgorithm, in extract_super_key_from_key_entry() argument
735 if super_key.algorithm != SuperEncryptionAlgorithm::Aes256Gcm { in encrypt_with_aes_super_key()
859 SuperEncryptionAlgorithm::Aes256Gcm => ( in get_or_create_super_key()
864 SuperEncryptionAlgorithm::EcdhP521 => { in get_or_create_super_key()