Implementation notes: amd64, hertz, crypto_sign/ntrumls743x

Computer: hertz
Microarchitecture: amd64; Zen 4 (a60f12)
Architecture: amd64
CPU ID: AuthenticAMD-00a60f12-178bfbff
SUPERCOP version: 20240716
Operation: crypto_sign
Primitive: ntrumls743x
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
138545127000 322 416466475 1204 6088T:refgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
201112916317 322 416453779 1204 6024T:refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
232787313211 322 416449107 1196 5992T:refgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716

Test failure


error 111

Number of similar (implementation,compiler) pairs: 3, namely:
ImplementationCompiler
T:refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
T:refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
T:refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))

Compiler output


sign.c: sign.c:48:6: warning: variable 'rc' is uninitialized when used here [-Wuninitialized]
sign.c:    48 |   if(rc == PQNTRU_ERROR)
sign.c:       |      ^~
sign.c: sign.c:40:9: note: initialize the variable 'rc' to silence this warning
sign.c:    40 |   int rc;
sign.c:       |         ^
sign.c:       |          = 0
sign.c: sign.c:86:6: warning: variable 'rc' is uninitialized when used here [-Wuninitialized]
sign.c:    86 |   if(rc == PQNTRU_ERROR)
sign.c:       |      ^~
sign.c: sign.c:76:9: note: initialize the variable 'rc' to silence this warning
sign.c:    76 |   int rc;
sign.c:       |         ^
sign.c:       |          = 0
sign.c: 2 warnings generated.

Number of similar (implementation,compiler) pairs: 3, namely:
ImplementationCompiler
T:refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
T:refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
T:refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))

Compiler output


sign.c: sign.c: In function 'crypto_sign_ntrumls743x_ref_timingleaks_keypair':
sign.c: sign.c:48:5: warning: 'rc' may be used uninitialized [-Wmaybe-uninitialized]
sign.c:    48 |   if(rc == PQNTRU_ERROR)
sign.c:       |     ^
sign.c: sign.c:40:7: note: 'rc' was declared here
sign.c:    40 |   int rc;
sign.c:       |       ^~
sign.c: sign.c: In function 'crypto_sign_ntrumls743x_ref_timingleaks':
sign.c: sign.c:86:5: warning: 'rc' may be used uninitialized [-Wmaybe-uninitialized]
sign.c:    86 |   if(rc == PQNTRU_ERROR)
sign.c:       |     ^
sign.c: sign.c:76:7: note: 'rc' was declared here
sign.c:    76 |   int rc;
sign.c:       |       ^~

Number of similar (implementation,compiler) pairs: 3, namely:
ImplementationCompiler
T:refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)
T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)
T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)

Namespace violations


convert.o bits_2_int64_trits T
convert.o int16_elements_2_octets T
convert.o int64_elements_2_octets T
convert.o int64_trits_2_bits T
convert.o octets_2_int16_elements T
convert.o octets_2_int64_elements T
fastrandombytes.o fastrandombytes T
fastrandombytes.o rng_cleanup T
fastrandombytes.o rng_init T
fastrandombytes.o rng_uint16 T
fastrandombytes.o rng_uint64 T
pack.o get_blob_params T
pack.o get_digest_ptr T
pack.o pack_private_key T
pack.o pack_public_key T
pack.o pack_signature T
pack.o unpack_private_key T
pack.o unpack_public_key T
pack.o unpack_signature T
params.o pq_get_param_set_by_id T
params.o pq_get_param_set_by_oid T
pol.o cmod T
pol.o pol_gen_product T
pol.o pol_inv_mod2 T
pol.o pol_inv_modp T
pol.o pol_mul_coefficients T
pol.o pol_mul_product T
pol.o pol_unidrnd_pZ T
pqntrusign.o pq_gen_key T
pqntrusign.o pq_sign T
pqntrusign.o pq_verify T
shred.o shred T

Number of similar (implementation,compiler) pairs: 3, namely:
ImplementationCompiler
T:refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)
T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)
T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)