Implementation notes: amd64, speed2supercop, crypto_sign/ntrumls401x
Computer: speed2supercop
Microarchitecture: amd64; Haswell+AES (306c3)
Architecture: amd64
CPU ID: GenuineIntel-000306c3-1fc9cbf5
SUPERCOP version: 20240808
Operation: crypto_sign
Primitive: ntrumls401x
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
897544 | 26060 322 4164 | 61014 1104 5832 | T:ref | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240811 | 20240808 |
1200608 | 15117 322 4164 | 48062 1104 5832 | T:ref | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240811 | 20240808 |
1262940 | 14511 322 4164 | 47311 1112 5832 | T:ref | gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240811 | 20240808 |
1533564 | 12401 322 4164 | 44167 1104 5800 | T:ref | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240811 | 20240808 |
Test failure
error 111
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_16.0.6_(27+b1)) |
T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
T:ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
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_16.0.6_(27+b1)) |
T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
T:ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
Compiler output
sign.c: sign.c: In function 'crypto_sign_ntrumls401x_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_ntrumls401x_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: 4, namely:
Implementation | Compiler |
T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.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: 4, namely:
Implementation | Compiler |
T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |