Implementation notes: amd64, saber214, crypto_verify/127vartime

Computer: saber214
Microarchitecture: amd64; Bulldozer (600f20)
Architecture: amd64
CPU ID: AuthenticAMD-00600f20-1789c3f5
SUPERCOP version: 20240625
Operation: crypto_verify
Primitive: 127vartime
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
9265 0 013412 816 712T!!!refclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
94107 0 012206 776 768refgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
94101 0 09425 752 736T!!!refgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
95107 0 010742 776 768refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
9765 0 011004 816 712T!!!refclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
9765 0 09358 808 712T!!!refclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
9765 0 012148 816 712T!!!refclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
9865 0 09764 816 712T!!!refclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
100107 0 010517 768 768refgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625

Failed TIMECOP


Conditional jump or move depends on uninitialised value(s)
   at 0x...: __memcmp_sse4_1 (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x...: crypto_verify_127vartime_ref_constbranchindex (verify.c:6)
   by 0x...: check (try.c:63)
   by 0x...: test (try.c:84)
   by 0x...: main (try-anything.c:345)
 Uninitialised value was created by a client request
   at 0x...: poison (try-anything.c:281)
   by 0x...: check (try.c:62)
   by 0x...: test (try.c:84)
   by 0x...: main (try-anything.c:345)

Conditional jump or move depends on uninitialised value(s)
   at 0x...: __memcmp_sse4_1 (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x...: crypto_verify_127vartime_ref_constbranchindex (verify.c:6)
   by 0x...: check (try.c:63)
   by 0x...: test (try.c:86)
   by 0x...: main (try-anything.c:345)
 Uninitialised value was created by a client request
   at 0x...: poison (try-anything.c:281)
   by 0x...: check (try.c:62)
   by 0x...: test (try.c:86)
   by 0x...: main (try-anything.c:345)

Conditional jump or move depends on uninitialised value(s)
   at 0x...: __memcmp_sse4_1 (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x...: crypto_verify_127vartime_ref_constbranchindex (verify.c:6)
   by 0x...: check (try.c:63)
   by 0x...: test (try.c:88)
   by 0x...: main (try-anything.c:345)
 Uninitialised value was created by a client request
   at 0x...: poison (try-anything.c:281)
   by 0x...: check (try.c:62)
   by 0x...: test (try.c:88)
   by 0x...: main (try-anything.c:345)

Conditional jump or move depends on uninitialised value(s)
   at 0x...: __memcmp_sse4_1 (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x...: crypto_verify_127vartime_ref_constbranchindex (verify.c:6)
   by 0x...: check (try.c:63)
   by 0x...: test (try.c:90)
   by 0x...: main (try-anything.c:345)
 Uninitialised value was created by a client request
   at 0x...: poison (try-anything.c:281)
   by 0x...: check (try.c:62)
   by 0x...: test (try.c:90)
   by 0x...: main (try-anything.c:345)

Conditional jump or move depends on uninitialised value(s)
   at 0x...: __memcmp_sse4_1 (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x...: crypto_verify_127vartime_ref_constbranchindex (verify.c:6)
   by 0x...: check (try.c:63)
   by 0x...: test (try.c:92)
   by 0x...: main (try-anything.c:345)
 Uninitialised value was created by a client request
   at 0x...: poison (try-anything.c:281)
   by 0x...: check (try.c:62)
   by 0x...: test (try.c:92)
   by 0x...: main (try-anything.c:345)

Number of similar (implementation,compiler) pairs: 6, namely:
ImplementationCompiler
refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
refclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)

TIMECOP error (can be valgrind bug)


Conditional jump or move depends on uninitialised value(s)
   at 0x...: __memcmp_sse4_1 (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x...: crypto_verify_127vartime_ref_constbranchindex (verify.c:6)
   by 0x...: check (try.c:63)
   by 0x...: test (try.c:84)
   by 0x...: main (try-anything.c:345)
 Uninitialised value was created by a client request
   at 0x...: poison (try-anything.c:281)
   by 0x...: check (try.c:62)
   by 0x...: test (try.c:84)
   by 0x...: main (try-anything.c:345)


Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x1097A5
   at 0x...: memcpy (string_fortified.h:29)
   by 0x...: test (try.c:85)
   by 0x...: main (try-anything.c:345)

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

TIMECOP error (can be valgrind bug)


Conditional jump or move depends on uninitialised value(s)
   at 0x...: __memcmp_sse4_1 (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x...: crypto_verify_127vartime_ref_constbranchindex (verify.c:6)
   by 0x...: check (try.c:63)
   by 0x...: test (try.c:84)
   by 0x...: main (try-anything.c:345)
 Uninitialised value was created by a client request
   at 0x...: poison (try-anything.c:281)
   by 0x...: check (try.c:62)
   by 0x...: test (try.c:84)
   by 0x...: main (try-anything.c:345)


Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x1095C2
   at 0x...: memcpy (string_fortified.h:29)
   by 0x...: test (try.c:85)
   by 0x...: main (try-anything.c:345)

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