Browse Source

NTRU: Move crypto_sort_int32.h include to top of sample.c

kyber
John M. Schanck 4 years ago
committed by Kris Kwiatkowski
parent
commit
97e0aad338
6 changed files with 6 additions and 6 deletions
  1. +1
    -1
      crypto_kem/ntruhps2048509/avx2/sample.c
  2. +1
    -1
      crypto_kem/ntruhps2048509/clean/sample.c
  3. +1
    -1
      crypto_kem/ntruhps2048677/avx2/sample.c
  4. +1
    -1
      crypto_kem/ntruhps2048677/clean/sample.c
  5. +1
    -1
      crypto_kem/ntruhps4096821/avx2/sample.c
  6. +1
    -1
      crypto_kem/ntruhps4096821/clean/sample.c

+ 1
- 1
crypto_kem/ntruhps2048509/avx2/sample.c View File

@@ -1,3 +1,4 @@
#include "crypto_sort_int32.h"
#include "sample.h"

void PQCLEAN_NTRUHPS2048509_AVX2_sample_fg(poly *f, poly *g, const unsigned char uniformbytes[NTRU_SAMPLE_FG_BYTES]) {
@@ -13,7 +14,6 @@ void PQCLEAN_NTRUHPS2048509_AVX2_sample_rm(poly *r, poly *m, const unsigned char
}


#include "crypto_sort_int32.h"
void PQCLEAN_NTRUHPS2048509_AVX2_sample_fixed_type(poly *r, const unsigned char u[NTRU_SAMPLE_FT_BYTES]) {
// Assumes NTRU_SAMPLE_FT_BYTES = ceil(30*(n-1)/8)



+ 1
- 1
crypto_kem/ntruhps2048509/clean/sample.c View File

@@ -1,3 +1,4 @@
#include "crypto_sort_int32.h"
#include "sample.h"

void PQCLEAN_NTRUHPS2048509_CLEAN_sample_fg(poly *f, poly *g, const unsigned char uniformbytes[NTRU_SAMPLE_FG_BYTES]) {
@@ -13,7 +14,6 @@ void PQCLEAN_NTRUHPS2048509_CLEAN_sample_rm(poly *r, poly *m, const unsigned cha
}


#include "crypto_sort_int32.h"
void PQCLEAN_NTRUHPS2048509_CLEAN_sample_fixed_type(poly *r, const unsigned char u[NTRU_SAMPLE_FT_BYTES]) {
// Assumes NTRU_SAMPLE_FT_BYTES = ceil(30*(n-1)/8)



+ 1
- 1
crypto_kem/ntruhps2048677/avx2/sample.c View File

@@ -1,3 +1,4 @@
#include "crypto_sort_int32.h"
#include "sample.h"

void PQCLEAN_NTRUHPS2048677_AVX2_sample_fg(poly *f, poly *g, const unsigned char uniformbytes[NTRU_SAMPLE_FG_BYTES]) {
@@ -13,7 +14,6 @@ void PQCLEAN_NTRUHPS2048677_AVX2_sample_rm(poly *r, poly *m, const unsigned char
}


#include "crypto_sort_int32.h"
void PQCLEAN_NTRUHPS2048677_AVX2_sample_fixed_type(poly *r, const unsigned char u[NTRU_SAMPLE_FT_BYTES]) {
// Assumes NTRU_SAMPLE_FT_BYTES = ceil(30*(n-1)/8)



+ 1
- 1
crypto_kem/ntruhps2048677/clean/sample.c View File

@@ -1,3 +1,4 @@
#include "crypto_sort_int32.h"
#include "sample.h"

void PQCLEAN_NTRUHPS2048677_CLEAN_sample_fg(poly *f, poly *g, const unsigned char uniformbytes[NTRU_SAMPLE_FG_BYTES]) {
@@ -13,7 +14,6 @@ void PQCLEAN_NTRUHPS2048677_CLEAN_sample_rm(poly *r, poly *m, const unsigned cha
}


#include "crypto_sort_int32.h"
void PQCLEAN_NTRUHPS2048677_CLEAN_sample_fixed_type(poly *r, const unsigned char u[NTRU_SAMPLE_FT_BYTES]) {
// Assumes NTRU_SAMPLE_FT_BYTES = ceil(30*(n-1)/8)



+ 1
- 1
crypto_kem/ntruhps4096821/avx2/sample.c View File

@@ -1,3 +1,4 @@
#include "crypto_sort_int32.h"
#include "sample.h"

void PQCLEAN_NTRUHPS4096821_AVX2_sample_fg(poly *f, poly *g, const unsigned char uniformbytes[NTRU_SAMPLE_FG_BYTES]) {
@@ -13,7 +14,6 @@ void PQCLEAN_NTRUHPS4096821_AVX2_sample_rm(poly *r, poly *m, const unsigned char
}


#include "crypto_sort_int32.h"
void PQCLEAN_NTRUHPS4096821_AVX2_sample_fixed_type(poly *r, const unsigned char u[NTRU_SAMPLE_FT_BYTES]) {
// Assumes NTRU_SAMPLE_FT_BYTES = ceil(30*(n-1)/8)



+ 1
- 1
crypto_kem/ntruhps4096821/clean/sample.c View File

@@ -1,3 +1,4 @@
#include "crypto_sort_int32.h"
#include "sample.h"

void PQCLEAN_NTRUHPS4096821_CLEAN_sample_fg(poly *f, poly *g, const unsigned char uniformbytes[NTRU_SAMPLE_FG_BYTES]) {
@@ -13,7 +14,6 @@ void PQCLEAN_NTRUHPS4096821_CLEAN_sample_rm(poly *r, poly *m, const unsigned cha
}


#include "crypto_sort_int32.h"
void PQCLEAN_NTRUHPS4096821_CLEAN_sample_fixed_type(poly *r, const unsigned char u[NTRU_SAMPLE_FT_BYTES]) {
// Assumes NTRU_SAMPLE_FT_BYTES = ceil(30*(n-1)/8)



Loading…
Cancel
Save