Implementation notes: amd64, samba, crypto_aead/omdsha256k128n96tau64v2

Computer: samba
Microarchitecture: amd64; Skylake (506e3)
Architecture: amd64
CPU ID: GenuineIntel-000506e3-bfebfbff
SUPERCOP version: 20240625
Operation: crypto_aead
Primitive: omdsha256k128n96tau64v2
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
16147014932 0 038836 812 1088T:refgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
17880611499 0 035083 844 1056T:refclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
18117510034 0 033811 844 1088T:refclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1891354582 0 025341 836 1088T:refclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1951386553 0 028316 812 1088T:refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1968985718 0 026859 804 1088T:refgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
2049505663 0 025539 844 1024T:refclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
20825710177 0 032507 844 1024T:refclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
2127464601 0 024119 788 1056T:refgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625

Compiler output


try.c: /usr/bin/ld: libcrypto_aead_omdsha256k128n96tau64v2.a(omdsha256.o):.../supercop-data/samba/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau64v2/avx1/work/./omdsha256.h:41: multiple definition of `Hash'; libcrypto_aead_omdsha256k128n96tau64v2.a(encrypt.o):.../supercop-data/samba/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau64v2/avx1/work/./omdsha256.h:41: first defined here
try.c: clang: error: linker command failed with exit code 1 (use -v to see invocation)

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:avx1clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

Compiler output


try.c: /usr/bin/ld: libcrypto_aead_omdsha256k128n96tau64v2.a(omdsha256.o):.../supercop-data/samba/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau64v2/avx1/work/./omdsha256.h:41: multiple definition of `Hash'; libcrypto_aead_omdsha256k128n96tau64v2.a(encrypt.o):.../supercop-data/samba/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau64v2/avx1/work/./omdsha256.h:41: first defined here
try.c: clang: error: linker command failed with exit code 1 (use -v to see invocation)

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:avx1clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

Compiler output


try.c: /usr/bin/ld: libcrypto_aead_omdsha256k128n96tau64v2.a(omdsha256.o):.../supercop-data/samba/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau64v2/avx1/work/./omdsha256.h:41: multiple definition of `Hash'; libcrypto_aead_omdsha256k128n96tau64v2.a(encrypt.o):.../supercop-data/samba/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau64v2/avx1/work/./omdsha256.h:41: first defined here
try.c: clang: error: linker command failed with exit code 1 (use -v to see invocation)

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:avx1clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

Compiler output


try.c: /usr/bin/ld: libcrypto_aead_omdsha256k128n96tau64v2.a(omdsha256.o):.../supercop-data/samba/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau64v2/avx1/work/./omdsha256.h:41: multiple definition of `Hash'; libcrypto_aead_omdsha256k128n96tau64v2.a(encrypt.o):.../supercop-data/samba/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau64v2/avx1/work/./omdsha256.h:41: first defined here
try.c: clang: error: linker command failed with exit code 1 (use -v to see invocation)

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:avx1clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

Compiler output


try.c: /usr/bin/ld: libcrypto_aead_omdsha256k128n96tau64v2.a(omdsha256.o):.../supercop-data/samba/amd64/try/c/clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau64v2/avx1/work/./omdsha256.h:41: multiple definition of `Hash'; libcrypto_aead_omdsha256k128n96tau64v2.a(encrypt.o):.../supercop-data/samba/amd64/try/c/clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau64v2/avx1/work/./omdsha256.h:41: first defined here
try.c: clang: error: linker command failed with exit code 1 (use -v to see invocation)

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:avx1clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

Compiler output


try.c: /usr/bin/ld: libcrypto_aead_omdsha256k128n96tau64v2.a(omdsha256.o):.../supercop-data/samba/amd64/try/c/gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau64v2/avx1/work/omdsha256.h:41: multiple definition of `Hash'; libcrypto_aead_omdsha256k128n96tau64v2.a(encrypt.o):.../supercop-data/samba/amd64/try/c/gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau64v2/avx1/work/omdsha256.h:41: first defined here
try.c: collect2: error: ld returned 1 exit status

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

