/freebsd-13-stable/crypto/openssl/crypto/ec/ |
H A D | ecdh_ossl.c | 23 const EC_POINT *pub_key, const EC_KEY *ecdh) 25 if (ecdh->group->meth->ecdh_compute_key == NULL) { 30 return ecdh->group->meth->ecdh_compute_key(psec, pseclen, pub_key, ecdh); 39 const EC_POINT *pub_key, const EC_KEY *ecdh) 59 priv_key = EC_KEY_get0_private_key(ecdh); 65 group = EC_KEY_get0_group(ecdh); 67 if (EC_KEY_get_flags(ecdh) & EC_FLAG_COFACTOR_ECDH) { 22 ossl_ecdh_compute_key(unsigned char **psec, size_t *pseclen, const EC_POINT *pub_key, const EC_KEY *ecdh) argument 38 ecdh_simple_compute_key(unsigned char **pout, size_t *poutlen, const EC_POINT *pub_key, const EC_KEY *ecdh) argument
|
H A D | ec_kmeth.c | 201 const EC_KEY *ecdh)) 275 const EC_KEY *ecdh)) 197 EC_KEY_METHOD_set_compute_key(EC_KEY_METHOD *meth, int (*ckey)(unsigned char **psec, size_t *pseclen, const EC_POINT *pub_key, const EC_KEY *ecdh)) argument 271 EC_KEY_METHOD_get_compute_key(const EC_KEY_METHOD *meth, int (**pck)(unsigned char **pout, size_t *poutlen, const EC_POINT *pub_key, const EC_KEY *ecdh)) argument
|
H A D | ec_local.h | 181 const EC_POINT *pub_key, const EC_KEY *ecdh); 615 const EC_POINT *pub_key, const EC_KEY *ecdh); 635 const EC_POINT *pub_key, const EC_KEY *ecdh); 637 const EC_POINT *pub_key, const EC_KEY *ecdh);
|
/freebsd-13-stable/kerberos5/include/ |
H A D | crypto-headers.h | 20 #include <openssl/ecdh.h>
|
/freebsd-13-stable/crypto/heimdal/include/ |
H A D | crypto-headers.h | 27 #include <openssl/ecdh.h> 53 #include <hcrypto/ecdh.h>
|
/freebsd-13-stable/crypto/heimdal/include/hcrypto/ |
H A D | Makefile.am | 13 ecdh.h \
|
H A D | Makefile.in | 353 ecdh.h \
|
/freebsd-13-stable/contrib/netbsd-tests/crypto/libcrypto/ |
H A D | t_pubkey.sh | 70 atf_test_case ecdh 107 atf_add_test_case ecdh
|
/freebsd-13-stable/contrib/wpa/src/crypto/ |
H A D | crypto_wolfssl.c | 1662 struct crypto_ecdh *ecdh = NULL; local 1669 ecdh = os_zalloc(sizeof(*ecdh)); 1670 if (!ecdh) 1673 ecdh->ec = crypto_ec_init(group); 1674 if (!ecdh->ec) 1677 ret = wc_ecc_make_key_ex(&rng, ecdh->ec->key.dp->size, &ecdh->ec->key, 1678 ecdh->ec->key.dp->id); 1685 return ecdh; 1693 crypto_ecdh_deinit(struct crypto_ecdh *ecdh) argument 1702 crypto_ecdh_get_pubkey(struct crypto_ecdh *ecdh, int inc_y) argument 1734 crypto_ecdh_set_peerkey(struct crypto_ecdh *ecdh, int inc_y, const u8 *key, size_t len) argument [all...] |
H A D | crypto_openssl.c | 1877 struct crypto_ecdh *ecdh; local 1882 ecdh = os_zalloc(sizeof(*ecdh)); 1883 if (!ecdh) 1886 ecdh->ec = crypto_ec_init(group); 1887 if (!ecdh->ec) 1890 ec_params = EC_KEY_new_by_curve_name(ecdh->ec->nid); 1915 if (EVP_PKEY_keygen(kctx, &ecdh->pkey) != 1) { 1926 return ecdh; 1928 crypto_ecdh_deinit(ecdh); 1934 crypto_ecdh_get_pubkey(struct crypto_ecdh *ecdh, int inc_y) argument 1994 crypto_ecdh_set_peerkey(struct crypto_ecdh *ecdh, int inc_y, const u8 *key, size_t len) argument 2089 crypto_ecdh_deinit(struct crypto_ecdh *ecdh) argument [all...] |
H A D | crypto.h | 881 struct wpabuf * crypto_ecdh_get_pubkey(struct crypto_ecdh *ecdh, int inc_y); 882 struct wpabuf * crypto_ecdh_set_peerkey(struct crypto_ecdh *ecdh, int inc_y, 884 void crypto_ecdh_deinit(struct crypto_ecdh *ecdh);
|
H A D | tls_openssl.c | 2999 EC_KEY *ecdh; local 3022 ecdh = EC_KEY_new_by_curve_name(NID_secp384r1); 3023 if (!ecdh || SSL_set_tmp_ecdh(ssl, ecdh) != 1) { 3024 EC_KEY_free(ecdh); 3029 EC_KEY_free(ecdh);
|
/freebsd-13-stable/crypto/openssh/ |
H A D | kexecdh.c | 39 #include <openssl/ecdh.h>
|
H A D | kexecdhs.c | 35 #include <openssl/ecdh.h>
|
H A D | kexecdhc.c | 37 #include <openssl/ecdh.h>
|
/freebsd-13-stable/crypto/heimdal/kdc/ |
H A D | pkinit.c | 60 } ecdh; member in union:pk_client_params::__anon6707 186 if (cp->u.ecdh.key) 187 EC_KEY_free(cp->u.ecdh.key); 188 if (cp->u.ecdh.public_key) 189 EC_KEY_free(cp->u.ecdh.public_key); 256 if (client_params->u.ecdh.public_key == NULL) { 262 client_params->u.ecdh.key = EC_KEY_new(); 263 if (client_params->u.ecdh.key == NULL) { 267 EC_KEY_set_group(client_params->u.ecdh.key, 268 EC_KEY_get0_group(client_params->u.ecdh [all...] |
/freebsd-13-stable/crypto/openssl/ssl/ |
H A D | ssl_conf.c | 228 EC_KEY *ecdh; local 245 ecdh = EC_KEY_new_by_curve_name(nid); 246 if (!ecdh) 249 rv = SSL_CTX_set_tmp_ecdh(cctx->ctx, ecdh); 251 rv = SSL_set_tmp_ecdh(cctx->ssl, ecdh); 252 EC_KEY_free(ecdh);
|
/freebsd-13-stable/contrib/unbound/util/ |
H A D | net_help.c | 984 EC_KEY *ecdh = EC_KEY_new_by_curve_name (NID_X9_62_prime256v1); local 985 if (!ecdh) { 988 if (1 != SSL_CTX_set_tmp_ecdh (ctx, ecdh)) { 991 EC_KEY_free (ecdh);
|
/freebsd-13-stable/crypto/openssl/include/openssl/ |
H A D | ec.h | 1123 const EC_KEY *ecdh, 1299 const EC_KEY *ecdh)); 1343 const EC_KEY *ecdh));
|
H A D | ssl.h | 1331 # define SSL_CTX_set_tmp_ecdh(ctx,ecdh) \ 1332 SSL_CTX_ctrl(ctx,SSL_CTRL_SET_TMP_ECDH,0,(char *)(ecdh)) 1339 # define SSL_set_tmp_ecdh(ssl,ecdh) \ 1340 SSL_ctrl(ssl,SSL_CTRL_SET_TMP_ECDH,0,(char *)(ecdh))
|
/freebsd-13-stable/contrib/sendmail/src/ |
H A D | tls.c | 1336 EC_KEY *ecdh; local 1445 ecdh = EC_KEY_new_by_curve_name(NID_X9_62_prime256v1); 1446 if (ecdh != NULL) 1449 SSL_CTX_set_tmp_ecdh(*ctx, ecdh); 1450 EC_KEY_free(ecdh);
|
/freebsd-13-stable/contrib/wpa/src/common/ |
H A D | dpp.h | 487 struct crypto_ecdh *ecdh; member in struct:dpp_pfs
|
H A D | dpp.c | 8284 pfs->ecdh = crypto_ecdh_init(pfs->curve->ike_group); 8285 if (!pfs->ecdh) 8288 pub = crypto_ecdh_get_pubkey(pfs->ecdh, 0); 8322 pfs->secret = crypto_ecdh_set_peerkey(pfs->ecdh, 0, peer_ie + 2, 8338 crypto_ecdh_deinit(pfs->ecdh);
|
/freebsd-13-stable/secure/lib/libcrypto/ |
H A D | Makefile | 403 INCS+= dsaerr.h dtls1.h e_os2.h ebcdic.h ec.h ecdh.h ecdsa.h ecerr.h
|
/freebsd-13-stable/crypto/openssl/apps/ |
H A D | speed.c | 125 int ecdh; member in struct:openssl_speed_sec_st 1641 = seconds.ecdh = seconds.eddsa = atoi(opt_arg()); 1716 if (strcmp(*argv, "ecdh") == 0) { 3069 pkey_print_message("", "ecdh", 3071 test_curves[testnum].bits, seconds.ecdh); 3322 printf("%4u bits ecdh (%s) %8.4fs %8.1f\n",
|