Test results for amd64, hertz, crypto_kem/hqc2563

[Page version: 20241028 01:32:29]

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: 20241022
Operation: crypto_kem
Primitive: hqc2563
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
317257657884 0 5287259 924 1928T:optcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024102520241022
459777811422 0 5237323 916 1832T:optcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024102520241022
565359158056 8 521755489 3388 6792T:refg++ -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024102520241022
576273740241 8 521739663 3404 6728T:refclang++ -mllvm -polly -mllvm -polly-vectorizer=stripmine -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024102520241022
576373440573 8 521739983 3404 6728T:refclang++ -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024102520241022
624865012129 8 521708231 3388 6728T:refclang++ -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024102520241022
671333311530 8 521705528 3380 6696T:refg++ -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024102520241022

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: 2, namely:
ImplementationCompiler
T:optcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
T:optcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)

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:
ImplementationCompiler
T:optclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1))
T:optclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1))
T:optclang -mllvm -polly -mllvm -polly-vectorizer=stripmine -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1))

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.

Number of similar (implementation,compiler) pairs: 3, namely:
ImplementationCompiler
T:refclang++ -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1))
T:refclang++ -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1))
T:refclang++ -mllvm -polly -mllvm -polly-vectorizer=stripmine -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1))

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:       |         ^~~~~~~~~~~~~~

Number of similar (implementation,compiler) pairs: 2, namely:
ImplementationCompiler
T:refg++ -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
T:refg++ -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.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: 2, namely:
ImplementationCompiler
T:optcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
T:optcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)