Implementation notes: armeabi, berry2, crypto_kem/sikep751

Computer: berry2
Microarchitecture: armeabi; Cortex-A7 (410fc075)
Architecture: armeabi
CPU ID: unknown CPU ID
SUPERCOP version: 20240107
Operation: crypto_kem
Primitive: sikep751
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
313868043890260 0 0114182 412 1536T:amd64clang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024021520240107
4005004276142048 0 0157128 408 1528T:amd64gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024021520240107
451638165440620 0 053884 408 1528T:amd64gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024021520240107
509897535426520 0 039260 400 1528T:amd64gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024021520240107
544895552337188 0 050524 408 1528T:amd64gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024021520240107

Test failure

Implementation: T:arm
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
error 142
Alarm clock

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

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
try.c: /usr/bin/ld: libcrypto_kem_sikep751.a(encoding.o): in function `ostofp':
try.c: encoding.c:(.text+0x...): undefined reference to `__gmpz_cmp'
try.c: /usr/bin/ld: libcrypto_kem_sikep751.a(encoding.o): in function `ostofp2':
try.c: encoding.c:(.text+0x...): undefined reference to `__gmpz_cmp'
try.c: /usr/bin/ld: encoding.c:(.text+0x...): undefined reference to `__gmpz_cmp'
try.c: /usr/bin/ld: libcrypto_kem_sikep751.a(encoding.o): in function `ostopk':
try.c: encoding.c:(.text+0x...): undefined reference to `__gmpz_cmp'
try.c: /usr/bin/ld: encoding.c:(.text+0x...): undefined reference to `__gmpz_cmp'
try.c: /usr/bin/ld: libcrypto_kem_sikep751.a(encoding.o):encoding.c:(.text+0x...): more undefined references to `__gmpz_cmp' follow
try.c: /usr/bin/ld: libcrypto_kem_sikep751.a(fp.o): in function `mp_import':
try.c: fp.c:(.text+0x...): undefined reference to `__gmpz_import'
try.c: /usr/bin/ld: libcrypto_kem_sikep751.a(fp.o): in function `mp_export':
try.c: fp.c:(.text+0x...): undefined reference to `__gmpz_export'
try.c: /usr/bin/ld: libcrypto_kem_sikep751.a(fp.o): in function `mp_sizeinbase':
try.c: fp.c:(.text+0x...): undefined reference to `__gmpz_sizeinbase'
try.c: /usr/bin/ld: libcrypto_kem_sikep751.a(fp.o): in function `mp_pow':
try.c: fp.c:(.text+0x...): undefined reference to `__gmpz_ui_pow_ui'
try.c: /usr/bin/ld: libcrypto_kem_sikep751.a(fp.o): in function `mp_mod':
try.c: fp.c:(.text+0x...): undefined reference to `__gmpz_mod'
try.c: /usr/bin/ld: libcrypto_kem_sikep751.a(fp.o): in function `gmp_init':
try.c: fp.c:(.text+0x...): undefined reference to `__gmpz_init'
try.c: /usr/bin/ld: libcrypto_kem_sikep751.a(fp.o): in function `gmp_add_fp':
try.c: fp.c:(.text+0x...): undefined reference to `__gmpz_add'
try.c: /usr/bin/ld: fp.c:(.text+0x...): undefined reference to `__gmpz_mod'
try.c: /usr/bin/ld: libcrypto_kem_sikep751.a(fp.o): in function `gmp_clear':
try.c: ...

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

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
try.c: /usr/bin/ld: libcrypto_kem_sikep751.a(encoding.o): in function `ostofp':
try.c: encoding.c:(.text+0x...): undefined reference to `__gmpz_cmp'
try.c: /usr/bin/ld: libcrypto_kem_sikep751.a(fp.o): in function `gmp_zero':
try.c: fp.c:(.text+0x...): undefined reference to `__gmpz_set_ui'
try.c: /usr/bin/ld: libcrypto_kem_sikep751.a(fp.o): in function `gmp_unity':
try.c: fp.c:(.text+0x...): undefined reference to `__gmpz_set_ui'
try.c: /usr/bin/ld: libcrypto_kem_sikep751.a(fp.o): in function `gmp_constant_fp':
try.c: fp.c:(.text+0x...): undefined reference to `__gmpz_set_ui'
try.c: /usr/bin/ld: libcrypto_kem_sikep751.a(fp.o): in function `gmp_subtract':
try.c: fp.c:(.text+0x...): undefined reference to `__gmpz_sub'
try.c: /usr/bin/ld: fp.c:(.text+0x...): undefined reference to `__gmpz_mod'
try.c: /usr/bin/ld: libcrypto_kem_sikep751.a(fp.o): in function `gmp_square':
try.c: fp.c:(.text+0x...): undefined reference to `__gmpz_mul'
try.c: /usr/bin/ld: fp.c:(.text+0x...): undefined reference to `__gmpz_mod'
try.c: /usr/bin/ld: libcrypto_kem_sikep751.a(fp.o): in function `gmp_multiply':
try.c: fp.c:(.text+0x...): undefined reference to `__gmpz_mul'
try.c: /usr/bin/ld: fp.c:(.text+0x...): undefined reference to `__gmpz_mod'
try.c: /usr/bin/ld: libcrypto_kem_sikep751.a(fp.o): in function `nist_rand':
try.c: fp.c:(.text+0x...): undefined reference to `__gmpz_sizeinbase'
try.c: /usr/bin/ld: fp.c:(.text+0x...): undefined reference to `__gmpz_import'
try.c: /usr/bin/ld: fp.c:(.text+0x...): undefined reference to `__gmpz_mod'
try.c: /usr/bin/ld: libcrypto_kem_sikep751.a(fp.o): in function `gmp_pow':
try.c: fp.c:(.text+0x...): undefined reference to `__gmpz_powm'
try.c: /usr/bin/ld: libcrypto_kem_sikep751.a(fp.o): in function `gmp_negative':
try.c: fp.c:(.text+0x...): undefined reference to `__gmpz_set'
try.c: ...

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

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE
try.c: /usr/bin/ld: libcrypto_kem_sikep751.a(encoding.o): in function `ostofp':
try.c: encoding.c:(.text+0x...): undefined reference to `__gmpz_cmp'
try.c: /usr/bin/ld: libcrypto_kem_sikep751.a(encoding.o): in function `ostofp2':
try.c: encoding.c:(.text+0x...): undefined reference to `__gmpz_cmp'
try.c: /usr/bin/ld: encoding.c:(.text+0x...): undefined reference to `__gmpz_cmp'
try.c: /usr/bin/ld: libcrypto_kem_sikep751.a(encoding.o): in function `ostopk':
try.c: encoding.c:(.text+0x...): undefined reference to `__gmpz_cmp'
try.c: /usr/bin/ld: encoding.c:(.text+0x...): undefined reference to `__gmpz_cmp'
try.c: /usr/bin/ld: libcrypto_kem_sikep751.a(encoding.o):encoding.c:(.text+0x...): more undefined references to `__gmpz_cmp' follow
try.c: /usr/bin/ld: libcrypto_kem_sikep751.a(fp.o): in function `gmp_zero':
try.c: fp.c:(.text+0x...): undefined reference to `__gmpz_set_ui'
try.c: /usr/bin/ld: libcrypto_kem_sikep751.a(fp.o): in function `gmp_unity':
try.c: fp.c:(.text+0x...): undefined reference to `__gmpz_set_ui'
try.c: /usr/bin/ld: libcrypto_kem_sikep751.a(fp.o): in function `gmp_constant_fp':
try.c: fp.c:(.text+0x...): undefined reference to `__gmpz_set_ui'
try.c: /usr/bin/ld: libcrypto_kem_sikep751.a(fp.o): in function `gmp_subtract':
try.c: fp.c:(.text+0x...): undefined reference to `__gmpz_sub'
try.c: /usr/bin/ld: fp.c:(.text+0x...): undefined reference to `__gmpz_mod'
try.c: /usr/bin/ld: libcrypto_kem_sikep751.a(fp.o): in function `gmp_square':
try.c: fp.c:(.text+0x...): undefined reference to `__gmpz_mul'
try.c: /usr/bin/ld: fp.c:(.text+0x...): undefined reference to `__gmpz_mod'
try.c: /usr/bin/ld: libcrypto_kem_sikep751.a(fp.o): in function `gmp_multiply':
try.c: fp.c:(.text+0x...): undefined reference to `__gmpz_mul'
try.c: /usr/bin/ld: fp.c:(.text+0x...): undefined reference to `__gmpz_mod'
try.c: /usr/bin/ld: libcrypto_kem_sikep751.a(fp.o): in function `nist_rand':
try.c: ...

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

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE
try.c: /usr/bin/ld: libcrypto_kem_sikep751.a(encoding.o): in function `ostofp':
try.c: encoding.c:(.text+0x...): undefined reference to `__gmpz_cmp'
try.c: /usr/bin/ld: libcrypto_kem_sikep751.a(fp.o): in function `gmp_zero':
try.c: fp.c:(.text+0x...): undefined reference to `__gmpz_set_ui'
try.c: /usr/bin/ld: libcrypto_kem_sikep751.a(fp.o): in function `gmp_unity':
try.c: fp.c:(.text+0x...): undefined reference to `__gmpz_set_ui'
try.c: /usr/bin/ld: libcrypto_kem_sikep751.a(fp.o): in function `gmp_constant_fp':
try.c: fp.c:(.text+0x...): undefined reference to `__gmpz_set_ui'
try.c: /usr/bin/ld: libcrypto_kem_sikep751.a(fp.o): in function `gmp_subtract':
try.c: fp.c:(.text+0x...): undefined reference to `__gmpz_sub'
try.c: /usr/bin/ld: fp.c:(.text+0x...): undefined reference to `__gmpz_mod'
try.c: /usr/bin/ld: libcrypto_kem_sikep751.a(fp.o): in function `gmp_square':
try.c: fp.c:(.text+0x...): undefined reference to `__gmpz_mul'
try.c: /usr/bin/ld: fp.c:(.text+0x...): undefined reference to `__gmpz_mod'
try.c: /usr/bin/ld: libcrypto_kem_sikep751.a(fp.o): in function `gmp_multiply':
try.c: fp.c:(.text+0x...): undefined reference to `__gmpz_mul'
try.c: /usr/bin/ld: fp.c:(.text+0x...): undefined reference to `__gmpz_mod'
try.c: /usr/bin/ld: libcrypto_kem_sikep751.a(fp.o): in function `gmp_pow':
try.c: fp.c:(.text+0x...): undefined reference to `__gmpz_powm'
try.c: /usr/bin/ld: libcrypto_kem_sikep751.a(fp.o): in function `gmp_negative':
try.c: fp.c:(.text+0x...): undefined reference to `__gmpz_set'
try.c: /usr/bin/ld: fp.c:(.text+0x...): undefined reference to `__gmpz_mod'
try.c: /usr/bin/ld: libcrypto_kem_sikep751.a(fp.o): in function `gmp_copy_fp':
try.c: fp.c:(.text+0x...): undefined reference to `__gmpz_set'
try.c: /usr/bin/ld: libcrypto_kem_sikep751.a(fp.o): in function `gmp_isConstant':
try.c: ...

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

