From 9c2449387a94eed35bbd96ca960d3d18975523d1 Mon Sep 17 00:00:00 2001 From: Leon Date: Tue, 11 Jun 2019 16:50:38 +0200 Subject: [PATCH] include stdint in api --- crypto_kem/ledakemlt12/clean/api.h | 4 +++- crypto_kem/ledakemlt32/clean/api.h | 4 +++- crypto_kem/ledakemlt52/clean/api.h | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/crypto_kem/ledakemlt12/clean/api.h b/crypto_kem/ledakemlt12/clean/api.h index a45ae15d..170022d3 100644 --- a/crypto_kem/ledakemlt12/clean/api.h +++ b/crypto_kem/ledakemlt12/clean/api.h @@ -1,6 +1,8 @@ #ifndef PQCLEAN_LEDAKEMLT12_CLEAN_API_H #define PQCLEAN_LEDAKEMLT12_CLEAN_API_H +#include + #define PQCLEAN_LEDAKEMLT12_CLEAN_CRYPTO_SECRETKEYBYTES 25 #define PQCLEAN_LEDAKEMLT12_CLEAN_CRYPTO_PUBLICKEYBYTES 6520 #define PQCLEAN_LEDAKEMLT12_CLEAN_CRYPTO_CIPHERTEXTBYTES 6520 @@ -10,7 +12,7 @@ int PQCLEAN_LEDAKEMLT12_CLEAN_crypto_kem_keypair(uint8_t *pk, uint8_t *sk); int PQCLEAN_LEDAKEMLT12_CLEAN_crypto_kem_enc(uint8_t *ct, uint8_t *ss, const uint8_t *pk); -int PQCLEAN_LEDAKEMLT12_CLEAN_crypto_kem_dec(uint8_t *ss, const uint8_t*ct, const uint8_t *sk); +int PQCLEAN_LEDAKEMLT12_CLEAN_crypto_kem_dec(uint8_t *ss, const uint8_t *ct, const uint8_t *sk); #endif diff --git a/crypto_kem/ledakemlt32/clean/api.h b/crypto_kem/ledakemlt32/clean/api.h index 6b558211..509108d8 100644 --- a/crypto_kem/ledakemlt32/clean/api.h +++ b/crypto_kem/ledakemlt32/clean/api.h @@ -1,6 +1,8 @@ #ifndef PQCLEAN_LEDAKEMLT32_CLEAN_API_H #define PQCLEAN_LEDAKEMLT32_CLEAN_API_H +#include + #define PQCLEAN_LEDAKEMLT32_CLEAN_CRYPTO_SECRETKEYBYTES 33 #define PQCLEAN_LEDAKEMLT32_CLEAN_CRYPTO_PUBLICKEYBYTES 12032 #define PQCLEAN_LEDAKEMLT32_CLEAN_CRYPTO_CIPHERTEXTBYTES 12032 @@ -10,7 +12,7 @@ int PQCLEAN_LEDAKEMLT32_CLEAN_crypto_kem_keypair(uint8_t *pk, uint8_t *sk); int PQCLEAN_LEDAKEMLT32_CLEAN_crypto_kem_enc(uint8_t *ct, uint8_t *ss, const uint8_t *pk); -int PQCLEAN_LEDAKEMLT32_CLEAN_crypto_kem_dec(uint8_t *ss, const uint8_t*ct, const uint8_t *sk); +int PQCLEAN_LEDAKEMLT32_CLEAN_crypto_kem_dec(uint8_t *ss, const uint8_t *ct, const uint8_t *sk); #endif diff --git a/crypto_kem/ledakemlt52/clean/api.h b/crypto_kem/ledakemlt52/clean/api.h index f6fd9363..9d23bb79 100644 --- a/crypto_kem/ledakemlt52/clean/api.h +++ b/crypto_kem/ledakemlt52/clean/api.h @@ -1,6 +1,8 @@ #ifndef PQCLEAN_LEDAKEMLT52_CLEAN_API_H #define PQCLEAN_LEDAKEMLT52_CLEAN_API_H +#include + #define PQCLEAN_LEDAKEMLT52_CLEAN_CRYPTO_SECRETKEYBYTES 41 #define PQCLEAN_LEDAKEMLT52_CLEAN_CRYPTO_PUBLICKEYBYTES 19040 #define PQCLEAN_LEDAKEMLT52_CLEAN_CRYPTO_CIPHERTEXTBYTES 19040 @@ -10,7 +12,7 @@ int PQCLEAN_LEDAKEMLT52_CLEAN_crypto_kem_keypair(uint8_t *pk, uint8_t *sk); int PQCLEAN_LEDAKEMLT52_CLEAN_crypto_kem_enc(uint8_t *ct, uint8_t *ss, const uint8_t *pk); -int PQCLEAN_LEDAKEMLT52_CLEAN_crypto_kem_dec(uint8_t *ss, const uint8_t*ct, const uint8_t *sk); +int PQCLEAN_LEDAKEMLT52_CLEAN_crypto_kem_dec(uint8_t *ss, const uint8_t *ct, const uint8_t *sk); #endif