wasi_crypto/key_exchange/kem/
mod.rs

1#[cfg(feature = "pqcrypto")]
2mod kyber;
3
4#[cfg(feature = "pqcrypto")]
5pub use kyber::*;
6
7use super::*;
8
9#[derive(Clone, Debug)]
10pub struct EncapsulatedSecret {
11    pub encapsulated_secret: Vec<u8>,
12    pub secret: Vec<u8>,
13}