Skip to main content

mlkem_encaps_seq

Function mlkem_encaps_seq 

Source
pub fn mlkem_encaps_seq(ek: &[i64], m: &[i64]) -> Result<LogosSeq<i64>, String>
Expand description

mlkemEncapsKem(ek, m) → ciphertext(1088) ‖ shared_secret(32). The ek is the peer’s: one that fails FIPS 203’s checks is answered with an empty sequence, never encapsulated to.