Implementation notes: riscv64, riscvunleashed000, crypto_stream/hc128

Computer: riscvunleashed000
Architecture: riscv64
CPU ID: unknown CPU ID
SUPERCOP version: 20210326
Operation: crypto_stream
Primitive: hc128

Compiler output

Implementation: T:e/hc-128/200606
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
hc-128.c: In file included from hc-128.c:1:
hc-128.c: ./e/hc-128.c:207:54: warning: implicit declaration of function 'U32TO32_LITTLE' is invalid in C99 [-Wimplicit-function-declaration]
hc-128.c: for (i = 0; i < (keysize >> 5); i++) ctx->key[i] = U32TO32_LITTLE (((u32*)key)[i]);
hc-128.c: ^
hc-128.c: ./e/hc-128.c:221:57: warning: implicit declaration of function 'U32TO32_LITTLE' is invalid in C99 [-Wimplicit-function-declaration]
hc-128.c: for (i = 0; i < (ctx->ivsize >> 5); i++) ctx->iv[i] = U32TO32_LITTLE(((u32*)iv)[i]);
hc-128.c: ^
hc-128.c: ./e/hc-128.c:269:45: warning: implicit declaration of function 'U32TO32_LITTLE' is invalid in C99 [-Wimplicit-function-declaration]
hc-128.c: ((u32*)output)[0] = ((u32*)input)[0] ^ U32TO32_LITTLE(keystream[0]);
hc-128.c: ^
hc-128.c: 3 warnings generated.
try.c: /usr/bin/ld: libcrypto_stream_hc128.a(hc-128.o): in function `.LBB3_2':
try.c: hc-128.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: libcrypto_stream_hc128.a(hc-128.o): in function `.LBB4_2':
try.c: hc-128.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: libcrypto_stream_hc128.a(hc-128.o): in function `.LBB4_9':
try.c: hc-128.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: hc-128.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: hc-128.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: libcrypto_stream_hc128.a(hc-128.o):hc-128.c:(.text+0x...): more undefined references to `U32TO32_LITTLE' follow
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 -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:e/hc-128/200606

Compiler output

Implementation: T:e/hc-128/200701a
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
hc-128.c: In file included from hc-128.c:1:
hc-128.c: ./e/hc-128.c:239:54: warning: implicit declaration of function 'U32TO32_LITTLE' is invalid in C99 [-Wimplicit-function-declaration]
hc-128.c: for (i = 0; i < (keysize >> 5); i++) ctx->key[i] = U32TO32_LITTLE (((u32*)key)[i]);
hc-128.c: ^
hc-128.c: ./e/hc-128.c:253:57: warning: implicit declaration of function 'U32TO32_LITTLE' is invalid in C99 [-Wimplicit-function-declaration]
hc-128.c: for (i = 0; i < (ctx->ivsize >> 5); i++) ctx->iv[i] = U32TO32_LITTLE(((u32*)iv)[i]);
hc-128.c: ^
hc-128.c: ./e/hc-128.c:301:45: warning: implicit declaration of function 'U32TO32_LITTLE' is invalid in C99 [-Wimplicit-function-declaration]
hc-128.c: ((u32*)output)[0] = ((u32*)input)[0] ^ U32TO32_LITTLE(keystream[0]);
hc-128.c: ^
hc-128.c: 3 warnings generated.
try.c: /usr/bin/ld: libcrypto_stream_hc128.a(hc-128.o): in function `.LBB3_2':
try.c: hc-128.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: libcrypto_stream_hc128.a(hc-128.o): in function `.LBB4_2':
try.c: hc-128.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: libcrypto_stream_hc128.a(hc-128.o): in function `.LBB4_9':
try.c: hc-128.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: hc-128.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: hc-128.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: libcrypto_stream_hc128.a(hc-128.o):hc-128.c:(.text+0x...): more undefined references to `U32TO32_LITTLE' follow
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 -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:e/hc-128/200701a

Compiler output

Implementation: T:e/hc-128/200701b
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
hc-128.c: In file included from hc-128.c:1:
hc-128.c: ./e/hc-128.c:209:54: warning: implicit declaration of function 'U32TO32_LITTLE' is invalid in C99 [-Wimplicit-function-declaration]
hc-128.c: for (i = 0; i < (keysize >> 5); i++) ctx->key[i] = U32TO32_LITTLE (((u32*)key)[i]);
hc-128.c: ^
hc-128.c: ./e/hc-128.c:223:57: warning: implicit declaration of function 'U32TO32_LITTLE' is invalid in C99 [-Wimplicit-function-declaration]
hc-128.c: for (i = 0; i < (ctx->ivsize >> 5); i++) ctx->iv[i] = U32TO32_LITTLE(((u32*)iv)[i]);
hc-128.c: ^
hc-128.c: ./e/hc-128.c:271:45: warning: implicit declaration of function 'U32TO32_LITTLE' is invalid in C99 [-Wimplicit-function-declaration]
hc-128.c: ((u32*)output)[0] = ((u32*)input)[0] ^ U32TO32_LITTLE(keystream[0]);
hc-128.c: ^
hc-128.c: 3 warnings generated.
try.c: /usr/bin/ld: libcrypto_stream_hc128.a(hc-128.o): in function `.LBB3_2':
try.c: hc-128.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: libcrypto_stream_hc128.a(hc-128.o): in function `.LBB4_2':
try.c: hc-128.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: libcrypto_stream_hc128.a(hc-128.o): in function `.LBB4_9':
try.c: hc-128.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: hc-128.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: hc-128.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: libcrypto_stream_hc128.a(hc-128.o):hc-128.c:(.text+0x...): more undefined references to `U32TO32_LITTLE' follow
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 -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:e/hc-128/200701b