Implementation notes: amd64, speed2supercop, crypto_scalarmult/kummer

Computer: speed2supercop
Microarchitecture: amd64; Haswell+AES (306c3)
Architecture: amd64
CPU ID: GenuineIntel-000306c3-1fc9cbf5
SUPERCOP version: 20240625
Operation: crypto_scalarmult
Primitive: kummer
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
25008818537 0 042309 800 1600avx2intclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
25783220952 0 044901 800 1600avx2intclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2695448579 0 029383 792 1632avx2intclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
27241217682 0 037677 800 1568avx2intclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2880088933 0 033077 800 1600avx2clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2880568933 0 032885 800 1600avx2clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2881408732 0 031421 760 1632avx2gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2888568917 0 031541 800 1568avx2clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2890688613 0 028685 800 1568avx2clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2891528508 0 029213 760 1632avx2gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2891528544 0 028741 760 1632avx2gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2892648470 0 029391 792 1632avx2clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2895088426 0 027468 752 1600avx2gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2926529440 0 030149 760 1632avx2intgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2930528824 0 029029 760 1632avx2intgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
3741889619 0 033749 800 1600avxclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
3742249619 0 033557 800 1600avxclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
3743369418 0 032093 760 1632avxgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
3752129603 0 032213 800 1568avxclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
3753049194 0 029885 760 1632avxgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
3753809156 0 030063 792 1632avxclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
3753809230 0 029413 760 1632avxgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
3754569299 0 029357 800 1568avxclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
3761129112 0 028140 752 1600avxgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
88638812691 0 036582 800 1600ref5clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
90772814137 0 038230 800 1600ref5clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
93184013010 0 036902 800 1600ref5uclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
9521444174 0 025055 792 1632T!!!ref5clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
96407214592 0 037142 800 1568ref5clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
9904087327 0 029909 760 1632ref5gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
99168414782 0 037294 800 1568ref5uclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
101694412600 0 032622 800 1568ref5clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
10182644560 0 025197 760 1632ref5gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
10182764399 0 025287 792 1632T!!!ref5uclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
102478414376 0 038470 800 1600ref5uclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
10589524808 0 025453 760 1632ref5ugcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
10883084437 0 024557 760 1632ref5gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
108929212707 0 032710 800 1568ref5uclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
10934607557 0 030221 760 1632ref5ugcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
11159684160 0 023093 752 1600ref5gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
11449444733 0 024821 760 1632ref5ugcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
11759684440 0 023405 752 1600ref5ugcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625

Checksum failure


fed817738cdd521656d7a275be805497dad14c441e9df26be432e3b1a333f255

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
avx2intgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)

Test failure


error 111
crypto_scalarmult not associative

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
avx2intgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)

Compiler output


gfe.c: gfe.c:59:30: warning: argument 1 of type 'unsigned char *' declared as a pointer [-Warray-parameter=]
gfe.c:    59 | void gfe_pack(unsigned char *r, const gfe *x)
gfe.c:       |               ~~~~~~~~~~~~~~~^
gfe.c: In file included from gfe.c:1:
gfe.c: gfe.h:49:15: note: previously declared as an array 'unsigned char[16]'
gfe.c:    49 | void gfe_pack(unsigned char[16], const gfe *x);
gfe.c:       |               ^~~~~~~~~~~~~~~~~
gfe.c: gfe.c: In function 'fromdouble':
gfe.c: gfe.c:71:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
gfe.c:    71 |   return *(unsigned long long *) &d - 0x4338000000000000;
gfe.c:       |           ^~~~~~~~~~~~~~~~~~~~~~~~~
gfe.c: gfe.c: In function 'todouble':
gfe.c: gfe.c:77:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
gfe.c:    77 |   return *(double *) &l - 6755399441055744.0;
gfe.c:       |           ^~~~~~~~~~~~~
gfe.c: gfe.c: At top level:
gfe.c: gfe.c:80:28: warning: argument 1 of type 'gfe *' declared as a pointer [-Warray-parameter=]
gfe.c:    80 | void gfe4x3limb_split(gfe *r, const gfe4x *x)
gfe.c:       |                       ~~~~~^
gfe.c: gfe.h:53:27: note: previously declared as an array 'gfe[4]'
gfe.c:    53 | void gfe4x3limb_split(gfe r[4], const gfe4x *a);
gfe.c:       |                       ~~~~^~~~

