sntrup761.c
error_t sntrup761Encapsulate(const PrngAlgo *prngAlgo, void *prngContext, uint8_t *ct, uint8_t *ss, const uint8_t *pk)
Encapsulation algorithm.
Definition: sntrup761.c:90
General definitions for cryptographic algorithms.
error_t sntrup761Decapsulate(uint8_t *ss, const uint8_t *ct, const uint8_t *sk)
Decapsulation algorithm.
Definition: sntrup761.c:111
error_t(* KemAlgoGenerateKeyPair)(const PrngAlgo *prngAlgo, void *prngContext, uint8_t *pk, uint8_t *sk)
Definition: crypto.h:1018
Streamlined NTRU Prime 761 KEM.
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
error_t sntrup761GenerateKeyPair(const PrngAlgo *prngAlgo, void *prngContext, uint8_t *pk, uint8_t *sk)
Key pair generation.
Definition: sntrup761.c:67