Implementation notes: ppc64, power9, crypto_kem/threebears936r2cca

Computer: power9
Architecture: ppc64
CPU ID: unknown CPU ID
SUPERCOP version: 20210326
Operation: crypto_kem
Primitive: threebears936r2cca
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
469446819575 0 044394 692 1920refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
547004813345 0 039223 684 1936refgcc_-mcpu=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
547201913345 0 039223 684 1936refgcc_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
613694943398 0 048042 692 1920refclang_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
613695521699 0 048042 692 1920refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
643465519799 0 044058 692 1904refclang_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
643507019799 0 044058 692 1904refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
766497413297 0 039439 684 1936refgcc_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
107442647032 0 027956 684 1904refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
107966467032 0 027956 684 1904refclang_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
146012947328 0 028868 684 1904refclang_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
146285557328 0 028868 684 1904refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
164297717509 0 029580 676 1920refgcc_-mcpu=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
164547407509 0 029580 676 1920refgcc_-mcpu=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
178544437521 0 029680 676 1920refgcc_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
223760559882 0 034468 684 1928refgcc_-mcpu=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
223780329882 0 034468 684 1928refgcc_-mcpu=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
225808449902 0 034496 684 1928refgcc_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
226980708746 0 032724 684 1928refgcc_-mcpu=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
229925968802 0 032792 684 1928refgcc_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
235017828746 0 032724 684 1928refgcc_-mcpu=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326

Compiler output

Implementation: lowmem
Security model: constbranchindex
Compiler: clang -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -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' file not found
shake.c: #include <libkeccak.a.headers/KeccakP-1600-SnP.h>
shake.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
shake.c: 1 error generated.

Number of similar (compiler,implementation) pairs: 24, namely:
CompilerImplementations
clang -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE lowmem
clang -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE lowmem
clang -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE lowmem
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 -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE opt
clang -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE opt
clang -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE opt
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 -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE vec
clang -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE vec
clang -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE vec
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

Compiler output

Implementation: lowmem
Security model: constbranchindex
Compiler: clang -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -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' file not found
shake.c: #include <libkeccak.a.headers/KeccakP-1600-SnP.h>
shake.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
shake.c: 1 error generated.
shake.c: In file included from shake.c:3:
shake.c: ./shake.h:3:10: fatal error: 'libkeccak.a.headers/KeccakP-1600-SnP.h' file not found
shake.c: #include <libkeccak.a.headers/KeccakP-1600-SnP.h>
shake.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
shake.c: 1 error generated.

Number of similar (compiler,implementation) pairs: 3, namely:
CompilerImplementations
clang -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE lowmem opt vec

Compiler output

Implementation: lowmem
Security model: constbranchindex
Compiler: gcc -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: 36, namely:
CompilerImplementations
gcc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE lowmem
gcc -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE lowmem
gcc -O -fomit-frame-pointer -fwrapv -fPIC -fPIE lowmem
gcc -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE lowmem
gcc -mcpu=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE lowmem
gcc -mcpu=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE lowmem
gcc -mcpu=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE lowmem
gcc -mcpu=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE lowmem
gcc -mcpu=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE lowmem
gcc -mcpu=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE lowmem
gcc -mcpu=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE lowmem
gcc -mcpu=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE lowmem
gcc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE opt
gcc -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE opt
gcc -O -fomit-frame-pointer -fwrapv -fPIC -fPIE opt
gcc -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE opt
gcc -mcpu=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE opt
gcc -mcpu=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE opt
gcc -mcpu=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE opt
gcc -mcpu=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE opt
gcc -mcpu=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE opt
gcc -mcpu=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE opt
gcc -mcpu=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE opt
gcc -mcpu=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE opt
gcc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE vec
gcc -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE vec
gcc -O -fomit-frame-pointer -fwrapv -fPIC -fPIE vec
gcc -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE vec
gcc -mcpu=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE vec
gcc -mcpu=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE vec
gcc -mcpu=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE vec
gcc -mcpu=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE vec
gcc -mcpu=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE vec
gcc -mcpu=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE vec
gcc -mcpu=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE vec
gcc -mcpu=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE vec

Namespace violations

