Implementation notes: riscv64, hifiveunleashedriscv, crypto_aead/kiasuneq128v1

Computer: hifiveunleashedriscv
Architecture: riscv64
CPU ID: unknown CPU ID
SUPERCOP version: 20191221
Operation: crypto_aead
Primitive: kiasuneq128v1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
80986824116 0 033715 760 848refgcc_-march=rv64gc_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019123020191221
83009921252 0 029407 760 848refgcc_-march=rv64gc_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019123020191221
91394719984 0 027423 744 848refgcc_-march=rv64gc_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019123020191221
103286520148 0 027895 760 848refgcc_-march=rv64gc_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019123020191221

Compiler output

Implementation: bitslice
Security model: unknown
Compiler: gcc -march=rv64gc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
kiasu.c: kiasu.c: In function 'kiasu_aead_encrypt':
kiasu.c: kiasu.c:256:13: error: unknown type name 'block'
kiasu.c: 256 | ALIGN(16) block Auth; /* Auth value during the mode */
kiasu.c: | ^~~~~
kiasu.c: kiasu.c:257:13: error: unknown type name 'block'
kiasu.c: 257 | ALIGN(16) block Checksum; /* Checksum on the plaintext blocks */
kiasu.c: | ^~~~~
kiasu.c: kiasu.c:258:13: error: unknown type name 'block'
kiasu.c: 258 | ALIGN(16) block PaddedBlock; /* Padded blocks if needed, otherwise the zero bock */
kiasu.c: | ^~~~~
kiasu.c: kiasu.c:259:13: error: unknown type name 'block'
kiasu.c: 259 | ALIGN(16) block ta[BPI]; /* 8 blocks for parallel processing */
kiasu.c: | ^~~~~
kiasu.c: kiasu.c:260:19: error: unknown type name 'block'
kiasu.c: 260 | ALIGN(16) const block* adp; /* Pointer to the blocks to process */
kiasu.c: | ^~~~~
kiasu.c: kiasu.c:262:13: error: unknown type name '__m128i'
kiasu.c: 262 | ALIGN(16) __m128i tmpblock;
kiasu.c: | ^~~~~~~
kiasu.c: kiasu.c:271:10: error: 'block' undeclared (first use in this function)
kiasu.c: 271 | adp = (block *)ad;
kiasu.c: | ^~~~~
kiasu.c: kiasu.c:271:10: note: each undeclared identifier is reported only once for each function it appears in
kiasu.c: kiasu.c:271:17: error: expected expression before ')' token
kiasu.c: 271 | adp = (block *)ad;
kiasu.c: ...

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

Compiler output

Implementation: opt
Security model: unknown
Compiler: gcc -march=rv64gc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
kiasu.c: kiasu.c:26:10: fatal error: xmmintrin.h: No such file or directory
kiasu.c: 26 | #include <xmmintrin.h> /* SSE instructions and _mm_malloc */
kiasu.c: | ^~~~~~~~~~~~~
kiasu.c: compilation terminated.

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

Namespace violations

Implementation: ref
Security model: unknown
Compiler: gcc -march=rv64gc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
kiasu.o kiasu_aead_decrypt T
kiasu.o kiasu_aead_encrypt T
tweakable_aes.o aesTweakDecrypt T
tweakable_aes.o aesTweakEncrypt T

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