mlkemtest package - crypto/mlkem/mlkemtest - Go Packages
Package mlkemtest provides testing functions for the ML-KEM algorithm.
This section is empty.
This section is empty.
Encapsulate768 implements derandomized ML-KEM-768 encapsulation (ML-KEM.Encaps_internal from FIPS 203) using the provided encapsulation key ek and 32 bytes of randomness.
It must only be used for known-answer tests.
Encapsulate1024 implements derandomized ML-KEM-1024 encapsulation (ML-KEM.Encaps_internal from FIPS 203) using the provided encapsulation key ek and 32 bytes of randomness.
It must only be used for known-answer tests.
This section is empty.