Implementation notes: amd64, hertz, crypto_aead/omdsha256k128n96tau128v2
Computer: hertz
Microarchitecture: amd64; Zen 4 (a60f12)
Architecture: amd64
CPU ID: AuthenticAMD-00a60f12-178bfbff
SUPERCOP version: 20240808
Operation: crypto_aead
Primitive: omdsha256k128n96tau128v2
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
136731 | 18031 0 0 | 44910 828 1096 | T:ref | clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
137521 | 13372 0 0 | 40478 828 1096 | T:ref | clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
139994 | 12216 0 0 | 36260 812 1160 | T:ref | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
148902 | 6812 0 0 | 28812 812 1096 | T:ref | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
156615 | 4396 0 0 | 25336 820 1096 | T:ref | clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
173275 | 4365 0 0 | 23847 788 1064 | T:ref | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
Compiler output
try.c: /usr/bin/ld: libcrypto_aead_omdsha256k128n96tau128v2.a(omdsha256.o):.../supercop-data/hertz/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau128v2/avx1/work/./omdsha256.h:41: multiple definition of `Hash'; libcrypto_aead_omdsha256k128n96tau128v2.a(encrypt.o):.../supercop-data/hertz/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau128v2/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:
Implementation | Compiler |
T:avx1 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
Compiler output
try.c: /usr/bin/ld: libcrypto_aead_omdsha256k128n96tau128v2.a(omdsha256.o):.../supercop-data/hertz/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau128v2/avx1/work/./omdsha256.h:41: multiple definition of `Hash'; libcrypto_aead_omdsha256k128n96tau128v2.a(encrypt.o):.../supercop-data/hertz/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau128v2/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:
Implementation | Compiler |
T:avx1 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
Compiler output
try.c: /usr/bin/ld: libcrypto_aead_omdsha256k128n96tau128v2.a(omdsha256.o):.../supercop-data/hertz/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau128v2/avx1/work/./omdsha256.h:41: multiple definition of `Hash'; libcrypto_aead_omdsha256k128n96tau128v2.a(encrypt.o):.../supercop-data/hertz/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau128v2/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:
Implementation | Compiler |
T:avx1 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
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_omdsha256k128n96tau128v2.a(omdsha256.o):.../supercop-data/hertz/amd64/try/c/gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau128v2/avx1/work/omdsha256.h:41: multiple definition of `Hash'; libcrypto_aead_omdsha256k128n96tau128v2.a(encrypt.o):.../supercop-data/hertz/amd64/try/c/gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau128v2/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:
Implementation | Compiler |
T:avx1 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.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_omdsha256k128n96tau128v2.a(omdsha256.o):.../supercop-data/hertz/amd64/try/c/gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau128v2/avx1/work/omdsha256.h:41: multiple definition of `Hash'; libcrypto_aead_omdsha256k128n96tau128v2.a(encrypt.o):.../supercop-data/hertz/amd64/try/c/gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau128v2/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:
Implementation | Compiler |
T:avx1 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
Compiler output
try.c: /usr/bin/ld: libcrypto_aead_omdsha256k128n96tau128v2.a(omdsha256.o):.../supercop-data/hertz/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau128v2/avx1/work/omdsha256.h:41: multiple definition of `Hash'; libcrypto_aead_omdsha256k128n96tau128v2.a(encrypt.o):.../supercop-data/hertz/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau128v2/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:
Implementation | Compiler |
T:avx1 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
Compiler output
try.c: /usr/bin/ld: libcrypto_aead_omdsha256k128n96tau128v2.a(omdsha256.o):.../supercop-data/hertz/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau128v2/sse4/work/./omdsha256.h:41: multiple definition of `Hash'; libcrypto_aead_omdsha256k128n96tau128v2.a(encrypt.o):.../supercop-data/hertz/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau128v2/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:
Implementation | Compiler |
T:sse4 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
Compiler output
try.c: /usr/bin/ld: libcrypto_aead_omdsha256k128n96tau128v2.a(omdsha256.o):.../supercop-data/hertz/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau128v2/sse4/work/./omdsha256.h:41: multiple definition of `Hash'; libcrypto_aead_omdsha256k128n96tau128v2.a(encrypt.o):.../supercop-data/hertz/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau128v2/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:
Implementation | Compiler |
T:sse4 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
Compiler output
try.c: /usr/bin/ld: libcrypto_aead_omdsha256k128n96tau128v2.a(omdsha256.o):.../supercop-data/hertz/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau128v2/sse4/work/./omdsha256.h:41: multiple definition of `Hash'; libcrypto_aead_omdsha256k128n96tau128v2.a(encrypt.o):.../supercop-data/hertz/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau128v2/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:
Implementation | Compiler |
T:sse4 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
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_omdsha256k128n96tau128v2.a(omdsha256.o):.../supercop-data/hertz/amd64/try/c/gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau128v2/sse4/work/omdsha256.h:41: multiple definition of `Hash'; libcrypto_aead_omdsha256k128n96tau128v2.a(encrypt.o):.../supercop-data/hertz/amd64/try/c/gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau128v2/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:
Implementation | Compiler |
T:sse4 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.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_omdsha256k128n96tau128v2.a(omdsha256.o):.../supercop-data/hertz/amd64/try/c/gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau128v2/sse4/work/omdsha256.h:41: multiple definition of `Hash'; libcrypto_aead_omdsha256k128n96tau128v2.a(encrypt.o):.../supercop-data/hertz/amd64/try/c/gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau128v2/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:
Implementation | Compiler |
T:sse4 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
Compiler output
try.c: /usr/bin/ld: libcrypto_aead_omdsha256k128n96tau128v2.a(omdsha256.o):.../supercop-data/hertz/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau128v2/sse4/work/omdsha256.h:41: multiple definition of `Hash'; libcrypto_aead_omdsha256k128n96tau128v2.a(encrypt.o):.../supercop-data/hertz/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha256k128n96tau128v2/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:
Implementation | Compiler |
T:sse4 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
Namespace violations
omdsha256.o calc_L_i T
omdsha256.o double_block T
omdsha256.o final_masking_associated_data T
omdsha256.o final_masking_message T
omdsha256.o hash T
omdsha256.o increment_masking_associated_data T
omdsha256.o increment_masking_message T
omdsha256.o key_func T
omdsha256.o l2b T
omdsha256.o ntz T
omdsha256.o omdsha256_process T
omdsha256.o triple_block T
omdsha256.o xor_block T
sha256.o sha256_comp T
Number of similar (implementation,compiler) pairs: 6, namely:
Implementation | Compiler |
T:ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |