Implementation notes: amd64, ygritte, crypto_kem/threebears1248r2cca

Computer: ygritte
Architecture: amd64
CPU ID: GenuineIntel-00050657-bfebfbff
SUPERCOP version: 20200525
Operation: crypto_kem
Primitive: threebears1248r2cca
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
319875012910 0 038420 816 1608refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020052820200525
378978849218 0 074783 800 1608refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020052820200525
409135235403 0 060615 800 1608refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020052820200525
425638035403 0 060615 800 1608refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020052820200525
686040619045 0 043855 800 1576refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020052820200525
125415246966 0 029756 816 1608refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020052820200525
127645246856 0 029484 816 1608refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020052820200525
128798066105 0 028125 792 1576refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020052820200525
145310765539 0 027212 808 1576refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020052820200525

Compiler output

Implementation: lowmem
Security model: unknown
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
try.c: /usr/bin/ld: /home/thom/supercop/supercop-20200525/supercop-data/ygritte/amd64/lib/libkeccak.a(KeccakP-1600-AVX2.o): in function `KeccakP1600_Initialize':
try.c: (.text+0x...): multiple definition of `KeccakP1600_Initialize'; /home/thom/supercop/supercop-20200525/supercop-data/ygritte/amd64/lib/libsupercop.a(crypto_hash_sha3224_kcp_optimized1600AVX512-KeccakP-1600-AVX512.o):KeccakP-1600-AVX512.c:(.text+0x...): first defined here
try.c: /usr/bin/ld: /home/thom/supercop/supercop-20200525/supercop-data/ygritte/amd64/lib/libkeccak.a(KeccakP-1600-AVX2.o): in function `KeccakP1600_AddBytes':
try.c: (.text+0x...): multiple definition of `KeccakP1600_AddBytes'; /home/thom/supercop/supercop-20200525/supercop-data/ygritte/amd64/lib/libsupercop.a(crypto_hash_sha3224_kcp_optimized1600AVX512-KeccakP-1600-AVX512.o):KeccakP-1600-AVX512.c:(.text+0x...): first defined here
try.c: /usr/bin/ld: /home/thom/supercop/supercop-20200525/supercop-data/ygritte/amd64/lib/libkeccak.a(KeccakP-1600-AVX2.o): in function `KeccakP1600_OverwriteBytes':
try.c: (.text+0x...): multiple definition of `KeccakP1600_OverwriteBytes'; /home/thom/supercop/supercop-20200525/supercop-data/ygritte/amd64/lib/libsupercop.a(crypto_hash_sha3224_kcp_optimized1600AVX512-KeccakP-1600-AVX512.o):KeccakP-1600-AVX512.c:(.text+0x...): first defined here
try.c: /usr/bin/ld: /home/thom/supercop/supercop-20200525/supercop-data/ygritte/amd64/lib/libkeccak.a(KeccakP-1600-AVX2.o): in function `KeccakP1600_OverwriteWithZeroes':
try.c: (.text+0x...): multiple definition of `KeccakP1600_OverwriteWithZeroes'; /home/thom/supercop/supercop-20200525/supercop-data/ygritte/amd64/lib/libsupercop.a(crypto_hash_sha3224_kcp_optimized1600AVX512-KeccakP-1600-AVX512.o):KeccakP-1600-AVX512.c:(.text+0x...): first defined here
try.c: /usr/bin/ld: /home/thom/supercop/supercop-20200525/supercop-data/ygritte/amd64/lib/libkeccak.a(KeccakP-1600-AVX2.o): in function `KeccakP1600_ExtractBytes':
try.c: (.text+0x...): multiple definition of `KeccakP1600_ExtractBytes'; /home/thom/supercop/supercop-20200525/supercop-data/ygritte/amd64/lib/libsupercop.a(crypto_hash_sha3224_kcp_optimized1600AVX512-KeccakP-1600-AVX512.o):KeccakP-1600-AVX512.c:(.text+0x...): first defined here
try.c: /usr/bin/ld: /home/thom/supercop/supercop-20200525/supercop-data/ygritte/amd64/lib/libkeccak.a(KeccakP-1600-AVX2.o): in function `KeccakP1600_ExtractAndAddBytes':
try.c: (.text+0x...): multiple definition of `KeccakP1600_ExtractAndAddBytes'; /home/thom/supercop/supercop-20200525/supercop-data/ygritte/amd64/lib/libsupercop.a(crypto_hash_sha3224_kcp_optimized1600AVX512-KeccakP-1600-AVX512.o):KeccakP-1600-AVX512.c:(.text+0x...): first defined here
try.c: /usr/bin/ld: /home/thom/supercop/supercop-20200525/supercop-data/ygritte/amd64/lib/libkeccak.a(KeccakP-1600-AVX2.o): in function `KeccakP1600_Permute_24rounds':
try.c: (.text+0x...): multiple definition of `KeccakP1600_Permute_24rounds'; /home/thom/supercop/supercop-20200525/supercop-data/ygritte/amd64/lib/libsupercop.a(crypto_hash_sha3224_kcp_optimized1600AVX512-KeccakP-1600-AVX512.o):KeccakP-1600-AVX512.c:(.text+0x...): first defined here
try.c: /usr/bin/ld: /home/thom/supercop/supercop-20200525/supercop-data/ygritte/amd64/lib/libkeccak.a(KeccakP-1600-AVX2.o): in function `KeccakP1600_Permute_12rounds':
try.c: (.text+0x...): multiple definition of `KeccakP1600_Permute_12rounds'; /home/thom/supercop/supercop-20200525/supercop-data/ygritte/amd64/lib/libsupercop.a(crypto_hash_sha3224_kcp_optimized1600AVX512-KeccakP-1600-AVX512.o):KeccakP-1600-AVX512.c:(.text+0x...): first defined here
try.c: /usr/bin/ld: /home/thom/supercop/supercop-20200525/supercop-data/ygritte/amd64/lib/libkeccak.a(KeccakP-1600-AVX2.o): in function `KeccakP1600_Permute_Nrounds':
try.c: (.text+0x...): multiple definition of `KeccakP1600_Permute_Nrounds'; /home/thom/supercop/supercop-20200525/supercop-data/ygritte/amd64/lib/libsupercop.a(crypto_hash_sha3224_kcp_optimized1600AVX512-KeccakP-1600-AVX512.o):KeccakP-1600-AVX512.c:(.text+0x...): first defined here
try.c: /usr/bin/ld: /home/thom/supercop/supercop-20200525/supercop-data/ygritte/amd64/lib/libkeccak.a(KeccakP-1600-AVX2.o): in function `KeccakF1600_FastLoop_Absorb':
try.c: (.text+0x...): multiple definition of `KeccakF1600_FastLoop_Absorb'; /home/thom/supercop/supercop-20200525/supercop-data/ygritte/amd64/lib/libsupercop.a(crypto_hash_sha3224_kcp_optimized1600AVX512-KeccakP-1600-AVX512.o):KeccakP-1600-AVX512.c:(.text+0x...): first defined here
try.c: /usr/bin/ld: /home/thom/supercop/supercop-20200525/supercop-data/ygritte/amd64/lib/libkeccak.a(KeccakP-1600-AVX2.o): in function `KeccakP1600_12rounds_FastLoop_Absorb':
try.c: (.text+0x...): multiple definition of `KeccakP1600_12rounds_FastLoop_Absorb'; /home/thom/supercop/supercop-20200525/supercop-data/ygritte/amd64/lib/libsupercop.a(crypto_hash_sha3224_kcp_optimized1600AVX512-KeccakP-1600-AVX512.o):KeccakP-1600-AVX512.c:(.text+0x...): first defined here
try.c: clang: error: linker command failed with exit code 1 (use -v to see invocation)

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