Number of similar (implementation,compiler) pairs: 6, namely:
ImplementationCompiler
avxgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
avxgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
avxgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
avx2gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
avx2gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
avx2gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)

Compiler output


gfe.c: gfe.c:59:30: warning: argument 1 of type 'unsigned char *' declared as a pointer [-Warray-parameter=]
gfe.c:    59 | void gfe_pack(unsigned char *r, const gfe *x)
gfe.c:       |               ~~~~~~~~~~~~~~~^
gfe.c: In file included from gfe.c:1:
gfe.c: gfe.h:49:15: note: previously declared as an array 'unsigned char[16]'
gfe.c:    49 | void gfe_pack(unsigned char[16], const gfe *x);
gfe.c:       |               ^~~~~~~~~~~~~~~~~
gfe.c: gfe.c:80:28: warning: argument 1 of type 'gfe *' declared as a pointer [-Warray-parameter=]
gfe.c:    80 | void gfe4x3limb_split(gfe *r, const gfe4x *x)
gfe.c:       |                       ~~~~~^
gfe.c: gfe.h:53:27: note: previously declared as an array 'gfe[4]'
gfe.c:    53 | void gfe4x3limb_split(gfe r[4], const gfe4x *a);
gfe.c:       |                       ~~~~^~~~

Number of similar (implementation,compiler) pairs: 2, namely:
ImplementationCompiler
avxgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
avx2gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)

Compiler output


smult.c: smult.c:36:8: error: always_inline function '_mm256_mul_epi32' requires target feature 'avx2', but would be inlined into function 'crypto_scalarmult_kummer_avx2int_constbranchindex_gfe4x_mulconst' that is compiled without support for 'avx2'
smult.c:   t0 = _mm256_mul_epi32(a->v[0],*b);
smult.c:        ^
smult.c: smult.c:36:8: error: AVX vector argument of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
smult.c: smult.c:37:8: error: always_inline function '_mm256_mul_epi32' requires target feature 'avx2', but would be inlined into function 'crypto_scalarmult_kummer_avx2int_constbranchindex_gfe4x_mulconst' that is compiled without support for 'avx2'
smult.c:   t1 = _mm256_mul_epi32(a->v[1],*b);
smult.c:        ^
smult.c: smult.c:37:8: error: AVX vector argument of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
smult.c: smult.c:38:30: error: always_inline function '_mm256_srli_epi64' requires target feature 'avx2', but would be inlined into function 'crypto_scalarmult_kummer_avx2int_constbranchindex_gfe4x_mulconst' that is compiled without support for 'avx2'
smult.c:     t1 = _mm256_add_epi64(t1,_mm256_srli_epi64(t0,26)); t0 &= mask26;
smult.c:                              ^
smult.c: smult.c:38:30: error: AVX vector argument of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
smult.c: smult.c:38:10: error: always_inline function '_mm256_add_epi64' requires target feature 'avx2', but would be inlined into function 'crypto_scalarmult_kummer_avx2int_constbranchindex_gfe4x_mulconst' that is compiled without support for 'avx2'
smult.c:     t1 = _mm256_add_epi64(t1,_mm256_srli_epi64(t0,26)); t0 &= mask26;
smult.c:          ^
smult.c: smult.c:38:10: error: AVX vector argument of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
smult.c: smult.c:39:8: error: always_inline function '_mm256_mul_epi32' requires target feature 'avx2', but would be inlined into function 'crypto_scalarmult_kummer_avx2int_constbranchindex_gfe4x_mulconst' that is compiled without support for 'avx2'
smult.c:   t2 = _mm256_mul_epi32(a->v[2],*b);
smult.c:        ^
smult.c: smult.c:39:8: error: AVX vector argument of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
smult.c: smult.c:40:8: error: always_inline function '_mm256_mul_epi32' requires target feature 'avx2', but would be inlined into function 'crypto_scalarmult_kummer_avx2int_constbranchindex_gfe4x_mulconst' that is compiled without support for 'avx2'
smult.c:   t3 = _mm256_mul_epi32(a->v[3],*b);
smult.c:        ^
smult.c: smult.c:40:8: error: AVX vector argument of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
smult.c: smult.c:41:8: error: always_inline function '_mm256_mul_epi32' requires target feature 'avx2', but would be inlined into function 'crypto_scalarmult_kummer_avx2int_constbranchindex_gfe4x_mulconst' that is compiled without support for 'avx2'
smult.c: ...

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
avx2intclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))

