Lines Matching refs:SuperEncryptionAlgorithm
68 pub enum SuperEncryptionAlgorithm { enum
82 pub algorithm: SuperEncryptionAlgorithm,
88 SuperKeyType { alias: "USER_SUPER_KEY", algorithm: SuperEncryptionAlgorithm::Aes256Gcm };
94 algorithm: SuperEncryptionAlgorithm::Aes256Gcm,
101 algorithm: SuperEncryptionAlgorithm::EcdhP521,
149 algorithm: SuperEncryptionAlgorithm,
164 if self.algorithm == SuperEncryptionAlgorithm::Aes256Gcm { in aes_gcm_decrypt()
176 algorithm: SuperEncryptionAlgorithm,
372 algorithm: SuperEncryptionAlgorithm::Aes256Gcm, in lookup_key()
458 SuperEncryptionAlgorithm::Aes256Gcm => match (metadata.iv(), metadata.aead_tag()) { in unwrap_key_with_key()
471 SuperEncryptionAlgorithm::EcdhP521 => { in unwrap_key_with_key()
598 algorithm: SuperEncryptionAlgorithm, in populate_cache_from_super_key_blob() argument
612 algorithm: SuperEncryptionAlgorithm, in extract_super_key_from_key_entry() argument
711 if super_key.algorithm != SuperEncryptionAlgorithm::Aes256Gcm { in encrypt_with_aes_super_key()
834 SuperEncryptionAlgorithm::Aes256Gcm => ( in get_or_create_super_key()
839 SuperEncryptionAlgorithm::EcdhP521 => { in get_or_create_super_key()