Test results for aarch64, cfarm425, crypto_dh/claus
[Page version: 20261005 22:53:57]
Measurements for aarch64, cfarm425, crypto_dh
Test results for aarch64, cfarm425, crypto_dh
Test results for crypto_dh/claus
Computer: cfarm425
Microarchitecture: aarch64; Cortex-A76 (413fd0c1)
Architecture: aarch64
CPU ID: 413fd0c1
SUPERCOP version: 20261004
Operation: crypto_dh
Primitive: claus
| Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
| 15964110 | 2792 16 168 | 1598205 143297 16552 | T:cryptopp | g++ -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20261005 | 20261004 |
| 16396685 | 1212 0 0 | 29785 1352 2264 | T:opensslnew | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20261005 | 20261004 |
Compiler output
try.cpp: /usr/bin/aarch64-linux-gnu-ld.bfd: libcrypto_dh_claus.a(keypair.o): in function `__gmp_expr<__mpz_struct [1], __mpz_struct [1]>::__gmp_expr()':
try.cpp: /usr/include/gmpxx.h:1632:(.text+0x...): undefined reference to `__gmpz_init'
try.cpp: /usr/bin/aarch64-linux-gnu-ld.bfd: /usr/include/gmpxx.h:1632:(.text+0x...): undefined reference to `__gmpz_init'
try.cpp: /usr/bin/aarch64-linux-gnu-ld.bfd: /usr/include/gmpxx.h:1632:(.text+0x...): undefined reference to `__gmpz_init'
try.cpp: /usr/bin/aarch64-linux-gnu-ld.bfd: /usr/include/gmpxx.h:1632:(.text+0x...): undefined reference to `__gmpz_init'
try.cpp: /usr/bin/aarch64-linux-gnu-ld.bfd: libcrypto_dh_claus.a(keypair.o): in function `crypto_dh_claus_gmp_timingleaks_keypair':
try.cpp: .../supercop-data/cfarm425/aarch64/try/cpp/g++_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_dh/claus/gmp/work/keypair.cpp:21:(.text+0x...): undefined reference to `__gmpz_import'
try.cpp: /usr/bin/aarch64-linux-gnu-ld.bfd: libcrypto_dh_claus.a(keypair.o): in function `__gmp_expr<__mpz_struct [1], __mpz_struct [1]>::operator=(char const*)':
try.cpp: /usr/include/gmpxx.h:1687:(.text+0x...): undefined reference to `__gmpz_set_str'
try.cpp: /usr/bin/aarch64-linux-gnu-ld.bfd: libcrypto_dh_claus.a(keypair.o): in function `__gmp_expr<__mpz_struct [1], __mpz_struct [1]>::assign_ui(unsigned long)':
try.cpp: /usr/include/gmpxx.h:1585:(.text+0x...): undefined reference to `__gmpz_set_ui'
try.cpp: /usr/bin/aarch64-linux-gnu-ld.bfd: libcrypto_dh_claus.a(keypair.o): in function `crypto_dh_claus_gmp_timingleaks_keypair':
try.cpp: .../supercop-data/cfarm425/aarch64/try/cpp/g++_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_dh/claus/gmp/work/keypair.cpp:24:(.text+0x...): undefined reference to `__gmpz_powm'
try.cpp: /usr/bin/aarch64-linux-gnu-ld.bfd: .../supercop-data/cfarm425/aarch64/try/cpp/g++_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_dh/claus/gmp/work/keypair.cpp:25:(.text+0x...): undefined reference to `__gmpz_sizeinbase'
try.cpp: /usr/bin/aarch64-linux-gnu-ld.bfd: .../supercop-data/cfarm425/aarch64/try/cpp/g++_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_dh/claus/gmp/work/keypair.cpp:26:(.text+0x...): undefined reference to `__gmpz_export'
try.cpp: /usr/bin/aarch64-linux-gnu-ld.bfd: .../supercop-data/cfarm425/aarch64/try/cpp/g++_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_dh/claus/gmp/work/keypair.cpp:27:(.text+0x...): undefined reference to `__gmpz_export'
try.cpp: /usr/bin/aarch64-linux-gnu-ld.bfd: libcrypto_dh_claus.a(keypair.o): in function `__gmp_expr<__mpz_struct [1], __mpz_struct [1]>::~__gmp_expr()':
try.cpp: /usr/include/gmpxx.h:1667:(.text+0x...): undefined reference to `__gmpz_clear'
try.cpp: /usr/bin/aarch64-linux-gnu-ld.bfd: /usr/include/gmpxx.h:1667:(.text+0x...): undefined reference to `__gmpz_clear'
try.cpp: /usr/bin/aarch64-linux-gnu-ld.bfd: /usr/include/gmpxx.h:1667:(.text+0x...): undefined reference to `__gmpz_clear'
try.cpp: /usr/bin/aarch64-linux-gnu-ld.bfd: /usr/include/gmpxx.h:1667:(.text+0x...): undefined reference to `__gmpz_clear'
try.cpp: /usr/bin/aarch64-linux-gnu-ld.bfd: /usr/include/gmpxx.h:1667:(.text+0x...): undefined reference to `__gmpz_clear'
try.cpp: /usr/bin/aarch64-linux-gnu-ld.bfd: libcrypto_dh_claus.a(keypair.o):/usr/include/gmpxx.h:1667: more undefined references to `__gmpz_clear' follow
try.cpp: /usr/bin/aarch64-linux-gnu-ld.bfd: libcrypto_dh_claus.a(sharedsecret.o): in function `__gmp_expr<__mpz_struct [1], __mpz_struct [1]>::__gmp_expr()':
try.cpp: /usr/include/gmpxx.h:1632:(.text+0x...): undefined reference to `__gmpz_init'
try.cpp: ...
Number of similar (implementation,compiler) pairs: 1, namely:
| Implementation | Compiler |
| T:gmp | g++ -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (16.2.0) |
Compiler output
try.cpp: /usr/bin/aarch64-linux-gnu-ld.bfd: .../supercop-data/cfarm425/aarch64/lib/libntl.a(lip.o): in function `redc(_ntl_gbigint_body*, _ntl_gbigint_body*, long, unsigned long, _ntl_gbigint_body*)':
try.cpp: .../supercop-data/cfarm425/aarch64/ntl/work/src/lip.cpp:5497:(.text+0x...): undefined reference to `__gmpn_addmul_1'
try.cpp: /usr/bin/aarch64-linux-gnu-ld.bfd: .../supercop-data/cfarm425/aarch64/ntl/work/src/lip.cpp:5509:(.text+0x...): undefined reference to `__gmpn_sub_n'
try.cpp: /usr/bin/aarch64-linux-gnu-ld.bfd: .../supercop-data/cfarm425/aarch64/lib/libntl.a(lip.o): in function `_ntl_rem_struct_basic::eval(long*, _ntl_gbigint_body*, _ntl_tmp_vec*)':
try.cpp: .../supercop-data/cfarm425/aarch64/ntl/work/src/lip.cpp:7962:(.text+0x...): undefined reference to `__gmpn_mod_1'
try.cpp: /usr/bin/aarch64-linux-gnu-ld.bfd: .../supercop-data/cfarm425/aarch64/lib/libntl.a(lip.o): in function `_ntl_reduce_struct_montgomery::eval(_ntl_gbigint_body**, _ntl_gbigint_body**)':
try.cpp: .../supercop-data/cfarm425/aarch64/ntl/work/src/lip.cpp:5581:(.text+0x...): undefined reference to `__gmpn_addmul_1'
try.cpp: /usr/bin/aarch64-linux-gnu-ld.bfd: .../supercop-data/cfarm425/aarch64/ntl/work/src/lip.cpp:5593:(.text+0x...): undefined reference to `__gmpn_sub_n'
try.cpp: /usr/bin/aarch64-linux-gnu-ld.bfd: .../supercop-data/cfarm425/aarch64/lib/libntl.a(lip.o): in function `_ntl_crt_struct_basic::eval(_ntl_gbigint_body**, long const*, _ntl_tmp_vec*)':
try.cpp: .../supercop-data/cfarm425/aarch64/ntl/work/src/lip.cpp:6790:(.text+0x...): undefined reference to `__gmpn_addmul_1'
try.cpp: /usr/bin/aarch64-linux-gnu-ld.bfd: .../supercop-data/cfarm425/aarch64/lib/libntl.a(lip.o): in function `gmod_simple(_ntl_gbigint_body*, _ntl_gbigint_body*, _ntl_gbigint_body**)':
try.cpp: .../supercop-data/cfarm425/aarch64/ntl/work/src/lip.cpp:3521:(.text+0x...): undefined reference to `__gmpn_tdiv_qr'
try.cpp: /usr/bin/aarch64-linux-gnu-ld.bfd: .../supercop-data/cfarm425/aarch64/lib/libntl.a(lip.o): in function `_ntl_rem_struct_fast::eval(long*, _ntl_gbigint_body*, _ntl_tmp_vec*)':
try.cpp: .../supercop-data/cfarm425/aarch64/ntl/work/src/lip.cpp:8002:(.text+0x...): undefined reference to `__gmpn_mod_1'
try.cpp: /usr/bin/aarch64-linux-gnu-ld.bfd: .../supercop-data/cfarm425/aarch64/lib/libntl.a(lip.o): in function `_ntl_rem_struct_medium::eval(long*, _ntl_gbigint_body*, _ntl_tmp_vec*)':
try.cpp: .../supercop-data/cfarm425/aarch64/ntl/work/src/lip.cpp:8046:(.text+0x...): undefined reference to `__gmpn_mod_1'
try.cpp: /usr/bin/aarch64-linux-gnu-ld.bfd: .../supercop-data/cfarm425/aarch64/lib/libntl.a(lip.o): in function `_ntl_grshift(_ntl_gbigint_body*, long, _ntl_gbigint_body**)':
try.cpp: .../supercop-data/cfarm425/aarch64/ntl/work/src/lip.cpp:2428:(.text+0x...): undefined reference to `__gmpn_rshift'
try.cpp: /usr/bin/aarch64-linux-gnu-ld.bfd: .../supercop-data/cfarm425/aarch64/lib/libntl.a(lip.o): in function `_ntl_glshift(_ntl_gbigint_body*, long, _ntl_gbigint_body**)':
try.cpp: .../supercop-data/cfarm425/aarch64/ntl/work/src/lip.cpp:2363:(.text+0x...): undefined reference to `__gmpn_lshift'
try.cpp: /usr/bin/aarch64-linux-gnu-ld.bfd: .../supercop-data/cfarm425/aarch64/lib/libntl.a(lip.o): in function `_ntl_gadd(_ntl_gbigint_body*, _ntl_gbigint_body*, _ntl_gbigint_body**)':
try.cpp: /usr/include/aarch64-linux-gnu/gmp.h:2149:(.text+0x...): undefined reference to `__gmpn_add_n'
try.cpp: /usr/bin/aarch64-linux-gnu-ld.bfd: /usr/include/aarch64-linux-gnu/gmp.h:2204:(.text+0x...): undefined reference to `__gmpn_sub_n'
try.cpp: /usr/bin/aarch64-linux-gnu-ld.bfd: /usr/include/aarch64-linux-gnu/gmp.h:2204:(.text+0x...): undefined reference to `__gmpn_sub_n'
try.cpp: /usr/bin/aarch64-linux-gnu-ld.bfd: .../supercop-data/cfarm425/aarch64/lib/libntl.a(lip.o): in function `_ntl_gsub(_ntl_gbigint_body*, _ntl_gbigint_body*, _ntl_gbigint_body**)':
try.cpp: ...
Number of similar (implementation,compiler) pairs: 1, namely:
| Implementation | Compiler |
| T:ntl | g++ -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (16.2.0) |
Compiler output
keypair.c: keypair.c: In function 'crypto_dh_claus_openssl_timingleaks_keypair':
keypair.c: keypair.c:19:3: warning: 'DH_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
keypair.c: 19 | dh = DH_new();
keypair.c: | ^~
keypair.c: In file included from keypair.c:3:
keypair.c: /usr/include/openssl/dh.h:210:27: note: declared here
keypair.c: 210 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void);
keypair.c: | ^~~~~~
keypair.c: keypair.c:25:5: error: invalid use of incomplete typedef 'DH' {aka 'struct dh_st'}
keypair.c: 25 | dh->p = BN_new(); if (!dh->p) goto error;
keypair.c: | ^~
keypair.c: keypair.c:25:28: error: invalid use of incomplete typedef 'DH' {aka 'struct dh_st'}
keypair.c: 25 | dh->p = BN_new(); if (!dh->p) goto error;
keypair.c: | ^~
keypair.c: keypair.c:26:5: error: invalid use of incomplete typedef 'DH' {aka 'struct dh_st'}
keypair.c: 26 | dh->g = BN_new(); if (!dh->g) goto error;
keypair.c: | ^~
keypair.c: keypair.c:26:28: error: invalid use of incomplete typedef 'DH' {aka 'struct dh_st'}
keypair.c: 26 | dh->g = BN_new(); if (!dh->g) goto error;
keypair.c: | ^~
keypair.c: keypair.c:28:39: error: invalid use of incomplete typedef 'DH' {aka 'struct dh_st'}
keypair.c: 28 | if (!BN_bin2bn(prime,sizeof prime,dh->p)) goto error;
keypair.c: | ^~
keypair.c: keypair.c:29:22: error: invalid use of incomplete typedef 'DH' {aka 'struct dh_st'}
keypair.c: 29 | if (!BN_set_word(dh->g,2)) goto error;
keypair.c: ...
Number of similar (implementation,compiler) pairs: 1, namely:
| Implementation | Compiler |
| T:openssl | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (16.2.0) |
Compiler output
keypair.c: keypair.c: In function 'crypto_dh_claus_opensslnew_timingleaks_keypair':
keypair.c: keypair.c:32:3: warning: 'DH_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
keypair.c: 32 | dh = DH_new(); if (!dh) goto error;
keypair.c: | ^~
keypair.c: In file included from keypair.c:3:
keypair.c: /usr/include/openssl/dh.h:210:27: note: declared here
keypair.c: 210 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void);
keypair.c: | ^~~~~~
keypair.c: keypair.c:34:3: warning: 'DH_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
keypair.c: 34 | if (!DH_set0_pqg(dh,p,0,g)) goto error;
keypair.c: | ^~
keypair.c: /usr/include/openssl/dh.h:266:27: note: declared here
keypair.c: 266 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g);
keypair.c: | ^~~~~~~~~~~
keypair.c: keypair.c:37:3: warning: 'DH_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
keypair.c: 37 | if (!DH_generate_key(dh)) goto error;
keypair.c: | ^~
keypair.c: /usr/include/openssl/dh.h:234:27: note: declared here
keypair.c: 234 | OSSL_DEPRECATEDIN_3_0 int DH_generate_key(DH *dh);
keypair.c: | ^~~~~~~~~~~~~~~
keypair.c: keypair.c:39:3: warning: 'DH_get0_pub_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
keypair.c: 39 | z = DH_get0_pub_key(dh);
keypair.c: | ^
keypair.c: /usr/include/openssl/dh.h:274:37: note: declared here
keypair.c: 274 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *DH_get0_pub_key(const DH *dh);
keypair.c: ...
sharedsecret.c: sharedsecret.c: In function 'crypto_dh_claus_opensslnew_timingleaks':
sharedsecret.c: sharedsecret.c:27:3: warning: 'DH_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
sharedsecret.c: 27 | alice = DH_new(); if (!alice) goto error;
sharedsecret.c: | ^~~~~
sharedsecret.c: In file included from sharedsecret.c:3:
sharedsecret.c: /usr/include/openssl/dh.h:210:27: note: declared here
sharedsecret.c: 210 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void);
sharedsecret.c: | ^~~~~~
sharedsecret.c: sharedsecret.c:35:3: warning: 'DH_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
sharedsecret.c: 35 | if (!DH_set0_pqg(alice,p,0,g)) goto error;
sharedsecret.c: | ^~
sharedsecret.c: /usr/include/openssl/dh.h:266:27: note: declared here
sharedsecret.c: 266 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g);
sharedsecret.c: | ^~~~~~~~~~~
sharedsecret.c: sharedsecret.c:44:3: warning: 'DH_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
sharedsecret.c: 44 | if (!DH_set0_key(alice,pub_key,priv_key)) goto error;
sharedsecret.c: | ^~
sharedsecret.c: /usr/include/openssl/dh.h:269:27: note: declared here
sharedsecret.c: 269 | OSSL_DEPRECATEDIN_3_0 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key);
sharedsecret.c: | ^~~~~~~~~~~
sharedsecret.c: sharedsecret.c:47:3: warning: 'DH_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
sharedsecret.c: 47 | if (DH_size(alice) > SHAREDSECRET_BYTES) goto error;
sharedsecret.c: | ^~
sharedsecret.c: /usr/include/openssl/dh.h:214:27: note: declared here
sharedsecret.c: 214 | OSSL_DEPRECATEDIN_3_0 int DH_size(const DH *dh);
sharedsecret.c: ...
Number of similar (implementation,compiler) pairs: 1, namely:
| Implementation | Compiler |
| T:opensslnew | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (16.2.0) |