Compiler output


smult.c: smult.c: In function 'crypto_scalarmult_kummer_avx2int_constbranchindex_gfe4x_from_gfe':
smult.c: smult.c:14:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
smult.c:    14 |     0[(crypto_uint64 *) &y->v[i]] = x[0].v[i];
smult.c:       |      ^
smult.c: smult.c: In function 'crypto_scalarmult_kummer_avx2int_constbranchindex_gfe4x_to_gfe':
smult.c: smult.c:26:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
smult.c:    26 |     x[0].v[i] = 0[(crypto_uint64 *) &y->v[i]];
smult.c:       |                  ^
smult.c: In function 'crypto_scalarmult_kummer_avx2int_constbranchindex_gfe4x_mulprecomputed',
smult.c:     inlined from 'crypto_scalarmult_kummer_avx2int_constbranchindex' at smult.c:402:7:
smult.c: smult.c:162:6: warning: 'input' is used uninitialized [-Wuninitialized]
smult.c:   162 |   a0 = a->v[0];
smult.c:       |   ~~~^~~~~~~~~
smult.c: smult.c: In function 'crypto_scalarmult_kummer_avx2int_constbranchindex':
smult.c: smult.c:354:9: note: 'input' declared here
smult.c:   354 |   gfe4x input;
smult.c:       |         ^~~~~

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
avx2intgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)

Compiler output


smult.c: smult.c: In function 'crypto_scalarmult_kummer_avx2int_constbranchindex_gfe4x_from_gfe':
smult.c: smult.c:14:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
smult.c:    14 |     0[(crypto_uint64 *) &y->v[i]] = x[0].v[i];
smult.c:       |      ^
smult.c: smult.c: In function 'crypto_scalarmult_kummer_avx2int_constbranchindex_gfe4x_to_gfe':
smult.c: smult.c:26:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
smult.c:    26 |     x[0].v[i] = 0[(crypto_uint64 *) &y->v[i]];
smult.c:       |                  ^

Number of similar (implementation,compiler) pairs: 2, namely:
ImplementationCompiler
avx2intgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
avx2intgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)

Failed TIMECOP


Conditional jump or move depends on uninitialised value(s)
   at 0x...: cswap4x (smult.c:13)
   by 0x...: crypto_scalarmult_kummer_ref5_constbranchindex (smult.c:113)
   by 0x...: test (try.c:128)
   by 0x...: main (try-anything.c:345)
 Uninitialised value was created by a client request
   at 0x...: poison (try-anything.c:281)
   by 0x...: test (try.c:127)
   by 0x...: main (try-anything.c:345)

Conditional jump or move depends on uninitialised value(s)
   at 0x...: cswap4x (smult.c:13)
   by 0x...: crypto_scalarmult_kummer_ref5_constbranchindex (smult.c:113)
   by 0x...: test (try.c:140)
   by 0x...: main (try-anything.c:345)
 Uninitialised value was created by a client request
   at 0x...: poison (try-anything.c:281)
   by 0x...: test (try.c:139)
   by 0x...: main (try-anything.c:345)

Conditional jump or move depends on uninitialised value(s)
   at 0x...: cswap4x (smult.c:13)
   by 0x...: crypto_scalarmult_kummer_ref5_constbranchindex (smult.c:113)
   by 0x...: test (try.c:150)
   by 0x...: main (try-anything.c:345)
 Uninitialised value was created by a client request
   at 0x...: poison (try-anything.c:281)
   by 0x...: test (try.c:149)
   by 0x...: main (try-anything.c:345)

