Searched refs:privatekey (Results 1 – 15 of 15) sorted by relevance
/external/openssl/ssl/ |
D | ssl_cert.c | 284 if (cert->pkeys[i].privatekey != NULL) in ssl_cert_dup() 286 ret->pkeys[i].privatekey = cert->pkeys[i].privatekey; in ssl_cert_dup() 287 CRYPTO_add(&ret->pkeys[i].privatekey->references, 1, in ssl_cert_dup() 352 if (ret->pkeys[i].privatekey != NULL) in ssl_cert_dup() 353 EVP_PKEY_free(ret->pkeys[i].privatekey); in ssl_cert_dup() 394 if (c->pkeys[i].privatekey != NULL) in ssl_cert_free() 395 EVP_PKEY_free(c->pkeys[i].privatekey); in ssl_cert_free() 482 if (sc->peer_pkeys[i].privatekey != NULL) in ssl_sess_cert_free() 483 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 | 898 if (ctx->cert->key->privatekey == NULL) in SSL_CTX_check_private_key() 903 return(X509_check_private_key(ctx->cert->key->x509, ctx->cert->key->privatekey)); in SSL_CTX_check_private_key() 924 if (ssl->cert->key->privatekey == NULL) in SSL_check_private_key() 930 ssl->cert->key->privatekey)); in SSL_check_private_key() 2072 rsa_enc= (cpk->x509 != NULL && cpk->privatekey != NULL); in ssl_set_cert_masks() 2073 rsa_enc_export=(rsa_enc && EVP_PKEY_size(cpk->privatekey)*8 <= kl); in ssl_set_cert_masks() 2075 rsa_sign=(cpk->x509 != NULL && cpk->privatekey != NULL); in ssl_set_cert_masks() 2077 dsa_sign=(cpk->x509 != NULL && cpk->privatekey != NULL); in ssl_set_cert_masks() 2079 dh_rsa= (cpk->x509 != NULL && cpk->privatekey != NULL); in ssl_set_cert_masks() 2080 dh_rsa_export=(dh_rsa && EVP_PKEY_size(cpk->privatekey)*8 <= kl); in ssl_set_cert_masks() [all …]
|
D | s3_lib.c | 3133 ((s->cert->pkeys[SSL_PKEY_RSA_ENC].privatekey == NULL) || in ssl3_ctrl() 3134 (EVP_PKEY_size(s->cert->pkeys[SSL_PKEY_RSA_ENC].privatekey) > (512/8)))) in ssl3_ctrl() 3427 ((cert->pkeys[SSL_PKEY_RSA_ENC].privatekey == NULL) || in ssl3_ctx_ctrl() 3428 (EVP_PKEY_size(cert->pkeys[SSL_PKEY_RSA_ENC].privatekey) > (512/8))) in ssl3_ctx_ctrl() 3887 (s->cert->pkeys[SSL_PKEY_ECC].privatekey->pkey.ec != NULL) in ssl3_choose_cipher() 3888 && (s->cert->pkeys[SSL_PKEY_ECC].privatekey->pkey.ec->group != NULL) in ssl3_choose_cipher() 3889 && (s->cert->pkeys[SSL_PKEY_ECC].privatekey->pkey.ec->group->meth != NULL) in ssl3_choose_cipher() 3890 …&& (EC_METHOD_get_field_type(s->cert->pkeys[SSL_PKEY_ECC].privatekey->pkey.ec->group->meth) == NID… in ssl3_choose_cipher() 3902 …else if (EC_METHOD_get_field_type(s->cert->pkeys[SSL_PKEY_ECC].privatekey->pkey.ec->group->meth) =… in ssl3_choose_cipher() 3926 (s->cert->pkeys[SSL_PKEY_ECC].privatekey->pkey.ec != NULL) in ssl3_choose_cipher() [all …]
|
D | s2_srvr.c | 443 if (s->cert->pkeys[SSL_PKEY_RSA_ENC].privatekey == NULL) in get_client_master_key() 1118 if ((c == NULL) || (c->pkeys[SSL_PKEY_RSA_ENC].privatekey == NULL)) in ssl_rsa_private_decrypt() 1123 if (c->pkeys[SSL_PKEY_RSA_ENC].privatekey->type != EVP_PKEY_RSA) in ssl_rsa_private_decrypt() 1128 rsa=c->pkeys[SSL_PKEY_RSA_ENC].privatekey->pkey.rsa; in ssl_rsa_private_decrypt()
|
D | d1_clnt.c | 1317 tkey = s->cert->key->privatekey->pkey.ec; in dtls1_send_client_key_exchange() 1555 pkey=s->cert->key->privatekey; in dtls1_send_client_verify() 1646 (s->cert->key->privatekey == NULL)) in dtls1_send_client_certificate()
|
D | s3_srvr.c | 482 && (s->cert->pkeys[SSL_PKEY_RSA_ENC].privatekey == NULL in IMPLEMENT_ssl3_meth_func() 484 …&& EVP_PKEY_size(s->cert->pkeys[SSL_PKEY_RSA_ENC].privatekey)*8 > SSL_C_EXPORT_PKEYLENGTH(s->s3->t… in IMPLEMENT_ssl3_meth_func() 2181 pkey=s->cert->pkeys[SSL_PKEY_RSA_ENC].privatekey; in ssl3_get_client_key_exchange() 2545 tkey = s->cert->pkeys[SSL_PKEY_ECC].privatekey->pkey.ec; in ssl3_get_client_key_exchange() 2825 pk = s->cert->pkeys[SSL_PKEY_GOST94].privatekey; in ssl3_get_client_key_exchange() 2827 pk = s->cert->pkeys[SSL_PKEY_GOST01].privatekey; in ssl3_get_client_key_exchange()
|
D | s2_clnt.c | 781 (s->cert->key->privatekey == NULL)) in client_certificate() 878 if (!EVP_SignFinal(&ctx,d,&n,s->cert->key->privatekey)) in client_certificate()
|
D | s3_clnt.c | 2648 tkey = s->cert->key->privatekey->pkey.ec; in ssl3_send_client_key_exchange() 2782 if (s->s3->tmp.cert_req && s->cert->key->privatekey) { in ssl3_send_client_key_exchange() 2783 if (EVP_PKEY_derive_set_peer(pkey_ctx,s->cert->key->privatekey) <=0) { in ssl3_send_client_key_exchange() 3001 pkey=s->cert->key->privatekey; in ssl3_send_client_verify() 3153 (s->cert->key->privatekey == NULL)) in ssl3_send_client_certificate()
|
D | d1_srvr.c | 478 && (s->cert->pkeys[SSL_PKEY_RSA_ENC].privatekey == NULL in IMPLEMENT_dtls1_meth_func() 480 …&& 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 | ssl_locl.h | 475 EVP_PKEY *privatekey; member
|
/external/ipsec-tools/src/racoon/samples/ |
D | racoon.conf.sample-plainrsa | 22 certificate_type plain_rsa "privatekey.rsa";
|
/external/openssl/patches/ |
D | jsse.patch | 350 EVP_PKEY *privatekey;
|
/external/wpa_supplicant_6/wpa_supplicant/ |
D | ChangeLog | 1167 client_cert, privatekey, private_key_passwd
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | ChangeLog | 1266 client_cert, privatekey, private_key_passwd
|