Implementation notes: amd64, hertz, crypto_verify/127vartime

Computer: hertz
Microarchitecture: amd64; Zen 4 (a60f12)
Architecture: amd64
CPU ID: AuthenticAMD-00a60f12-178bfbff
SUPERCOP version: 20240716
Operation: crypto_verify
Primitive: 127vartime
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
3798 0 017431 828 968refclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
3798 0 017575 828 968refclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
3798 0 011328 820 968refclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
38107 0 013365 804 968refgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
38101 0 09928 780 904refgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
39107 0 011341 804 936refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716

TIMECOP error (can be valgrind bug)


error 111

Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x10B3A0
   at 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)

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))

TIMECOP error (can be valgrind bug)


error 111

Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x10B420
   at 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)

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))

TIMECOP error (can be valgrind bug)


error 111

Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x10A334
   at 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)

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))

TIMECOP error (can be valgrind bug)


error 111
Conditional jump or move depends on uninitialised value(s)
   at 0x...: bcmp (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 0x1097B5
   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 (13.2.0)
refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)

TIMECOP error (can be valgrind bug)


error 111
Conditional jump or move depends on uninitialised value(s)
   at 0x...: bcmp (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 0x1096D2
   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 -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)