Conditional jump or move depends on uninitialised value(s)
   at 0x...: cswap4x (smult.c:13)
   by 0x...: crypto_scalarmult_kummer_ref5_constbranchindex (smult.c:113)
   by 0x...: test (try.c:160)
   by 0x...: main (try-anything.c:345)
 Uninitialised value was created by a client request
   at 0x...: poison (try-anything.c:281)
   by 0x...: test (try.c:159)
   by 0x...: main (try-anything.c:345)

Conditional jump or move depends on uninitialised value(s)
   at 0x...: cswap4x (smult.c:13)
   by 0x...: crypto_scalarmult_kummer_ref5_constbranchindex (smult.c:113)
   by 0x...: test (try.c:172)
   by 0x...: main (try-anything.c:345)
 Uninitialised value was created by a client request
   at 0x...: poison (try-anything.c:281)
   by 0x...: test (try.c:171)
   by 0x...: main (try-anything.c:345)

Conditional jump or move depends on uninitialised value(s)
   at 0x...: cswap4x (smult.c:13)
   by 0x...: crypto_scalarmult_kummer_ref5_constbranchindex (smult.c:113)
   by 0x...: test (try.c:182)
   by 0x...: main (try-anything.c:345)
 Uninitialised value was created by a client request
   at 0x...: poison (try-anything.c:281)
   by 0x...: test (try.c:181)
   by 0x...: main (try-anything.c:345)

Conditional jump or move depends on uninitialised value(s)
   at 0x...: cswap4x (smult.c:13)
   by 0x...: crypto_scalarmult_kummer_ref5_constbranchindex (smult.c:113)
   by 0x...: test (try.c:196)
   by 0x...: main (try-anything.c:345)
 Uninitialised value was created by a client request
   at 0x...: poison (try-anything.c:281)
   by 0x...: test (try.c:194)
   by 0x...: main (try-anything.c:345)

Conditional jump or move depends on uninitialised value(s)
   at 0x...: cswap4x (smult.c:13)
   by 0x...: crypto_scalarmult_kummer_ref5_constbranchindex (smult.c:113)
   by 0x...: test (try.c:212)
   by 0x...: main (try-anything.c:345)
 Uninitialised value was created by a client request
   at 0x...: poison (try-anything.c:281)
   by 0x...: test (try.c:210)
   by 0x...: main (try-anything.c:345)

Conditional jump or move depends on uninitialised value(s)
   at 0x...: cswap4x (smult.c:13)
   by 0x...: crypto_scalarmult_kummer_ref5_constbranchindex (smult.c:113)
   by 0x...: test (try.c:225)
   by 0x...: main (try-anything.c:345)
 Uninitialised value was created by a client request
   at 0x...: poison (try-anything.c:281)
   by 0x...: test (try.c:223)
   by 0x...: main (try-anything.c:345)

Conditional jump or move depends on uninitialised value(s)
   at 0x...: cswap4x (smult.c:13)
   by 0x...: crypto_scalarmult_kummer_ref5_constbranchindex (smult.c:113)
   by 0x...: test (try.c:234)
   by 0x...: main (try-anything.c:345)
 Uninitialised value was created by a client request
   at 0x...: poison (try-anything.c:281)
   by 0x...: test (try.c:232)
   by 0x...: main (try-anything.c:345)

Conditional jump or move depends on uninitialised value(s)
   at 0x...: cswap4x (smult.c:13)
   by 0x...: crypto_scalarmult_kummer_ref5_constbranchindex (smult.c:113)
   by 0x...: test (try.c:249)
   by 0x...: main (try-anything.c:345)
 Uninitialised value was created by a client request
   at 0x...: poison (try-anything.c:281)
   by 0x...: test (try.c:247)
   by 0x...: main (try-anything.c:345)

Conditional jump or move depends on uninitialised value(s)
   at 0x...: cswap4x (smult.c:13)
   by 0x...: crypto_scalarmult_kummer_ref5_constbranchindex (smult.c:113)
   by 0x...: test (try.c:265)
   by 0x...: main (try-anything.c:345)
 Uninitialised value was created by a client request
   at 0x...: poison (try-anything.c:281)
   by 0x...: test (try.c:263)
   by 0x...: main (try-anything.c:345)

