We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 46956d6 commit 0b8c0fbCopy full SHA for 0b8c0fb
1 file changed
crates/libcrux/src/mlkem.rs
@@ -168,3 +168,16 @@ make_mlkem!(
168
(MlKem1024EncapsulationKey, MlKem1024PublicKey, 1568),
169
(MlKem1024DecapsulationKey, MlKem1024PrivateKey, 3168)
170
);
171
+
172
+#[cfg(test)]
173
+mod tests {
174
+ use super::*;
175
+ use cosmian_crypto_core::traits::tests::test_kem;
176
177
+ #[test]
178
+ fn test_mlkem() {
179
+ test_kem::<32, mlkem512::MlKem512>();
180
+ test_kem::<32, mlkem768::MlKem768>();
181
+ test_kem::<32, mlkem1024::MlKem1024>();
182
+ }
183
+}
0 commit comments