Implementation notes: amd64, comet, crypto_aead/omdsha512k256n256tau256v2
Computer: comet
Microarchitecture: amd64; Comet Lake (806ec)
Architecture: amd64
CPU ID: GenuineIntel-000806ec-bfebfbff
SUPERCOP version: 20240808
Operation: crypto_aead
Primitive: omdsha512k256n256tau256v2
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
114934 | 20502 0 0 | 43356 780 1088 | T:ref | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240629 | 20240625 |
120602 | 11656 0 0 | 35281 852 1056 | T:ref | clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240629 | 20240625 |
121963 | 19706 0 0 | 43625 852 1088 | T:ref | clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240629 | 20240625 |
131561 | 8516 0 0 | 29436 780 1088 | T:ref | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240629 | 20240625 |
133499 | 5568 0 0 | 26383 844 1088 | T:ref | clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240629 | 20240625 |
139302 | 16777 0 0 | 39177 852 1024 | T:ref | clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240629 | 20240625 |
141439 | 6696 0 0 | 26633 852 1024 | T:ref | clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240629 | 20240625 |
153857 | 6895 0 0 | 27139 772 1088 | T:ref | gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240629 | 20240625 |
182298 | 4819 0 0 | 23399 756 1056 | T:ref | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240629 | 20240625 |
Compiler output
try.c: /usr/bin/ld: libcrypto_aead_omdsha512k256n256tau256v2.a(omdsha512.o):.../supercop-data/comet/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha512k256n256tau256v2/avx1/work/./omdsha512.h:146: multiple definition of `Hash'; libcrypto_aead_omdsha512k256n256tau256v2.a(encrypt.o):.../supercop-data/comet/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha512k256n256tau256v2/avx1/work/./omdsha512.h:146: 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 (Debian_Clang_14.0.6) |
Compiler output
try.c: /usr/bin/ld: libcrypto_aead_omdsha512k256n256tau256v2.a(omdsha512.o):.../supercop-data/comet/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha512k256n256tau256v2/avx1/work/./omdsha512.h:146: multiple definition of `Hash'; libcrypto_aead_omdsha512k256n256tau256v2.a(encrypt.o):.../supercop-data/comet/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha512k256n256tau256v2/avx1/work/./omdsha512.h:146: 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 (Debian_Clang_14.0.6) |
Compiler output
try.c: /usr/bin/ld: libcrypto_aead_omdsha512k256n256tau256v2.a(omdsha512.o):.../supercop-data/comet/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha512k256n256tau256v2/avx1/work/./omdsha512.h:146: multiple definition of `Hash'; libcrypto_aead_omdsha512k256n256tau256v2.a(encrypt.o):.../supercop-data/comet/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha512k256n256tau256v2/avx1/work/./omdsha512.h:146: 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 -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
Compiler output
try.c: /usr/bin/ld: libcrypto_aead_omdsha512k256n256tau256v2.a(omdsha512.o):.../supercop-data/comet/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha512k256n256tau256v2/avx1/work/./omdsha512.h:146: multiple definition of `Hash'; libcrypto_aead_omdsha512k256n256tau256v2.a(encrypt.o):.../supercop-data/comet/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha512k256n256tau256v2/avx1/work/./omdsha512.h:146: 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 (Debian_Clang_14.0.6) |
Compiler output
try.c: /usr/bin/ld: libcrypto_aead_omdsha512k256n256tau256v2.a(omdsha512.o):.../supercop-data/comet/amd64/try/c/clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha512k256n256tau256v2/avx1/work/./omdsha512.h:146: multiple definition of `Hash'; libcrypto_aead_omdsha512k256n256tau256v2.a(encrypt.o):.../supercop-data/comet/amd64/try/c/clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha512k256n256tau256v2/avx1/work/./omdsha512.h:146: 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 -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
Compiler output
omdsha512.c: In function 'xor_block',
omdsha512.c: inlined from 'omdsha512_process' at omdsha512.c:308:5:
omdsha512.c: omdsha512.c:15:38: warning: 'tage' may be used uninitialized [-Wmaybe-uninitialized]
omdsha512.c: 15 | res[i] = in1[i] ^ in2[i];
omdsha512.c: | ~~~^~~
omdsha512.c: omdsha512.c: In function 'omdsha512_process':
omdsha512.c: omdsha512.c:260:15: note: 'tage' declared here
omdsha512.c: 260 | hashblock tage;
omdsha512.c: | ^~~~
try.c: /usr/bin/ld: libcrypto_aead_omdsha512k256n256tau256v2.a(omdsha512.o):.../supercop-data/comet/amd64/try/c/gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha512k256n256tau256v2/avx1/work/omdsha512.h:146: multiple definition of `Hash'; libcrypto_aead_omdsha512k256n256tau256v2.a(encrypt.o):.../supercop-data/comet/amd64/try/c/gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha512k256n256tau256v2/avx1/work/omdsha512.h:146: 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 (12.2.0) |
Compiler output
omdsha512.c: In function 'xor_block',
omdsha512.c: inlined from 'omdsha512_process' at omdsha512.c:308:5:
omdsha512.c: omdsha512.c:15:38: warning: 'tage' may be used uninitialized [-Wmaybe-uninitialized]
omdsha512.c: 15 | res[i] = in1[i] ^ in2[i];
omdsha512.c: | ~~~^~~
omdsha512.c: omdsha512.c: In function 'omdsha512_process':
omdsha512.c: omdsha512.c:260:15: note: 'tage' declared here
omdsha512.c: 260 | hashblock tage;
omdsha512.c: | ^~~~
try.c: /usr/bin/ld: libcrypto_aead_omdsha512k256n256tau256v2.a(omdsha512.o):.../supercop-data/comet/amd64/try/c/gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha512k256n256tau256v2/avx1/work/omdsha512.h:146: multiple definition of `Hash'; libcrypto_aead_omdsha512k256n256tau256v2.a(encrypt.o):.../supercop-data/comet/amd64/try/c/gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha512k256n256tau256v2/avx1/work/omdsha512.h:146: 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 (12.2.0) |
Compiler output
try.c: /usr/bin/ld: libcrypto_aead_omdsha512k256n256tau256v2.a(omdsha512.o):.../supercop-data/comet/amd64/try/c/gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha512k256n256tau256v2/avx1/work/omdsha512.h:146: multiple definition of `Hash'; libcrypto_aead_omdsha512k256n256tau256v2.a(encrypt.o):.../supercop-data/comet/amd64/try/c/gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha512k256n256tau256v2/avx1/work/omdsha512.h:146: 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 -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
Compiler output
omdsha512.c: omdsha512.c: In function 'omdsha512_process':
omdsha512.c: omdsha512.c:308:5: warning: 'tage' may be used uninitialized [-Wmaybe-uninitialized]
omdsha512.c: 308 | xor_block(tag, taga, tage);
omdsha512.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~
omdsha512.c: omdsha512.c:11:1: note: by argument 3 of type 'const uint8_t[64]' {aka 'const unsigned char[64]'} to 'xor_block' declared here
omdsha512.c: 11 | xor_block (hashblock res, const hashblock in1, const hashblock in2)
omdsha512.c: | ^~~~~~~~~
omdsha512.c: omdsha512.c:260:15: note: 'tage' declared here
omdsha512.c: 260 | hashblock tage;
omdsha512.c: | ^~~~
try.c: /usr/bin/ld: libcrypto_aead_omdsha512k256n256tau256v2.a(omdsha512.o):.../supercop-data/comet/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha512k256n256tau256v2/avx1/work/omdsha512.h:146: multiple definition of `Hash'; libcrypto_aead_omdsha512k256n256tau256v2.a(encrypt.o):.../supercop-data/comet/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha512k256n256tau256v2/avx1/work/omdsha512.h:146: 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 (12.2.0) |
Compiler output
sha512.c: sha512.c:206:18: warning: incompatible pointer types initializing 'const uint64_t *' (aka 'const unsigned long *') with an expression of type 'const unsigned char *' [-Wincompatible-pointer-types]
sha512.c: const uint64_t *W=in;
sha512.c: ^ ~~
sha512.c: 1 warning generated.
Number of similar (implementation,compiler) pairs: 5, namely:
Implementation | Compiler |
T:ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
T:ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
Compiler output
sha512.c: sha512.c: In function 'sha512_comp':
sha512.c: sha512.c:206:27: warning: initialization of 'const uint64_t *' {aka 'const long unsigned int *'} from incompatible pointer type 'const unsigned char *' [-Wincompatible-pointer-types]
sha512.c: 206 | const uint64_t *W=in;
sha512.c: | ^~
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
Compiler output
try.c: /usr/bin/ld: libcrypto_aead_omdsha512k256n256tau256v2.a(omdsha512.o):.../supercop-data/comet/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha512k256n256tau256v2/sse4/work/./omdsha512.h:146: multiple definition of `Hash'; libcrypto_aead_omdsha512k256n256tau256v2.a(encrypt.o):.../supercop-data/comet/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha512k256n256tau256v2/sse4/work/./omdsha512.h:146: 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 (Debian_Clang_14.0.6) |
Compiler output
try.c: /usr/bin/ld: libcrypto_aead_omdsha512k256n256tau256v2.a(omdsha512.o):.../supercop-data/comet/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha512k256n256tau256v2/sse4/work/./omdsha512.h:146: multiple definition of `Hash'; libcrypto_aead_omdsha512k256n256tau256v2.a(encrypt.o):.../supercop-data/comet/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha512k256n256tau256v2/sse4/work/./omdsha512.h:146: 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 (Debian_Clang_14.0.6) |
Compiler output
try.c: /usr/bin/ld: libcrypto_aead_omdsha512k256n256tau256v2.a(omdsha512.o):.../supercop-data/comet/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha512k256n256tau256v2/sse4/work/./omdsha512.h:146: multiple definition of `Hash'; libcrypto_aead_omdsha512k256n256tau256v2.a(encrypt.o):.../supercop-data/comet/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha512k256n256tau256v2/sse4/work/./omdsha512.h:146: 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 -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
Compiler output
try.c: /usr/bin/ld: libcrypto_aead_omdsha512k256n256tau256v2.a(omdsha512.o):.../supercop-data/comet/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha512k256n256tau256v2/sse4/work/./omdsha512.h:146: multiple definition of `Hash'; libcrypto_aead_omdsha512k256n256tau256v2.a(encrypt.o):.../supercop-data/comet/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha512k256n256tau256v2/sse4/work/./omdsha512.h:146: 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 (Debian_Clang_14.0.6) |
Compiler output
try.c: /usr/bin/ld: libcrypto_aead_omdsha512k256n256tau256v2.a(omdsha512.o):.../supercop-data/comet/amd64/try/c/clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha512k256n256tau256v2/sse4/work/./omdsha512.h:146: multiple definition of `Hash'; libcrypto_aead_omdsha512k256n256tau256v2.a(encrypt.o):.../supercop-data/comet/amd64/try/c/clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha512k256n256tau256v2/sse4/work/./omdsha512.h:146: 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 -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
Compiler output
omdsha512.c: In function 'xor_block',
omdsha512.c: inlined from 'omdsha512_process' at omdsha512.c:308:5:
omdsha512.c: omdsha512.c:15:38: warning: 'tage' may be used uninitialized [-Wmaybe-uninitialized]
omdsha512.c: 15 | res[i] = in1[i] ^ in2[i];
omdsha512.c: | ~~~^~~
omdsha512.c: omdsha512.c: In function 'omdsha512_process':
omdsha512.c: omdsha512.c:260:15: note: 'tage' declared here
omdsha512.c: 260 | hashblock tage;
omdsha512.c: | ^~~~
try.c: /usr/bin/ld: libcrypto_aead_omdsha512k256n256tau256v2.a(omdsha512.o):.../supercop-data/comet/amd64/try/c/gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha512k256n256tau256v2/sse4/work/omdsha512.h:146: multiple definition of `Hash'; libcrypto_aead_omdsha512k256n256tau256v2.a(encrypt.o):.../supercop-data/comet/amd64/try/c/gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha512k256n256tau256v2/sse4/work/omdsha512.h:146: 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 (12.2.0) |
Compiler output
omdsha512.c: In function 'xor_block',
omdsha512.c: inlined from 'omdsha512_process' at omdsha512.c:308:5:
omdsha512.c: omdsha512.c:15:38: warning: 'tage' may be used uninitialized [-Wmaybe-uninitialized]
omdsha512.c: 15 | res[i] = in1[i] ^ in2[i];
omdsha512.c: | ~~~^~~
omdsha512.c: omdsha512.c: In function 'omdsha512_process':
omdsha512.c: omdsha512.c:260:15: note: 'tage' declared here
omdsha512.c: 260 | hashblock tage;
omdsha512.c: | ^~~~
try.c: /usr/bin/ld: libcrypto_aead_omdsha512k256n256tau256v2.a(omdsha512.o):.../supercop-data/comet/amd64/try/c/gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha512k256n256tau256v2/sse4/work/omdsha512.h:146: multiple definition of `Hash'; libcrypto_aead_omdsha512k256n256tau256v2.a(encrypt.o):.../supercop-data/comet/amd64/try/c/gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha512k256n256tau256v2/sse4/work/omdsha512.h:146: 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 (12.2.0) |
Compiler output
try.c: /usr/bin/ld: libcrypto_aead_omdsha512k256n256tau256v2.a(omdsha512.o):.../supercop-data/comet/amd64/try/c/gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha512k256n256tau256v2/sse4/work/omdsha512.h:146: multiple definition of `Hash'; libcrypto_aead_omdsha512k256n256tau256v2.a(encrypt.o):.../supercop-data/comet/amd64/try/c/gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha512k256n256tau256v2/sse4/work/omdsha512.h:146: 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 -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
Compiler output
omdsha512.c: omdsha512.c: In function 'omdsha512_process':
omdsha512.c: omdsha512.c:308:5: warning: 'tage' may be used uninitialized [-Wmaybe-uninitialized]
omdsha512.c: 308 | xor_block(tag, taga, tage);
omdsha512.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~
omdsha512.c: omdsha512.c:11:1: note: by argument 3 of type 'const uint8_t[64]' {aka 'const unsigned char[64]'} to 'xor_block' declared here
omdsha512.c: 11 | xor_block (hashblock res, const hashblock in1, const hashblock in2)
omdsha512.c: | ^~~~~~~~~
omdsha512.c: omdsha512.c:260:15: note: 'tage' declared here
omdsha512.c: 260 | hashblock tage;
omdsha512.c: | ^~~~
try.c: /usr/bin/ld: libcrypto_aead_omdsha512k256n256tau256v2.a(omdsha512.o):.../supercop-data/comet/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha512k256n256tau256v2/sse4/work/omdsha512.h:146: multiple definition of `Hash'; libcrypto_aead_omdsha512k256n256tau256v2.a(encrypt.o):.../supercop-data/comet/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/omdsha512k256n256tau256v2/sse4/work/omdsha512.h:146: 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 (12.2.0) |