Implementation notes: amd64, cezanne, crypto_sign/ntrumls439x
Computer: cezanne
Microarchitecture: amd64; Zen 3 (a50f00)
Architecture: amd64
CPU ID: AuthenticAMD-00a50f00-178bfbff
SUPERCOP version: 20240808
Operation: crypto_sign
Primitive: ntrumls439x
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
379709 | 25055 322 4164 | 54561 1156 5976 | T:ref | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240718 | 20240716 |
425605 | 21913 322 4160 | 51657 1180 5944 | T:ref | clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240718 | 20240716 |
433611 | 25076 322 4160 | 54929 1180 5944 | T:ref | clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240718 | 20240716 |
524947 | 27263 322 4160 | 56745 1180 5912 | T:ref | clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240718 | 20240716 |
548500 | 15486 322 4164 | 43313 1156 5976 | T:ref | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240718 | 20240716 |
581708 | 14844 322 4164 | 42298 1164 5976 | T:ref | gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240718 | 20240716 |
652267 | 14217 322 4160 | 40967 1172 5912 | T:ref | clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240718 | 20240716 |
663297 | 14180 322 4160 | 41215 1172 5912 | T:ref | clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240718 | 20240716 |
751606 | 12498 322 4164 | 38842 1156 5976 | T:ref | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240718 | 20240716 |
Compiler output
sign.c: sign.c:48:6: warning: variable 'rc' is uninitialized when used here [-Wuninitialized]
sign.c: if(rc == PQNTRU_ERROR)
sign.c: ^~
sign.c: sign.c:40:9: note: initialize the variable 'rc' to silence this warning
sign.c: int rc;
sign.c: ^
sign.c: = 0
sign.c: sign.c:86:6: warning: variable 'rc' is uninitialized when used here [-Wuninitialized]
sign.c: if(rc == PQNTRU_ERROR)
sign.c: ^~
sign.c: sign.c:76:9: note: initialize the variable 'rc' to silence this warning
sign.c: int rc;
sign.c: ^
sign.c: = 0
sign.c: 2 warnings generated.
Number of similar (implementation,compiler) pairs: 5, namely:
Implementation | Compiler |
T:ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
Compiler output
sign.c: sign.c: In function 'crypto_sign_ntrumls439x_ref_timingleaks_keypair':
sign.c: sign.c:48:5: warning: 'rc' may be used uninitialized in this function [-Wmaybe-uninitialized]
sign.c: 48 | if(rc == PQNTRU_ERROR)
sign.c: | ^
sign.c: sign.c: In function 'crypto_sign_ntrumls439x_ref_timingleaks':
sign.c: sign.c:86:5: warning: 'rc' may be used uninitialized in this function [-Wmaybe-uninitialized]
sign.c: 86 | if(rc == PQNTRU_ERROR)
sign.c: | ^
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
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: 9, namely:
Implementation | Compiler |
T:ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |