1
1
mirror of https://github.com/henrydcase/pqc.git synced 2024-11-22 07:35:38 +00:00

HQC: updated packaging script. should resolve #327

This commit is contained in:
John M. Schanck 2020-10-05 12:55:34 -04:00 committed by Kris Kwiatkowski
parent f80ed6dce2
commit f38ac3c833
150 changed files with 39 additions and 297 deletions

View File

@ -22,9 +22,9 @@ principal-submitters:
- Loïc Bidoux
implementations:
- name: clean
version: 2020-05-29
version: hqc-submission_2020-05-29 via https://github.com/jschanck/package-pqclean/tree/22134db4/hqc
- name: avx2
version: 2020-05-29
version: hqc-submission_2020-05-29 via https://github.com/jschanck/package-pqclean/tree/22134db4/hqc
supported_platforms:
- architecture: x86_64
operating_systems:

View File

@ -6,8 +6,6 @@
* @file alpha_table.h
* Header file that contain precomputed power of alpha the root of the generator poly og GF(2^PARAM_M)
*/
#include "parameters.h"
#include "parameters.h"

View File

@ -6,8 +6,6 @@
* @file bch.h
* Header file of bch.c
*/
#include "parameters.h"
#include "parameters.h"
#include <stddef.h>
#include <stdint.h>

View File

