Searched refs:privatekey (Results 1 – 13 of 13) sorted by relevance
/external/openssl/ssl/ |
D | ssl_cert.c | 267 if (cert->pkeys[i].privatekey != NULL) in ssl_cert_dup() 269 ret->pkeys[i].privatekey = cert->pkeys[i].privatekey; in ssl_cert_dup() 270 CRYPTO_add(&ret->pkeys[i].privatekey->references, 1, in ssl_cert_dup() 331 if (ret->pkeys[i].privatekey != NULL) in ssl_cert_dup() 332 EVP_PKEY_free(ret->pkeys[i].privatekey); in ssl_cert_dup() 373 if (c->pkeys[i].privatekey != NULL) in ssl_cert_free() 374 EVP_PKEY_free(c->pkeys[i].privatekey); in ssl_cert_free() 461 if (sc->peer_pkeys[i].privatekey != NULL) in ssl_sess_cert_free() 462 EVP_PKEY_free(sc->peer_pkeys[i].privatekey); in ssl_sess_cert_free()
|
D | ssl_rsa.c | 217 if (c->pkeys[i].privatekey != NULL) in ssl_set_pkey() 218 EVP_PKEY_free(c->pkeys[i].privatekey); in ssl_set_pkey() 220 c->pkeys[i].privatekey=pkey; in ssl_set_pkey() 414 if (c->pkeys[i].privatekey != NULL) in ssl_set_cert() 416 EVP_PKEY_copy_parameters(pkey,c->pkeys[i].privatekey); in ssl_set_cert() 422 if ((c->pkeys[i].privatekey->type == EVP_PKEY_RSA) && in ssl_set_cert() 423 (RSA_flags(c->pkeys[i].privatekey->pkey.rsa) & in ssl_set_cert() 428 if (!X509_check_private_key(x,c->pkeys[i].privatekey)) in ssl_set_cert() 434 EVP_PKEY_free(c->pkeys[i].privatekey); in ssl_set_cert() 435 c->pkeys[i].privatekey=NULL; in ssl_set_cert()
|
D | ssl_lib.c | 823 if (ctx->cert->key->privatekey == NULL) in SSL_CTX_check_private_key() 828 return(X509_check_private_key(ctx->cert->key->x509, ctx->cert->key->privatekey)); in SSL_CTX_check_private_key() 849 if (ssl->cert->key->privatekey == NULL) in SSL_check_private_key() 855 ssl->cert->key->privatekey)); in SSL_check_private_key() 1654 rsa_enc= (cpk->x509 != NULL && cpk->privatekey != NULL); in ssl_set_cert_masks() 1655 rsa_enc_export=(rsa_enc && EVP_PKEY_size(cpk->privatekey)*8 <= kl); in ssl_set_cert_masks() 1657 rsa_sign=(cpk->x509 != NULL && cpk->privatekey != NULL); in ssl_set_cert_masks() 1659 dsa_sign=(cpk->x509 != NULL && cpk->privatekey != NULL); in ssl_set_cert_masks() 1661 dh_rsa= (cpk->x509 != NULL && cpk->privatekey != NULL); in ssl_set_cert_masks() 1662 dh_rsa_export=(dh_rsa && EVP_PKEY_size(cpk->privatekey)*8 <= kl); in ssl_set_cert_masks() [all …]
|
D | s2_srvr.c | 442 if (s->cert->pkeys[SSL_PKEY_RSA_ENC].privatekey == NULL) in get_client_master_key() 1119 if ((c == NULL) || (c->pkeys[SSL_PKEY_RSA_ENC].privatekey == NULL)) in ssl_rsa_private_decrypt() 1124 if (c->pkeys[SSL_PKEY_RSA_ENC].privatekey->type != EVP_PKEY_RSA) in ssl_rsa_private_decrypt() 1129 rsa=c->pkeys[SSL_PKEY_RSA_ENC].privatekey->pkey.rsa; in ssl_rsa_private_decrypt()
|
D | s3_lib.c | 1803 ((s->cert->pkeys[SSL_PKEY_RSA_ENC].privatekey == NULL) || in ssl3_ctrl() 1804 (EVP_PKEY_size(s->cert->pkeys[SSL_PKEY_RSA_ENC].privatekey) > (512/8)))) in ssl3_ctrl() 2052 ((cert->pkeys[SSL_PKEY_RSA_ENC].privatekey == NULL) || in ssl3_ctx_ctrl() 2053 (EVP_PKEY_size(cert->pkeys[SSL_PKEY_RSA_ENC].privatekey) > (512/8))) in ssl3_ctx_ctrl()
|
D | d1_srvr.c | 344 && (s->cert->pkeys[SSL_PKEY_RSA_ENC].privatekey == NULL in IMPLEMENT_dtls1_meth_func() 346 …&& EVP_PKEY_size(s->cert->pkeys[SSL_PKEY_RSA_ENC].privatekey)*8 > SSL_C_EXPORT_PKEYLENGTH(s->s3->t… in IMPLEMENT_dtls1_meth_func()
|
D | d1_clnt.c | 1013 pkey=s->cert->key->privatekey; in dtls1_send_client_verify() 1085 (s->cert->key->privatekey == NULL)) in dtls1_send_client_certificate()
|
D | s3_srvr.c | 372 && (s->cert->pkeys[SSL_PKEY_RSA_ENC].privatekey == NULL in IMPLEMENT_ssl3_meth_func() 374 …&& EVP_PKEY_size(s->cert->pkeys[SSL_PKEY_RSA_ENC].privatekey)*8 > SSL_C_EXPORT_PKEYLENGTH(s->s3->t… in IMPLEMENT_ssl3_meth_func() 1779 pkey=s->cert->pkeys[SSL_PKEY_RSA_ENC].privatekey; in ssl3_get_client_key_exchange() 2143 tkey = s->cert->pkeys[SSL_PKEY_ECC].privatekey->pkey.ec; in ssl3_get_client_key_exchange()
|
D | s2_clnt.c | 781 (s->cert->key->privatekey == NULL)) in client_certificate() 876 if (!EVP_SignFinal(&ctx,d,&n,s->cert->key->privatekey)) in client_certificate()
|
D | s3_clnt.c | 2208 tkey = s->cert->key->privatekey->pkey.ec; in ssl3_send_client_key_exchange() 2356 pkey=s->cert->key->privatekey; in ssl3_send_client_verify() 2438 (s->cert->key->privatekey == NULL)) in ssl3_send_client_certificate()
|
D | ssl_locl.h | 404 EVP_PKEY *privatekey; member
|
/external/ipsec-tools/src/racoon/samples/ |
D | racoon.conf.sample-plainrsa | 22 certificate_type plain_rsa "privatekey.rsa";
|
/external/wpa_supplicant/ |
D | ChangeLog | 1020 client_cert, privatekey, private_key_passwd
|