Implementation notes: armeabi, novenablue, crypto_kem/threebears1248r2cpa

Computer: novenablue
Architecture: armeabi
CPU ID: unknown CPU ID
SUPERCOP version: 20200702
Operation: crypto_kem
Primitive: threebears1248r2cpa
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
21216119685 0 033278 424 1552optclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020052120200417
21341376574 0 027360 420 1552optclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020052120200417
21424999241 0 031230 424 1552optclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020052120200417
21433589241 0 031230 424 1552optclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020052120200417
21472909701 0 033278 424 1552optclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020052120200417
22047679845 0 042442 424 1552vecclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020052120200417
22268596810 0 036524 420 1552vecclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020052120200417
22369849321 0 040138 424 1552vecclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020052120200417
22370099321 0 040138 424 1552vecclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020052120200417
22466839861 0 042442 424 1552vecclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020052120200417
25975895466 0 026340 420 1552lowmemclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020052120200417
26109497229 0 029182 424 1552lowmemclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020052120200417
26112737229 0 029182 424 1552lowmemclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020052120200417
26123317689 0 031486 424 1552lowmemclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020052120200417
26740027645 0 031230 424 1552lowmemclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020052120200417
1490223910463 0 028886 424 1552refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020052120200417
149084528643 0 025334 424 1552refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020052120200417
149087578643 0 025334 424 1552refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020052120200417
1515146610563 0 028998 424 1552refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020052120200417
170879655888 0 021496 420 1552refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020052120200417

Compiler output

Implementation: lowmem
Security model: unknown
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
melas_fec.c: melas_fec.c: In function 's18update':
melas_fec.c: melas_fec.c:10:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
melas_fec.c: for (unsigned i=0; i<len; i++) {
melas_fec.c: ^
melas_fec.c: melas_fec.c:10:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
melas_fec.c: melas_fec.c: In function 'pqcrypto_kem_threebears1248r2cpa_impl_priv_melas_fec_set':
melas_fec.c: melas_fec.c:26:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
melas_fec.c: for (unsigned i=0; i<3; i++, fec>>=8) {
melas_fec.c: ^
melas_fec.c: melas_fec.c: In function 'mul2':
melas_fec.c: melas_fec.c:34:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
melas_fec.c: for (unsigned i=0; i<9; i++) {
melas_fec.c: ^

Number of similar (compiler,implementation) pairs: 12, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE lowmem
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE lowmem
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE lowmem
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE lowmem
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE opt
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE opt
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE opt
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE opt
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE vec
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE vec
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE vec
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE vec

Compiler output

Implementation: ref
Security model: unknown
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
melas_fec.c: melas_fec.c: In function 's18update':
melas_fec.c: melas_fec.c:16:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
melas_fec.c: for (unsigned i=0; i<len; i++) {
melas_fec.c: ^
melas_fec.c: melas_fec.c:16:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
melas_fec.c: melas_fec.c: In function 'pqcrypto_kem_threebears1248r2cpa_impl_priv_melas_fec_set':
melas_fec.c: melas_fec.c:29:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
melas_fec.c: for (unsigned i=0; i<MELAS_FEC_BYTES; i++, fec>>=8) {
melas_fec.c: ^
melas_fec.c: melas_fec.c: In function 'mul':
melas_fec.c: melas_fec.c:37:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
melas_fec.c: for (unsigned i=0; i<9; i++) {
melas_fec.c: ^
melas_fec.c: melas_fec.c: In function 'reverse18':
melas_fec.c: melas_fec.c:47:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
melas_fec.c: for (unsigned i=0; i<18; i++) {
melas_fec.c: ^

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

Namespace violations

Implementation: lowmem
Security model: unknown
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
melas_fec.o pqcrypto_kem_threebears1248r2cpa_impl_priv_melas_fec_correct T
melas_fec.o pqcrypto_kem_threebears1248r2cpa_impl_priv_melas_fec_set T
ring.o pqcrypto_kem_threebears1248r2cpa_impl_priv_canon_3120 T
ring.o pqcrypto_kem_threebears1248r2cpa_impl_priv_contract_3120 T
ring.o pqcrypto_kem_threebears1248r2cpa_impl_priv_expand_3120 T
ring.o pqcrypto_kem_threebears1248r2cpa_impl_priv_mac_3120 T
shake.o pqcrypto_kem_threebears1248r2cpa_impl_priv_hash_output T
shake.o pqcrypto_kem_threebears1248r2cpa_impl_priv_hash_times_n T
shake.o pqcrypto_kem_threebears1248r2cpa_impl_priv_hash_update T
shake.o pqcrypto_kem_threebears1248r2cpa_impl_priv_threebears_cshake_init T
threebears.o pqcrypto_kem_threebears1248r2cpa_impl_priv_decapsulate T
threebears.o pqcrypto_kem_threebears1248r2cpa_impl_priv_encapsulate T
threebears.o pqcrypto_kem_threebears1248r2cpa_impl_priv_get_pubkey T
threebears.o pqcrypto_kem_threebears1248r2cpa_impl_priv_secure_bzero T

Number of similar (compiler,implementation) pairs: 15, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE lowmem
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE lowmem
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE lowmem
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE lowmem
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE lowmem
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE opt
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE opt
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE opt
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE opt
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE opt
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE vec
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE vec
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE vec
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE vec
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE vec

Namespace violations

Implementation: ref
Security model: unknown
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
melas_fec.o pqcrypto_kem_threebears1248r2cpa_impl_priv_melas_fec_correct T
melas_fec.o pqcrypto_kem_threebears1248r2cpa_impl_priv_melas_fec_set T
ring.o pqcrypto_kem_threebears1248r2cpa_impl_priv_canon_3120 T
ring.o pqcrypto_kem_threebears1248r2cpa_impl_priv_contract_3120 T
ring.o pqcrypto_kem_threebears1248r2cpa_impl_priv_expand_3120 T
ring.o pqcrypto_kem_threebears1248r2cpa_impl_priv_mac_3120 T
shake.o pqcrypto_kem_threebears1248r2cpa_impl_priv_hash_output T
shake.o pqcrypto_kem_threebears1248r2cpa_impl_priv_hash_update T
shake.o pqcrypto_kem_threebears1248r2cpa_impl_priv_threebears_cshake_init T
threebears.o pqcrypto_kem_threebears1248r2cpa_impl_priv_decapsulate T
threebears.o pqcrypto_kem_threebears1248r2cpa_impl_priv_encapsulate T
threebears.o pqcrypto_kem_threebears1248r2cpa_impl_priv_get_pubkey T
threebears.o pqcrypto_kem_threebears1248r2cpa_impl_priv_secure_bzero T

Number of similar (compiler,implementation) pairs: 5, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref