Home
last modified time | relevance | path

Searched refs:cpk (Results 1 – 5 of 5) sorted by relevance

/external/boringssl/src/ssl/
Dssl_cert.c210 CERT_PKEY *cpk = cert->pkeys + i; in ssl_cert_dup() local
212 if (cpk->x509 != NULL) { in ssl_cert_dup()
213 rpk->x509 = X509_up_ref(cpk->x509); in ssl_cert_dup()
216 if (cpk->privatekey != NULL) { in ssl_cert_dup()
217 rpk->privatekey = EVP_PKEY_up_ref(cpk->privatekey); in ssl_cert_dup()
220 if (cpk->chain) { in ssl_cert_dup()
221 rpk->chain = X509_chain_up_ref(cpk->chain); in ssl_cert_dup()
285 CERT_PKEY *cpk = c->pkeys + i; in ssl_cert_clear_certs() local
286 if (cpk->x509) { in ssl_cert_clear_certs()
287 X509_free(cpk->x509); in ssl_cert_clear_certs()
[all …]
Ds3_both.c304 int ssl3_output_cert_chain(SSL *s, CERT_PKEY *cpk) { in ssl3_output_cert_chain() argument
308 if (cpk == NULL) { in ssl3_output_cert_chain()
314 } else if (!ssl_add_cert_chain(s, cpk, &l)) { in ssl3_output_cert_chain()
Ds3_srvr.c2286 CERT_PKEY *cpk; in ssl3_send_server_certificate() local
2289 cpk = ssl_get_server_send_pkey(s); in ssl3_send_server_certificate()
2290 if (cpk == NULL) { in ssl3_send_server_certificate()
2296 if (!ssl3_output_cert_chain(s, cpk)) { in ssl3_send_server_certificate()
Dinternal.h824 int ssl_add_cert_chain(SSL *s, CERT_PKEY *cpk, unsigned long *l);
889 int ssl3_output_cert_chain(SSL *s, CERT_PKEY *cpk);
Dssl_lib.c1827 CERT_PKEY *cpk = &s->cert->pkeys[idx]; in ssl_has_key() local
1828 return cpk->x509 && cpk->privatekey; in ssl_has_key()