Searched defs:cpk (Results 1 - 6 of 6) sorted by relevance

/external/chromium_org/third_party/boringssl/src/ssl/
H A Ds3_both.c326 unsigned long ssl3_output_cert_chain(SSL *s, CERT_PKEY *cpk) argument
331 if (!ssl_add_cert_chain(s, cpk, &l))
H A Dssl_cert.c251 CERT_PKEY *cpk = cert->pkeys + i; local
253 if (cpk->x509 != NULL)
255 rpk->x509 = X509_up_ref(cpk->x509);
258 if (cpk->privatekey != NULL)
260 rpk->privatekey = cpk->privatekey;
261 CRYPTO_add(&cpk->privatekey->references, 1,
285 if (cpk->chain)
287 rpk->chain = X509_chain_up_ref(cpk->chain);
383 CERT_PKEY *cpk = c->pkeys + i; local
384 if (cpk
462 CERT_PKEY *cpk = c->key; local
489 CERT_PKEY *cpk = c->key; local
964 ssl_add_cert_chain(SSL *s, CERT_PKEY *cpk, unsigned long *l) argument
1048 CERT_PKEY *cpk = c->key; local
[all...]
H A Ds3_srvr.c2500 CERT_PKEY *cpk; local
2504 cpk=ssl_get_server_send_pkey(s);
2505 if (cpk == NULL)
2511 ssl3_output_cert_chain(s,cpk);
H A Dt1_lib.c2958 CERT_PKEY *cpk = NULL; local
2966 cpk = c->key;
2967 idx = cpk - c->pkeys;
2970 cpk = c->pkeys + idx;
2971 x = cpk->x509;
2972 pk = cpk->privatekey;
2973 chain = cpk->chain;
2983 cpk->valid_flags = rv;
2995 cpk = c->pkeys + idx;
3170 if (cpk
[all...]
H A Dssl_lib.c2182 CERT_PKEY *cpk; local
2193 cpk= &(c->pkeys[SSL_PKEY_RSA_ENC]);
2194 rsa_enc= cpk->valid_flags & CERT_PKEY_VALID;
2195 cpk= &(c->pkeys[SSL_PKEY_RSA_SIGN]);
2196 rsa_sign= cpk->valid_flags & CERT_PKEY_SIGN;
2197 cpk= &(c->pkeys[SSL_PKEY_ECC]);
2198 have_ecc_cert= cpk->valid_flags & CERT_PKEY_VALID;
2225 cpk = &c->pkeys[SSL_PKEY_ECC];
2226 x = cpk->x509;
2231 if (!(cpk
[all...]
/external/openssl/ssl/
H A Dssl_lib.c2189 CERT_PKEY *cpk; local
2224 cpk= &(c->pkeys[SSL_PKEY_RSA_ENC]);
2225 rsa_enc= (cpk->x509 != NULL && cpk->privatekey != NULL);
2226 rsa_enc_export=(rsa_enc && EVP_PKEY_size(cpk->privatekey)*8 <= kl);
2227 cpk= &(c->pkeys[SSL_PKEY_RSA_SIGN]);
2228 rsa_sign=(cpk->x509 != NULL && cpk->privatekey != NULL);
2229 cpk= &(c->pkeys[SSL_PKEY_DSA_SIGN]);
2230 dsa_sign=(cpk
2534 CERT_PKEY *cpk; local
[all...]

Completed in 124 milliseconds