Implementation notes: amd64, hydra7, crypto_aead/omdsha256k128n96tau96v2

Computer: hydra7
Microarchitecture: amd64; Sandy Bridge+AES (206a7)
Architecture: amd64
CPU ID: GenuineIntel-000206a7-bfebfbff
SUPERCOP version: 20240625
Operation: crypto_aead
Primitive: omdsha256k128n96tau96v2
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
26766615029 0 038012 812 1088T:refgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
3187016566 0 028308 812 1088T:refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
3251464644 0 024159 788 1056T:refgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
3337345721 0 026923 804 1088T: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/hydra7/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/hydra7/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/hydra7/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/hydra7/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/hydra7/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/hydra7/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/hydra7/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/hydra7/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/hydra7/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/hydra7/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/hydra7/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/hydra7/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/hydra7/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/hydra7/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/hydra7/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/hydra7/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)