Implementation notes: amd64, titan0, crypto_stream/rijn256ctr

Computer: titan0
Microarchitecture: amd64; Haswell+AES (306c3)
Architecture: amd64
CPU ID: GenuineIntel-000306c3-bfebfbff
SUPERCOP version: 20240625
Operation: crypto_stream
Primitive: rijn256ctr

Compiler output

Implementation: T:gil
Security model: timingleaks
Compiler: clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
stream.c: stream.c:114:3: warning: setting buffer to a 'sizeof' expression; did you mean to transpose the last two arguments? [-Wmemset-transposed-args]
stream.c:   memset_s(&nc, sizeof(nc), 0, sizeof(nc));
stream.c:   ^
stream.c: stream.c:33:57: note: expanded from macro 'memset_s'
stream.c: #define memset_s(DST, DSTLEN, VAL, OPLEN) memset((DST), (DSTLEN), (VAL))
stream.c:                                                         ^
stream.c: stream.c:114:3: note: cast the second argument to 'int' to silence
stream.c: stream.c:33:57: note: expanded from macro 'memset_s'
stream.c: #define memset_s(DST, DSTLEN, VAL, OPLEN) memset((DST), (DSTLEN), (VAL))
stream.c:                                                         ^
stream.c: stream.c:169:3: warning: setting buffer to a 'sizeof' expression; did you mean to transpose the last two arguments? [-Wmemset-transposed-args]
stream.c:   memset_s(ks, sizeof(ks), 0, sizeof(ks));
stream.c:   ^
stream.c: stream.c:33:57: note: expanded from macro 'memset_s'
stream.c: #define memset_s(DST, DSTLEN, VAL, OPLEN) memset((DST), (DSTLEN), (VAL))
stream.c:                                                         ^
stream.c: stream.c:169:3: note: cast the second argument to 'int' to silence
stream.c: stream.c:33:57: note: expanded from macro 'memset_s'
stream.c: #define memset_s(DST, DSTLEN, VAL, OPLEN) memset((DST), (DSTLEN), (VAL))
stream.c:                                                         ^
stream.c: stream.c:170:3: warning: setting buffer to a 'sizeof' expression; did you mean to transpose the last two arguments? [-Wmemset-transposed-args]
stream.c:   memset_s(&nc, sizeof(nc), 0, sizeof(nc));
stream.c:   ^
stream.c: stream.c:33:57: note: expanded from macro 'memset_s'
stream.c: #define memset_s(DST, DSTLEN, VAL, OPLEN) memset((DST), (DSTLEN), (VAL))
stream.c: ...

Number of similar (implementation,compiler) pairs: 5, namely:
ImplementationCompiler
T:gilclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:gilclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:gilclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:gilclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:gilclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

Compiler output

Implementation: T:gil
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
try.c: /usr/bin/ld: libcrypto_stream_rijn256ctr.a(stream.o): in function `crypto_stream_rijn256ctr_gil_timingleaks_xor':
try.c: .../supercop-data/titan0/amd64/try/c/gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/rijn256ctr/gil/work/stream.c:100: undefined reference to `Rijndael_k32b32_expandkey'
try.c: /usr/bin/ld: libcrypto_stream_rijn256ctr.a(stream.o): in function `_partial_xor':
try.c: .../supercop-data/titan0/amd64/try/c/gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/rijn256ctr/gil/work/stream.c:73: undefined reference to `Rijndael_k32b32_encrypt_x4'
try.c: /usr/bin/ld: libcrypto_stream_rijn256ctr.a(stream.o): in function `_full_xor':
try.c: .../supercop-data/titan0/amd64/try/c/gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/rijn256ctr/gil/work/stream.c:56: undefined reference to `Rijndael_k32b32_encrypt_x4'
try.c: /usr/bin/ld: libcrypto_stream_rijn256ctr.a(stream.o): in function `crypto_stream_rijn256ctr_gil_timingleaks':
try.c: .../supercop-data/titan0/amd64/try/c/gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/rijn256ctr/gil/work/stream.c:155: undefined reference to `Rijndael_k32b32_expandkey'
try.c: /usr/bin/ld: libcrypto_stream_rijn256ctr.a(stream.o): in function `_partial_stream':
try.c: .../supercop-data/titan0/amd64/try/c/gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/rijn256ctr/gil/work/stream.c:134: undefined reference to `Rijndael_k32b32_encrypt_x4'
try.c: /usr/bin/ld: libcrypto_stream_rijn256ctr.a(stream.o): in function `_full_stream':
try.c: .../supercop-data/titan0/amd64/try/c/gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/rijn256ctr/gil/work/stream.c:122: undefined reference to `Rijndael_k32b32_encrypt_x4'
try.c: collect2: error: ld returned 1 exit status

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:gilgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)

Compiler output

