Searched refs:cpk (Results 1 – 9 of 9) sorted by relevance
/openssl/ssl/ |
H A D | ssl_cert.c | 142 if (cpk->chain) { in ssl_cert_dup() 247 cpk->x509 = NULL; in ssl_cert_clear_certs() 299 if (!cpk) in ssl_cert_set0_chain() 311 cpk->chain = chain; in ssl_cert_set0_chain() 336 if (!cpk) in ssl_cert_add0_chain_cert() 343 if (!cpk->chain) in ssl_cert_add0_chain_cert() 345 if (!cpk->chain || !sk_X509_push(cpk->chain, x)) in ssl_cert_add0_chain_cert() 366 if (cpk->x509 == x && cpk->privatekey) { in ssl_cert_select_current() 374 if (cpk->privatekey && cpk->x509 && !X509_cmp(cpk->x509, x)) { in ssl_cert_select_current() 398 if (cpk->x509 && cpk->privatekey) { in ssl_cert_set_current() [all …]
|
H A D | ssl_cert_comp.c | 202 || cpk == NULL in ssl_get_cert_to_compress() 219 if (!ssl3_output_cert_chain(sc, &tmppkt, cpk, 1)) in ssl_get_cert_to_compress() 232 static int ssl_compress_one_cert(SSL *ssl, CERT_PKEY *cpk, int alg) in ssl_compress_one_cert() argument 238 if (cpk == NULL in ssl_compress_one_cert() 250 OSSL_COMP_CERT_free(cpk->comp_cert[alg]); in ssl_compress_one_cert() 251 cpk->comp_cert[alg] = comp_cert; in ssl_compress_one_cert() 310 || cpk == NULL in ssl_get_compressed_cert() 414 CERT_PKEY *cpk = NULL; in SSL_get1_compressed_cert() local 417 cpk = sc->cert->key; in SSL_get1_compressed_cert() 419 cpk = ssl->ctx->cert->key; in SSL_get1_compressed_cert() [all …]
|
H A D | t1_lib.c | 3274 CERT_PKEY *cpk = NULL; in tls1_check_chain() local 3289 cpk = c->key; in tls1_check_chain() 3290 idx = (int)(cpk - c->pkeys); in tls1_check_chain() 3292 cpk = c->pkeys + idx; in tls1_check_chain() 3294 x = cpk->x509; in tls1_check_chain() 3295 pk = cpk->privatekey; in tls1_check_chain() 3296 chain = cpk->chain; in tls1_check_chain()
|
H A D | ssl_lib.c | 4614 CERT_PKEY *cpk = s->s3.tmp.cert; in ssl_get_server_cert_serverinfo() local 4617 if (cpk == NULL || cpk->serverinfo == NULL) in ssl_get_server_cert_serverinfo() 4620 *serverinfo = cpk->serverinfo; in ssl_get_server_cert_serverinfo() 4621 *serverinfo_length = cpk->serverinfo_length; in ssl_get_server_cert_serverinfo()
|
H A D | ssl_local.h | 2629 CERT_PKEY *cpk, int for_comp);
|
/openssl/ssl/statem/ |
H A D | statem_lib.c | 1008 if (cpk == NULL || cpk->x509 == NULL) in ssl_add_cert_chain() 1011 x = cpk->x509; in ssl_add_cert_chain() 1016 if (cpk->chain != NULL) in ssl_add_cert_chain() 1017 extra_certs = cpk->chain; in ssl_add_cert_chain() 1314 if (cpk != NULL && cpk->x509 != NULL) { in tls_output_rpk() 1315 x509 = cpk->x509; in tls_output_rpk() 1317 xpk = X509_get_X509_PUBKEY(cpk->x509); in tls_output_rpk() 1323 } else if (cpk != NULL && cpk->privatekey != NULL) { in tls_output_rpk() 1325 pdata_len = i2d_PUBKEY(cpk->privatekey, &pdata); in tls_output_rpk() 1385 CERT_PKEY *cpk, int for_comp) in ssl3_output_cert_chain() argument [all …]
|
H A D | statem_clnt.c | 3759 CERT_PKEY *cpk = NULL; in tls_construct_client_certificate() local 3775 cpk = s->cert->key; in tls_construct_client_certificate() 3778 if (!tls_output_rpk(s, pkt, cpk)) { in tls_construct_client_certificate() 3784 if (!ssl3_output_cert_chain(s, pkt, cpk, 0)) { in tls_construct_client_certificate()
|
H A D | statem_srvr.c | 3818 CERT_PKEY *cpk = s->s3.tmp.cert; in tls_construct_server_certificate() local 3820 if (cpk == NULL) { in tls_construct_server_certificate() 3835 if (!tls_output_rpk(s, pkt, cpk)) { in tls_construct_server_certificate() 3841 if (!ssl3_output_cert_chain(s, pkt, cpk, 0)) { in tls_construct_server_certificate()
|
H A D | statem_local.h | 181 CERT_PKEY *cpk);
|
Completed in 99 milliseconds