@ -43,7 +43,7 @@ void PQCLEAN_HQC128_AVX2_code_encode(uint64_t *em, const uint64_t *m) {
__m256i *colonne, y, aux0;
__m256i msg = _mm256_lddqu_si256((const __m256i *) m);
colonne = ((__m256i *) PQCLEAN_HQC128_AVX2_gen_matrix);
colonne = ((__m256i *) gen_matrix);
pos_r = 0;
for (i = 0; i < PARAM_N1 - PARAM_K; i++) {

View File

@ -6,8 +6,6 @@
* @file code.h
* Header file of code.c
*/
#include "parameters.h"
#include "parameters.h"
#include <stddef.h>
#include <stdint.h>

View File

@ -159,7 +159,7 @@ static void radix_big(uint16_t *f0, uint16_t *f1, const uint16_t *f, uint32_t m_
/**
* @brief Evaluates f at all subset sums of a given set
*
* This function is a subroutine of the function fft.
* This function is a subroutine of the function PQCLEAN_HQC128_AVX2_fft.
*
* @param[out] w Array
* @param[in] f Array

View File

@ -7,8 +7,6 @@
* Header file of fft.c
*/
#include <stddef.h>
#include <stddef.h>
#include <stdint.h>

File diff suppressed because one or more lines are too long

View File

@ -7,8 +7,6 @@
* Header file of gf.c
*/
#include <stddef.h>
#include <stddef.h>
#include <stdint.h>

View File

@ -9,8 +9,6 @@
#include <stdint.h>
#include <stdint.h>
void PQCLEAN_HQC128_AVX2_vect_mul(uint64_t *o, const uint64_t *a1, const uint64_t *a2);

View File

@ -9,8 +9,6 @@
#include <stdint.h>
#include <stdint.h>
void PQCLEAN_HQC128_AVX2_hqc_pke_keygen(unsigned char *pk, unsigned char *sk);
void PQCLEAN_HQC128_AVX2_hqc_pke_encrypt(uint64_t *u, uint64_t *v, uint64_t *m, unsigned char *theta, const unsigned char *pk);

View File

@ -4,8 +4,6 @@
* @file parameters.h
* @brief Parameters of the HQC_KEM IND-CCA2 scheme
*/
#include "api.h"
#include "api.h"
#include "vector.h"

View File

@ -9,8 +9,6 @@
#include <stdint.h>
#include <stdint.h>
void PQCLEAN_HQC128_AVX2_store8(unsigned char *out, uint64_t in);
uint64_t PQCLEAN_HQC128_AVX2_load8(const unsigned char *in);

View File

@ -9,8 +9,6 @@
#include <stdint.h>
#include <stdint.h>
void PQCLEAN_HQC128_AVX2_repetition_code_decode(uint64_t *m, const uint64_t *em);

View File

@ -6,8 +6,6 @@
* @file vector.h
* @brief Header file for vector.c
*/
#include "nistseedexpander.h"
#include "nistseedexpander.h"
#include "randombytes.h"
#include <stdint.h>

View File

@ -6,8 +6,6 @@
* @file bch.h
* Header file of bch.c
*/
#include "parameters.h"
#include "parameters.h"
#include <stddef.h>
#include <stdint.h>

View File

@ -6,8 +6,6 @@
* @file code.h
* Header file of code.c
*/
#include "parameters.h"
#include "parameters.h"
#include <stddef.h>
#include <stdint.h>

View File

@ -162,7 +162,7 @@ static void radix_t_big(uint16_t *f, const uint16_t *f0, const uint16_t *f1, uin
/**
* @brief Recursively computes syndromes of family w
*
* This function is a subroutine of the function fft_t
* This function is a subroutine of the function PQCLEAN_HQC128_CLEAN_fft_t
*
* @param[out] f Array receiving the syndromes
* @param[in] w Array storing the family
@ -426,7 +426,7 @@ static void radix_big(uint16_t *f0, uint16_t *f1, const uint16_t *f, uint32_t m_
/**
* @brief Evaluates f at all subset sums of a given set
*
* This function is a subroutine of the function fft.
* This function is a subroutine of the function PQCLEAN_HQC128_CLEAN_fft.
*
* @param[out] w Array
* @param[in] f Array

View File

@ -7,8 +7,6 @@
* Header file of fft.c
*/
#include <stddef.h>
#include <stddef.h>
#include <stdint.h>

File diff suppressed because one or more lines are too long

View File

@ -6,8 +6,6 @@
* @file gf2x.h
* @brief Header file for gf2x.c
*/
#include "nistseedexpander.h"
#include "nistseedexpander.h"
#include "randombytes.h"
#include <stdint.h>

View File

@ -9,8 +9,6 @@
#include <stdint.h>
#include <stdint.h>
void PQCLEAN_HQC128_CLEAN_hqc_pke_keygen(unsigned char *pk, unsigned char *sk);
void PQCLEAN_HQC128_CLEAN_hqc_pke_encrypt(uint64_t *u, uint64_t *v, uint64_t *m, unsigned char *theta, const unsigned char *pk);

View File

@ -4,8 +4,6 @@
* @file parameters.h
* @brief Parameters of the HQC_KEM IND-CCA2 scheme
*/
#include "api.h"
#include "api.h"
#include "vector.h"

View File

@ -9,8 +9,6 @@
#include <stdint.h>
#include <stdint.h>
void PQCLEAN_HQC128_CLEAN_store8(unsigned char *out, uint64_t in);
uint64_t PQCLEAN_HQC128_CLEAN_load8(const unsigned char *in);

View File

@ -9,8 +9,6 @@
#include <stdint.h>
#include <stdint.h>
void PQCLEAN_HQC128_CLEAN_repetition_code_encode(uint64_t *em, const uint64_t *m);
void PQCLEAN_HQC128_CLEAN_repetition_code_decode(uint64_t *m, const uint64_t *em);

View File

@ -6,8 +6,6 @@
* @file vector.h
* @brief Header file for vector.c
*/
#include "nistseedexpander.h"
#include "nistseedexpander.h"
#include "randombytes.h"
#include <stdint.h>

View File

@ -22,9 +22,9 @@ principal-submitters:
- Loïc Bidoux
implementations:
- name: clean
version: 2020-05-29
version: hqc-submission_2020-05-29 via https://github.com/jschanck/package-pqclean/tree/22134db4/hqc
- name: avx2
version: 2020-05-29
version: hqc-submission_2020-05-29 via https://github.com/jschanck/package-pqclean/tree/22134db4/hqc
supported_platforms:
- architecture: x86_64
operating_systems:

View File

@ -6,8 +6,6 @@
* @file alpha_table.h
* Header file that contain precomputed power of alpha the root of the generator poly og GF(2^PARAM_M)
*/
#include "parameters.h"
#include "parameters.h"

View File

@ -6,8 +6,6 @@
* @file bch.h
* Header file of bch.c
*/
#include "parameters.h"
#include "parameters.h"
#include <stddef.h>
#include <stdint.h>

View File

@ -43,7 +43,7 @@ void PQCLEAN_HQC192_AVX2_code_encode(uint64_t *em, const uint64_t *m) {
__m256i *colonne, y, aux0;
__m256i msg = _mm256_lddqu_si256((const __m256i *) m);
colonne = ((__m256i *) PQCLEAN_HQC192_AVX2_gen_matrix);
colonne = ((__m256i *) gen_matrix);
pos_r = 0;
for (i = 0; i < PARAM_N1 - PARAM_K; i++) {

View File

@ -6,8 +6,6 @@
* @file code.h
* Header file of code.c
*/
#include "parameters.h"
#include "parameters.h"
#include <stddef.h>
#include <stdint.h>

View File

@ -159,7 +159,7 @@ static void radix_big(uint16_t *f0, uint16_t *f1, const uint16_t *f, uint32_t m_
/**
* @brief Evaluates f at all subset sums of a given set
*
* This function is a subroutine of the function fft.
* This function is a subroutine of the function PQCLEAN_HQC192_AVX2_fft.
*
* @param[out] w Array
* @param[in] f Array

View File

@ -7,8 +7,6 @@
* Header file of fft.c
*/
#include <stddef.h>
#include <stddef.h>
#include <stdint.h>

File diff suppressed because one or more lines are too long

View File

@ -7,8 +7,6 @@
* Header file of gf.c
*/
#include <stddef.h>
#include <stddef.h>
#include <stdint.h>

View File

@ -9,8 +9,6 @@
#include <stdint.h>
#include <stdint.h>
void PQCLEAN_HQC192_AVX2_vect_mul(uint64_t *o, const uint64_t *a1, const uint64_t *a2);

View File

@ -9,8 +9,6 @@
#include <stdint.h>
#include <stdint.h>
void PQCLEAN_HQC192_AVX2_hqc_pke_keygen(unsigned char *pk, unsigned char *sk);
void PQCLEAN_HQC192_AVX2_hqc_pke_encrypt(uint64_t *u, uint64_t *v, uint64_t *m, unsigned char *theta, const unsigned char *pk);

View File

@ -4,8 +4,6 @@
* @file parameters.h
* @brief Parameters of the HQC_KEM IND-CCA2 scheme
*/
#include "api.h"
#include "api.h"
#include "vector.h"

View File

@ -9,8 +9,6 @@
#include <stdint.h>
#include <stdint.h>
void PQCLEAN_HQC192_AVX2_store8(unsigned char *out, uint64_t in);
uint64_t PQCLEAN_HQC192_AVX2_load8(const unsigned char *in);

View File

@ -9,8 +9,6 @@
#include <stdint.h>
#include <stdint.h>
void PQCLEAN_HQC192_AVX2_repetition_code_decode(uint64_t *m, const uint64_t *em);

View File

@ -6,8 +6,6 @@
* @file vector.h
* @brief Header file for vector.c
*/
#include "nistseedexpander.h"
#include "nistseedexpander.h"
#include "randombytes.h"
#include <stdint.h>

View File

@ -6,8 +6,6 @@
* @file bch.h
* Header file of bch.c
*/
#include "parameters.h"
#include "parameters.h"
#include <stddef.h>
#include <stdint.h>

View File

@ -6,8 +6,6 @@
* @file code.h
* Header file of code.c
*/
#include "parameters.h"
#include "parameters.h"
#include <stddef.h>
#include <stdint.h>

View File

@ -162,7 +162,7 @@ static void radix_t_big(uint16_t *f, const uint16_t *f0, const uint16_t *f1, uin
/**
* @brief Recursively computes syndromes of family w
*
* This function is a subroutine of the function fft_t
* This function is a subroutine of the function PQCLEAN_HQC192_CLEAN_fft_t
*
* @param[out] f Array receiving the syndromes
* @param[in] w Array storing the family
@ -426,7 +426,7 @@ static void radix_big(uint16_t *f0, uint16_t *f1, const uint16_t *f, uint32_t m_
/**
* @brief Evaluates f at all subset sums of a given set
*
* This function is a subroutine of the function fft.
* This function is a subroutine of the function PQCLEAN_HQC192_CLEAN_fft.
*
* @param[out] w Array
* @param[in] f Array

View File

@ -7,8 +7,6 @@
* Header file of fft.c
*/
#include <stddef.h>
#include <stddef.h>
#include <stdint.h>

File diff suppressed because one or more lines are too long

View File

@ -6,8 +6,6 @@
* @file gf2x.h
* @brief Header file for gf2x.c
*/
#include "nistseedexpander.h"
#include "nistseedexpander.h"
#include "randombytes.h"
#include <stdint.h>

View File

@ -9,8 +9,6 @@
#include <stdint.h>
#include <stdint.h>
void PQCLEAN_HQC192_CLEAN_hqc_pke_keygen(unsigned char *pk, unsigned char *sk);
void PQCLEAN_HQC192_CLEAN_hqc_pke_encrypt(uint64_t *u, uint64_t *v, uint64_t *m, unsigned char *theta, const unsigned char *pk);

View File

@ -4,8 +4,6 @@
* @file parameters.h
* @brief Parameters of the HQC_KEM IND-CCA2 scheme
*/
#include "api.h"
#include "api.h"
#include "vector.h"

View File

@ -9,8 +9,6 @@
#include <stdint.h>
#include <stdint.h>
void PQCLEAN_HQC192_CLEAN_store8(unsigned char *out, uint64_t in);
uint64_t PQCLEAN_HQC192_CLEAN_load8(const unsigned char *in);

View File

@ -9,8 +9,6 @@
#include <stdint.h>
#include <stdint.h>
void PQCLEAN_HQC192_CLEAN_repetition_code_encode(uint64_t *em, const uint64_t *m);
void PQCLEAN_HQC192_CLEAN_repetition_code_decode(uint64_t *m, const uint64_t *em);

View File

@ -6,8 +6,6 @@
* @file vector.h
* @brief Header file for vector.c
*/
#include "nistseedexpander.h"
#include "nistseedexpander.h"
#include "randombytes.h"
#include <stdint.h>

View File

@ -22,9 +22,9 @@ principal-submitters:
- Loïc Bidoux
implementations:
- name: clean
version: 2020-05-29
version: hqc-submission_2020-05-29 via https://github.com/jschanck/package-pqclean/tree/22134db4/hqc
- name: avx2
version: 2020-05-29
version: hqc-submission_2020-05-29 via https://github.com/jschanck/package-pqclean/tree/22134db4/hqc
supported_platforms:
- architecture: x86_64
operating_systems:

View File

@ -6,8 +6,6 @@
* @file alpha_table.h
* Header file that contain precomputed power of alpha the root of the generator poly og GF(2^PARAM_M)
*/
#include "parameters.h"
#include "parameters.h"

View File

@ -6,8 +6,6 @@
* @file bch.h
* Header file of bch.c
*/
#include "parameters.h"
#include "parameters.h"
#include <stddef.h>
#include <stdint.h>

View File

@ -44,7 +44,7 @@ void PQCLEAN_HQC256_AVX2_code_encode(uint64_t *em, const uint64_t *m) {
__m256i *colonne, y, aux0;
__m256i msg = _mm256_lddqu_si256((const __m256i *) m);
colonne = ((__m256i *) PQCLEAN_HQC256_AVX2_gen_matrix);
colonne = ((__m256i *) gen_matrix);
pos_r = 0;
for (i = 0; i < PARAM_N1 - PARAM_K; i++) {

View File

@ -6,8 +6,6 @@
* @file code.h
* Header file of code.c
*/
#include "parameters.h"
#include "parameters.h"
#include <stddef.h>
#include <stdint.h>

View File

@ -159,7 +159,7 @@ static void radix_big(uint16_t *f0, uint16_t *f1, const uint16_t *f, uint32_t m_
/**
* @brief Evaluates f at all subset sums of a given set
*
* This function is a subroutine of the function fft.
* This function is a subroutine of the function PQCLEAN_HQC256_AVX2_fft.
*
* @param[out] w Array
* @param[in] f Array

View File

@ -7,8 +7,6 @@
* Header file of fft.c
*/
#include <stddef.h>
#include <stddef.h>
#include <stdint.h>

File diff suppressed because one or more lines are too long

View File

@ -7,8 +7,6 @@
* Header file of gf.c
*/
#include <stddef.h>
#include <stddef.h>
#include <stdint.h>

View File

@ -9,8 +9,6 @@
#include <stdint.h>
#include <stdint.h>
void PQCLEAN_HQC256_AVX2_vect_mul(uint64_t *o, const uint64_t *a1, const uint64_t *a2);

View File

@ -9,8 +9,6 @@
#include <stdint.h>
#include <stdint.h>
void PQCLEAN_HQC256_AVX2_hqc_pke_keygen(unsigned char *pk, unsigned char *sk);
void PQCLEAN_HQC256_AVX2_hqc_pke_encrypt(uint64_t *u, uint64_t *v, uint64_t *m, unsigned char *theta, const unsigned char *pk);

View File

@ -4,8 +4,6 @@
* @file parameters.h
* @brief Parameters of the HQC_KEM IND-CCA2 scheme
*/
#include "api.h"
#include "api.h"
#include "vector.h"

View File

@ -9,8 +9,6 @@
#include <stdint.h>
#include <stdint.h>
void PQCLEAN_HQC256_AVX2_store8(unsigned char *out, uint64_t in);
uint64_t PQCLEAN_HQC256_AVX2_load8(const unsigned char *in);

View File

@ -9,8 +9,6 @@
#include <stdint.h>
#include <stdint.h>
void PQCLEAN_HQC256_AVX2_repetition_code_decode(uint64_t *m, const uint64_t *em);

View File

@ -6,8 +6,6 @@
* @file vector.h
* @brief Header file for vector.c
*/
#include "nistseedexpander.h"
#include "nistseedexpander.h"
#include "randombytes.h"
#include <stdint.h>

View File

@ -6,8 +6,6 @@
* @file bch.h
* Header file of bch.c
*/
#include "parameters.h"
#include "parameters.h"
#include <stddef.h>
#include <stdint.h>

View File

@ -6,8 +6,6 @@
* @file code.h
* Header file of code.c
*/
#include "parameters.h"
#include "parameters.h"
#include <stddef.h>
#include <stdint.h>

View File

@ -162,7 +162,7 @@ static void radix_t_big(uint16_t *f, const uint16_t *f0, const uint16_t *f1, uin
/**
* @brief Recursively computes syndromes of family w
*
* This function is a subroutine of the function fft_t
* This function is a subroutine of the function PQCLEAN_HQC256_CLEAN_fft_t
*
* @param[out] f Array receiving the syndromes
* @param[in] w Array storing the family
@ -426,7 +426,7 @@ static void radix_big(uint16_t *f0, uint16_t *f1, const uint16_t *f, uint32_t m_
/**
* @brief Evaluates f at all subset sums of a given set
*
* This function is a subroutine of the function fft.
* This function is a subroutine of the function PQCLEAN_HQC256_CLEAN_fft.
*
* @param[out] w Array
* @param[in] f Array

View File

@ -7,8 +7,6 @@
* Header file of fft.c
*/
#include <stddef.h>
#include <stddef.h>
#include <stdint.h>

File diff suppressed because one or more lines are too long

View File

@ -6,8 +6,6 @@
* @file gf2x.h
* @brief Header file for gf2x.c
*/
#include "nistseedexpander.h"
#include "nistseedexpander.h"
#include "randombytes.h"
#include <stdint.h>

View File

@ -9,8 +9,6 @@
#include <stdint.h>
#include <stdint.h>
void PQCLEAN_HQC256_CLEAN_hqc_pke_keygen(unsigned char *pk, unsigned char *sk);
void PQCLEAN_HQC256_CLEAN_hqc_pke_encrypt(uint64_t *u, uint64_t *v, uint64_t *m, unsigned char *theta, const unsigned char *pk);

View File

@ -4,8 +4,6 @@
* @file parameters.h
* @brief Parameters of the HQC_KEM IND-CCA2 scheme
*/
#include "api.h"
#include "api.h"
#include "vector.h"

View File

@ -9,8 +9,6 @@
#include <stdint.h>
#include <stdint.h>
void PQCLEAN_HQC256_CLEAN_store8(unsigned char *out, uint64_t in);
uint64_t PQCLEAN_HQC256_CLEAN_load8(const unsigned char *in);

View File

@ -9,8 +9,6 @@
#include <stdint.h>
#include <stdint.h>
void PQCLEAN_HQC256_CLEAN_repetition_code_encode(uint64_t *em, const uint64_t *m);
void PQCLEAN_HQC256_CLEAN_repetition_code_decode(uint64_t *m, const uint64_t *em);

View File

@ -6,8 +6,6 @@
* @file vector.h
* @brief Header file for vector.c
*/
#include "nistseedexpander.h"
#include "nistseedexpander.h"
#include "randombytes.h"
#include <stdint.h>

View File

@ -22,9 +22,9 @@ principal-submitters:
- Loïc Bidoux
implementations:
- name: clean
version: 2020-05-29
version: hqc-submission_2020-05-29 via https://github.com/jschanck/package-pqclean/tree/22134db4/hqc
- name: avx2
version: 2020-05-29
version: hqc-submission_2020-05-29 via https://github.com/jschanck/package-pqclean/tree/22134db4/hqc
supported_platforms:
- architecture: x86_64
operating_systems:

View File

@ -6,8 +6,6 @@
* @file code.h
* Header file of code.c
*/
#include "parameters.h"
#include "parameters.h"
#include <stddef.h>
#include <stdint.h>

View File

@ -158,7 +158,7 @@ static void radix_big(uint16_t *f0, uint16_t *f1, const uint16_t *f, uint32_t m_
/**
* @brief Evaluates f at all subset sums of a given set
*
* This function is a subroutine of the function fft.
* This function is a subroutine of the function PQCLEAN_HQCRMRS128_AVX2_fft.
*
* @param[out] w Array
* @param[in] f Array

View File

@ -7,9 +7,6 @@
* Header file of fft.c
*/
#include <stddef.h>
#include <stddef.h>
#include <stdint.h>

View File

@ -7,8 +7,6 @@
* Header file of gf.c
*/
#include <stddef.h>
#include <stddef.h>
#include <stdint.h>

View File

@ -9,8 +9,6 @@
#include <stdint.h>
#include <stdint.h>
void PQCLEAN_HQCRMRS128_AVX2_vect_mul(uint64_t *o, const uint64_t *a1, const uint64_t *a2);

View File

@ -9,8 +9,6 @@
#include <stdint.h>
#include <stdint.h>
void PQCLEAN_HQCRMRS128_AVX2_hqc_pke_keygen(unsigned char *pk, unsigned char *sk);
void PQCLEAN_HQCRMRS128_AVX2_hqc_pke_encrypt(uint64_t *u, uint64_t *v, uint8_t *m, unsigned char *theta, const unsigned char *pk);

View File

@ -6,8 +6,6 @@
* @file parameters.h
* @brief Parameters of the HQC_KEM IND-CCA2 scheme
*/
#include "api.h"
#include "api.h"

View File

@ -9,8 +9,6 @@
#include <stdint.h>
#include <stdint.h>
void PQCLEAN_HQCRMRS128_AVX2_store8(unsigned char *out, uint64_t in);
uint64_t PQCLEAN_HQCRMRS128_AVX2_load8(const unsigned char *in);

View File

@ -327,7 +327,7 @@ inline uint32_t find_peaks(__m256i *transform) {
tmp = _mm256_setzero_si256();
for (size_t i = 0; i < 8; i++) {
mask = ~(uint32_t) ((-(int64_t)(i ^ message / 16)) >> 63);
__m256i vect_mask = _mm256_set1_epi32(mask);
vect_mask = _mm256_set1_epi32(mask);
tmp = _mm256_or_si256(tmp, _mm256_and_si256(vect_mask, transform[i]));
}
result = 0;

View File

@ -6,8 +6,6 @@
* @file reed_muller.h
* Header file of reed_muller.c
*/
#include "parameters.h"
#include "parameters.h"
#include <stddef.h>
#include <stdint.h>

View File

@ -6,8 +6,6 @@
* @file reed_solomon.h
* Header file of reed_solomon.c
*/
#include "parameters.h"
#include "parameters.h"
#include <stddef.h>
#include <stdint.h>

View File

@ -6,8 +6,6 @@
* @file vector.h
* @brief Header file for vector.c
*/
#include "nistseedexpander.h"
#include "nistseedexpander.h"
#include "randombytes.h"
#include <stdint.h>

View File

@ -6,8 +6,6 @@
* @file code.h
* Header file of code.c
*/
#include "parameters.h"
#include "parameters.h"
#include <stddef.h>
#include <stdint.h>

View File

@ -158,7 +158,7 @@ static void radix_big(uint16_t *f0, uint16_t *f1, const uint16_t *f, uint32_t m_
/**
* @brief Evaluates f at all subset sums of a given set
*
* This function is a subroutine of the function fft.
* This function is a subroutine of the function PQCLEAN_HQCRMRS128_CLEAN_fft.
*
* @param[out] w Array
* @param[in] f Array

View File

@ -7,9 +7,6 @@
* Header file of fft.c
*/
#include <stddef.h>
#include <stddef.h>
#include <stdint.h>

View File

@ -7,8 +7,6 @@
* Header file of gf.c
*/
#include <stddef.h>
#include <stddef.h>
#include <stdint.h>

View File

@ -6,8 +6,6 @@
* @file gf2x.h
* @brief Header file for gf2x.c
*/
#include "nistseedexpander.h"
#include "nistseedexpander.h"
#include "randombytes.h"
#include <stdint.h>

View File

@ -9,8 +9,6 @@
#include <stdint.h>
#include <stdint.h>
void PQCLEAN_HQCRMRS128_CLEAN_hqc_pke_keygen(unsigned char *pk, unsigned char *sk);
void PQCLEAN_HQCRMRS128_CLEAN_hqc_pke_encrypt(uint64_t *u, uint64_t *v, uint8_t *m, unsigned char *theta, const unsigned char *pk);

View File

@ -6,8 +6,6 @@
* @file parameters.h
* @brief Parameters of the HQC_KEM IND-CCA2 scheme
*/
#include "api.h"
#include "api.h"

View File

@ -9,8 +9,6 @@
#include <stdint.h>
#include <stdint.h>
void PQCLEAN_HQCRMRS128_CLEAN_store8(unsigned char *out, uint64_t in);
uint64_t PQCLEAN_HQCRMRS128_CLEAN_load8(const unsigned char *in);

View File

@ -6,8 +6,6 @@
* @file reed_muller.h
* Header file of reed_muller.c
*/
#include "parameters.h"
#include "parameters.h"
#include <stddef.h>
#include <stdint.h>

Some files were not shown because too many files have changed in this diff Show More