|
@@ -13,54 +13,54 @@ extern "C" { |
|
|
_(DILITHIUM2) \ |
|
|
_(DILITHIUM2) \ |
|
|
_(DILITHIUM3) \ |
|
|
_(DILITHIUM3) \ |
|
|
_(DILITHIUM5) \ |
|
|
_(DILITHIUM5) \ |
|
|
_(FALCON1024) \ |
|
|
|
|
|
_(FALCON512) \ |
|
|
_(FALCON512) \ |
|
|
_(RAINBOWVCLASSIC) \ |
|
|
|
|
|
|
|
|
_(FALCON1024) \ |
|
|
_(RAINBOWICLASSIC) \ |
|
|
_(RAINBOWICLASSIC) \ |
|
|
_(RAINBOWIIICLASSIC) \ |
|
|
_(RAINBOWIIICLASSIC) \ |
|
|
_(SPHINCSSHA256192FSIMPLE) \ |
|
|
|
|
|
_(SPHINCSSHAKE256256FSIMPLE) \ |
|
|
|
|
|
_(SPHINCSSHAKE256192FROBUST) \ |
|
|
|
|
|
|
|
|
_(RAINBOWVCLASSIC) \ |
|
|
_(SPHINCSSHAKE256128FSIMPLE) \ |
|
|
_(SPHINCSSHAKE256128FSIMPLE) \ |
|
|
_(SPHINCSSHAKE256256SSIMPLE) \ |
|
|
|
|
|
_(SPHINCSSHAKE256128SSIMPLE) \ |
|
|
_(SPHINCSSHAKE256128SSIMPLE) \ |
|
|
_(SPHINCSSHA256128FROBUST) \ |
|
|
|
|
|
_(SPHINCSSHA256192SROBUST) \ |
|
|
|
|
|
_(SPHINCSSHAKE256128FROBUST) \ |
|
|
_(SPHINCSSHAKE256128FROBUST) \ |
|
|
_(SPHINCSSHAKE256128SROBUST) \ |
|
|
_(SPHINCSSHAKE256128SROBUST) \ |
|
|
_(SPHINCSSHAKE256256SROBUST) \ |
|
|
|
|
|
_(SPHINCSSHA256192SSIMPLE) \ |
|
|
|
|
|
|
|
|
_(SPHINCSSHAKE256192FSIMPLE) \ |
|
|
_(SPHINCSSHAKE256192SSIMPLE) \ |
|
|
_(SPHINCSSHAKE256192SSIMPLE) \ |
|
|
|
|
|
_(SPHINCSSHAKE256192FROBUST) \ |
|
|
_(SPHINCSSHAKE256192SROBUST) \ |
|
|
_(SPHINCSSHAKE256192SROBUST) \ |
|
|
_(SPHINCSSHAKE256192FSIMPLE) \ |
|
|
|
|
|
_(SPHINCSSHA256256SSIMPLE) \ |
|
|
|
|
|
_(SPHINCSSHA256128SSIMPLE) \ |
|
|
|
|
|
|
|
|
_(SPHINCSSHAKE256256FSIMPLE) \ |
|
|
|
|
|
_(SPHINCSSHAKE256256SSIMPLE) \ |
|
|
_(SPHINCSSHAKE256256FROBUST) \ |
|
|
_(SPHINCSSHAKE256256FROBUST) \ |
|
|
_(SPHINCSSHA256256FROBUST) \ |
|
|
|
|
|
_(SPHINCSSHA256256FSIMPLE) \ |
|
|
|
|
|
_(SPHINCSSHA256256SROBUST) \ |
|
|
|
|
|
_(SPHINCSSHA256128SROBUST) \ |
|
|
|
|
|
|
|
|
_(SPHINCSSHAKE256256SROBUST) \ |
|
|
_(SPHINCSSHA256128FSIMPLE) \ |
|
|
_(SPHINCSSHA256128FSIMPLE) \ |
|
|
_(SPHINCSSHA256192FROBUST) |
|
|
|
|
|
|
|
|
_(SPHINCSSHA256128SSIMPLE) \ |
|
|
|
|
|
_(SPHINCSSHA256128FROBUST) \ |
|
|
|
|
|
_(SPHINCSSHA256128SROBUST) \ |
|
|
|
|
|
_(SPHINCSSHA256192FSIMPLE) \ |
|
|
|
|
|
_(SPHINCSSHA256192SSIMPLE) \ |
|
|
|
|
|
_(SPHINCSSHA256192FROBUST) \ |
|
|
|
|
|
_(SPHINCSSHA256192SROBUST) \ |
|
|
|
|
|
_(SPHINCSSHA256256FSIMPLE) \ |
|
|
|
|
|
_(SPHINCSSHA256256SSIMPLE) \ |
|
|
|
|
|
_(SPHINCSSHA256256FROBUST) \ |
|
|
|
|
|
_(SPHINCSSHA256256SROBUST) |
|
|
|
|
|
|
|
|
// defines supported kem algorithm list |
|
|
// defines supported kem algorithm list |
|
|
#define PQC_SUPPORTED_KEMS(_)\ |
|
|
#define PQC_SUPPORTED_KEMS(_)\ |
|
|
|
|
|
_(FRODOKEM640SHAKE) \ |
|
|
_(FRODOKEM976SHAKE) \ |
|
|
_(FRODOKEM976SHAKE) \ |
|
|
_(FRODOKEM1344SHAKE) \ |
|
|
_(FRODOKEM1344SHAKE) \ |
|
|
_(FRODOKEM640SHAKE) \ |
|
|
|
|
|
|
|
|
_(KYBER512) \ |
|
|
_(KYBER768) \ |
|
|
_(KYBER768) \ |
|
|
_(KYBER1024) \ |
|
|
_(KYBER1024) \ |
|
|
_(KYBER512) \ |
|
|
|
|
|
_(NTRUHPS4096821) \ |
|
|
|
|
|
_(NTRUHPS2048509) \ |
|
|
_(NTRUHPS2048509) \ |
|
|
|
|
|
_(NTRUHPS4096821) \ |
|
|
_(NTRUHRSS701) \ |
|
|
_(NTRUHRSS701) \ |
|
|
_(NTRUHPS2048677) \ |
|
|
_(NTRUHPS2048677) \ |
|
|
_(NTRULPR761) \ |
|
|
_(NTRULPR761) \ |
|
|
_(NTRULPR653) \ |
|
|
_(NTRULPR653) \ |
|
|
_(NTRULPR857) \ |
|
|
_(NTRULPR857) \ |
|
|
_(LIGHTSABER) \ |
|
|
_(LIGHTSABER) \ |
|
|
_(FIRESABER) \ |
|
|
|
|
|
_(SABER) \ |
|
|
_(SABER) \ |
|
|
|
|
|
_(FIRESABER) \ |
|
|
_(HQCRMRS128) \ |
|
|
_(HQCRMRS128) \ |
|
|
_(HQCRMRS192) \ |
|
|
_(HQCRMRS192) \ |
|
|
_(HQCRMRS256) \ |
|
|
_(HQCRMRS256) \ |
|
|