Implementation notes: aarch64, gcc185, crypto_stream/trivium

Computer: gcc185
Microarchitecture: aarch64; Skylark (503f0002)
Architecture: aarch64
CPU ID: 503f0002
SUPERCOP version: 20240107
Operation: crypto_stream
Primitive: trivium

Compiler output

Implementation: T:e/submissions/trivium
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
trivium.c: In file included from trivium.c:1:
trivium.c: ./e/trivium.c:212:18: error: call to undeclared function 'U64TO64_LITTLE'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
trivium.c: 212 | ctx->init[0] = U64TO64_CONVERT(ctx->init[0]);
trivium.c: | ^
trivium.c: ./e/trivium.c:43:25: note: expanded from macro 'U64TO64_CONVERT'
trivium.c: 43 | #define U64TO64_CONVERT U64TO64_LITTLE
trivium.c: | ^
trivium.c: ./e/trivium.c:244:19: error: call to undeclared function 'U64TO64_LITTLE'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
trivium.c: 244 | ctx->state[2] = U64TO64_CONVERT(ctx->state[2]);
trivium.c: | ^
trivium.c: ./e/trivium.c:43:25: note: expanded from macro 'U64TO64_CONVERT'
trivium.c: 43 | #define U64TO64_CONVERT U64TO64_LITTLE
trivium.c: | ^
trivium.c: ./e/trivium.c:284:7: error: call to undeclared function 'U64TO64_LITTLE'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
trivium.c: 284 | M64TO64_CONVERT(z[0]); ((m64*)output)[0] = XOR(((m64*)input)[0], z[0]);
trivium.c: | ^
trivium.c: ./e/trivium.c:44:25: note: expanded from macro 'M64TO64_CONVERT'
trivium.c: 44 | #define M64TO64_CONVERT M64TO64_LITTLE
trivium.c: | ^
trivium.c: ./e/trivium.c:94:32: note: expanded from macro 'M64TO64_LITTLE'
trivium.c: 94 | #define M64TO64_LITTLE(m) (m = U64TO64_LITTLE(m))
trivium.c: | ^
trivium.c: ./e/trivium.c:297:4: error: call to undeclared function 'U64TO64_LITTLE'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
trivium.c: 297 | M64TO64_CONVERT(z);
trivium.c: | ^
trivium.c: ...

Number of similar (compiler,implementation) pairs: 5, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:e/submissions/trivium
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:e/submissions/trivium
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:e/submissions/trivium
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:e/submissions/trivium
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:e/submissions/trivium

Compiler output

Implementation: T:e/submissions/trivium
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
trivium.c: In file included from trivium.c:1:
trivium.c: e/trivium.c: In function 'crypto_stream_trivium_e_submissions_trivium_timingleaks_ECRYPT_keysetup':
trivium.c: e/trivium.c:43:25: warning: implicit declaration of function 'U64TO64_LITTLE'; did you mean 'M64TO64_LITTLE'? [-Wimplicit-function-declaration]
trivium.c: #define U64TO64_CONVERT U64TO64_LITTLE
trivium.c: ^~~~~~~~~~~~~~
trivium.c: e/trivium.c:212:18: note: in expansion of macro 'U64TO64_CONVERT'
trivium.c: ctx->init[0] = U64TO64_CONVERT(ctx->init[0]);
trivium.c: ^~~~~~~~~~~~~~~
try.c: libcrypto_stream_trivium.a(trivium.o): In function `crypto_stream_trivium_e_submissions_trivium_timingleaks_ECRYPT_keysetup':
try.c: trivium.c:(.text+0x...): undefined reference to `U64TO64_LITTLE'
try.c: trivium.c:(.text+0x...): undefined reference to `U64TO64_LITTLE'
try.c: libcrypto_stream_trivium.a(trivium.o): In function `crypto_stream_trivium_e_submissions_trivium_timingleaks_ECRYPT_ivsetup':
try.c: trivium.c:(.text+0x...): undefined reference to `U64TO64_LITTLE'
try.c: trivium.c:(.text+0x...): undefined reference to `U64TO64_LITTLE'
try.c: libcrypto_stream_trivium.a(trivium.o): In function `crypto_stream_trivium_e_submissions_trivium_timingleaks_ECRYPT_process_bytes':
try.c: trivium.c:(.text+0x...): undefined reference to `U64TO64_LITTLE'
try.c: libcrypto_stream_trivium.a(trivium.o):trivium.c:(.text+0x...): more undefined references to `U64TO64_LITTLE' follow
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:e/submissions/trivium
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:e/submissions/trivium
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:e/submissions/trivium
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:e/submissions/trivium