From e6b00bf10dce27474e0665e8a5cd6424b31bef9d Mon Sep 17 00:00:00 2001 From: Roman Khlopkov <roman.khlopkov@demlabs.net> Date: Sat, 11 Apr 2020 13:39:12 +0000 Subject: [PATCH] bugs-3380 --- src/sig_tesla/tesla_params.h | 4 ++-- test/CMakeLists.txt | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/sig_tesla/tesla_params.h b/src/sig_tesla/tesla_params.h index 9adfdaf..15df323 100755 --- a/src/sig_tesla/tesla_params.h +++ b/src/sig_tesla/tesla_params.h @@ -85,8 +85,8 @@ void tesla_private_and_public_keys_delete(tesla_private_key_t *private_key, tesl void tesla_signature_delete(tesla_signature_t *signature); ///========================================================================================== -typedef int64_t __attribute__ ((aligned(32))) poly;//[ 2048 ]; //PARAM_N -typedef int64_t __attribute__ ((aligned(32))) poly_k;//[ 5 * 2048]; // PARAM_K * PARAM_N +typedef int64_t poly;//[ 2048 ]; //PARAM_N __attribute__ ((aligned(32))) +typedef int64_t poly_k;//[ 5 * 2048]; // PARAM_K * PARAM_N __attribute__ ((aligned(32))) int64_t init_mass_poly(poly *zeta, poly *zetainv, tesla_param_t *p); int64_t reduce(int64_t a, tesla_param_t *p); diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index c614077..18ed498 100755 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -3,6 +3,9 @@ project(test) set(CMAKE_C_STANDARD 11) -#add_subdirectory(libdap-test) +if(NOT SUBMODULES_NO_BUILD) + add_subdirectory(libdap-test) +endif() + add_subdirectory(crypto) add_subdirectory(cert) -- GitLab