change include order; add missing includes (#185)

This commit is contained in:
Matthias J. Kannwischer 2019-06-11 08:09:07 -05:00 committato da Thom Wiggers
parent e56b2e5556
commit d5818a40b0
5 ha cambiato i file con 7 aggiunte e 6 eliminazioni

Vedi File

@ -1,6 +1,7 @@
#ifndef PQCLEAN_DILITHIUM2_CLEAN_API_H
#define PQCLEAN_DILITHIUM2_CLEAN_API_H
#include <stddef.h>
#include <stdint.h>
#define MODE 2

Vedi File

@ -1,6 +1,7 @@
#ifndef PQCLEAN_DILITHIUM3_CLEAN_API_H
#define PQCLEAN_DILITHIUM3_CLEAN_API_H
#include <stddef.h>
#include <stdint.h>

Vedi File

@ -1,6 +1,7 @@
#ifndef PQCLEAN_DILITHIUM4_CLEAN_API_H
#define PQCLEAN_DILITHIUM4_CLEAN_API_H
#include <stddef.h>
#include <stdint.h>
#define PQCLEAN_DILITHIUM4_CLEAN_CRYPTO_PUBLICKEYBYTES 1760U

Vedi File

@ -1,10 +1,9 @@
#include "api.h"
#include "randombytes.h"
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include "api.h"
#include "randombytes.h"
#ifndef NTESTS
#define NTESTS 5
#endif

Vedi File

@ -1,11 +1,10 @@
#include "api.h"
#include "randombytes.h"
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include "api.h"
#include "randombytes.h"
#ifndef NTESTS
#define NTESTS 5
#endif