Conditional jump or move depends on uninitialised value(s)
   at 0x...: cswap4x (smult.c:13)
   by 0x...: crypto_scalarmult_kummer_ref5_constbranchindex (smult.c:113)
   by 0x...: test (try.c:278)
   by 0x...: main (try-anything.c:345)
 Uninitialised value was created by a client request
   at 0x...: poison (try-anything.c:281)
   by 0x...: test (try.c:276)
   by 0x...: main (try-anything.c:345)

Conditional jump or move depends on uninitialised value(s)
   at 0x...: cswap4x (smult.c:13)
   by 0x...: crypto_scalarmult_kummer_ref5_constbranchindex (smult.c:113)
   by 0x...: test (try.c:287)
   by 0x...: main (try-anything.c:345)
 Uninitialised value was created by a client request
   at 0x...: poison (try-anything.c:281)
   by 0x...: test (try.c:285)
   by 0x...: main (try-anything.c:345)

Conditional jump or move depends on uninitialised value(s)
   at 0x...: cswap4x (smult.c:13)
   by 0x...: crypto_scalarmult_kummer_ref5_constbranchindex (smult.c:113)
   by 0x...: doit (try.c:112)
   by 0x...: main (try-anything.c:357)
 Uninitialised value was created by a client request
   at 0x...: poison (try-anything.c:281)
   by 0x...: randombytes_callback (try-anything.c:312)
   by 0x...: predoit (try.c:106)
   by 0x...: main (try-anything.c:351)

Conditional jump or move depends on uninitialised value(s)
   at 0x...: cswap4x (smult.c:13)
   by 0x...: crypto_scalarmult_kummer_ref5_constbranchindex (smult.c:113)
   by 0x...: doit (try.c:113)
   by 0x...: main (try-anything.c:357)
 Uninitialised value was created by a client request
   at 0x...: poison (try-anything.c:281)
   by 0x...: randombytes_callback (try-anything.c:312)
   by 0x...: main (try-anything.c:351)

Conditional jump or move depends on uninitialised value(s)
   at 0x...: cswap4x (smult.c:13)
   by 0x...: crypto_scalarmult_kummer_ref5_constbranchindex (smult.c:113)
   by 0x...: doit (try.c:114)
   by 0x...: main (try-anything.c:357)
 Uninitialised value was created by a client request
   at 0x...: poison (try-anything.c:281)
   by 0x...: randombytes_callback (try-anything.c:312)
   by 0x...: predoit (try.c:106)
   by 0x...: main (try-anything.c:351)

Conditional jump or move depends on uninitialised value(s)
   at 0x...: cswap4x (smult.c:13)
   by 0x...: crypto_scalarmult_kummer_ref5_constbranchindex (smult.c:113)
   by 0x...: main (try-anything.c:357)
 Uninitialised value was created by a client request
   at 0x...: poison (try-anything.c:281)
   by 0x...: randombytes_callback (try-anything.c:312)
   by 0x...: main (try-anything.c:351)

Conditional jump or move depends on uninitialised value(s)
   at 0x...: cswap4x (smult.c:13)
   by 0x...: crypto_scalarmult_kummer_ref5_constbranchindex (smult.c:113)
   by 0x...: doit (try.c:112)
   by 0x...: main (try-anything.c:357)
 Uninitialised value was created by a client request
   at 0x...: poison (try-anything.c:281)
   by 0x...: randombytes_callback (try-anything.c:312)
   by 0x...: predoit (try.c:106)
   by 0x...: main (try-anything.c:351)

Conditional jump or move depends on uninitialised value(s)
   at 0x...: cswap4x (smult.c:13)
   by 0x...: crypto_scalarmult_kummer_ref5_constbranchindex (smult.c:113)
   by 0x...: doit (try.c:113)
   by 0x...: main (try-anything.c:357)
 Uninitialised value was created by a client request
   at 0x...: poison (try-anything.c:281)
   by 0x...: randombytes_callback (try-anything.c:312)
   by 0x...: main (try-anything.c:351)

Conditional jump or move depends on uninitialised value(s)
   at 0x...: cswap4x (smult.c:13)
   by 0x...: crypto_scalarmult_kummer_ref5_constbranchindex (smult.c:113)
   by 0x...: doit (try.c:114)
   by 0x...: main (try-anything.c:357)
 Uninitialised value was created by a client request
   at 0x...: poison (try-anything.c:281)
   by 0x...: randombytes_callback (try-anything.c:312)
   by 0x...: predoit (try.c:106)
   by 0x...: main (try-anything.c:351)

Conditional jump or move depends on uninitialised value(s)
   at 0x...: cswap4x (smult.c:13)
   by 0x...: crypto_scalarmult_kummer_ref5_constbranchindex (smult.c:113)
   by 0x...: main (try-anything.c:357)
 Uninitialised value was created by a client request
   at 0x...: poison (try-anything.c:281)
   by 0x...: randombytes_callback (try-anything.c:312)
   by 0x...: main (try-anything.c:351)

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
ref5clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))

Failed TIMECOP


Conditional jump or move depends on uninitialised value(s)
   at 0x...: cswap4x (smult.c:12)
   by 0x...: crypto_scalarmult_kummer_ref5u_constbranchindex (smult.c:115)
   by 0x...: test (try.c:128)
   by 0x...: main (try-anything.c:345)
 Uninitialised value was created by a client request
   at 0x...: poison (try-anything.c:281)
   by 0x...: test (try.c:127)
   by 0x...: main (try-anything.c:345)

Conditional jump or move depends on uninitialised value(s)
   at 0x...: cswap4x (smult.c:12)
   by 0x...: crypto_scalarmult_kummer_ref5u_constbranchindex (smult.c:115)
   by 0x...: test (try.c:140)
   by 0x...: main (try-anything.c:345)
 Uninitialised value was created by a client request
   at 0x...: poison (try-anything.c:281)
   by 0x...: test (try.c:139)
   by 0x...: main (try-anything.c:345)

Conditional jump or move depends on uninitialised value(s)
   at 0x...: cswap4x (smult.c:12)
   by 0x...: crypto_scalarmult_kummer_ref5u_constbranchindex (smult.c:115)
   by 0x...: test (try.c:150)
   by 0x...: main (try-anything.c:345)
 Uninitialised value was created by a client request
   at 0x...: poison (try-anything.c:281)
   by 0x...: test (try.c:149)
   by 0x...: main (try-anything.c:345)

Conditional jump or move depends on uninitialised value(s)
   at 0x...: cswap4x (smult.c:12)
   by 0x...: crypto_scalarmult_kummer_ref5u_constbranchindex (smult.c:115)
   by 0x...: test (try.c:160)
   by 0x...: main (try-anything.c:345)
 Uninitialised value was created by a client request
   at 0x...: poison (try-anything.c:281)
   by 0x...: test (try.c:159)
   by 0x...: main (try-anything.c:345)

Conditional jump or move depends on uninitialised value(s)
   at 0x...: cswap4x (smult.c:12)
   by 0x...: crypto_scalarmult_kummer_ref5u_constbranchindex (smult.c:115)
   by 0x...: test (try.c:172)
   by 0x...: main (try-anything.c:345)
 Uninitialised value was created by a client request
   at 0x...: poison (try-anything.c:281)
   by 0x...: test (try.c:171)
   by 0x...: main (try-anything.c:345)

Conditional jump or move depends on uninitialised value(s)
   at 0x...: cswap4x (smult.c:12)
   by 0x...: crypto_scalarmult_kummer_ref5u_constbranchindex (smult.c:115)
   by 0x...: test (try.c:182)
   by 0x...: main (try-anything.c:345)
 Uninitialised value was created by a client request
   at 0x...: poison (try-anything.c:281)
   by 0x...: test (try.c:181)
   by 0x...: main (try-anything.c:345)

Conditional jump or move depends on uninitialised value(s)
   at 0x...: cswap4x (smult.c:12)
   by 0x...: crypto_scalarmult_kummer_ref5u_constbranchindex (smult.c:115)
   by 0x...: test (try.c:196)
   by 0x...: main (try-anything.c:345)
 Uninitialised value was created by a client request
   at 0x...: poison (try-anything.c:281)
   by 0x...: test (try.c:194)
   by 0x...: main (try-anything.c:345)

