Implementation notes: amd64, whosthere, crypto_stream/rijn256ctr

Computer: whosthere
Microarchitecture: amd64; KabyLake (806e9)
Architecture: amd64
CPU ID: GenuineIntel-000806e9-bfebfbff
SUPERCOP version: 20221122
Operation: crypto_stream
Primitive: rijn256ctr

Compiler output

Implementation: T:gil
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
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: ...
try.c: /usr/bin/ld: libcrypto_stream_rijn256ctr.a(stream.o): in function `crypto_stream_rijn256ctr_gil_timingleaks_xor':
try.c: stream.c:(.text+0x...): undefined reference to `Rijndael_k32b32_expandkey'
try.c: /usr/bin/ld: stream.c:(.text+0x...): undefined reference to `Rijndael_k32b32_encrypt_x4'
try.c: /usr/bin/ld: stream.c:(.text+0x...): 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: stream.c:(.text+0x...): undefined reference to `Rijndael_k32b32_expandkey'
try.c: /usr/bin/ld: stream.c:(.text+0x...): undefined reference to `Rijndael_k32b32_encrypt_x4'
try.c: /usr/bin/ld: stream.c:(.text+0x...): undefined reference to `Rijndael_k32b32_encrypt_x4'
try.c: clang: error: linker command failed with exit code 1 (use -v to see invocation)

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:gil
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:gil
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:gil
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:gil

Compiler output

Implementation: T:gil
Security model: timingleaks
Compiler: clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
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: ...
try.c: /usr/bin/ld: libcrypto_stream_rijn256ctr.a(stream.o): in function `crypto_stream_rijn256ctr_gil_timingleaks_xor':
try.c: stream.c:(.text+0x...): undefined reference to `Rijndael_k32b32_expandkey'
try.c: /usr/bin/ld: libcrypto_stream_rijn256ctr.a(stream.o): in function `_full_xor':
try.c: stream.c:(.text+0x...): undefined reference to `Rijndael_k32b32_encrypt_x4'
try.c: /usr/bin/ld: libcrypto_stream_rijn256ctr.a(stream.o): in function `_partial_xor':
try.c: stream.c:(.text+0x...): 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: stream.c:(.text+0x...): undefined reference to `Rijndael_k32b32_expandkey'
try.c: /usr/bin/ld: libcrypto_stream_rijn256ctr.a(stream.o): in function `_full_stream':
try.c: stream.c:(.text+0x...): undefined reference to `Rijndael_k32b32_encrypt_x4'
try.c: /usr/bin/ld: libcrypto_stream_rijn256ctr.a(stream.o): in function `_partial_stream':
try.c: stream.c:(.text+0x...): undefined reference to `Rijndael_k32b32_encrypt_x4'
try.c: clang: error: linker command failed with exit code 1 (use -v to see invocation)

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:gil

Compiler output

Implementation: T:gil
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
try.c: /usr/bin/ld: libcrypto_stream_rijn256ctr.a(stream.o): in function `crypto_stream_rijn256ctr_gil_timingleaks_xor':
try.c: stream.c:(.text+0x...): undefined reference to `Rijndael_k32b32_expandkey'
try.c: /usr/bin/ld: stream.c:(.text+0x...): undefined reference to `Rijndael_k32b32_encrypt_x4'
try.c: /usr/bin/ld: stream.c:(.text+0x...): 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: stream.c:(.text+0x...): undefined reference to `Rijndael_k32b32_expandkey'
try.c: /usr/bin/ld: stream.c:(.text+0x...): undefined reference to `Rijndael_k32b32_encrypt_x4'
try.c: /usr/bin/ld: stream.c:(.text+0x...): undefined reference to `Rijndael_k32b32_encrypt_x4'
try.c: collect2: error: ld returned 1 exit status

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:gil
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:gil
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:gil
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:gil