Home
last modified time | relevance | path

Searched refs:pkdh (Results 1 – 2 of 2) sorted by relevance

/freebsd/crypto/openssl/ssl/statem/
H A Dstatem_srvr.c2422 EVP_PKEY *pkdh = NULL; in tls_construct_server_key_exchange() local
2458 pkdh = ssl_get_auto_dh(s); in tls_construct_server_key_exchange()
2459 if (pkdh == NULL) { in tls_construct_server_key_exchange()
2463 pkdhp = pkdh; in tls_construct_server_key_exchange()
2469 pkdh = ssl_dh_to_pkey(s->cert->dh_tmp_cb(s, 0, 1024)); in tls_construct_server_key_exchange()
2470 if (pkdh == NULL) { in tls_construct_server_key_exchange()
2474 pkdhp = pkdh; in tls_construct_server_key_exchange()
2497 EVP_PKEY_free(pkdh); in tls_construct_server_key_exchange()
2498 pkdh = NULL; in tls_construct_server_key_exchange()
2715 EVP_PKEY_free(pkdh); in tls_construct_server_key_exchange()
/freebsd/crypto/openssl/ssl/
H A Ds3_lib.c3445 EVP_PKEY *pkdh = NULL; in ssl3_ctrl() local
3450 pkdh = ssl_dh_to_pkey(parg); in ssl3_ctrl()
3451 if (pkdh == NULL) { in ssl3_ctrl()
3455 if (!SSL_set0_tmp_dh_pkey(s, pkdh)) { in ssl3_ctrl()
3456 EVP_PKEY_free(pkdh); in ssl3_ctrl()
3778 EVP_PKEY *pkdh = NULL; in ssl3_ctx_ctrl() local
3783 pkdh = ssl_dh_to_pkey(parg); in ssl3_ctx_ctrl()
3784 if (pkdh == NULL) { in ssl3_ctx_ctrl()
3788 if (!SSL_CTX_set0_tmp_dh_pkey(ctx, pkdh)) { in ssl3_ctx_ctrl()
3789 EVP_PKEY_free(pkdh); in ssl3_ctx_ctrl()