HomeSort by: relevance | last modified time | path
    Searched defs:cpk (Results 1 - 14 of 14) sorted by relevancy

  /src/crypto/external/apache2/openssl/dist/ssl/
ssl_cert_comp.c 195 static size_t ssl_get_cert_to_compress(SSL *ssl, CERT_PKEY *cpk, unsigned char **data)
203 || cpk == NULL
220 if (!ssl3_output_cert_chain(sc, &tmppkt, cpk, 1))
233 static int ssl_compress_one_cert(SSL *ssl, CERT_PKEY *cpk, int alg)
239 if (cpk == NULL
244 if ((length = ssl_get_cert_to_compress(ssl, cpk, &cert_data)) == 0)
251 OSSL_COMP_CERT_free(cpk->comp_cert[alg]);
252 cpk->comp_cert[alg] = comp_cert;
301 static size_t ssl_get_compressed_cert(SSL *ssl, CERT_PKEY *cpk, int alg, unsigned char **data,
311 || cpk == NUL
415 CERT_PKEY *cpk = NULL; local
    [all...]
ssl_cert.c 130 CERT_PKEY *cpk = cert->pkeys + i; local
133 if (cpk->x509 != NULL) {
134 if (!X509_up_ref(cpk->x509))
136 rpk->x509 = cpk->x509;
139 if (cpk->privatekey != NULL) {
140 if (!EVP_PKEY_up_ref(cpk->privatekey))
142 rpk->privatekey = cpk->privatekey;
145 if (cpk->chain) {
146 rpk->chain = X509_chain_up_ref(cpk->chain);
152 if (cpk->serverinfo != NULL)
250 CERT_PKEY *cpk = c->pkeys + i; local
302 CERT_PKEY *cpk = s != NULL ? s->cert->key : ctx->cert->key; local
339 CERT_PKEY *cpk = s ? s->cert->key : ctx->cert->key; local
373 CERT_PKEY *cpk = c->pkeys + i; local
381 CERT_PKEY *cpk = c->pkeys + i; local
405 CERT_PKEY *cpk = c->pkeys + i; local
1069 CERT_PKEY *cpk = c->key; local
    [all...]
t1_lib.c 3996 CERT_PKEY *cpk = NULL; local
4011 cpk = c->key;
4012 idx = (int)(cpk - c->pkeys);
4014 cpk = c->pkeys + idx;
4016 x = cpk->x509;
4017 pk = cpk->privatekey;
4018 chain = cpk->chain;
ssl_lib.c 4696 CERT_PKEY *cpk = s->s3.tmp.cert; local
4699 if (cpk == NULL || cpk->serverinfo == NULL)
4702 *serverinfo = cpk->serverinfo;
4703 *serverinfo_length = cpk->serverinfo_length;
  /src/crypto/external/bsd/openssl/dist/ssl/
ssl_cert.c 113 CERT_PKEY *cpk = cert->pkeys + i; local
115 if (cpk->x509 != NULL) {
116 rpk->x509 = cpk->x509;
120 if (cpk->privatekey != NULL) {
121 rpk->privatekey = cpk->privatekey;
122 EVP_PKEY_up_ref(cpk->privatekey);
125 if (cpk->chain) {
126 rpk->chain = X509_chain_up_ref(cpk->chain);
220 CERT_PKEY *cpk = c->pkeys + i; local
221 X509_free(cpk->x509)
264 CERT_PKEY *cpk = s != NULL ? s->cert->key : ctx->cert->key; local
300 CERT_PKEY *cpk = s ? s->cert->key : ctx->cert->key; local
329 CERT_PKEY *cpk = c->pkeys + i; local
337 CERT_PKEY *cpk = c->pkeys + i; local
360 CERT_PKEY *cpk = c->pkeys + i; local
877 CERT_PKEY *cpk = c->key; local
    [all...]
t1_lib.c 2656 CERT_PKEY *cpk = NULL; local
2664 cpk = c->key;
2665 idx = (int)(cpk - c->pkeys);
2667 cpk = c->pkeys + idx;
2669 x = cpk->x509;
2670 pk = cpk->privatekey;
2671 chain = cpk->chain;
ssl_lib.c 3739 CERT_PKEY *cpk = s->s3.tmp.cert; local
3742 if (cpk == NULL || cpk->serverinfo == NULL)
3745 *serverinfo = cpk->serverinfo;
3746 *serverinfo_length = cpk->serverinfo_length;
  /src/crypto/external/bsd/openssl.old/dist/ssl/
ssl_cert.c 102 CERT_PKEY *cpk = cert->pkeys + i; local
104 if (cpk->x509 != NULL) {
105 rpk->x509 = cpk->x509;
109 if (cpk->privatekey != NULL) {
110 rpk->privatekey = cpk->privatekey;
111 EVP_PKEY_up_ref(cpk->privatekey);
114 if (cpk->chain) {
115 rpk->chain = X509_chain_up_ref(cpk->chain);
209 CERT_PKEY *cpk = c->pkeys + i; local
210 X509_free(cpk->x509)
255 CERT_PKEY *cpk = s ? s->cert->key : ctx->cert->key; local
288 CERT_PKEY *cpk = s ? s->cert->key : ctx->cert->key; local
317 CERT_PKEY *cpk = c->pkeys + i; local
325 CERT_PKEY *cpk = c->pkeys + i; local
348 CERT_PKEY *cpk = c->pkeys + i; local
760 CERT_PKEY *cpk = c->key; local
    [all...]
t1_lib.c 2174 CERT_PKEY *cpk = NULL; local
2182 cpk = c->key;
2183 idx = (int)(cpk - c->pkeys);
2185 cpk = c->pkeys + idx;
2187 x = cpk->x509;
2188 pk = cpk->privatekey;
2189 chain = cpk->chain;
ssl_lib.c 3501 CERT_PKEY *cpk = s->s3->tmp.cert; local
3504 if (cpk == NULL || cpk->serverinfo == NULL)
3507 *serverinfo = cpk->serverinfo;
3508 *serverinfo_length = cpk->serverinfo_length;
  /src/crypto/external/apache2/openssl/dist/ssl/statem/
statem_clnt.c 3804 CERT_PKEY *cpk = NULL; local
3820 cpk = s->cert->key;
3823 if (!tls_output_rpk(s, pkt, cpk)) {
3829 if (!ssl3_output_cert_chain(s, pkt, cpk, 0)) {
statem_srvr.c 3857 CERT_PKEY *cpk = s->s3.tmp.cert; local
3859 if (cpk == NULL) {
3874 if (!tls_output_rpk(s, pkt, cpk)) {
3880 if (!ssl3_output_cert_chain(s, pkt, cpk, 0)) {
  /src/crypto/external/bsd/openssl/dist/ssl/statem/
statem_srvr.c 3597 CERT_PKEY *cpk = s->s3.tmp.cert; local
3599 if (cpk == NULL) {
3612 if (!ssl3_output_cert_chain(s, pkt, cpk)) {
  /src/crypto/external/bsd/openssl.old/dist/ssl/statem/
statem_srvr.c 3795 CERT_PKEY *cpk = s->s3->tmp.cert; local
3797 if (cpk == NULL) {
3812 if (!ssl3_output_cert_chain(s, pkt, cpk)) {

Completed in 59 milliseconds