зеркало из
https://github.com/henrydcase/pqc.git
synced 2024-11-22 07:35:38 +00:00
HQC: updated packaging script. should resolve #327
Этот коммит содержится в:
родитель
f80ed6dce2
Коммит
f38ac3c833
@ -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:
|
||||
|
@ -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"
|
||||
|
||||
|
||||
|
@ -6,8 +6,6 @@
|
||||
* @file bch.h
|
||||
* Header file of bch.c
|
||||
*/
|
||||
|
||||
#include "parameters.h"
|
||||
#include "parameters.h"
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
@ -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++) {
|
||||
|
@ -6,8 +6,6 @@
|
||||
* @file code.h
|
||||
* Header file of code.c
|
||||
*/
|
||||
|
||||
#include "parameters.h"
|
||||
#include "parameters.h"
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
@ -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
|
||||
|
@ -7,8 +7,6 @@
|
||||
* Header file of fft.c
|
||||
*/
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
|
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
@ -7,8 +7,6 @@
|
||||
* Header file of gf.c
|
||||
*/
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
||||
|
@ -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);
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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);
|
||||
|
@ -9,8 +9,6 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
void PQCLEAN_HQC128_AVX2_repetition_code_decode(uint64_t *m, const uint64_t *em);
|
||||
|
||||
|
||||
|
@ -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>
|
||||
|
@ -6,8 +6,6 @@
|
||||
* @file bch.h
|
||||
* Header file of bch.c
|
||||
*/
|
||||
|
||||
#include "parameters.h"
|
||||
#include "parameters.h"
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
@ -6,8 +6,6 @@
|
||||
* @file code.h
|
||||
* Header file of code.c
|
||||
*/
|
||||
|
||||
#include "parameters.h"
|
||||
#include "parameters.h"
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
@ -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
|
||||
|
@ -7,8 +7,6 @@
|
||||
* Header file of fft.c
|
||||
*/
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
|
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
@ -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>
|
||||
|
@ -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);
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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>
|
||||
|
@ -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:
|
||||
|
@ -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"
|
||||
|
||||
|
||||
|
@ -6,8 +6,6 @@
|
||||
* @file bch.h
|
||||
* Header file of bch.c
|
||||
*/
|
||||
|
||||
#include "parameters.h"
|
||||
#include "parameters.h"
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
@ -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++) {
|
||||
|
@ -6,8 +6,6 @@
|
||||
* @file code.h
|
||||
* Header file of code.c
|
||||
*/
|
||||
|
||||
#include "parameters.h"
|
||||
#include "parameters.h"
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
@ -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
|
||||
|
@ -7,8 +7,6 @@
|
||||
* Header file of fft.c
|
||||
*/
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
|
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
@ -7,8 +7,6 @@
|
||||
* Header file of gf.c
|
||||
*/
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
||||
|
@ -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);
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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);
|
||||
|
@ -9,8 +9,6 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
void PQCLEAN_HQC192_AVX2_repetition_code_decode(uint64_t *m, const uint64_t *em);
|
||||
|
||||
|
||||
|
@ -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>
|
||||
|
@ -6,8 +6,6 @@
|
||||
* @file bch.h
|
||||
* Header file of bch.c
|
||||
*/
|
||||
|
||||
#include "parameters.h"
|
||||
#include "parameters.h"
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
@ -6,8 +6,6 @@
|
||||
* @file code.h
|
||||
* Header file of code.c
|
||||
*/
|
||||
|
||||
#include "parameters.h"
|
||||
#include "parameters.h"
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
@ -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
|
||||
|
@ -7,8 +7,6 @@
|
||||
* Header file of fft.c
|
||||
*/
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
|
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
@ -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>
|
||||
|
@ -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);
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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>
|
||||
|
@ -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:
|
||||
|
@ -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"
|
||||
|
||||
|
||||
|
@ -6,8 +6,6 @@
|
||||
* @file bch.h
|
||||
* Header file of bch.c
|
||||
*/
|
||||
|
||||
#include "parameters.h"
|
||||
#include "parameters.h"
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
@ -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++) {
|
||||
|
@ -6,8 +6,6 @@
|
||||
* @file code.h
|
||||
* Header file of code.c
|
||||
*/
|
||||
|
||||
#include "parameters.h"
|
||||
#include "parameters.h"
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
@ -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
|
||||
|
@ -7,8 +7,6 @@
|
||||
* Header file of fft.c
|
||||
*/
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
|
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
@ -7,8 +7,6 @@
|
||||
* Header file of gf.c
|
||||
*/
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
||||
|
@ -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);
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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);
|
||||
|
@ -9,8 +9,6 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
void PQCLEAN_HQC256_AVX2_repetition_code_decode(uint64_t *m, const uint64_t *em);
|
||||
|
||||
|
||||
|
@ -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>
|
||||
|
@ -6,8 +6,6 @@
|
||||
* @file bch.h
|
||||
* Header file of bch.c
|
||||
*/
|
||||
|
||||
#include "parameters.h"
|
||||
#include "parameters.h"
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
@ -6,8 +6,6 @@
|
||||
* @file code.h
|
||||
* Header file of code.c
|
||||
*/
|
||||
|
||||
#include "parameters.h"
|
||||
#include "parameters.h"
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
@ -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
|
||||
|
@ -7,8 +7,6 @@
|
||||
* Header file of fft.c
|
||||
*/
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
|
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
@ -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>
|
||||
|
@ -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);
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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>
|
||||
|
@ -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:
|
||||
|
@ -6,8 +6,6 @@
|
||||
* @file code.h
|
||||
* Header file of code.c
|
||||
*/
|
||||
|
||||
#include "parameters.h"
|
||||
#include "parameters.h"
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
@ -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
|
||||
|
@ -7,9 +7,6 @@
|
||||
* Header file of fft.c
|
||||
*/
|
||||
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
|
@ -7,8 +7,6 @@
|
||||
* Header file of gf.c
|
||||
*/
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
||||
|
@ -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);
|
||||
|
@ -6,8 +6,6 @@
|
||||
* @file parameters.h
|
||||
* @brief Parameters of the HQC_KEM IND-CCA2 scheme
|
||||
*/
|
||||
|
||||
#include "api.h"
|
||||
#include "api.h"
|
||||
|
||||
|
||||
|
@ -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);
|
||||
|
@ -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;
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -6,8 +6,6 @@
|
||||
* @file code.h
|
||||
* Header file of code.c
|
||||
*/
|
||||
|
||||
#include "parameters.h"
|
||||
#include "parameters.h"
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
@ -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
|
||||
|
@ -7,9 +7,6 @@
|
||||
* Header file of fft.c
|
||||
*/
|
||||
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
|
@ -7,8 +7,6 @@
|
||||
* Header file of gf.c
|
||||
*/
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
|
@ -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>
|
||||
|
@ -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);
|
||||
|
@ -6,8 +6,6 @@
|
||||
* @file parameters.h
|
||||
* @brief Parameters of the HQC_KEM IND-CCA2 scheme
|
||||
*/
|
||||
|
||||
#include "api.h"
|
||||
#include "api.h"
|
||||
|
||||
|
||||
|
@ -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);
|
||||
|
@ -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>
|
||||
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче
Block a user