Implementation notes: riscv64, hifiveunleashedriscv, crypto_kem/threebears1248r2cca

Computer: hifiveunleashedriscv
Architecture: riscv64
CPU ID: unknown CPU ID
SUPERCOP version: 20191221
Operation: crypto_kem
Primitive: threebears1248r2cca
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
8915035010765 0 023109 744 1544refgcc_-march=rv64gc_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010320191221
1141163644953 0 015506 736 1544refgcc_-march=rv64gc_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010320191221
1204515605695 0 016653 744 1544refgcc_-march=rv64gc_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010320191221
1317057365471 0 016374 752 1544refgcc_-march=rv64gc_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010320191221

Compiler output

Implementation: lowmem
Security model: unknown
Compiler: gcc -march=rv64gc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
shake.c: In file included from shake.c:3:
shake.c: shake.h:3:10: fatal error: libkeccak.a.headers/KeccakP-1600-SnP.h: No such file or directory
shake.c: 3 | #include <libkeccak.a.headers/KeccakP-1600-SnP.h>
shake.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
shake.c: compilation terminated.

Number of similar (compiler,implementation) pairs: 12, namely:
CompilerImplementations
gcc -march=rv64gc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE lowmem
gcc -march=rv64gc -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE lowmem
gcc -march=rv64gc -O -fomit-frame-pointer -fwrapv -fPIC -fPIE lowmem
gcc -march=rv64gc -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE lowmem
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
gcc -march=rv64gc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE vec
gcc -march=rv64gc -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE vec
gcc -march=rv64gc -O -fomit-frame-pointer -fwrapv -fPIC -fPIE vec
gcc -march=rv64gc -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE vec

Namespace violations

Implementation: ref
Security model: unknown
Compiler: gcc -march=rv64gc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
melas_fec.o pqcrypto_kem_threebears1248r2cca_impl_priv_melas_fec_correct T
melas_fec.o pqcrypto_kem_threebears1248r2cca_impl_priv_melas_fec_set T
ring.o pqcrypto_kem_threebears1248r2cca_impl_priv_canon_3120 T
ring.o pqcrypto_kem_threebears1248r2cca_impl_priv_contract_3120 T
ring.o pqcrypto_kem_threebears1248r2cca_impl_priv_expand_3120 T
ring.o pqcrypto_kem_threebears1248r2cca_impl_priv_mac_3120 T
shake.o pqcrypto_kem_threebears1248r2cca_impl_priv_hash_output T
shake.o pqcrypto_kem_threebears1248r2cca_impl_priv_hash_update T
shake.o pqcrypto_kem_threebears1248r2cca_impl_priv_threebears_cshake_init T
threebears.o pqcrypto_kem_threebears1248r2cca_impl_priv_decapsulate T
threebears.o pqcrypto_kem_threebears1248r2cca_impl_priv_encapsulate T
threebears.o pqcrypto_kem_threebears1248r2cca_impl_priv_get_pubkey T
threebears.o pqcrypto_kem_threebears1248r2cca_impl_priv_secure_bzero 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