Test results for amd64, hertz, crypto_kem/hqc2563
[Page version: 20250926 22:06:17]
Measurements for amd64, hertz, crypto_kem
Test results for amd64, hertz, crypto_kem
Test results for crypto_kem/hqc2563
Computer: hertz
Microarchitecture: amd64; Zen 4 (a60f12)
Architecture: amd64
CPU ID: AuthenticAMD-00a60f12-178bfbff
SUPERCOP version: 20250922
Operation: crypto_kem
Primitive: hqc2563
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
3168678 | 32282 0 52 | 54856 924 1896 | T:opt | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250926 | 20250922 |
3994521 | 14978 0 52 | 35552 924 1896 | T:opt | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250926 | 20250922 |
4793679 | 11513 0 52 | 30388 916 1832 | T:opt | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250926 | 20250922 |
Compiler output
gf2x_avx2.c: gf2x_avx2.c:87:19: error: use of unknown builtin '__builtin_shuffle' [-Wimplicit-function-declaration]
gf2x_avx2.c: 87 | rightVector = __builtin_shuffle(
gf2x_avx2.c: | ^
gf2x_avx2.c: gf2x_avx2.c:87:17: error: assigning to 'v8uint32' (vector of 8 'uint32_t' values) from incompatible type 'int'
gf2x_avx2.c: 87 | rightVector = __builtin_shuffle(
gf2x_avx2.c: | ^ ~~~~~~~~~~~~~~~~~~
gf2x_avx2.c: 88 | previousVector, currentVector, rightPerm);
gf2x_avx2.c: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gf2x_avx2.c: gf2x_avx2.c:89:16: error: assigning to 'v8uint32' (vector of 8 'uint32_t' values) from incompatible type 'int'
gf2x_avx2.c: 89 | leftVector = __builtin_shuffle(
gf2x_avx2.c: | ^ ~~~~~~~~~~~~~~~~~~
gf2x_avx2.c: 90 | previousVector, currentVector, leftPerm);
gf2x_avx2.c: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gf2x_avx2.c: 3 errors generated.
Number of similar (implementation,compiler) pairs: 3, namely:
Implementation | Compiler |
T:opt | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_20.1.8_(0ubuntu4)) |
T:opt | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_20.1.8_(0ubuntu4)) |
T:opt | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_20.1.8_(0ubuntu4)) |
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: 3, namely:
Implementation | Compiler |
T:opt | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (15.2.0) |
T:opt | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (15.2.0) |
T:opt | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (15.2.0) |
Compiler output
rng.c: clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
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: | ^
rng.c: 1 warning generated.
bch.cpp: bch.cpp:104:21: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]
bch.cpp: 104 | unsigned char tmp[g_bytes_size];
bch.cpp: | ^~~~~~~~~~~~
bch.cpp: bch.cpp:104:21: note: read of non-const variable 'g_bytes_size' is not allowed in a constant expression
bch.cpp: bch.cpp:103:11: note: declared here
bch.cpp: 103 | uint8_t g_bytes_size = (PARAM_G / 8) + 1;
bch.cpp: | ^
bch.cpp: 1 warning generated.
try.cpp: /usr/bin/ld: .../supercop-data/hertz/amd64/lib/libntl.a(lip.o): in function `redc(_ntl_gbigint_body*, _ntl_gbigint_body*, long, unsigned long, _ntl_gbigint_body*)':
try.cpp: .../supercop-data/hertz/amd64/ntl/work/src/lip.cpp:5497:(.text+0x...): undefined reference to `__gmpn_addmul_1'
try.cpp: /usr/bin/ld: .../supercop-data/hertz/amd64/ntl/work/src/lip.cpp:5509:(.text+0x...): undefined reference to `__gmpn_sub_n'
try.cpp: /usr/bin/ld: .../supercop-data/hertz/amd64/lib/libntl.a(lip.o): in function `_ntl_rem_struct_basic::eval(long*, _ntl_gbigint_body*, _ntl_tmp_vec*)':
try.cpp: .../supercop-data/hertz/amd64/ntl/work/src/lip.cpp:7962:(.text+0x...): undefined reference to `__gmpn_mod_1'
try.cpp: /usr/bin/ld: .../supercop-data/hertz/amd64/lib/libntl.a(lip.o): in function `_ntl_reduce_struct_montgomery::eval(_ntl_gbigint_body**, _ntl_gbigint_body**)':
try.cpp: .../supercop-data/hertz/amd64/ntl/work/src/lip.cpp:5581:(.text+0x...): undefined reference to `__gmpn_addmul_1'
try.cpp: /usr/bin/ld: .../supercop-data/hertz/amd64/ntl/work/src/lip.cpp:5593:(.text+0x...): undefined reference to `__gmpn_sub_n'
try.cpp: /usr/bin/ld: .../supercop-data/hertz/amd64/lib/libntl.a(lip.o): in function `_ntl_crt_struct_basic::eval(_ntl_gbigint_body**, long const*, _ntl_tmp_vec*)':
try.cpp: .../supercop-data/hertz/amd64/ntl/work/src/lip.cpp:6790:(.text+0x...): undefined reference to `__gmpn_addmul_1'
try.cpp: /usr/bin/ld: .../supercop-data/hertz/amd64/lib/libntl.a(lip.o): in function `gmod_simple(_ntl_gbigint_body*, _ntl_gbigint_body*, _ntl_gbigint_body**)':
try.cpp: .../supercop-data/hertz/amd64/ntl/work/src/lip.cpp:3521:(.text+0x...): undefined reference to `__gmpn_tdiv_qr'
try.cpp: /usr/bin/ld: .../supercop-data/hertz/amd64/lib/libntl.a(lip.o): in function `_ntl_rem_struct_fast::eval(long*, _ntl_gbigint_body*, _ntl_tmp_vec*)':
try.cpp: .../supercop-data/hertz/amd64/ntl/work/src/lip.cpp:8002:(.text+0x...): undefined reference to `__gmpn_mod_1'
try.cpp: /usr/bin/ld: .../supercop-data/hertz/amd64/lib/libntl.a(lip.o): in function `_ntl_rem_struct_medium::eval(long*, _ntl_gbigint_body*, _ntl_tmp_vec*)':
try.cpp: .../supercop-data/hertz/amd64/ntl/work/src/lip.cpp:8046:(.text+0x...): undefined reference to `__gmpn_mod_1'
try.cpp: /usr/bin/ld: .../supercop-data/hertz/amd64/lib/libntl.a(lip.o): in function `_ntl_grshift(_ntl_gbigint_body*, long, _ntl_gbigint_body**)':
try.cpp: .../supercop-data/hertz/amd64/ntl/work/src/lip.cpp:2428:(.text+0x...): undefined reference to `__gmpn_rshift'
try.cpp: /usr/bin/ld: .../supercop-data/hertz/amd64/lib/libntl.a(lip.o): in function `_ntl_glshift(_ntl_gbigint_body*, long, _ntl_gbigint_body**)':
try.cpp: .../supercop-data/hertz/amd64/ntl/work/src/lip.cpp:2363:(.text+0x...): undefined reference to `__gmpn_lshift'
try.cpp: /usr/bin/ld: .../supercop-data/hertz/amd64/lib/libntl.a(lip.o): in function `_ntl_gadd(_ntl_gbigint_body*, _ntl_gbigint_body*, _ntl_gbigint_body**)':
try.cpp: /usr/include/x86_64-linux-gnu/gmp.h:2149:(.text+0x...): undefined reference to `__gmpn_add_n'
try.cpp: /usr/bin/ld: /usr/include/x86_64-linux-gnu/gmp.h:2204:(.text+0x...): undefined reference to `__gmpn_sub_n'
try.cpp: /usr/bin/ld: .../supercop-data/hertz/amd64/lib/libntl.a(lip.o): in function `__gmpn_sub':
try.cpp: /usr/include/x86_64-linux-gnu/gmp.h:2204:(.text+0x...): undefined reference to `__gmpn_sub_n'
try.cpp: ...
Number of similar (implementation,compiler) pairs: 3, namely:
Implementation | Compiler |
T:ref | clang++ -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_20.1.8_(0ubuntu4)) |
T:ref | clang++ -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_20.1.8_(0ubuntu4)) |
T:ref | clang++ -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_20.1.8_(0ubuntu4)) |
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/hertz/amd64/lib/libntl.a(lip.o): in function `redc(_ntl_gbigint_body*, _ntl_gbigint_body*, long, unsigned long, _ntl_gbigint_body*)':
try.cpp: .../supercop-data/hertz/amd64/ntl/work/src/lip.cpp:5497:(.text+0x...): undefined reference to `__gmpn_addmul_1'
try.cpp: /usr/bin/ld: .../supercop-data/hertz/amd64/ntl/work/src/lip.cpp:5509:(.text+0x...): undefined reference to `__gmpn_sub_n'
try.cpp: /usr/bin/ld: .../supercop-data/hertz/amd64/lib/libntl.a(lip.o): in function `_ntl_rem_struct_basic::eval(long*, _ntl_gbigint_body*, _ntl_tmp_vec*)':
try.cpp: .../supercop-data/hertz/amd64/ntl/work/src/lip.cpp:7962:(.text+0x...): undefined reference to `__gmpn_mod_1'
try.cpp: /usr/bin/ld: .../supercop-data/hertz/amd64/lib/libntl.a(lip.o): in function `_ntl_reduce_struct_montgomery::eval(_ntl_gbigint_body**, _ntl_gbigint_body**)':
try.cpp: .../supercop-data/hertz/amd64/ntl/work/src/lip.cpp:5581:(.text+0x...): undefined reference to `__gmpn_addmul_1'
try.cpp: /usr/bin/ld: .../supercop-data/hertz/amd64/ntl/work/src/lip.cpp:5593:(.text+0x...): undefined reference to `__gmpn_sub_n'
try.cpp: /usr/bin/ld: .../supercop-data/hertz/amd64/lib/libntl.a(lip.o): in function `_ntl_crt_struct_basic::eval(_ntl_gbigint_body**, long const*, _ntl_tmp_vec*)':
try.cpp: .../supercop-data/hertz/amd64/ntl/work/src/lip.cpp:6790:(.text+0x...): undefined reference to `__gmpn_addmul_1'
try.cpp: /usr/bin/ld: .../supercop-data/hertz/amd64/lib/libntl.a(lip.o): in function `gmod_simple(_ntl_gbigint_body*, _ntl_gbigint_body*, _ntl_gbigint_body**)':
try.cpp: .../supercop-data/hertz/amd64/ntl/work/src/lip.cpp:3521:(.text+0x...): undefined reference to `__gmpn_tdiv_qr'
try.cpp: /usr/bin/ld: .../supercop-data/hertz/amd64/lib/libntl.a(lip.o): in function `_ntl_rem_struct_fast::eval(long*, _ntl_gbigint_body*, _ntl_tmp_vec*)':
try.cpp: .../supercop-data/hertz/amd64/ntl/work/src/lip.cpp:8002:(.text+0x...): undefined reference to `__gmpn_mod_1'
try.cpp: /usr/bin/ld: .../supercop-data/hertz/amd64/lib/libntl.a(lip.o): in function `_ntl_rem_struct_medium::eval(long*, _ntl_gbigint_body*, _ntl_tmp_vec*)':
try.cpp: .../supercop-data/hertz/amd64/ntl/work/src/lip.cpp:8046:(.text+0x...): undefined reference to `__gmpn_mod_1'
try.cpp: /usr/bin/ld: .../supercop-data/hertz/amd64/lib/libntl.a(lip.o): in function `_ntl_grshift(_ntl_gbigint_body*, long, _ntl_gbigint_body**)':
try.cpp: .../supercop-data/hertz/amd64/ntl/work/src/lip.cpp:2428:(.text+0x...): undefined reference to `__gmpn_rshift'
try.cpp: /usr/bin/ld: .../supercop-data/hertz/amd64/lib/libntl.a(lip.o): in function `_ntl_glshift(_ntl_gbigint_body*, long, _ntl_gbigint_body**)':
try.cpp: .../supercop-data/hertz/amd64/ntl/work/src/lip.cpp:2363:(.text+0x...): undefined reference to `__gmpn_lshift'
try.cpp: /usr/bin/ld: .../supercop-data/hertz/amd64/lib/libntl.a(lip.o): in function `_ntl_gadd(_ntl_gbigint_body*, _ntl_gbigint_body*, _ntl_gbigint_body**)':
try.cpp: /usr/include/x86_64-linux-gnu/gmp.h:2149:(.text+0x...): undefined reference to `__gmpn_add_n'
try.cpp: /usr/bin/ld: /usr/include/x86_64-linux-gnu/gmp.h:2204:(.text+0x...): undefined reference to `__gmpn_sub_n'
try.cpp: /usr/bin/ld: .../supercop-data/hertz/amd64/lib/libntl.a(lip.o): in function `__gmpn_sub':
try.cpp: /usr/include/x86_64-linux-gnu/gmp.h:2204:(.text+0x...): undefined reference to `__gmpn_sub_n'
try.cpp: ...
Number of similar (implementation,compiler) pairs: 3, namely:
Implementation | Compiler |
T:ref | g++ -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (15.2.0) |
T:ref | g++ -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (15.2.0) |
T:ref | g++ -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (15.2.0) |
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: 3, namely:
Implementation | Compiler |
T:opt | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (15.2.0) |
T:opt | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (15.2.0) |
T:opt | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (15.2.0) |