fips203ipd
C11 implementation of FIPS 203 initial public draft (IPD).
Macros
Sizes

Seed and key sizes. More...

Macros

#define FIPS203IPD_KEYGEN_SEED_SIZE   64
 Size of random seed value for keygen(), in bytes. More...
 
#define FIPS203IPD_ENCAPS_SEED_SIZE   32
 Size of random seed value for encaps(), in bytes. More...
 
#define FIPS203IPD_KEY_SIZE   32
 Size of shared secret key returned by encaps() and decaps(), in bytes.
 

Detailed Description

Seed and key sizes.

Macro Definition Documentation

◆ FIPS203IPD_ENCAPS_SEED_SIZE

#define FIPS203IPD_ENCAPS_SEED_SIZE   32

Size of random seed value for encaps(), in bytes.

Warning
Must be 64 random bytes generated by a cryptographically secure pseudorandom number generator (CSPRNG). Specifically, section 3.3 of the FIPS 203 initial public draft requires that source is an approved random bit generator (RBG).

◆ FIPS203IPD_KEYGEN_SEED_SIZE

#define FIPS203IPD_KEYGEN_SEED_SIZE   64

Size of random seed value for keygen(), in bytes.

Warning
Must be 64 random bytes generated by a cryptographically secure pseudorandom number generator (CSPRNG). Specifically, section 3.3 of the FIPS 203 initial public draft requires that source is an approved random bit generator (RBG).