Test results for armeabi, berry2, crypto_kem/hqc1922

[Page version: 20241120 00:22:57]

Measurements for armeabi, berry2, crypto_kem Test results for armeabi, berry2, crypto_kem Test results for crypto_kem/hqc1922
Computer: berry2
Microarchitecture: armeabi; Cortex-A7 (410fc075)
Architecture: armeabi
CPU ID: unknown CPU ID
SUPERCOP version: 20240909
Operation: crypto_kem
Primitive: hqc1922
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
3433219215994 0 5230548 432 1584T:optgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024102120240909
3591477012682 0 5225588 432 1584T:optgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024102120240909
409913989557 0 5221616 424 1576T:optgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024102120240909
4279597410602 0 5223402 428 1584T:optgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024102120240909

Compiler output


rng.c: rng.c: In function 'AES256_ECB':
rng.c: rng.c:123:9: warning: variable 'ciphertext_len' set but not used [-Wunused-but-set-variable]
rng.c:   123 |     int ciphertext_len;
rng.c:       |         ^~~~~~~~~~~~~~

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:optgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:optgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:optgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:optgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)

Compiler output


rng.c: rng.c: In function 'int seedexpander(AES_XOF_struct*, unsigned char*, long unsigned int)':
rng.c: rng.c:75:19: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare]
rng.c:    75 |         if ( xlen <= (16-ctx->buffer_pos) ) { // buffer has what we need
rng.c:       |              ~~~~~^~~~~~~~~~~~~~~~~~~~~~~
rng.c: rng.c: In function 'void AES256_ECB(unsigned char*, unsigned char*, unsigned char*)':
rng.c: rng.c:123:9: warning: variable 'ciphertext_len' set but not used [-Wunused-but-set-variable]
rng.c:   123 |     int ciphertext_len;
rng.c:       |         ^~~~~~~~~~~~~~
try.cpp: /usr/bin/ld: .../supercop-data/berry2/armeabi/lib/libntl.a(lip.o): in function `redc(_ntl_gbigint_body*, _ntl_gbigint_body*, long, unsigned long, _ntl_gbigint_body*)':
try.cpp: .../supercop-data/berry2/armeabi/ntl/work/src/lip.cpp:5497: undefined reference to `__gmpn_addmul_1'
try.cpp: /usr/bin/ld: .../supercop-data/berry2/armeabi/ntl/work/src/lip.cpp:5509: undefined reference to `__gmpn_sub_n'
try.cpp: /usr/bin/ld: .../supercop-data/berry2/armeabi/lib/libntl.a(lip.o): in function `_ntl_rem_struct_basic::eval(long*, _ntl_gbigint_body*, _ntl_tmp_vec*)':
try.cpp: .../supercop-data/berry2/armeabi/ntl/work/src/lip.cpp:7962: undefined reference to `__gmpn_mod_1'
try.cpp: /usr/bin/ld: .../supercop-data/berry2/armeabi/lib/libntl.a(lip.o): in function `_ntl_reduce_struct_montgomery::eval(_ntl_gbigint_body**, _ntl_gbigint_body**)':
try.cpp: .../supercop-data/berry2/armeabi/ntl/work/src/lip.cpp:5581: undefined reference to `__gmpn_addmul_1'
try.cpp: /usr/bin/ld: .../supercop-data/berry2/armeabi/ntl/work/src/lip.cpp:5593: undefined reference to `__gmpn_sub_n'
try.cpp: /usr/bin/ld: .../supercop-data/berry2/armeabi/lib/libntl.a(lip.o): in function `_ntl_crt_struct_basic::eval(_ntl_gbigint_body**, long const*, _ntl_tmp_vec*)':
try.cpp: .../supercop-data/berry2/armeabi/ntl/work/src/lip.cpp:6790: undefined reference to `__gmpn_addmul_1'
try.cpp: /usr/bin/ld: .../supercop-data/berry2/armeabi/lib/libntl.a(lip.o): in function `gmod_simple(_ntl_gbigint_body*, _ntl_gbigint_body*, _ntl_gbigint_body**)':
try.cpp: .../supercop-data/berry2/armeabi/ntl/work/src/lip.cpp:3521: undefined reference to `__gmpn_tdiv_qr'
try.cpp: /usr/bin/ld: .../supercop-data/berry2/armeabi/lib/libntl.a(lip.o): in function `_ntl_rem_struct_fast::eval(long*, _ntl_gbigint_body*, _ntl_tmp_vec*)':
try.cpp: .../supercop-data/berry2/armeabi/ntl/work/src/lip.cpp:8002: undefined reference to `__gmpn_mod_1'
try.cpp: /usr/bin/ld: .../supercop-data/berry2/armeabi/lib/libntl.a(lip.o): in function `_ntl_rem_struct_medium::eval(long*, _ntl_gbigint_body*, _ntl_tmp_vec*)':
try.cpp: .../supercop-data/berry2/armeabi/ntl/work/src/lip.cpp:8046: undefined reference to `__gmpn_mod_1'
try.cpp: /usr/bin/ld: .../supercop-data/berry2/armeabi/lib/libntl.a(lip.o): in function `_ntl_grshift(_ntl_gbigint_body*, long, _ntl_gbigint_body**)':
try.cpp: .../supercop-data/berry2/armeabi/ntl/work/src/lip.cpp:2428: undefined reference to `__gmpn_rshift'
try.cpp: /usr/bin/ld: .../supercop-data/berry2/armeabi/lib/libntl.a(lip.o): in function `_ntl_glshift(_ntl_gbigint_body*, long, _ntl_gbigint_body**)':
try.cpp: .../supercop-data/berry2/armeabi/ntl/work/src/lip.cpp:2363: undefined reference to `__gmpn_lshift'
try.cpp: /usr/bin/ld: .../supercop-data/berry2/armeabi/lib/libntl.a(lip.o): in function `_ntl_gadd(_ntl_gbigint_body*, _ntl_gbigint_body*, _ntl_gbigint_body**)':
try.cpp: /usr/include/arm-linux-gnueabihf/gmp.h:2197: undefined reference to `__gmpn_sub_n'
try.cpp: /usr/bin/ld: /usr/include/arm-linux-gnueabihf/gmp.h:2142: undefined reference to `__gmpn_add_n'
try.cpp: /usr/bin/ld: .../supercop-data/berry2/armeabi/lib/libntl.a(lip.o): in function `__gmpn_sub':
try.cpp: /usr/include/arm-linux-gnueabihf/gmp.h:2197: undefined reference to `__gmpn_sub_n'
try.cpp: ...

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:refg++ -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:refg++ -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:refg++ -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:refg++ -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)

Namespace violations


bch.o array_to_codeword T
bch.o bch_code_decode T
bch.o bch_code_encode T
bch.o chien_search T
bch.o compute_generator_poly T
bch.o cyclotomic_clear T
bch.o cyclotomic_gen T
bch.o cyclotomic_init T
bch.o error_poly_gen T
bch.o get_error_location_poly T
bch.o get_generator_poly T
bch.o gf_generation T
bch.o gf_get_antilog T
bch.o gf_get_log T
bch.o gf_mod T
bch.o gf_mult T
bch.o gf_tables_clear T
bch.o gf_tables_init T
bch.o lfsr_encoder T
bch.o message_from_codeword T
bch.o message_to_array T
bch.o polynomial_hex T
bch.o sigma_poly_clear T
bch.o sigma_poly_copy T
bch.o sigma_poly_init T
bch.o syndrome_clear T
bch.o syndrome_gen T
bch.o syndrome_init T
gf2x_avx2.o shiftXor T
gf2x_avx2.o sparse_dense_mul T
gf2x_avx2.o vect_sparse_from_bytes T
hqc.o hqc_pke_decrypt T
hqc.o hqc_pke_encrypt T
hqc.o hqc_pke_keygen T
parsing.o hqc_ciphertext_from_string T
parsing.o hqc_ciphertext_to_string T
parsing.o hqc_public_key_from_string T
parsing.o hqc_public_key_to_string T
parsing.o hqc_secret_key_from_string T
parsing.o hqc_secret_key_to_string T
repetition.o array_to_rep_codeword T
repetition.o repetition_code_decode T
repetition.o repetition_code_encode T
rng.o AES256_ECB T
rng.o DRBG_ctx B
rng.o handleErrors T
rng.o seedexpander T
rng.o seedexpander_init T
tensor.o tensor_code_decode T
tensor.o tensor_code_encode T
vector.o vect_add T
vector.o vect_compare T
vector.o vect_fixed_weight T
vector.o vect_print T
vector.o vect_resize T
vector.o vect_set_random T
vector.o vect_set_random_from_randombytes T

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:optgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:optgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:optgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:optgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)