Implementation: ref
Security model: constbranchindex
Compiler: clang -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
melas_fec.o pqcrypto_kem_threebears936r2cca_impl_priv_melas_fec_correct T
melas_fec.o pqcrypto_kem_threebears936r2cca_impl_priv_melas_fec_set T
ring.o pqcrypto_kem_threebears936r2cca_impl_priv_canon_3120 T
ring.o pqcrypto_kem_threebears936r2cca_impl_priv_contract_3120 T
ring.o pqcrypto_kem_threebears936r2cca_impl_priv_expand_3120 T
ring.o pqcrypto_kem_threebears936r2cca_impl_priv_mac_3120 T
shake.o pqcrypto_kem_threebears936r2cca_impl_priv_hash_output T
shake.o pqcrypto_kem_threebears936r2cca_impl_priv_hash_update T
shake.o pqcrypto_kem_threebears936r2cca_impl_priv_threebears_cshake_init T
threebears.o pqcrypto_kem_threebears936r2cca_impl_priv_decapsulate T
threebears.o pqcrypto_kem_threebears936r2cca_impl_priv_encapsulate T
threebears.o pqcrypto_kem_threebears936r2cca_impl_priv_get_pubkey T
threebears.o pqcrypto_kem_threebears936r2cca_impl_priv_secure_bzero T

Number of similar (compiler,implementation) pairs: 20, namely:
CompilerImplementations
clang -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
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
gcc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
gcc -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
gcc -O -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
gcc -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
gcc -mcpu=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
gcc -mcpu=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
gcc -mcpu=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
gcc -mcpu=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
gcc -mcpu=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
gcc -mcpu=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
gcc -mcpu=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
gcc -mcpu=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE ref

Namespace violations

Implementation: ref
Security model: constbranchindex
Compiler: clang -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
melas_fec.o pqcrypto_kem_threebears936r2cca_impl_priv_melas_fec_correct T
melas_fec.o pqcrypto_kem_threebears936r2cca_impl_priv_melas_fec_correct T
melas_fec.o pqcrypto_kem_threebears936r2cca_impl_priv_melas_fec_set T
melas_fec.o pqcrypto_kem_threebears936r2cca_impl_priv_melas_fec_set T
ring.o pqcrypto_kem_threebears936r2cca_impl_priv_canon_3120 T
ring.o pqcrypto_kem_threebears936r2cca_impl_priv_canon_3120 T
ring.o pqcrypto_kem_threebears936r2cca_impl_priv_contract_3120 T
ring.o pqcrypto_kem_threebears936r2cca_impl_priv_contract_3120 T
ring.o pqcrypto_kem_threebears936r2cca_impl_priv_expand_3120 T
ring.o pqcrypto_kem_threebears936r2cca_impl_priv_expand_3120 T
ring.o pqcrypto_kem_threebears936r2cca_impl_priv_mac_3120 T
ring.o pqcrypto_kem_threebears936r2cca_impl_priv_mac_3120 T
shake.o pqcrypto_kem_threebears936r2cca_impl_priv_hash_output T
shake.o pqcrypto_kem_threebears936r2cca_impl_priv_hash_output T
shake.o pqcrypto_kem_threebears936r2cca_impl_priv_hash_update T
shake.o pqcrypto_kem_threebears936r2cca_impl_priv_hash_update T
shake.o pqcrypto_kem_threebears936r2cca_impl_priv_threebears_cshake_init T
shake.o pqcrypto_kem_threebears936r2cca_impl_priv_threebears_cshake_init T
threebears.o pqcrypto_kem_threebears936r2cca_impl_priv_decapsulate T
threebears.o pqcrypto_kem_threebears936r2cca_impl_priv_decapsulate T
threebears.o pqcrypto_kem_threebears936r2cca_impl_priv_encapsulate T
threebears.o pqcrypto_kem_threebears936r2cca_impl_priv_encapsulate T
threebears.o pqcrypto_kem_threebears936r2cca_impl_priv_get_pubkey T
threebears.o pqcrypto_kem_threebears936r2cca_impl_priv_get_pubkey T
threebears.o pqcrypto_kem_threebears936r2cca_impl_priv_secure_bzero T
threebears.o pqcrypto_kem_threebears936r2cca_impl_priv_secure_bzero T

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref