change include order; add missing includes (#185)

This commit is contained in:
Matthias J. Kannwischer 2019-06-11 08:09:07 -05:00 committed by Thom Wiggers
parent e56b2e5556
commit d5818a40b0
5 changed files with 7 additions and 6 deletions

View 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

View File

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

View 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

View 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

View 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