Merge pull request #332 from jschanck/hqc

HQC: updated packaging script. should resolve #327
This commit is contained in:
Thom Wiggers 2020-10-06 09:08:28 +02:00 committed by GitHub
commit 1941405d91
No known key found for this signature in database
GPG avaimen ID: 4AEE18F83AFDEB23
150 muutettua tiedostoa jossa 39 lisäystä ja 297 poistoa

Näytä tiedosto

@ -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:

Näytä tiedosto

@ -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"

Näytä tiedosto

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

Näytä tiedosto

@ -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++) {

Näytä tiedosto

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

Näytä tiedosto

@ -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

Näytä tiedosto

@ -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

Näytä tiedosto

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

Näytä tiedosto

@ -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);

Näytä tiedosto

@ -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);

Näytä tiedosto

@ -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"

Näytä tiedosto

@ -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);

Näytä tiedosto

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

Näytä tiedosto

@ -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>

Näytä tiedosto

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

Näytä tiedosto

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

Näytä tiedosto

@ -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

Näytä tiedosto

@ -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

Näytä tiedosto

@ -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>

Näytä tiedosto

@ -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);

Näytä tiedosto

@ -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"

Näytä tiedosto

@ -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);

Näytä tiedosto

@ -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);

Näytä tiedosto

@ -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>

Näytä tiedosto

@ -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:

Näytä tiedosto

@ -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"

Näytä tiedosto

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

Näytä tiedosto

@ -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++) {

Näytä tiedosto

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

Näytä tiedosto

@ -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

Näytä tiedosto

@ -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

Näytä tiedosto

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

Näytä tiedosto

@ -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);

Näytä tiedosto

@ -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);

Näytä tiedosto

@ -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"

Näytä tiedosto

@ -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);

Näytä tiedosto

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

Näytä tiedosto

@ -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>

Näytä tiedosto

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

Näytä tiedosto

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

Näytä tiedosto

@ -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

Näytä tiedosto

@ -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

Näytä tiedosto

@ -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>

Näytä tiedosto

@ -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);

Näytä tiedosto

@ -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"

Näytä tiedosto

@ -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);

Näytä tiedosto

@ -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);

Näytä tiedosto

@ -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>

Näytä tiedosto

@ -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:

Näytä tiedosto

@ -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"

Näytä tiedosto

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

Näytä tiedosto

@ -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++) {

Näytä tiedosto

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

Näytä tiedosto

@ -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

Näytä tiedosto

@ -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

Näytä tiedosto

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

Näytä tiedosto

@ -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);

Näytä tiedosto

@ -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);

Näytä tiedosto

@ -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"

Näytä tiedosto

@ -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);

Näytä tiedosto

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

Näytä tiedosto

@ -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>

Näytä tiedosto

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

Näytä tiedosto

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

Näytä tiedosto

@ -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

Näytä tiedosto

@ -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

Näytä tiedosto

@ -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>

Näytä tiedosto

@ -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);

Näytä tiedosto

@ -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"

Näytä tiedosto

@ -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);

Näytä tiedosto

@ -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);

Näytä tiedosto

@ -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>

Näytä tiedosto

@ -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:

Näytä tiedosto

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

Näytä tiedosto

@ -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

Näytä tiedosto

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

Näytä tiedosto

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

Näytä tiedosto

@ -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);

Näytä tiedosto

@ -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);

Näytä tiedosto

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

Näytä tiedosto

@ -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);

Näytä tiedosto

@ -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;

Näytä tiedosto

@ -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>

Näytä tiedosto

@ -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>

Näytä tiedosto

@ -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>

Näytä tiedosto

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

Näytä tiedosto

@ -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

Näytä tiedosto

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

Näytä tiedosto

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

Näytä tiedosto

@ -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>

Näytä tiedosto

@ -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);

Näytä tiedosto

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

Näytä tiedosto

@ -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);

Näytä tiedosto

@ -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