Namespace violations

Implementation: T:amd64
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
P751.o A_gen R
P751.o Alice_order R
P751.o B_gen R
P751.o Bob_order R
P751.o EphemeralKeyGeneration_A_SIDHp751 T
P751.o EphemeralKeyGeneration_B_SIDHp751 T
P751.o EphemeralSecretAgreement_A_SIDHp751 T
P751.o EphemeralSecretAgreement_B_SIDHp751 T
P751.o Montgomery_R2 R
P751.o Montgomery_one R
P751.o clear_words T
P751.o copy_words T
P751.o ct_cmov T
P751.o ct_compare T
P751.o eval_3_isog T
P751.o eval_4_isog T
P751.o fp2add751 T
P751.o fp2copy751 T
P751.o fp2correction751 T
P751.o fp2div2_751 T
P751.o fp2inv751_mont T
P751.o fp2mul751_mont T
P751.o fp2neg751 T
P751.o fp2sqr751_mont T
P751.o fp2sub751 T
P751.o fp2zero751 T
P751.o fpcopy751 T
P751.o fpinv751_chain_mont T
P751.o fpinv751_mont T
P751.o fpmul751_mont T
P751.o fpsqr751_mont T
P751.o fpzero751 T
P751.o from_fp2mont T
P751.o from_mont T
P751.o get_3_isog T
P751.o get_4_isog T
P751.o get_A T
P751.o inv_3_way T
P751.o j_inv T
P751.o mp_add T
P751.o mp_shiftl1 T
P751.o mp_shiftleft T
P751.o mp_shiftr1 T
P751.o mp_sub T
P751.o p751 R
P751.o p751p1 R
P751.o p751x16p R
P751.o p751x2 R
P751.o p751x4 R
P751.o random_mod_order_A_SIDHp751 T
P751.o random_mod_order_B_SIDHp751 T
P751.o strat_Alice R
P751.o strat_Bob R
P751.o to_fp2mont T
P751.o to_mont T
P751.o xDBL T
P751.o xDBLADD T
P751.o xDBLe T
P751.o xTPL T
P751.o xTPLe T
fips202.o KeccakF1600_StatePermute T
fips202.o shake128 T
fips202.o shake128_absorb T
fips202.o shake128_squeezeblocks T
fips202.o shake256 T
fips202.o shake256_absorb T
fips202.o shake256_squeezeblocks T
fp_generic.o digit_x_digit T
fp_generic.o fpadd751 T
fp_generic.o fpcorrection751 T
fp_generic.o fpdiv2_751 T
fp_generic.o fpneg751 T
fp_generic.o fpsub751 T
fp_generic.o mp_mul T
fp_generic.o mp_sub751_p2 T
fp_generic.o mp_sub751_p4 T
fp_generic.o rdc_mont T

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