/external/openssl/patches/ |
D | tls12_digests.patch | 44 + case SSL_PKEY_RSA_ENC: 108 - cert->pkeys[SSL_PKEY_RSA_ENC].digest = EVP_sha1(); 120 ret->key= &(ret->pkeys[SSL_PKEY_RSA_ENC]); 170 - else if (c->pkeys[SSL_PKEY_RSA_ENC].privatekey != NULL) 171 - idx = SSL_PKEY_RSA_ENC; 173 + if (c->pkeys[SSL_PKEY_RSA_ENC].privatekey != NULL) 174 + return c->pkeys[SSL_PKEY_RSA_ENC].privatekey; 339 - c->pkeys[SSL_PKEY_RSA_ENC].digest = NULL; 379 - c->pkeys[SSL_PKEY_RSA_ENC].digest = md; 398 - c->pkeys[SSL_PKEY_RSA_ENC].digest = EVP_sha1();
|
/external/chromium_org/third_party/openssl/openssl/ssl/ |
D | s2_srvr.c | 443 if (s->cert->pkeys[SSL_PKEY_RSA_ENC].privatekey == NULL) in get_client_master_key() 774 n=i2d_X509(s->cert->pkeys[SSL_PKEY_RSA_ENC].x509,NULL); in server_hello() 776 i2d_X509(s->cert->pkeys[SSL_PKEY_RSA_ENC].x509,&d); in server_hello() 1069 i=i2d_X509(s->cert->pkeys[SSL_PKEY_RSA_ENC].x509,NULL); in request_certificate() 1077 i=i2d_X509(s->cert->pkeys[SSL_PKEY_RSA_ENC].x509,&p2); in request_certificate() 1124 if ((c == NULL) || (c->pkeys[SSL_PKEY_RSA_ENC].privatekey == NULL)) in ssl_rsa_private_decrypt() 1129 if (c->pkeys[SSL_PKEY_RSA_ENC].privatekey->type != EVP_PKEY_RSA) in ssl_rsa_private_decrypt() 1134 rsa=c->pkeys[SSL_PKEY_RSA_ENC].privatekey->pkey.rsa; in ssl_rsa_private_decrypt()
|
D | ssl_cert.c | 171 cert->pkeys[SSL_PKEY_RSA_ENC].digest = EVP_sha1(); in ssl_cert_set_default_md() 190 ret->key= &(ret->pkeys[SSL_PKEY_RSA_ENC]); in ssl_cert_new() 296 case SSL_PKEY_RSA_ENC: in ssl_cert_dup() 445 ret->peer_key = &(ret->peer_pkeys[SSL_PKEY_RSA_ENC]); in ssl_sess_cert_new()
|
D | s2_clnt.c | 1069 sc->peer_pkeys[SSL_PKEY_RSA_ENC].x509=x509; in ssl2_set_certificate() 1070 sc->peer_key= &(sc->peer_pkeys[SSL_PKEY_RSA_ENC]); in ssl2_set_certificate()
|
D | ssl_lib.c | 2082 cpk= &(c->pkeys[SSL_PKEY_RSA_ENC]); in ssl_set_cert_masks() 2367 if (c->pkeys[SSL_PKEY_RSA_ENC].x509 == NULL) in ssl_get_server_send_pkey() 2370 i=SSL_PKEY_RSA_ENC; in ssl_get_server_send_pkey() 2415 else if (c->pkeys[SSL_PKEY_RSA_ENC].privatekey != NULL) in ssl_get_sign_pkey() 2416 idx = SSL_PKEY_RSA_ENC; in ssl_get_sign_pkey()
|
D | s3_clnt.c | 1543 pkey=X509_get_pubkey(s->session->sess_cert->peer_pkeys[SSL_PKEY_RSA_ENC].x509); in ssl3_get_key_exchange() 1596 pkey=X509_get_pubkey(s->session->sess_cert->peer_pkeys[SSL_PKEY_RSA_ENC].x509); in ssl3_get_key_exchange() 1665 pkey=X509_get_pubkey(s->session->sess_cert->peer_pkeys[SSL_PKEY_RSA_ENC].x509); in ssl3_get_key_exchange() 1773 pkey=X509_get_pubkey(s->session->sess_cert->peer_pkeys[SSL_PKEY_RSA_ENC].x509); in ssl3_get_key_exchange() 2337 pkey=X509_get_pubkey(s->session->sess_cert->peer_pkeys[SSL_PKEY_RSA_ENC].x509); in ssl3_send_client_key_exchange()
|
D | s3_lib.c | 3202 ((s->cert->pkeys[SSL_PKEY_RSA_ENC].privatekey == NULL) || in ssl3_ctrl() 3203 (EVP_PKEY_size(s->cert->pkeys[SSL_PKEY_RSA_ENC].privatekey) > (512/8)))) in ssl3_ctrl() 3523 ((cert->pkeys[SSL_PKEY_RSA_ENC].privatekey == NULL) || in ssl3_ctx_ctrl() 3524 (EVP_PKEY_size(cert->pkeys[SSL_PKEY_RSA_ENC].privatekey) > (512/8))) in ssl3_ctx_ctrl()
|
D | t1_lib.c | 2423 c->pkeys[SSL_PKEY_RSA_ENC].digest = NULL; in tls1_process_sigalgs() 2458 c->pkeys[SSL_PKEY_RSA_ENC].digest = md; in tls1_process_sigalgs() 2476 c->pkeys[SSL_PKEY_RSA_ENC].digest = EVP_sha1(); in tls1_process_sigalgs()
|
D | s3_both.c | 585 ret=SSL_PKEY_RSA_ENC; in ssl_cert_type()
|
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 | s3_srvr.c | 487 && (s->cert->pkeys[SSL_PKEY_RSA_ENC].privatekey == NULL in IMPLEMENT_ssl3_meth_func() 489 …&& EVP_PKEY_size(s->cert->pkeys[SSL_PKEY_RSA_ENC].privatekey)*8 > SSL_C_EXPORT_PKEYLENGTH(s->s3->t… in IMPLEMENT_ssl3_meth_func() 2211 pkey=s->cert->pkeys[SSL_PKEY_RSA_ENC].privatekey; in ssl3_get_client_key_exchange()
|
D | ssl_locl.h | 463 #define SSL_PKEY_RSA_ENC 0 macro
|
D | d1_clnt.c | 995 pkey=X509_get_pubkey(s->session->sess_cert->peer_pkeys[SSL_PKEY_RSA_ENC].x509); in dtls1_send_client_key_exchange()
|
/external/openssl/ssl/ |
D | s2_srvr.c | 443 if (s->cert->pkeys[SSL_PKEY_RSA_ENC].privatekey == NULL) in get_client_master_key() 774 n=i2d_X509(s->cert->pkeys[SSL_PKEY_RSA_ENC].x509,NULL); in server_hello() 776 i2d_X509(s->cert->pkeys[SSL_PKEY_RSA_ENC].x509,&d); in server_hello() 1069 i=i2d_X509(s->cert->pkeys[SSL_PKEY_RSA_ENC].x509,NULL); in request_certificate() 1077 i=i2d_X509(s->cert->pkeys[SSL_PKEY_RSA_ENC].x509,&p2); in request_certificate() 1124 if ((c == NULL) || (c->pkeys[SSL_PKEY_RSA_ENC].privatekey == NULL)) in ssl_rsa_private_decrypt() 1129 if (c->pkeys[SSL_PKEY_RSA_ENC].privatekey->type != EVP_PKEY_RSA) in ssl_rsa_private_decrypt() 1134 rsa=c->pkeys[SSL_PKEY_RSA_ENC].privatekey->pkey.rsa; in ssl_rsa_private_decrypt()
|
D | ssl_cert.c | 175 ret->key= &(ret->pkeys[SSL_PKEY_RSA_ENC]); in ssl_cert_new() 280 case SSL_PKEY_RSA_ENC: in ssl_cert_dup() 425 ret->peer_key = &(ret->peer_pkeys[SSL_PKEY_RSA_ENC]); in ssl_sess_cert_new()
|
D | s3_clnt.c | 1542 pkey=X509_get_pubkey(s->session->sess_cert->peer_pkeys[SSL_PKEY_RSA_ENC].x509); in ssl3_get_key_exchange() 1595 pkey=X509_get_pubkey(s->session->sess_cert->peer_pkeys[SSL_PKEY_RSA_ENC].x509); in ssl3_get_key_exchange() 1664 pkey=X509_get_pubkey(s->session->sess_cert->peer_pkeys[SSL_PKEY_RSA_ENC].x509); in ssl3_get_key_exchange() 1772 pkey=X509_get_pubkey(s->session->sess_cert->peer_pkeys[SSL_PKEY_RSA_ENC].x509); in ssl3_get_key_exchange() 2337 pkey=X509_get_pubkey(s->session->sess_cert->peer_pkeys[SSL_PKEY_RSA_ENC].x509); in ssl3_send_client_key_exchange() 3049 case SSL_PKEY_RSA_ENC: in ssl3_send_client_verify()
|
D | s2_clnt.c | 1069 sc->peer_pkeys[SSL_PKEY_RSA_ENC].x509=x509; in ssl2_set_certificate() 1070 sc->peer_key= &(sc->peer_pkeys[SSL_PKEY_RSA_ENC]); in ssl2_set_certificate()
|
D | ssl_lib.c | 2169 cpk= &(c->pkeys[SSL_PKEY_RSA_ENC]); in ssl_set_cert_masks() 2454 if (c->pkeys[SSL_PKEY_RSA_ENC].x509 == NULL) in ssl_get_server_send_pkey() 2457 i=SSL_PKEY_RSA_ENC; in ssl_get_server_send_pkey() 2512 if (c->pkeys[SSL_PKEY_RSA_ENC].privatekey != NULL) in ssl_get_sign_pkey() 2513 return c->pkeys[SSL_PKEY_RSA_ENC].privatekey; in ssl_get_sign_pkey()
|
D | s3_lib.c | 3155 ((s->cert->pkeys[SSL_PKEY_RSA_ENC].privatekey == NULL) || in ssl3_ctrl() 3156 (EVP_PKEY_size(s->cert->pkeys[SSL_PKEY_RSA_ENC].privatekey) > (512/8)))) in ssl3_ctrl() 3478 ((cert->pkeys[SSL_PKEY_RSA_ENC].privatekey == NULL) || in ssl3_ctx_ctrl() 3479 (EVP_PKEY_size(cert->pkeys[SSL_PKEY_RSA_ENC].privatekey) > (512/8))) in ssl3_ctx_ctrl()
|
D | s3_both.c | 585 ret=SSL_PKEY_RSA_ENC; in ssl_cert_type()
|
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 | s3_srvr.c | 487 && (s->cert->pkeys[SSL_PKEY_RSA_ENC].privatekey == NULL in IMPLEMENT_ssl3_meth_func() 489 …&& EVP_PKEY_size(s->cert->pkeys[SSL_PKEY_RSA_ENC].privatekey)*8 > SSL_C_EXPORT_PKEYLENGTH(s->s3->t… in IMPLEMENT_ssl3_meth_func() 2210 pkey=s->cert->pkeys[SSL_PKEY_RSA_ENC].privatekey; in ssl3_get_client_key_exchange()
|
D | ssl_locl.h | 448 #define SSL_PKEY_RSA_ENC 0 macro
|
D | d1_clnt.c | 995 pkey=X509_get_pubkey(s->session->sess_cert->peer_pkeys[SSL_PKEY_RSA_ENC].x509); in dtls1_send_client_key_exchange()
|