Implementation notes: amd64, rome0, crypto_sign/ntrumls593x
Computer: rome0
Microarchitecture: amd64; Zen 2 (830f10)
Architecture: amd64
CPU ID: AuthenticAMD-00830f10-178bfbff
SUPERCOP version: 20240808
Operation: crypto_sign
Primitive: ntrumls593x
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
1060908 | 25055 322 4164 | 60041 1132 6008 | T:ref | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240807 | 20240807 |
1101482 | 21531 322 4160 | 56142 1172 5944 | T:ref | clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240807 | 20240807 |
1101987 | 19004 322 4160 | 53510 1172 5944 | T:ref | clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240807 | 20240807 |
1610489 | 15486 322 4164 | 48729 1132 6008 | T:ref | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240807 | 20240807 |
1633023 | 14844 322 4164 | 47778 1140 6008 | T:ref | gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240807 | 20240807 |
1796043 | 27263 322 4160 | 62174 1172 5912 | T:ref | clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240807 | 20240807 |
1810521 | 14109 322 4160 | 46548 1164 5912 | T:ref | clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240807 | 20240807 |
1817650 | 14149 322 4160 | 46284 1164 5912 | T:ref | clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240807 | 20240807 |
2224313 | 12498 322 4164 | 44258 1132 5976 | T:ref | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240807 | 20240807 |
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_ntrumls593x_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_ntrumls593x_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) |