Compiler output


omdsha256.c: In function 'xor_block',
omdsha256.c:     inlined from 'omdsha256_process' at omdsha256.c:301:5:
omdsha256.c: omdsha256.c:15:34: warning: 'tage' may be used uninitialized [-Wmaybe-uninitialized]
omdsha256.c:    15 |             res[i] = in1[i] ^ in2[i];
omdsha256.c:       |                               ~~~^~~
omdsha256.c: omdsha256.c: In function 'omdsha256_process':
omdsha256.c: omdsha256.c:253:15: note: 'tage' declared here
omdsha256.c:   253 |     hashblock tage;
omdsha256.c:       |               ^~~~
try.c: /usr/bin/ld: libcrypto_aead_omdsha256k128n96tau64v2.a(omdsha256.o):.../supercop-data/samba/amd64/try/c/gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau64v2/avx1/work/omdsha256.h:41: multiple definition of `Hash'; libcrypto_aead_omdsha256k128n96tau64v2.a(encrypt.o):.../supercop-data/samba/amd64/try/c/gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau64v2/avx1/work/omdsha256.h:41: first defined here
try.c: collect2: error: ld returned 1 exit status

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

Compiler output


try.c: /usr/bin/ld: libcrypto_aead_omdsha256k128n96tau64v2.a(omdsha256.o):.../supercop-data/samba/amd64/try/c/gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau64v2/avx1/work/omdsha256.h:41: multiple definition of `Hash'; libcrypto_aead_omdsha256k128n96tau64v2.a(encrypt.o):.../supercop-data/samba/amd64/try/c/gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau64v2/avx1/work/omdsha256.h:41: first defined here
try.c: collect2: error: ld returned 1 exit status

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

Compiler output


try.c: /usr/bin/ld: libcrypto_aead_omdsha256k128n96tau64v2.a(omdsha256.o):.../supercop-data/samba/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau64v2/avx1/work/omdsha256.h:41: multiple definition of `Hash'; libcrypto_aead_omdsha256k128n96tau64v2.a(encrypt.o):.../supercop-data/samba/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau64v2/avx1/work/omdsha256.h:41: first defined here
try.c: collect2: error: ld returned 1 exit status

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

Compiler output


try.c: /usr/bin/ld: libcrypto_aead_omdsha256k128n96tau64v2.a(omdsha256.o):.../supercop-data/samba/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau64v2/sse4/work/./omdsha256.h:41: multiple definition of `Hash'; libcrypto_aead_omdsha256k128n96tau64v2.a(encrypt.o):.../supercop-data/samba/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau64v2/sse4/work/./omdsha256.h:41: first defined here
try.c: clang: error: linker command failed with exit code 1 (use -v to see invocation)

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:sse4clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

Compiler output


try.c: /usr/bin/ld: libcrypto_aead_omdsha256k128n96tau64v2.a(omdsha256.o):.../supercop-data/samba/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau64v2/sse4/work/./omdsha256.h:41: multiple definition of `Hash'; libcrypto_aead_omdsha256k128n96tau64v2.a(encrypt.o):.../supercop-data/samba/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau64v2/sse4/work/./omdsha256.h:41: first defined here
try.c: clang: error: linker command failed with exit code 1 (use -v to see invocation)

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:sse4clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

Compiler output


try.c: /usr/bin/ld: libcrypto_aead_omdsha256k128n96tau64v2.a(omdsha256.o):.../supercop-data/samba/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau64v2/sse4/work/./omdsha256.h:41: multiple definition of `Hash'; libcrypto_aead_omdsha256k128n96tau64v2.a(encrypt.o):.../supercop-data/samba/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau64v2/sse4/work/./omdsha256.h:41: first defined here
try.c: clang: error: linker command failed with exit code 1 (use -v to see invocation)

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:sse4clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