Implementation: T:gil
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
try.c: /usr/bin/ld: libcrypto_stream_rijn256ctr.a(stream.o): in function `crypto_stream_rijn256ctr_gil_timingleaks_xor':
try.c: .../supercop-data/titan0/amd64/try/c/gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/rijn256ctr/gil/work/stream.c:100: undefined reference to `Rijndael_k32b32_expandkey'
try.c: /usr/bin/ld: libcrypto_stream_rijn256ctr.a(stream.o): in function `_full_xor':
try.c: .../supercop-data/titan0/amd64/try/c/gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/rijn256ctr/gil/work/stream.c:56: undefined reference to `Rijndael_k32b32_encrypt_x4'
try.c: /usr/bin/ld: libcrypto_stream_rijn256ctr.a(stream.o): in function `_partial_xor':
try.c: .../supercop-data/titan0/amd64/try/c/gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/rijn256ctr/gil/work/stream.c:73: undefined reference to `Rijndael_k32b32_encrypt_x4'
try.c: /usr/bin/ld: libcrypto_stream_rijn256ctr.a(stream.o): in function `crypto_stream_rijn256ctr_gil_timingleaks':
try.c: .../supercop-data/titan0/amd64/try/c/gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/rijn256ctr/gil/work/stream.c:155: undefined reference to `Rijndael_k32b32_expandkey'
try.c: /usr/bin/ld: libcrypto_stream_rijn256ctr.a(stream.o): in function `_full_stream':
try.c: .../supercop-data/titan0/amd64/try/c/gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/rijn256ctr/gil/work/stream.c:122: undefined reference to `Rijndael_k32b32_encrypt_x4'
try.c: /usr/bin/ld: libcrypto_stream_rijn256ctr.a(stream.o): in function `_partial_stream':
try.c: .../supercop-data/titan0/amd64/try/c/gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/rijn256ctr/gil/work/stream.c:134: undefined reference to `Rijndael_k32b32_encrypt_x4'
try.c: collect2: error: ld returned 1 exit status

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:gilgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)

Compiler output

Implementation: T:gil
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
try.c: /usr/bin/ld: libcrypto_stream_rijn256ctr.a(stream.o): in function `crypto_stream_rijn256ctr_gil_timingleaks_xor':
try.c: .../supercop-data/titan0/amd64/try/c/gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/rijn256ctr/gil/work/stream.c:100: undefined reference to `Rijndael_k32b32_expandkey'
try.c: /usr/bin/ld: libcrypto_stream_rijn256ctr.a(stream.o): in function `_partial_xor':
try.c: .../supercop-data/titan0/amd64/try/c/gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/rijn256ctr/gil/work/stream.c:73: undefined reference to `Rijndael_k32b32_encrypt_x4'
try.c: /usr/bin/ld: libcrypto_stream_rijn256ctr.a(stream.o): in function `_full_xor':
try.c: .../supercop-data/titan0/amd64/try/c/gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/rijn256ctr/gil/work/stream.c:56: undefined reference to `Rijndael_k32b32_encrypt_x4'
try.c: /usr/bin/ld: libcrypto_stream_rijn256ctr.a(stream.o): in function `crypto_stream_rijn256ctr_gil_timingleaks':
try.c: .../supercop-data/titan0/amd64/try/c/gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/rijn256ctr/gil/work/stream.c:155: undefined reference to `Rijndael_k32b32_expandkey'
try.c: /usr/bin/ld: libcrypto_stream_rijn256ctr.a(stream.o): in function `_partial_stream':
try.c: .../supercop-data/titan0/amd64/try/c/gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/rijn256ctr/gil/work/stream.c:134: undefined reference to `Rijndael_k32b32_encrypt_x4'
try.c: /usr/bin/ld: libcrypto_stream_rijn256ctr.a(stream.o): in function `_full_stream':
try.c: .../supercop-data/titan0/amd64/try/c/gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/rijn256ctr/gil/work/stream.c:122: undefined reference to `Rijndael_k32b32_encrypt_x4'
try.c: collect2: error: ld returned 1 exit status

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:gilgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)

Compiler output

Implementation: T:gil
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
try.c: /usr/bin/ld: libcrypto_stream_rijn256ctr.a(stream.o): in function `crypto_stream_rijn256ctr_gil_timingleaks_xor':
try.c: .../supercop-data/titan0/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/rijn256ctr/gil/work/stream.c:100: undefined reference to `Rijndael_k32b32_expandkey'
try.c: /usr/bin/ld: libcrypto_stream_rijn256ctr.a(stream.o): in function `_full_xor':
try.c: .../supercop-data/titan0/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/rijn256ctr/gil/work/stream.c:56: undefined reference to `Rijndael_k32b32_encrypt_x4'
try.c: /usr/bin/ld: libcrypto_stream_rijn256ctr.a(stream.o): in function `_partial_xor':
try.c: .../supercop-data/titan0/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/rijn256ctr/gil/work/stream.c:73: undefined reference to `Rijndael_k32b32_encrypt_x4'
try.c: /usr/bin/ld: libcrypto_stream_rijn256ctr.a(stream.o): in function `crypto_stream_rijn256ctr_gil_timingleaks':
try.c: .../supercop-data/titan0/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/rijn256ctr/gil/work/stream.c:155: undefined reference to `Rijndael_k32b32_expandkey'
try.c: /usr/bin/ld: libcrypto_stream_rijn256ctr.a(stream.o): in function `_full_stream':
try.c: .../supercop-data/titan0/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/rijn256ctr/gil/work/stream.c:122: undefined reference to `Rijndael_k32b32_encrypt_x4'
try.c: /usr/bin/ld: libcrypto_stream_rijn256ctr.a(stream.o): in function `_partial_stream':
try.c: .../supercop-data/titan0/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/rijn256ctr/gil/work/stream.c:134: undefined reference to `Rijndael_k32b32_encrypt_x4'
try.c: collect2: error: ld returned 1 exit status

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:gilgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)