Conditional jump or move depends on uninitialised value(s)
   at 0x...: cswap4x (smult.c:12)
   by 0x...: crypto_scalarmult_kummer_ref5u_constbranchindex (smult.c:115)
   by 0x...: test (try.c:212)
   by 0x...: main (try-anything.c:345)
 Uninitialised value was created by a client request
   at 0x...: poison (try-anything.c:281)
   by 0x...: test (try.c:210)
   by 0x...: main (try-anything.c:345)

Conditional jump or move depends on uninitialised value(s)
   at 0x...: cswap4x (smult.c:12)
   by 0x...: crypto_scalarmult_kummer_ref5u_constbranchindex (smult.c:115)
   by 0x...: test (try.c:225)
   by 0x...: main (try-anything.c:345)
 Uninitialised value was created by a client request
   at 0x...: poison (try-anything.c:281)
   by 0x...: test (try.c:223)
   by 0x...: main (try-anything.c:345)

Conditional jump or move depends on uninitialised value(s)
   at 0x...: cswap4x (smult.c:12)
   by 0x...: crypto_scalarmult_kummer_ref5u_constbranchindex (smult.c:115)
   by 0x...: test (try.c:234)
   by 0x...: main (try-anything.c:345)
 Uninitialised value was created by a client request
   at 0x...: poison (try-anything.c:281)
   by 0x...: test (try.c:232)
   by 0x...: main (try-anything.c:345)

Conditional jump or move depends on uninitialised value(s)
   at 0x...: cswap4x (smult.c:12)
   by 0x...: crypto_scalarmult_kummer_ref5u_constbranchindex (smult.c:115)
   by 0x...: test (try.c:249)
   by 0x...: main (try-anything.c:345)
 Uninitialised value was created by a client request
   at 0x...: poison (try-anything.c:281)
   by 0x...: test (try.c:247)
   by 0x...: main (try-anything.c:345)

Conditional jump or move depends on uninitialised value(s)
   at 0x...: cswap4x (smult.c:12)
   by 0x...: crypto_scalarmult_kummer_ref5u_constbranchindex (smult.c:115)
   by 0x...: test (try.c:265)
   by 0x...: main (try-anything.c:345)
 Uninitialised value was created by a client request
   at 0x...: poison (try-anything.c:281)
   by 0x...: test (try.c:263)
   by 0x...: main (try-anything.c:345)

Conditional jump or move depends on uninitialised value(s)
   at 0x...: cswap4x (smult.c:12)
   by 0x...: crypto_scalarmult_kummer_ref5u_constbranchindex (smult.c:115)
   by 0x...: test (try.c:278)
   by 0x...: main (try-anything.c:345)
 Uninitialised value was created by a client request
   at 0x...: poison (try-anything.c:281)
   by 0x...: test (try.c:276)
   by 0x...: main (try-anything.c:345)

Conditional jump or move depends on uninitialised value(s)
   at 0x...: cswap4x (smult.c:12)
   by 0x...: crypto_scalarmult_kummer_ref5u_constbranchindex (smult.c:115)
   by 0x...: test (try.c:287)
   by 0x...: main (try-anything.c:345)
 Uninitialised value was created by a client request
   at 0x...: poison (try-anything.c:281)
   by 0x...: test (try.c:285)
   by 0x...: main (try-anything.c:345)

Conditional jump or move depends on uninitialised value(s)
   at 0x...: cswap4x (smult.c:12)
   by 0x...: crypto_scalarmult_kummer_ref5u_constbranchindex (smult.c:115)
   by 0x...: doit (try.c:112)
   by 0x...: main (try-anything.c:357)
 Uninitialised value was created by a client request
   at 0x...: poison (try-anything.c:281)
   by 0x...: randombytes_callback (try-anything.c:312)
   by 0x...: predoit (try.c:106)
   by 0x...: main (try-anything.c:351)

Conditional jump or move depends on uninitialised value(s)
   at 0x...: cswap4x (smult.c:12)
   by 0x...: crypto_scalarmult_kummer_ref5u_constbranchindex (smult.c:115)
   by 0x...: doit (try.c:113)
   by 0x...: main (try-anything.c:357)
 Uninitialised value was created by a client request
   at 0x...: poison (try-anything.c:281)
   by 0x...: randombytes_callback (try-anything.c:312)
   by 0x...: main (try-anything.c:351)

Conditional jump or move depends on uninitialised value(s)
   at 0x...: cswap4x (smult.c:12)
   by 0x...: crypto_scalarmult_kummer_ref5u_constbranchindex (smult.c:115)
   by 0x...: doit (try.c:114)
   by 0x...: main (try-anything.c:357)
 Uninitialised value was created by a client request
   at 0x...: poison (try-anything.c:281)
   by 0x...: randombytes_callback (try-anything.c:312)
   by 0x...: predoit (try.c:106)
   by 0x...: main (try-anything.c:351)

Conditional jump or move depends on uninitialised value(s)
   at 0x...: cswap4x (smult.c:12)
   by 0x...: crypto_scalarmult_kummer_ref5u_constbranchindex (smult.c:115)
   by 0x...: main (try-anything.c:357)
 Uninitialised value was created by a client request
   at 0x...: poison (try-anything.c:281)
   by 0x...: randombytes_callback (try-anything.c:312)
   by 0x...: main (try-anything.c:351)

Conditional jump or move depends on uninitialised value(s)
   at 0x...: cswap4x (smult.c:12)
   by 0x...: crypto_scalarmult_kummer_ref5u_constbranchindex (smult.c:115)
   by 0x...: doit (try.c:112)
   by 0x...: main (try-anything.c:357)
 Uninitialised value was created by a client request
   at 0x...: poison (try-anything.c:281)
   by 0x...: randombytes_callback (try-anything.c:312)
   by 0x...: predoit (try.c:106)
   by 0x...: main (try-anything.c:351)

Conditional jump or move depends on uninitialised value(s)
   at 0x...: cswap4x (smult.c:12)
   by 0x...: crypto_scalarmult_kummer_ref5u_constbranchindex (smult.c:115)
   by 0x...: doit (try.c:113)
   by 0x...: main (try-anything.c:357)
 Uninitialised value was created by a client request
   at 0x...: poison (try-anything.c:281)
   by 0x...: randombytes_callback (try-anything.c:312)
   by 0x...: main (try-anything.c:351)

Conditional jump or move depends on uninitialised value(s)
   at 0x...: cswap4x (smult.c:12)
   by 0x...: crypto_scalarmult_kummer_ref5u_constbranchindex (smult.c:115)
   by 0x...: doit (try.c:114)
   by 0x...: main (try-anything.c:357)
 Uninitialised value was created by a client request
   at 0x...: poison (try-anything.c:281)
   by 0x...: randombytes_callback (try-anything.c:312)
   by 0x...: predoit (try.c:106)
   by 0x...: main (try-anything.c:351)

Conditional jump or move depends on uninitialised value(s)
   at 0x...: cswap4x (smult.c:12)
   by 0x...: crypto_scalarmult_kummer_ref5u_constbranchindex (smult.c:115)
   by 0x...: main (try-anything.c:357)
 Uninitialised value was created by a client request
   at 0x...: poison (try-anything.c:281)
   by 0x...: randombytes_callback (try-anything.c:312)
   by 0x...: main (try-anything.c:351)

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
ref5uclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))

Passed TIMECOP


TIMECOP iterations: 10

Number of similar (implementation,compiler) pairs: 40, namely:
ImplementationCompiler
avxclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
avxclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
avxclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
avxclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
avxclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
avxgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
avxgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
avxgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
avxgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
avx2clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
avx2clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
avx2clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
avx2clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
avx2clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
avx2gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
avx2gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
avx2gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
avx2gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
avx2intclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
avx2intclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
avx2intclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
avx2intclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
avx2intgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
avx2intgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
ref5clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
ref5clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
ref5clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
ref5clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
ref5gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
ref5gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
ref5gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
ref5gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
ref5uclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
ref5uclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
ref5uclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
ref5uclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
ref5ugcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
ref5ugcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
ref5ugcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
ref5ugcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)