From ac1f8cc74d1ee974890138c607cd98f17f023121 Mon Sep 17 00:00:00 2001 From: Thom Wiggers Date: Thu, 19 Sep 2019 11:33:31 +0200 Subject: [PATCH] fixup! Add Kyber90s Fix CRYPTO_ALGNAME --- crypto_kem/kyber1024-90s/avx2/api.h | 2 +- crypto_kem/kyber1024-90s/clean/api.h | 2 +- crypto_kem/kyber512-90s/avx2/api.h | 2 +- crypto_kem/kyber512-90s/clean/api.h | 2 +- crypto_kem/kyber768-90s/avx2/api.h | 2 +- crypto_kem/kyber768-90s/clean/api.h | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/crypto_kem/kyber1024-90s/avx2/api.h b/crypto_kem/kyber1024-90s/avx2/api.h index 12bba826..e07cbd01 100644 --- a/crypto_kem/kyber1024-90s/avx2/api.h +++ b/crypto_kem/kyber1024-90s/avx2/api.h @@ -7,7 +7,7 @@ #define PQCLEAN_KYBER102490S_AVX2_CRYPTO_PUBLICKEYBYTES 1568 #define PQCLEAN_KYBER102490S_AVX2_CRYPTO_CIPHERTEXTBYTES 1568 #define PQCLEAN_KYBER102490S_AVX2_CRYPTO_BYTES 32 -#define PQCLEAN_KYBER102490S_AVX2_CRYPTO_ALGNAME "Kyber1024" +#define PQCLEAN_KYBER102490S_AVX2_CRYPTO_ALGNAME "Kyber1024-90s" int PQCLEAN_KYBER102490S_AVX2_crypto_kem_keypair(uint8_t *pk, uint8_t *sk); diff --git a/crypto_kem/kyber1024-90s/clean/api.h b/crypto_kem/kyber1024-90s/clean/api.h index 875acf6d..69d338fc 100644 --- a/crypto_kem/kyber1024-90s/clean/api.h +++ b/crypto_kem/kyber1024-90s/clean/api.h @@ -7,7 +7,7 @@ #define PQCLEAN_KYBER102490S_CLEAN_CRYPTO_PUBLICKEYBYTES 1568 #define PQCLEAN_KYBER102490S_CLEAN_CRYPTO_CIPHERTEXTBYTES 1568 #define PQCLEAN_KYBER102490S_CLEAN_CRYPTO_BYTES 32 -#define PQCLEAN_KYBER102490S_CLEAN_CRYPTO_ALGNAME "Kyber1024" +#define PQCLEAN_KYBER102490S_CLEAN_CRYPTO_ALGNAME "Kyber1024-90s" int PQCLEAN_KYBER102490S_CLEAN_crypto_kem_keypair(uint8_t *pk, uint8_t *sk); diff --git a/crypto_kem/kyber512-90s/avx2/api.h b/crypto_kem/kyber512-90s/avx2/api.h index 2cb9ee53..934664a3 100644 --- a/crypto_kem/kyber512-90s/avx2/api.h +++ b/crypto_kem/kyber512-90s/avx2/api.h @@ -7,7 +7,7 @@ #define PQCLEAN_KYBER51290S_AVX2_CRYPTO_PUBLICKEYBYTES 800 #define PQCLEAN_KYBER51290S_AVX2_CRYPTO_CIPHERTEXTBYTES 736 #define PQCLEAN_KYBER51290S_AVX2_CRYPTO_BYTES 32 -#define PQCLEAN_KYBER51290S_AVX2_CRYPTO_ALGNAME "Kyber512" +#define PQCLEAN_KYBER51290S_AVX2_CRYPTO_ALGNAME "Kyber512-90s" int PQCLEAN_KYBER51290S_AVX2_crypto_kem_keypair(uint8_t *pk, uint8_t *sk); diff --git a/crypto_kem/kyber512-90s/clean/api.h b/crypto_kem/kyber512-90s/clean/api.h index a3cabde4..37dd682b 100644 --- a/crypto_kem/kyber512-90s/clean/api.h +++ b/crypto_kem/kyber512-90s/clean/api.h @@ -7,7 +7,7 @@ #define PQCLEAN_KYBER51290S_CLEAN_CRYPTO_PUBLICKEYBYTES 800 #define PQCLEAN_KYBER51290S_CLEAN_CRYPTO_CIPHERTEXTBYTES 736 #define PQCLEAN_KYBER51290S_CLEAN_CRYPTO_BYTES 32 -#define PQCLEAN_KYBER51290S_CLEAN_CRYPTO_ALGNAME "Kyber512" +#define PQCLEAN_KYBER51290S_CLEAN_CRYPTO_ALGNAME "Kyber512-90s" int PQCLEAN_KYBER51290S_CLEAN_crypto_kem_keypair(uint8_t *pk, uint8_t *sk); diff --git a/crypto_kem/kyber768-90s/avx2/api.h b/crypto_kem/kyber768-90s/avx2/api.h index 81b48abd..5594f5bf 100644 --- a/crypto_kem/kyber768-90s/avx2/api.h +++ b/crypto_kem/kyber768-90s/avx2/api.h @@ -7,7 +7,7 @@ #define PQCLEAN_KYBER76890S_AVX2_CRYPTO_PUBLICKEYBYTES 1184 #define PQCLEAN_KYBER76890S_AVX2_CRYPTO_CIPHERTEXTBYTES 1088 #define PQCLEAN_KYBER76890S_AVX2_CRYPTO_BYTES 32 -#define PQCLEAN_KYBER76890S_AVX2_CRYPTO_ALGNAME "Kyber768" +#define PQCLEAN_KYBER76890S_AVX2_CRYPTO_ALGNAME "Kyber768-90s" int PQCLEAN_KYBER76890S_AVX2_crypto_kem_keypair(uint8_t *pk, uint8_t *sk); diff --git a/crypto_kem/kyber768-90s/clean/api.h b/crypto_kem/kyber768-90s/clean/api.h index 12146fe5..079f1641 100644 --- a/crypto_kem/kyber768-90s/clean/api.h +++ b/crypto_kem/kyber768-90s/clean/api.h @@ -7,7 +7,7 @@ #define PQCLEAN_KYBER76890S_CLEAN_CRYPTO_PUBLICKEYBYTES 1184 #define PQCLEAN_KYBER76890S_CLEAN_CRYPTO_CIPHERTEXTBYTES 1088 #define PQCLEAN_KYBER76890S_CLEAN_CRYPTO_BYTES 32 -#define PQCLEAN_KYBER76890S_CLEAN_CRYPTO_ALGNAME "Kyber768" +#define PQCLEAN_KYBER76890S_CLEAN_CRYPTO_ALGNAME "Kyber768-90s" int PQCLEAN_KYBER76890S_CLEAN_crypto_kem_keypair(uint8_t *pk, uint8_t *sk);