Implementation notes: riscv64, hifiveunleashedriscv, crypto_stream/trivium

Computer: hifiveunleashedriscv
Architecture: riscv64
CPU ID: unknown CPU ID
SUPERCOP version: 20191221
Operation: crypto_stream
Primitive: trivium

Compiler output

Implementation: e/submissions/trivium
Security model: unknown
Compiler: gcc -march=rv64gc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
trivium.c: In file included from trivium.c:2:
trivium.c: e/trivium.c: In function 'crypto_stream_trivium_e_submissions_trivium_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: 43 | #define U64TO64_CONVERT U64TO64_LITTLE
trivium.c: | ^~~~~~~~~~~~~~
trivium.c: e/trivium.c:212:18: note: in expansion of macro 'U64TO64_CONVERT'
trivium.c: 212 | ctx->init[0] = U64TO64_CONVERT(ctx->init[0]);
trivium.c: | ^~~~~~~~~~~~~~~
try.c: /usr/bin/ld: crypto_stream_trivium.a(trivium.o): in function `.L4':
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: crypto_stream_trivium.a(trivium.o): in function `.L11':
try.c: trivium.c:(.text+0x...): undefined reference to `U64TO64_LITTLE'
try.c: /usr/bin/ld: crypto_stream_trivium.a(trivium.o): in function `.L10':
try.c: trivium.c:(.text+0x...): undefined reference to `U64TO64_LITTLE'
try.c: /usr/bin/ld: crypto_stream_trivium.a(trivium.o): in function `.L19':
try.c: trivium.c:(.text+0x...): undefined reference to `U64TO64_LITTLE'
try.c: /usr/bin/ld: crypto_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: 1, namely:
CompilerImplementations
gcc -march=rv64gc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE e/submissions/trivium

Compiler output

Implementation: e/submissions/trivium
Security model: unknown
Compiler: gcc -march=rv64gc -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE
trivium.c: In file included from trivium.c:2:
trivium.c: e/trivium.c: In function 'crypto_stream_trivium_e_submissions_trivium_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: 43 | #define U64TO64_CONVERT U64TO64_LITTLE
trivium.c: | ^~~~~~~~~~~~~~
trivium.c: e/trivium.c:212:18: note: in expansion of macro 'U64TO64_CONVERT'
trivium.c: 212 | ctx->init[0] = U64TO64_CONVERT(ctx->init[0]);
trivium.c: | ^~~~~~~~~~~~~~~
try.c: /usr/bin/ld: crypto_stream_trivium.a(trivium.o): in function `.L4':
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: crypto_stream_trivium.a(trivium.o): in function `.L23':
try.c: trivium.c:(.text+0x...): undefined reference to `U64TO64_LITTLE'
try.c: /usr/bin/ld: crypto_stream_trivium.a(trivium.o): in function `.L21':
try.c: trivium.c:(.text+0x...): undefined reference to `U64TO64_LITTLE'
try.c: /usr/bin/ld: crypto_stream_trivium.a(trivium.o): in function `.L41':
try.c: trivium.c:(.text+0x...): undefined reference to `U64TO64_LITTLE'
try.c: /usr/bin/ld: crypto_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: 1, namely:
CompilerImplementations
gcc -march=rv64gc -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE e/submissions/trivium

Compiler output

Implementation: e/submissions/trivium
Security model: unknown
Compiler: gcc -march=rv64gc -O -fomit-frame-pointer -fwrapv -fPIC -fPIE
trivium.c: In file included from trivium.c:2:
trivium.c: e/trivium.c: In function 'crypto_stream_trivium_e_submissions_trivium_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: 43 | #define U64TO64_CONVERT U64TO64_LITTLE
trivium.c: | ^~~~~~~~~~~~~~
trivium.c: e/trivium.c:212:18: note: in expansion of macro 'U64TO64_CONVERT'
trivium.c: 212 | ctx->init[0] = U64TO64_CONVERT(ctx->init[0]);
trivium.c: | ^~~~~~~~~~~~~~~
try.c: /usr/bin/ld: crypto_stream_trivium.a(trivium.o): in function `.L3':
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: crypto_stream_trivium.a(trivium.o): in function `.L9':
try.c: trivium.c:(.text+0x...): undefined reference to `U64TO64_LITTLE'
try.c: /usr/bin/ld: crypto_stream_trivium.a(trivium.o): in function `.L8':
try.c: trivium.c:(.text+0x...): undefined reference to `U64TO64_LITTLE'
try.c: /usr/bin/ld: crypto_stream_trivium.a(trivium.o): in function `.L16':
try.c: trivium.c:(.text+0x...): undefined reference to `U64TO64_LITTLE'
try.c: /usr/bin/ld: crypto_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: 1, namely:
CompilerImplementations
gcc -march=rv64gc -O -fomit-frame-pointer -fwrapv -fPIC -fPIE e/submissions/trivium

Compiler output

Implementation: e/submissions/trivium
Security model: unknown
Compiler: gcc -march=rv64gc -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE
trivium.c: In file included from trivium.c:2:
trivium.c: e/trivium.c: In function 'crypto_stream_trivium_e_submissions_trivium_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: 43 | #define U64TO64_CONVERT U64TO64_LITTLE
trivium.c: | ^~~~~~~~~~~~~~
trivium.c: e/trivium.c:212:18: note: in expansion of macro 'U64TO64_CONVERT'
trivium.c: 212 | ctx->init[0] = U64TO64_CONVERT(ctx->init[0]);
trivium.c: | ^~~~~~~~~~~~~~~
try.c: /usr/bin/ld: crypto_stream_trivium.a(trivium.o): in function `.L3':
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: crypto_stream_trivium.a(trivium.o): in function `.L7':
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: crypto_stream_trivium.a(trivium.o): in function `.L14':
try.c: trivium.c:(.text+0x...): undefined reference to `U64TO64_LITTLE'
try.c: /usr/bin/ld: crypto_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: 1, namely:
CompilerImplementations
gcc -march=rv64gc -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE e/submissions/trivium