Implementation notes: riscv64, riscvunleashed000, crypto_stream/rabbit

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

Compiler output

Implementation: T:e/opt/1/1
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
rabbit.c: In file included from rabbit.c:1:
rabbit.c: ./e/rabbit.c:432:48: warning: implicit declaration of function 'U32TO32_LITTLE' is invalid in C99 [-Wimplicit-function-declaration]
rabbit.c: *(u32*)(output+ 0) = *(u32*)(input+ 0) ^ U32TO32_LITTLE(ctx->work_ctx.x0 ^
rabbit.c: ^
rabbit.c: ./e/rabbit.c:454:28: warning: implicit declaration of function 'U32TO32_LITTLE' is invalid in C99 [-Wimplicit-function-declaration]
rabbit.c: *(u32*)(buffer+ 0) = U32TO32_LITTLE(ctx->work_ctx.x0 ^
rabbit.c: ^
rabbit.c: ./e/rabbit.c:485:31: warning: implicit declaration of function 'U32TO32_LITTLE' is invalid in C99 [-Wimplicit-function-declaration]
rabbit.c: *(u32*)(keystream+ 0) = U32TO32_LITTLE(ctx->work_ctx.x0 ^
rabbit.c: ^
rabbit.c: ./e/rabbit.c:506:28: warning: implicit declaration of function 'U32TO32_LITTLE' is invalid in C99 [-Wimplicit-function-declaration]
rabbit.c: *(u32*)(buffer+ 0) = U32TO32_LITTLE(ctx->work_ctx.x0 ^
rabbit.c: ^
rabbit.c: ./e/rabbit.c:536:48: warning: implicit declaration of function 'U32TO32_LITTLE' is invalid in C99 [-Wimplicit-function-declaration]
rabbit.c: *(u32*)(output+ 0) = *(u32*)(input+ 0) ^ U32TO32_LITTLE(ctx->work_ctx.x0 ^
rabbit.c: ^
rabbit.c: 5 warnings generated.
try.c: /usr/bin/ld: libcrypto_stream_rabbit.a(rabbit.o): in function `.LBB3_2':
try.c: rabbit.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: rabbit.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: rabbit.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: rabbit.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: libcrypto_stream_rabbit.a(rabbit.o): in function `.LBB3_3':
try.c: rabbit.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: libcrypto_stream_rabbit.a(rabbit.o):rabbit.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: 4, namely:
CompilerImplementations
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:e/opt/1/1 T:e/opt/1/2 T:e/opt/1/3 T:e/opt/1/4

Compiler output

Implementation: T:e/opt/2/1
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
rabbit.c: In file included from rabbit.c:1:
rabbit.c: ./e/rabbit.c:1313:48: warning: implicit declaration of function 'U32TO32_LITTLE' is invalid in C99 [-Wimplicit-function-declaration]
rabbit.c: *(u32*)(output+ 0) = *(u32*)(input+ 0) ^ U32TO32_LITTLE(ctx->work_ctx.x0 ^
rabbit.c: ^
rabbit.c: ./e/rabbit.c:1335:28: warning: implicit declaration of function 'U32TO32_LITTLE' is invalid in C99 [-Wimplicit-function-declaration]
rabbit.c: *(u32*)(buffer+ 0) = U32TO32_LITTLE(ctx->work_ctx.x0 ^
rabbit.c: ^
rabbit.c: ./e/rabbit.c:1375:31: warning: implicit declaration of function 'U32TO32_LITTLE' is invalid in C99 [-Wimplicit-function-declaration]
rabbit.c: *(u32*)(keystream+ 0) = U32TO32_LITTLE(ctx->work_ctx.x0 ^
rabbit.c: ^
rabbit.c: ./e/rabbit.c:1397:28: warning: implicit declaration of function 'U32TO32_LITTLE' is invalid in C99 [-Wimplicit-function-declaration]
rabbit.c: *(u32*)(buffer+ 0) = U32TO32_LITTLE(ctx->work_ctx.x0 ^
rabbit.c: ^
rabbit.c: ./e/rabbit.c:1432:48: warning: implicit declaration of function 'U32TO32_LITTLE' is invalid in C99 [-Wimplicit-function-declaration]
rabbit.c: *(u32*)(output+ 0) = *(u32*)(input+ 0) ^ U32TO32_LITTLE(ctx->work_ctx.x0 ^
rabbit.c: ^
rabbit.c: 5 warnings generated.
try.c: /usr/bin/ld: libcrypto_stream_rabbit.a(rabbit.o): in function `.LBB3_2':
try.c: rabbit.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: rabbit.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: rabbit.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: rabbit.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: libcrypto_stream_rabbit.a(rabbit.o): in function `.LBB3_3':
try.c: rabbit.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: libcrypto_stream_rabbit.a(rabbit.o):rabbit.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: 3, namely:
CompilerImplementations
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:e/opt/2/1 T:e/opt/2/2 T:e/opt/2/3

Compiler output

Implementation: T:e/opt/2/4
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
rabbit.c: In file included from rabbit.c:1:
rabbit.c: ./e/rabbit.c:314:4: warning: implicit declaration of function 'RABBIT_G_AND_LATE_COUNTER' is invalid in C99 [-Wimplicit-function-declaration]
rabbit.c: RABBIT_G_AND_LATE_COUNTER(0, 0xD34D34D3)
rabbit.c: ^
rabbit.c: ./e/rabbit.c:314:44: error: expected ';' after expression
rabbit.c: RABBIT_G_AND_LATE_COUNTER(0, 0xD34D34D3)
rabbit.c: ^
rabbit.c: ;
rabbit.c: ./e/rabbit.c:315:44: error: expected ';' after expression
rabbit.c: RABBIT_G_AND_LATE_COUNTER(1, 0x34D34D34)
rabbit.c: ^
rabbit.c: ;
rabbit.c: ./e/rabbit.c:316:44: error: expected ';' after expression
rabbit.c: RABBIT_G_AND_LATE_COUNTER(2, 0x4D34D34D)
rabbit.c: ^
rabbit.c: ;
rabbit.c: ./e/rabbit.c:318:44: error: expected ';' after expression
rabbit.c: RABBIT_G_AND_LATE_COUNTER(3, 0xD34D34D3)
rabbit.c: ^
rabbit.c: ;
rabbit.c: ./e/rabbit.c:320:44: error: expected ';' after expression
rabbit.c: RABBIT_G_AND_LATE_COUNTER(4, 0x34D34D34)
rabbit.c: ^
rabbit.c: ;
rabbit.c: ./e/rabbit.c:322:44: error: expected ';' after expression
rabbit.c: ...

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:e/opt/2/4

Compiler output

Implementation: T:e/opt/2/5
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
rabbit.c: In file included from rabbit.c:1:
rabbit.c: ./e/rabbit.c:37:2: error: this variant does not compile on this platform
rabbit.c: #error this variant does not compile on this platform
rabbit.c: ^
rabbit.c: ./e/rabbit.c:314:4: warning: implicit declaration of function 'RABBIT_G_AND_LATE_COUNTER' is invalid in C99 [-Wimplicit-function-declaration]
rabbit.c: RABBIT_G_AND_LATE_COUNTER(0, 0xD34D34D3)
rabbit.c: ^
rabbit.c: ./e/rabbit.c:314:44: error: expected ';' after expression
rabbit.c: RABBIT_G_AND_LATE_COUNTER(0, 0xD34D34D3)
rabbit.c: ^
rabbit.c: ;
rabbit.c: ./e/rabbit.c:315:44: error: expected ';' after expression
rabbit.c: RABBIT_G_AND_LATE_COUNTER(1, 0x34D34D34)
rabbit.c: ^
rabbit.c: ;
rabbit.c: ./e/rabbit.c:316:44: error: expected ';' after expression
rabbit.c: RABBIT_G_AND_LATE_COUNTER(2, 0x4D34D34D)
rabbit.c: ^
rabbit.c: ;
rabbit.c: ./e/rabbit.c:318:44: error: expected ';' after expression
rabbit.c: RABBIT_G_AND_LATE_COUNTER(3, 0xD34D34D3)
rabbit.c: ^
rabbit.c: ;
rabbit.c: ./e/rabbit.c:320:44: error: expected ';' after expression
rabbit.c: RABBIT_G_AND_LATE_COUNTER(4, 0x34D34D34)
rabbit.c: ...

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:e/opt/2/5

Compiler output

Implementation: T:e/ref
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
rabbit.c: In file included from rabbit.c:1:
rabbit.c: ./e/rabbit.c:203:48: warning: implicit declaration of function 'U32TO32_LITTLE' is invalid in C99 [-Wimplicit-function-declaration]
rabbit.c: *(u32*)(output+ 0) = *(u32*)(input+ 0) ^ U32TO32_LITTLE(ctx->work_ctx.x[0] ^
rabbit.c: ^
rabbit.c: ./e/rabbit.c:225:28: warning: implicit declaration of function 'U32TO32_LITTLE' is invalid in C99 [-Wimplicit-function-declaration]
rabbit.c: *(u32*)(buffer+ 0) = U32TO32_LITTLE(ctx->work_ctx.x[0] ^
rabbit.c: ^
rabbit.c: ./e/rabbit.c:256:31: warning: implicit declaration of function 'U32TO32_LITTLE' is invalid in C99 [-Wimplicit-function-declaration]
rabbit.c: *(u32*)(keystream+ 0) = U32TO32_LITTLE(ctx->work_ctx.x[0] ^
rabbit.c: ^
rabbit.c: ./e/rabbit.c:277:28: warning: implicit declaration of function 'U32TO32_LITTLE' is invalid in C99 [-Wimplicit-function-declaration]
rabbit.c: *(u32*)(buffer+ 0) = U32TO32_LITTLE(ctx->work_ctx.x[0] ^
rabbit.c: ^
rabbit.c: ./e/rabbit.c:307:48: warning: implicit declaration of function 'U32TO32_LITTLE' is invalid in C99 [-Wimplicit-function-declaration]
rabbit.c: *(u32*)(output+ 0) = *(u32*)(input+ 0) ^ U32TO32_LITTLE(ctx->work_ctx.x[0] ^
rabbit.c: ^
rabbit.c: 5 warnings generated.
try.c: /usr/bin/ld: libcrypto_stream_rabbit.a(rabbit.o): in function `crypto_stream_rabbit_e_ref_timingleaks_ECRYPT_process_bytes':
try.c: rabbit.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: rabbit.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: rabbit.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: rabbit.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: rabbit.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: libcrypto_stream_rabbit.a(rabbit.o):rabbit.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/ref