Compiler output

Implementation: lowmem
Security model: unknown
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
try.c: /usr/bin/ld: /home/thom/supercop/supercop-20200525/supercop-data/ygritte/amd64/lib/libkeccak.a(KeccakP-1600-AVX2.o): in function `KeccakP1600_Initialize':
try.c: (.text+0x...): multiple definition of `KeccakP1600_Initialize'; /home/thom/supercop/supercop-20200525/supercop-data/ygritte/amd64/lib/libsupercop.a(crypto_hash_sha3224_kcp_optimized1600AVX512-KeccakP-1600-AVX512.o):KeccakP-1600-AVX512.c:(.text+0x...): first defined here
try.c: /usr/bin/ld: /home/thom/supercop/supercop-20200525/supercop-data/ygritte/amd64/lib/libkeccak.a(KeccakP-1600-AVX2.o): in function `KeccakP1600_AddBytes':
try.c: (.text+0x...): multiple definition of `KeccakP1600_AddBytes'; /home/thom/supercop/supercop-20200525/supercop-data/ygritte/amd64/lib/libsupercop.a(crypto_hash_sha3224_kcp_optimized1600AVX512-KeccakP-1600-AVX512.o):KeccakP-1600-AVX512.c:(.text+0x...): first defined here
try.c: /usr/bin/ld: /home/thom/supercop/supercop-20200525/supercop-data/ygritte/amd64/lib/libkeccak.a(KeccakP-1600-AVX2.o): in function `KeccakP1600_OverwriteBytes':
try.c: (.text+0x...): multiple definition of `KeccakP1600_OverwriteBytes'; /home/thom/supercop/supercop-20200525/supercop-data/ygritte/amd64/lib/libsupercop.a(crypto_hash_sha3224_kcp_optimized1600AVX512-KeccakP-1600-AVX512.o):KeccakP-1600-AVX512.c:(.text+0x...): first defined here
try.c: /usr/bin/ld: /home/thom/supercop/supercop-20200525/supercop-data/ygritte/amd64/lib/libkeccak.a(KeccakP-1600-AVX2.o): in function `KeccakP1600_OverwriteWithZeroes':
try.c: (.text+0x...): multiple definition of `KeccakP1600_OverwriteWithZeroes'; /home/thom/supercop/supercop-20200525/supercop-data/ygritte/amd64/lib/libsupercop.a(crypto_hash_sha3224_kcp_optimized1600AVX512-KeccakP-1600-AVX512.o):KeccakP-1600-AVX512.c:(.text+0x...): first defined here
try.c: /usr/bin/ld: /home/thom/supercop/supercop-20200525/supercop-data/ygritte/amd64/lib/libkeccak.a(KeccakP-1600-AVX2.o): in function `KeccakP1600_ExtractBytes':
try.c: (.text+0x...): multiple definition of `KeccakP1600_ExtractBytes'; /home/thom/supercop/supercop-20200525/supercop-data/ygritte/amd64/lib/libsupercop.a(crypto_hash_sha3224_kcp_optimized1600AVX512-KeccakP-1600-AVX512.o):KeccakP-1600-AVX512.c:(.text+0x...): first defined here
try.c: /usr/bin/ld: /home/thom/supercop/supercop-20200525/supercop-data/ygritte/amd64/lib/libkeccak.a(KeccakP-1600-AVX2.o): in function `KeccakP1600_ExtractAndAddBytes':
try.c: (.text+0x...): multiple definition of `KeccakP1600_ExtractAndAddBytes'; /home/thom/supercop/supercop-20200525/supercop-data/ygritte/amd64/lib/libsupercop.a(crypto_hash_sha3224_kcp_optimized1600AVX512-KeccakP-1600-AVX512.o):KeccakP-1600-AVX512.c:(.text+0x...): first defined here
try.c: /usr/bin/ld: /home/thom/supercop/supercop-20200525/supercop-data/ygritte/amd64/lib/libkeccak.a(KeccakP-1600-AVX2.o): in function `KeccakP1600_Permute_24rounds':
try.c: (.text+0x...): multiple definition of `KeccakP1600_Permute_24rounds'; /home/thom/supercop/supercop-20200525/supercop-data/ygritte/amd64/lib/libsupercop.a(crypto_hash_sha3224_kcp_optimized1600AVX512-KeccakP-1600-AVX512.o):KeccakP-1600-AVX512.c:(.text+0x...): first defined here
try.c: /usr/bin/ld: /home/thom/supercop/supercop-20200525/supercop-data/ygritte/amd64/lib/libkeccak.a(KeccakP-1600-AVX2.o): in function `KeccakP1600_Permute_12rounds':
try.c: (.text+0x...): multiple definition of `KeccakP1600_Permute_12rounds'; /home/thom/supercop/supercop-20200525/supercop-data/ygritte/amd64/lib/libsupercop.a(crypto_hash_sha3224_kcp_optimized1600AVX512-KeccakP-1600-AVX512.o):KeccakP-1600-AVX512.c:(.text+0x...): first defined here
try.c: /usr/bin/ld: /home/thom/supercop/supercop-20200525/supercop-data/ygritte/amd64/lib/libkeccak.a(KeccakP-1600-AVX2.o): in function `KeccakP1600_Permute_Nrounds':
try.c: (.text+0x...): multiple definition of `KeccakP1600_Permute_Nrounds'; /home/thom/supercop/supercop-20200525/supercop-data/ygritte/amd64/lib/libsupercop.a(crypto_hash_sha3224_kcp_optimized1600AVX512-KeccakP-1600-AVX512.o):KeccakP-1600-AVX512.c:(.text+0x...): first defined here
try.c: /usr/bin/ld: /home/thom/supercop/supercop-20200525/supercop-data/ygritte/amd64/lib/libkeccak.a(KeccakP-1600-AVX2.o): in function `KeccakF1600_FastLoop_Absorb':
try.c: (.text+0x...): multiple definition of `KeccakF1600_FastLoop_Absorb'; /home/thom/supercop/supercop-20200525/supercop-data/ygritte/amd64/lib/libsupercop.a(crypto_hash_sha3224_kcp_optimized1600AVX512-KeccakP-1600-AVX512.o):KeccakP-1600-AVX512.c:(.text+0x...): first defined here
try.c: /usr/bin/ld: /home/thom/supercop/supercop-20200525/supercop-data/ygritte/amd64/lib/libkeccak.a(KeccakP-1600-AVX2.o): in function `KeccakP1600_12rounds_FastLoop_Absorb':
try.c: (.text+0x...): multiple definition of `KeccakP1600_12rounds_FastLoop_Absorb'; /home/thom/supercop/supercop-20200525/supercop-data/ygritte/amd64/lib/libsupercop.a(crypto_hash_sha3224_kcp_optimized1600AVX512-KeccakP-1600-AVX512.o):KeccakP-1600-AVX512.c:(.text+0x...): first defined here
try.c: collect2: error: ld returned 1 exit status

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

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_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: 9, 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
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