initial version of SQIsign

Co-authored-by: Jorge Chavez-Saab <jorgechavezsaab@gmail.com>
Co-authored-by: Maria Corte-Real Santos <36373796+mariascrs@users.noreply.github.com>
Co-authored-by: Luca De Feo <github@defeo.lu>
Co-authored-by: Jonathan Komada Eriksen <jonathan.eriksen97@gmail.com>
Co-authored-by: Basil Hess <bhe@zurich.ibm.com>
Co-authored-by: Antonin Leroux <18654258+tonioecto@users.noreply.github.com>
Co-authored-by: Patrick Longa <plonga@microsoft.com>
Co-authored-by: Lorenz Panny <lorenz@yx7.cc>
Co-authored-by: Francisco Rodríguez-Henríquez <francisco.rodriguez@tii.ae>
Co-authored-by: Sina Schaeffler <108983332+syndrakon@users.noreply.github.com>
Co-authored-by: Benjamin Wesolowski <19474926+Calodeon@users.noreply.github.com>
This commit is contained in:
SQIsign team
2023-06-01 00:00:00 +00:00
committed by Lorenz Panny
commit 28ff420dd0
285 changed files with 70301 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
#include <intbig.h>
#define KLPT_equiv_bound_coeff 6
#define KLPT_equiv_num_iter 28561
#define KLPT_primality_num_iter 32
#define KLPT_signing_klpt_length 1050
#define KLPT_signing_num_gamma_trial 64
#define KLPT_gamma_exponent_interval_size 0
#define KLPT_gamma_exponent_center_shift 14
#define KLPT_repres_num_gamma_trial 16384
#define KLPT_signing_number_strong_approx 3432
#define KLPT_random_prime_attempts 64
#define KLPT_secret_key_prime_size 64
#define KLPT_keygen_length 675
#define KLPT_keygen_num_gamma_trial 64
#define KLPT_eichler_smallnorm_bitsize 112
#define KLPT_keygen_number_strong_approx 2639
#define KLPT_eichler_number_mu_norm 8
#define KLPT_eichler_strong_approx_log_margin 2
#define KLPT_eichler_num_equiv_ideal 26
#define KLPT_eichler_number_strong_approx 2540
#define SQISIGN_response_attempts 64
#define SQISIGN_random_length 0
#define SQISIGN_signing_total_length 1050
#define SQISIGN_signing_length 14
#define SQISIGN_keygen_length 9
extern const short SMALL_PRIMES_1MOD4[11];
extern const ibz_t PROD_SMALL_PRIMES_3MOD4;