Implementation notes: armeabi, berry0, crypto_stream/trivium

Computer: berry0
Microarchitecture: armeabi; ARM1176 (410fb767)
Architecture: armeabi
CPU ID: unknown CPU ID
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: warning: implicit declaration of function 'U64TO64_LITTLE' is invalid in C99 [-Wimplicit-function-declaration]
trivium.c: 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: #define U64TO64_CONVERT U64TO64_LITTLE
trivium.c: ^
trivium.c: ./e/trivium.c:244:19: warning: implicit declaration of function 'U64TO64_LITTLE' is invalid in C99 [-Wimplicit-function-declaration]
trivium.c: 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: #define U64TO64_CONVERT U64TO64_LITTLE
trivium.c: ^
trivium.c: ./e/trivium.c:284:7: warning: implicit declaration of function 'U64TO64_LITTLE' is invalid in C99 [-Wimplicit-function-declaration]
trivium.c: 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: #define M64TO64_CONVERT M64TO64_LITTLE
trivium.c: ^
trivium.c: ./e/trivium.c:94:32: note: expanded from macro 'M64TO64_LITTLE'
trivium.c: #define M64TO64_LITTLE(m) (m = U64TO64_LITTLE(m))
trivium.c: ^
trivium.c: ./e/trivium.c:297:4: warning: implicit declaration of function 'U64TO64_LITTLE' is invalid in C99 [-Wimplicit-function-declaration]
trivium.c: M64TO64_CONVERT(z);
trivium.c: ^
trivium.c: ...
try.c: /usr/bin/ld: 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: /usr/bin/ld: trivium.c:(.text+0x...): undefined reference to `U64TO64_LITTLE'
try.c: /usr/bin/ld: 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: /usr/bin/ld: trivium.c:(.text+0x...): undefined reference to `U64TO64_LITTLE'
try.c: /usr/bin/ld: 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: /usr/bin/ld: libcrypto_stream_trivium.a(trivium.o):trivium.c:(.text+0x...): more undefined references to `U64TO64_LITTLE' follow
try.c: clang: error: linker command failed with exit code 1 (use -v to see invocation)

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: /usr/bin/ld: 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: /usr/bin/ld: trivium.c:(.text+0x...): undefined reference to `U64TO64_LITTLE'
try.c: /usr/bin/ld: 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: /usr/bin/ld: trivium.c:(.text+0x...): undefined reference to `U64TO64_LITTLE'
try.c: /usr/bin/ld: 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: /usr/bin/ld: 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