Implementation notes: amd64, h6sandy, crypto_aead/omdsha256k256n248tau256v2

Computer: h6sandy
Microarchitecture: amd64; Sandy Bridge (206a7)
Architecture: amd64
CPU ID: GenuineIntel-000206a7-bfebfbff
SUPERCOP version: 20240625
Operation: crypto_aead
Primitive: omdsha256k256n248tau256v2
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
26300411414 0 033203 844 1024T:refclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
26793915127 0 038268 812 1088T:refgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
2700969792 0 033499 844 1024T:refclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
2821394977 0 024677 836 1024T:refclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
2982386032 0 026019 844 1024T:refclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
30021810021 0 032379 844 1024T:refclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
3187656645 0 028532 812 1088T:refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
3193036133 0 027467 804 1088T:refgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
3252694632 0 024175 788 1056T:refgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625

Compiler output


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