Home
last modified time | relevance | path

Searched refs:privatekey (Results 1 – 15 of 15) sorted by relevance

/external/openssl/ssl/
Dssl_cert.c284 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()
Dssl_rsa.c217 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()
Dssl_lib.c898 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 …]
Ds3_lib.c3133 ((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 …]
Ds2_srvr.c443 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()
Dd1_clnt.c1317 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()
Ds3_srvr.c482 && (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()
Ds2_clnt.c781 (s->cert->key->privatekey == NULL)) in client_certificate()
878 if (!EVP_SignFinal(&ctx,d,&n,s->cert->key->privatekey)) in client_certificate()
Ds3_clnt.c2648 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()
Dd1_srvr.c478 && (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()
Dssl_locl.h475 EVP_PKEY *privatekey; member
/external/ipsec-tools/src/racoon/samples/
Dracoon.conf.sample-plainrsa22 certificate_type plain_rsa "privatekey.rsa";
/external/openssl/patches/
Djsse.patch350 EVP_PKEY *privatekey;
/external/wpa_supplicant_6/wpa_supplicant/
DChangeLog1167 client_cert, privatekey, private_key_passwd
/external/wpa_supplicant_8/wpa_supplicant/
DChangeLog1266 client_cert, privatekey, private_key_passwd