Implementation notes: amd64, r24000, crypto_sign/ntrumls593x
Computer: r24000
Microarchitecture: amd64; Coffee Lake (906ea)
Architecture: amd64
CPU ID: GenuineIntel-000906ea-bfebfbff
SUPERCOP version: 20240808
Operation: crypto_sign
Primitive: ntrumls593x
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
1315749 | 26944 322 4164 | 64598 1156 6024 | T:ref | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
2079452 | 15841 322 4164 | 51454 1156 6024 | T:ref | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
2170954 | 15202 322 4164 | 50423 1164 6024 | T:ref | gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
3482502 | 13139 322 4164 | 47255 1156 5992 | T:ref | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 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 (Ubuntu_Clang_16.0.6_(15)) |
T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_16.0.6_(15)) |
T:ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_16.0.6_(15)) |
T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_16.0.6_(15)) |
T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_16.0.6_(15)) |
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 (Ubuntu_Clang_16.0.6_(15)) |
T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_16.0.6_(15)) |
T:ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_16.0.6_(15)) |
T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_16.0.6_(15)) |
T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_16.0.6_(15)) |
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 [-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_ntrumls593x_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.2.0) |
T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
T:ref | gcc -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: 4, namely:
Implementation | Compiler |
T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |