Lines Matching refs:dhpkey
10319 EVP_PKEY *dhpkey = NULL; in get_tmp_dh_params() local
10342 || !TEST_int_eq(EVP_PKEY_fromdata(pctx, &dhpkey, in get_tmp_dh_params()
10347 tmp_dh_params = dhpkey; in get_tmp_dh_params()
10365 EVP_PKEY *dhpkey = get_tmp_dh_params(); in tmp_dh_callback() local
10368 if (!TEST_ptr(dhpkey)) in tmp_dh_callback()
10377 ret = EVP_PKEY_get1_DH(dhpkey); in tmp_dh_callback()
10380 EVP_PKEY_free(dhpkey); in tmp_dh_callback()
10410 EVP_PKEY *dhpkey = NULL; in test_set_tmp_dh() local
10420 dhpkey = get_tmp_dh_params(); in test_set_tmp_dh()
10421 if (!TEST_ptr(dhpkey)) in test_set_tmp_dh()
10426 dh = EVP_PKEY_get1_DH(dhpkey); in test_set_tmp_dh()
10445 if (!TEST_true(SSL_CTX_set0_tmp_dh_pkey(sctx, dhpkey))) in test_set_tmp_dh()
10447 dhpkey = NULL; in test_set_tmp_dh()
10467 if (!TEST_true(SSL_set0_tmp_dh_pkey(serverssl, dhpkey))) in test_set_tmp_dh()
10469 dhpkey = NULL; in test_set_tmp_dh()
10503 EVP_PKEY_free(dhpkey); in test_set_tmp_dh()