Implementation notes: riscv64, hifiveunleashedriscv, crypto_stream/aes256estream

Computer: hifiveunleashedriscv
Architecture: riscv64
CPU ID: unknown CPU ID
SUPERCOP version: 20191221
Operation: crypto_stream
Primitive: aes256estream
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
1166069567 4096 417053 4840 792e/hongjun/v1gcc_-march=rv64gc_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019123020191221
1187045923 4096 413401 4840 792e/hongjun/v0gcc_-march=rv64gc_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019123020191221
1188017051 4096 416078 4848 792e/hongjun/v0gcc_-march=rv64gc_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019123020191221
1200628867 4096 415817 4824 792e/hongjun/v1gcc_-march=rv64gc_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019123020191221
1223645533 4096 412475 4824 792e/hongjun/v0gcc_-march=rv64gc_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019123020191221
12366611197 4096 420232 4848 792e/hongjun/v1gcc_-march=rv64gc_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019123020191221
1343608951 4096 416257 4840 792e/hongjun/v1gcc_-march=rv64gc_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019123020191221
1355145653 4096 412951 4840 792e/hongjun/v0gcc_-march=rv64gc_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019123020191221

Compiler output

Implementation: e/gladman
Security model: unknown
Compiler: gcc -march=rv64gc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
aes-ctr.c: In file included from e/aestab.c:41,
aes-ctr.c: from e/aes-ctr.c:17,
aes-ctr.c: from aes-ctr.c:2:
aes-ctr.c: e/aesopt.h:168:2: error: #error Could not detect endianness
aes-ctr.c: 168 | #error Could not detect endianness
aes-ctr.c: | ^~~~~
aes-ctr.c: In file included from e/aes-ctr.c:17,
aes-ctr.c: from aes-ctr.c:2:
aes-ctr.c: e/aestab.c:153:17: warning: implicit declaration of function 'bytes2word' [-Wimplicit-function-declaration]
aes-ctr.c: 153 | #define w0(p) bytes2word(p, 0, 0, 0)
aes-ctr.c: | ^~~~~~~~~~
aes-ctr.c: e/aestab.c:148:5: note: in expansion of macro 'w0'
aes-ctr.c: 148 | w(0x01), w(0x02), w(0x04), w(0x08), w(0x10),w(0x20), w(0x40), w(0x80),\
aes-ctr.c: | ^
aes-ctr.c: e/aestab.h:106:52: note: in expansion of macro 'rc_data'
aes-ctr.c: 106 | Extern Align Const aes_32t t_dec(r,c)[RC_LENGTH] = rc_data(w0);
aes-ctr.c: | ^~~~~~~
aes-ctr.c: e/aestab.c:153:17: error: initializer element is not constant
aes-ctr.c: 153 | #define w0(p) bytes2word(p, 0, 0, 0)
aes-ctr.c: | ^~~~~~~~~~
aes-ctr.c: e/aestab.c:148:5: note: in expansion of macro 'w0'
aes-ctr.c: 148 | w(0x01), w(0x02), w(0x04), w(0x08), w(0x10),w(0x20), w(0x40), w(0x80),\
aes-ctr.c: | ^
aes-ctr.c: e/aestab.h:106:52: note: in expansion of macro 'rc_data'
aes-ctr.c: 106 | Extern Align Const aes_32t t_dec(r,c)[RC_LENGTH] = rc_data(w0);
aes-ctr.c: ...

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -march=rv64gc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE e/gladman
gcc -march=rv64gc -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE e/gladman
gcc -march=rv64gc -O -fomit-frame-pointer -fwrapv -fPIC -fPIE e/gladman
gcc -march=rv64gc -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE e/gladman

Namespace violations

Implementation: e/hongjun/v0
Security model: unknown
Compiler: gcc -march=rv64gc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
aes-ctr.o T0 D
aes-ctr.o T1 D
aes-ctr.o T2 D
aes-ctr.o T3 D
aes-ctr.o aes256_enc_block T
aes-ctr.o partial_precompute_tworounds T

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -march=rv64gc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE e/hongjun/v0
gcc -march=rv64gc -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE e/hongjun/v0
gcc -march=rv64gc -O -fomit-frame-pointer -fwrapv -fPIC -fPIE e/hongjun/v0
gcc -march=rv64gc -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE e/hongjun/v0

Namespace violations

Implementation: e/hongjun/v1
Security model: unknown
Compiler: gcc -march=rv64gc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
aes-ctr.o T0 D
aes-ctr.o T1 D
aes-ctr.o T2 D
aes-ctr.o T3 D
aes-ctr.o partial_precompute_tworounds T

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -march=rv64gc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE e/hongjun/v1
gcc -march=rv64gc -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE e/hongjun/v1
gcc -march=rv64gc -O -fomit-frame-pointer -fwrapv -fPIC -fPIE e/hongjun/v1
gcc -march=rv64gc -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE e/hongjun/v1