Implementation notes: amd64, bolero, crypto_aead/omdsha256k128n96tau96v2

Computer: bolero
Microarchitecture: amd64; Broadwell+AES (406f1)
Architecture: amd64
CPU ID: GenuineIntel-000406f1-1fc9cbf5
SUPERCOP version: 20240625
Operation: crypto_aead
Primitive: omdsha256k128n96tau96v2
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
16916014940 0 038205 784 928T:refgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
17699611523 0 034676 816 872T:refclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
18664810131 0 033516 816 872T:refclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1974486541 0 027765 784 928T:refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
2125845681 0 025116 816 856T:refclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
2176484637 0 023672 760 896T:refgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
23108010267 0 032164 816 856T:refclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
3024934592 0 024830 808 920T:refclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
3041815691 0 026356 776 928T:refgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625

Compiler output


try.c: /usr/bin/ld: libcrypto_aead_omdsha256k128n96tau96v2.a(omdsha256.o):.../supercop-data/bolero/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau96v2/avx1/work/./omdsha256.h:41: multiple definition of `Hash'; libcrypto_aead_omdsha256k128n96tau96v2.a(encrypt.o):.../supercop-data/bolero/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau96v2/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_omdsha256k128n96tau96v2.a(omdsha256.o):.../supercop-data/bolero/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau96v2/avx1/work/./omdsha256.h:41: multiple definition of `Hash'; libcrypto_aead_omdsha256k128n96tau96v2.a(encrypt.o):.../supercop-data/bolero/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau96v2/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_omdsha256k128n96tau96v2.a(omdsha256.o):.../supercop-data/bolero/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau96v2/avx1/work/./omdsha256.h:41: multiple definition of `Hash'; libcrypto_aead_omdsha256k128n96tau96v2.a(encrypt.o):.../supercop-data/bolero/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau96v2/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_omdsha256k128n96tau96v2.a(omdsha256.o):.../supercop-data/bolero/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau96v2/avx1/work/./omdsha256.h:41: multiple definition of `Hash'; libcrypto_aead_omdsha256k128n96tau96v2.a(encrypt.o):.../supercop-data/bolero/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau96v2/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_omdsha256k128n96tau96v2.a(omdsha256.o):.../supercop-data/bolero/amd64/try/c/clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau96v2/avx1/work/./omdsha256.h:41: multiple definition of `Hash'; libcrypto_aead_omdsha256k128n96tau96v2.a(encrypt.o):.../supercop-data/bolero/amd64/try/c/clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau96v2/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_omdsha256k128n96tau96v2.a(omdsha256.o):.../supercop-data/bolero/amd64/try/c/gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau96v2/avx1/work/omdsha256.h:41: multiple definition of `Hash'; libcrypto_aead_omdsha256k128n96tau96v2.a(encrypt.o):.../supercop-data/bolero/amd64/try/c/gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau96v2/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_omdsha256k128n96tau96v2.a(omdsha256.o):.../supercop-data/bolero/amd64/try/c/gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau96v2/avx1/work/omdsha256.h:41: multiple definition of `Hash'; libcrypto_aead_omdsha256k128n96tau96v2.a(encrypt.o):.../supercop-data/bolero/amd64/try/c/gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau96v2/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_omdsha256k128n96tau96v2.a(omdsha256.o):.../supercop-data/bolero/amd64/try/c/gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau96v2/avx1/work/omdsha256.h:41: multiple definition of `Hash'; libcrypto_aead_omdsha256k128n96tau96v2.a(encrypt.o):.../supercop-data/bolero/amd64/try/c/gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau96v2/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_omdsha256k128n96tau96v2.a(omdsha256.o):.../supercop-data/bolero/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau96v2/avx1/work/omdsha256.h:41: multiple definition of `Hash'; libcrypto_aead_omdsha256k128n96tau96v2.a(encrypt.o):.../supercop-data/bolero/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau96v2/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_omdsha256k128n96tau96v2.a(omdsha256.o):.../supercop-data/bolero/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau96v2/sse4/work/./omdsha256.h:41: multiple definition of `Hash'; libcrypto_aead_omdsha256k128n96tau96v2.a(encrypt.o):.../supercop-data/bolero/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau96v2/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_omdsha256k128n96tau96v2.a(omdsha256.o):.../supercop-data/bolero/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau96v2/sse4/work/./omdsha256.h:41: multiple definition of `Hash'; libcrypto_aead_omdsha256k128n96tau96v2.a(encrypt.o):.../supercop-data/bolero/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau96v2/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_omdsha256k128n96tau96v2.a(omdsha256.o):.../supercop-data/bolero/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau96v2/sse4/work/./omdsha256.h:41: multiple definition of `Hash'; libcrypto_aead_omdsha256k128n96tau96v2.a(encrypt.o):.../supercop-data/bolero/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau96v2/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_omdsha256k128n96tau96v2.a(omdsha256.o):.../supercop-data/bolero/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau96v2/sse4/work/./omdsha256.h:41: multiple definition of `Hash'; libcrypto_aead_omdsha256k128n96tau96v2.a(encrypt.o):.../supercop-data/bolero/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau96v2/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_omdsha256k128n96tau96v2.a(omdsha256.o):.../supercop-data/bolero/amd64/try/c/clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau96v2/sse4/work/./omdsha256.h:41: multiple definition of `Hash'; libcrypto_aead_omdsha256k128n96tau96v2.a(encrypt.o):.../supercop-data/bolero/amd64/try/c/clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau96v2/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_omdsha256k128n96tau96v2.a(omdsha256.o):.../supercop-data/bolero/amd64/try/c/gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau96v2/sse4/work/omdsha256.h:41: multiple definition of `Hash'; libcrypto_aead_omdsha256k128n96tau96v2.a(encrypt.o):.../supercop-data/bolero/amd64/try/c/gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau96v2/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_omdsha256k128n96tau96v2.a(omdsha256.o):.../supercop-data/bolero/amd64/try/c/gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau96v2/sse4/work/omdsha256.h:41: multiple definition of `Hash'; libcrypto_aead_omdsha256k128n96tau96v2.a(encrypt.o):.../supercop-data/bolero/amd64/try/c/gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau96v2/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_omdsha256k128n96tau96v2.a(omdsha256.o):.../supercop-data/bolero/amd64/try/c/gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau96v2/sse4/work/omdsha256.h:41: multiple definition of `Hash'; libcrypto_aead_omdsha256k128n96tau96v2.a(encrypt.o):.../supercop-data/bolero/amd64/try/c/gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau96v2/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_omdsha256k128n96tau96v2.a(omdsha256.o):.../supercop-data/bolero/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau96v2/sse4/work/omdsha256.h:41: multiple definition of `Hash'; libcrypto_aead_omdsha256k128n96tau96v2.a(encrypt.o):.../supercop-data/bolero/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau96v2/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)