Home
last modified time | relevance | path

Searched refs:SSL_PKEY_RSA_ENC (Results 1 – 24 of 24) sorted by relevance

/external/openssl/patches/
Dtls12_digests.patch44 + 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/
Ds2_srvr.c443 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()
Dssl_cert.c171 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()
Ds2_clnt.c1069 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()
Dssl_lib.c2082 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()
Ds3_clnt.c1543 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()
Ds3_lib.c3202 ((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()
Dt1_lib.c2423 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()
Ds3_both.c585 ret=SSL_PKEY_RSA_ENC; in ssl_cert_type()
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()
Ds3_srvr.c487 && (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()
Dssl_locl.h463 #define SSL_PKEY_RSA_ENC 0 macro
Dd1_clnt.c995 pkey=X509_get_pubkey(s->session->sess_cert->peer_pkeys[SSL_PKEY_RSA_ENC].x509); in dtls1_send_client_key_exchange()
/external/openssl/ssl/
Ds2_srvr.c443 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()
Dssl_cert.c175 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()
Ds3_clnt.c1542 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()
Ds2_clnt.c1069 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()
Dssl_lib.c2169 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()
Ds3_lib.c3155 ((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()
Ds3_both.c585 ret=SSL_PKEY_RSA_ENC; in ssl_cert_type()
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()
Ds3_srvr.c487 && (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()
Dssl_locl.h448 #define SSL_PKEY_RSA_ENC 0 macro
Dd1_clnt.c995 pkey=X509_get_pubkey(s->session->sess_cert->peer_pkeys[SSL_PKEY_RSA_ENC].x509); in dtls1_send_client_key_exchange()