Browse Source

change include order; add missing includes (#185)

master
Matthias J. Kannwischer 5 years ago
committed by Thom Wiggers
parent
commit
d5818a40b0
5 changed files with 7 additions and 6 deletions
  1. +1
    -0
      crypto_sign/dilithium2/clean/api.h
  2. +1
    -0
      crypto_sign/dilithium3/clean/api.h
  3. +1
    -0
      crypto_sign/dilithium4/clean/api.h
  4. +2
    -3
      test/crypto_kem/functest.c
  5. +2
    -3
      test/crypto_sign/functest.c

+ 1
- 0
crypto_sign/dilithium2/clean/api.h 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


+ 1
- 0
crypto_sign/dilithium3/clean/api.h View File

@@ -1,6 +1,7 @@
#ifndef PQCLEAN_DILITHIUM3_CLEAN_API_H
#define PQCLEAN_DILITHIUM3_CLEAN_API_H

#include <stddef.h>
#include <stdint.h>




+ 1
- 0
crypto_sign/dilithium4/clean/api.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


+ 2
- 3
test/crypto_kem/functest.c 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


+ 2
- 3
test/crypto_sign/functest.c 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


Loading…
Cancel
Save