Compiler output


try.c: /usr/bin/ld: libcrypto_aead_omdsha256k128n96tau64v2.a(omdsha256.o):.../supercop-data/samba/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau64v2/sse4/work/./omdsha256.h:41: multiple definition of `Hash'; libcrypto_aead_omdsha256k128n96tau64v2.a(encrypt.o):.../supercop-data/samba/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau64v2/sse4/work/./omdsha256.h:41: first defined here
try.c: clang: error: linker command failed with exit code 1 (use -v to see invocation)

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:sse4clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

Compiler output


try.c: /usr/bin/ld: libcrypto_aead_omdsha256k128n96tau64v2.a(omdsha256.o):.../supercop-data/samba/amd64/try/c/clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau64v2/sse4/work/./omdsha256.h:41: multiple definition of `Hash'; libcrypto_aead_omdsha256k128n96tau64v2.a(encrypt.o):.../supercop-data/samba/amd64/try/c/clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau64v2/sse4/work/./omdsha256.h:41: first defined here
try.c: clang: error: linker command failed with exit code 1 (use -v to see invocation)

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:sse4clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

Compiler output


try.c: /usr/bin/ld: libcrypto_aead_omdsha256k128n96tau64v2.a(omdsha256.o):.../supercop-data/samba/amd64/try/c/gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau64v2/sse4/work/omdsha256.h:41: multiple definition of `Hash'; libcrypto_aead_omdsha256k128n96tau64v2.a(encrypt.o):.../supercop-data/samba/amd64/try/c/gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau64v2/sse4/work/omdsha256.h:41: first defined here
try.c: collect2: error: ld returned 1 exit status

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

Compiler output


omdsha256.c: In function 'xor_block',
omdsha256.c:     inlined from 'omdsha256_process' at omdsha256.c:301:5:
omdsha256.c: omdsha256.c:15:34: warning: 'tage' may be used uninitialized [-Wmaybe-uninitialized]
omdsha256.c:    15 |             res[i] = in1[i] ^ in2[i];
omdsha256.c:       |                               ~~~^~~
omdsha256.c: omdsha256.c: In function 'omdsha256_process':
omdsha256.c: omdsha256.c:253:15: note: 'tage' declared here
omdsha256.c:   253 |     hashblock tage;
omdsha256.c:       |               ^~~~
try.c: /usr/bin/ld: libcrypto_aead_omdsha256k128n96tau64v2.a(omdsha256.o):.../supercop-data/samba/amd64/try/c/gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau64v2/sse4/work/omdsha256.h:41: multiple definition of `Hash'; libcrypto_aead_omdsha256k128n96tau64v2.a(encrypt.o):.../supercop-data/samba/amd64/try/c/gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau64v2/sse4/work/omdsha256.h:41: first defined here
try.c: collect2: error: ld returned 1 exit status

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

Compiler output


try.c: /usr/bin/ld: libcrypto_aead_omdsha256k128n96tau64v2.a(omdsha256.o):.../supercop-data/samba/amd64/try/c/gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau64v2/sse4/work/omdsha256.h:41: multiple definition of `Hash'; libcrypto_aead_omdsha256k128n96tau64v2.a(encrypt.o):.../supercop-data/samba/amd64/try/c/gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau64v2/sse4/work/omdsha256.h:41: first defined here
try.c: collect2: error: ld returned 1 exit status

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

Compiler output


try.c: /usr/bin/ld: libcrypto_aead_omdsha256k128n96tau64v2.a(omdsha256.o):.../supercop-data/samba/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau64v2/sse4/work/omdsha256.h:41: multiple definition of `Hash'; libcrypto_aead_omdsha256k128n96tau64v2.a(encrypt.o):.../supercop-data/samba/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau64v2/sse4/work/omdsha256.h:41: first defined here
try.c: collect2: error: ld returned 1 exit status

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