From 791c59ef06e1643220f7631225020408061b0bdd Mon Sep 17 00:00:00 2001 From: Kris Kwiatkowski Date: Mon, 17 May 2021 11:24:34 +0100 Subject: [PATCH] reorder scheme definitions --- public/pqc/pqc.h | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/public/pqc/pqc.h b/public/pqc/pqc.h index ff870611..d9b17e23 100644 --- a/public/pqc/pqc.h +++ b/public/pqc/pqc.h @@ -13,54 +13,54 @@ extern "C" { _(DILITHIUM2) \ _(DILITHIUM3) \ _(DILITHIUM5) \ - _(FALCON1024) \ _(FALCON512) \ - _(RAINBOWVCLASSIC) \ + _(FALCON1024) \ _(RAINBOWICLASSIC) \ _(RAINBOWIIICLASSIC) \ - _(SPHINCSSHA256192FSIMPLE) \ - _(SPHINCSSHAKE256256FSIMPLE) \ - _(SPHINCSSHAKE256192FROBUST) \ + _(RAINBOWVCLASSIC) \ _(SPHINCSSHAKE256128FSIMPLE) \ - _(SPHINCSSHAKE256256SSIMPLE) \ _(SPHINCSSHAKE256128SSIMPLE) \ - _(SPHINCSSHA256128FROBUST) \ - _(SPHINCSSHA256192SROBUST) \ _(SPHINCSSHAKE256128FROBUST) \ _(SPHINCSSHAKE256128SROBUST) \ - _(SPHINCSSHAKE256256SROBUST) \ - _(SPHINCSSHA256192SSIMPLE) \ - _(SPHINCSSHAKE256192SSIMPLE) \ - _(SPHINCSSHAKE256192SROBUST) \ _(SPHINCSSHAKE256192FSIMPLE) \ - _(SPHINCSSHA256256SSIMPLE) \ - _(SPHINCSSHA256128SSIMPLE) \ + _(SPHINCSSHAKE256192SSIMPLE) \ + _(SPHINCSSHAKE256192FROBUST) \ + _(SPHINCSSHAKE256192SROBUST) \ + _(SPHINCSSHAKE256256FSIMPLE) \ + _(SPHINCSSHAKE256256SSIMPLE) \ _(SPHINCSSHAKE256256FROBUST) \ - _(SPHINCSSHA256256FROBUST) \ - _(SPHINCSSHA256256FSIMPLE) \ - _(SPHINCSSHA256256SROBUST) \ - _(SPHINCSSHA256128SROBUST) \ + _(SPHINCSSHAKE256256SROBUST) \ _(SPHINCSSHA256128FSIMPLE) \ - _(SPHINCSSHA256192FROBUST) + _(SPHINCSSHA256128SSIMPLE) \ + _(SPHINCSSHA256128FROBUST) \ + _(SPHINCSSHA256128SROBUST) \ + _(SPHINCSSHA256192FSIMPLE) \ + _(SPHINCSSHA256192SSIMPLE) \ + _(SPHINCSSHA256192FROBUST) \ + _(SPHINCSSHA256192SROBUST) \ + _(SPHINCSSHA256256FSIMPLE) \ + _(SPHINCSSHA256256SSIMPLE) \ + _(SPHINCSSHA256256FROBUST) \ + _(SPHINCSSHA256256SROBUST) // defines supported kem algorithm list #define PQC_SUPPORTED_KEMS(_)\ + _(FRODOKEM640SHAKE) \ _(FRODOKEM976SHAKE) \ _(FRODOKEM1344SHAKE) \ - _(FRODOKEM640SHAKE) \ + _(KYBER512) \ _(KYBER768) \ _(KYBER1024) \ - _(KYBER512) \ - _(NTRUHPS4096821) \ _(NTRUHPS2048509) \ + _(NTRUHPS4096821) \ _(NTRUHRSS701) \ _(NTRUHPS2048677) \ _(NTRULPR761) \ _(NTRULPR653) \ _(NTRULPR857) \ _(LIGHTSABER) \ - _(FIRESABER) \ _(SABER) \ + _(FIRESABER) \ _(HQCRMRS128) \ _(HQCRMRS192) \ _(HQCRMRS256) \