-
Notifications
You must be signed in to change notification settings - Fork 14
/
kem.rs
33 lines (21 loc) · 860 Bytes
/
kem.rs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
//! # Key Encapsulation Mechanism
//!
//! This module exposes a KEM interface via the [`libcrux_kem`] crate.
pub use libcrux_ml_kem::{
mlkem1024::{MlKem1024Ciphertext, MlKem1024PrivateKey, MlKem1024PublicKey},
mlkem512::{MlKem512Ciphertext, MlKem512PrivateKey, MlKem512PublicKey},
mlkem768::{MlKem768Ciphertext, MlKem768PrivateKey, MlKem768PublicKey},
MlKemCiphertext, MlKemKeyPair,
};
pub use libcrux_kem::Algorithm;
pub use libcrux_kem::Error;
pub use libcrux_kem::X25519MlKem768Draft00PrivateKey;
pub use libcrux_kem::XWingKemDraft02PrivateKey;
pub use libcrux_kem::PrivateKey;
pub use libcrux_kem::X25519MlKem768Draft00PublicKey;
pub use libcrux_kem::XWingKemDraft02PublicKey;
pub use libcrux_kem::PublicKey;
pub use libcrux_kem::Ct;
pub use libcrux_kem::Ss;
pub use libcrux_kem::secret_to_public;
pub use libcrux_kem::key_gen;