Implementation notes: amd64, raptor, crypto_stream/rijn256ctr

Computer: raptor
Microarchitecture: amd64; Raptor Cove (b06a2)
Architecture: amd64
CPU ID: GenuineIntel-000b06a2-40-bfebfbff
SUPERCOP version: 20231107
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: ...

Number of similar (compiler,implementation) pairs: 5, 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 -O -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: 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: 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: /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: 2, 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

Compiler output

Implementation: T:gil
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O -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: 2, namely:
CompilerImplementations
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