mlkem768.c
error_t mlkem768Decapsulate(uint8_t *ss, const uint8_t *ct, const uint8_t *sk)
Decapsulation algorithm.
Definition: mlkem768.c:111
error_t mlkem768Encapsulate(const PrngAlgo *prngAlgo, void *prngContext, uint8_t *ct, uint8_t *ss, const uint8_t *pk)
Encapsulation algorithm.
Definition: mlkem768.c:90
ML-KEM-768 key encapsulation mechanism.
General definitions for cryptographic algorithms.
error_t(* KemAlgoGenerateKeyPair)(const PrngAlgo *prngAlgo, void *prngContext, uint8_t *pk, uint8_t *sk)
Definition: crypto.h:1018
error_t mlkem768GenerateKeyPair(const PrngAlgo *prngAlgo, void *prngContext, uint8_t *pk, uint8_t *sk)
Key pair generation.
Definition: mlkem768.c:67
error_t(* KemAlgoDecapsulate)(uint8_t *ss, const uint8_t *ct, const uint8_t *sk)
Definition: crypto.h:1024
error_t(* KemAlgoEncapsulate)(const PrngAlgo *prngAlgo, void *prngContext, uint8_t *ct, uint8_t *ss, const uint8_t *pk)
Definition: crypto.h:1021