Lines Matching refs:pkey

2610         if (s->s3.tmp.pkey != NULL) {  in tls_construct_server_key_exchange()
2615 s->s3.tmp.pkey = ssl_generate_pkey(s, pkdhp); in tls_construct_server_key_exchange()
2616 if (s->s3.tmp.pkey == NULL) { in tls_construct_server_key_exchange()
2626 if (!EVP_PKEY_get_bn_param(s->s3.tmp.pkey, OSSL_PKEY_PARAM_FFC_P, in tls_construct_server_key_exchange()
2628 || !EVP_PKEY_get_bn_param(s->s3.tmp.pkey, OSSL_PKEY_PARAM_FFC_G, in tls_construct_server_key_exchange()
2630 || !EVP_PKEY_get_bn_param(s->s3.tmp.pkey, in tls_construct_server_key_exchange()
2637 if (s->s3.tmp.pkey != NULL) { in tls_construct_server_key_exchange()
2652 s->s3.tmp.pkey = ssl_generate_pkey_group(s, curve_id); in tls_construct_server_key_exchange()
2653 if (s->s3.tmp.pkey == NULL) { in tls_construct_server_key_exchange()
2659 encodedlen = EVP_PKEY_get1_encoded_public_key(s->s3.tmp.pkey, in tls_construct_server_key_exchange()
2782 EVP_PKEY *pkey = s->s3.tmp.cert->privatekey; in tls_construct_server_key_exchange() local
2787 if (pkey == NULL || !tls1_lookup_md(sctx, lu, &md)) { in tls_construct_server_key_exchange()
2805 sctx->libctx, sctx->propq, pkey, in tls_construct_server_key_exchange()
3092 skey = s->s3.tmp.pkey; in tls_process_cke_dhe()
3124 EVP_PKEY_free(s->s3.tmp.pkey); in tls_process_cke_dhe()
3125 s->s3.tmp.pkey = NULL; in tls_process_cke_dhe()
3133 EVP_PKEY *skey = s->s3.tmp.pkey; in tls_process_cke_ecdhe()
3182 EVP_PKEY_free(s->s3.tmp.pkey); in tls_process_cke_ecdhe()
3183 s->s3.tmp.pkey = NULL; in tls_process_cke_ecdhe()
3749 EVP_PKEY *pkey; in tls_process_client_certificate() local
3756 pkey = X509_get0_pubkey(sk_X509_value(sk, 0)); in tls_process_client_certificate()
3757 if (pkey == NULL) { in tls_process_client_certificate()