Home
last modified time | relevance | path

Searched refs:rsa_tmp (Results 1 – 18 of 18) sorted by relevance

/external/openssl/ssl/
Dssl_cert.c205 if (cert->rsa_tmp != NULL) in ssl_cert_dup()
207 RSA_up_ref(cert->rsa_tmp); in ssl_cert_dup()
208 ret->rsa_tmp = cert->rsa_tmp; in ssl_cert_dup()
316 if (ret->rsa_tmp != NULL) in ssl_cert_dup()
317 RSA_free(ret->rsa_tmp); in ssl_cert_dup()
361 if (c->rsa_tmp) RSA_free(c->rsa_tmp); in ssl_cert_free()
Dssltest.c2333 static RSA *rsa_tmp=NULL; variable
2338 if (rsa_tmp == NULL) in tmp_rsa_cb()
2341 rsa_tmp = RSA_new(); in tmp_rsa_cb()
2342 if(!bn || !rsa_tmp || !BN_set_word(bn, RSA_F4)) in tmp_rsa_cb()
2349 if(!RSA_generate_key_ex(rsa_tmp,keylength,bn,NULL)) in tmp_rsa_cb()
2352 RSA_free(rsa_tmp); in tmp_rsa_cb()
2353 rsa_tmp = NULL; in tmp_rsa_cb()
2360 return(rsa_tmp); in tmp_rsa_cb()
2365 if (rsa_tmp != NULL) in free_tmp_rsa()
2367 RSA_free(rsa_tmp); in free_tmp_rsa()
[all …]
Dssl_lib.c2135 int rsa_enc,rsa_tmp,rsa_sign,dh_tmp,dh_rsa,dh_dsa,dsa_sign; in ssl_set_cert_masks() local
2152 rsa_tmp=(c->rsa_tmp != NULL || c->rsa_tmp_cb != NULL); in ssl_set_cert_masks()
2154 (rsa_tmp && RSA_size(c->rsa_tmp)*8 <= kl)); in ssl_set_cert_masks()
2156 rsa_tmp=rsa_tmp_export=0; in ssl_set_cert_masks()
2194 rsa_tmp,rsa_tmp_export,dh_tmp,have_ecdh_tmp, in ssl_set_cert_masks()
2209 if (rsa_enc || (rsa_tmp && rsa_sign)) in ssl_set_cert_masks()
2775 if (ssl->cert != NULL && ssl->cert->rsa_tmp != NULL) in SSL_authentication_method()
Ds3_lib.c3154 if ((s->cert != NULL) && (s->cert->rsa_tmp == NULL) && in ssl3_ctrl()
3172 if (s->cert->rsa_tmp != NULL) in ssl3_ctrl()
3173 RSA_free(s->cert->rsa_tmp); in ssl3_ctrl()
3174 s->cert->rsa_tmp = rsa; in ssl3_ctrl()
3477 if ( (cert->rsa_tmp == NULL) && in ssl3_ctx_ctrl()
3506 if (cert->rsa_tmp != NULL) in ssl3_ctx_ctrl()
3507 RSA_free(cert->rsa_tmp); in ssl3_ctx_ctrl()
3508 cert->rsa_tmp=rsa; in ssl3_ctx_ctrl()
Ds3_srvr.c1627 rsa=cert->rsa_tmp; in ssl3_send_server_key_exchange()
1640 cert->rsa_tmp=rsa; in ssl3_send_server_key_exchange()
2196 if ((s->cert != NULL) && (s->cert->rsa_tmp != NULL)) in ssl3_get_client_key_exchange()
2197 rsa=s->cert->rsa_tmp; in ssl3_get_client_key_exchange()
Dd1_srvr.c1065 rsa=cert->rsa_tmp; in dtls1_send_server_key_exchange()
1078 cert->rsa_tmp=rsa; in dtls1_send_server_key_exchange()
Dssl_locl.h503 RSA *rsa_tmp; member
/external/chromium_org/third_party/openssl/openssl/ssl/
Dssl_cert.c221 if (cert->rsa_tmp != NULL) in ssl_cert_dup()
223 RSA_up_ref(cert->rsa_tmp); in ssl_cert_dup()
224 ret->rsa_tmp = cert->rsa_tmp; in ssl_cert_dup()
336 if (ret->rsa_tmp != NULL) in ssl_cert_dup()
337 RSA_free(ret->rsa_tmp); in ssl_cert_dup()
381 if (c->rsa_tmp) RSA_free(c->rsa_tmp); in ssl_cert_free()
Dssltest.c2333 static RSA *rsa_tmp=NULL; variable
2338 if (rsa_tmp == NULL) in tmp_rsa_cb()
2341 rsa_tmp = RSA_new(); in tmp_rsa_cb()
2342 if(!bn || !rsa_tmp || !BN_set_word(bn, RSA_F4)) in tmp_rsa_cb()
2349 if(!RSA_generate_key_ex(rsa_tmp,keylength,bn,NULL)) in tmp_rsa_cb()
2352 RSA_free(rsa_tmp); in tmp_rsa_cb()
2353 rsa_tmp = NULL; in tmp_rsa_cb()
2360 return(rsa_tmp); in tmp_rsa_cb()
2365 if (rsa_tmp != NULL) in free_tmp_rsa()
2367 RSA_free(rsa_tmp); in free_tmp_rsa()
[all …]
Dssl_lib.c2048 int rsa_enc,rsa_tmp,rsa_sign,dh_tmp,dh_rsa,dh_dsa,dsa_sign; in ssl_set_cert_masks() local
2065 rsa_tmp=(c->rsa_tmp != NULL || c->rsa_tmp_cb != NULL); in ssl_set_cert_masks()
2067 (rsa_tmp && RSA_size(c->rsa_tmp)*8 <= kl)); in ssl_set_cert_masks()
2069 rsa_tmp=rsa_tmp_export=0; in ssl_set_cert_masks()
2107 rsa_tmp,rsa_tmp_export,dh_tmp,have_ecdh_tmp, in ssl_set_cert_masks()
2122 if (rsa_enc || (rsa_tmp && rsa_sign)) in ssl_set_cert_masks()
2683 if (ssl->cert != NULL && ssl->cert->rsa_tmp != NULL) in SSL_authentication_method()
Ds3_lib.c3201 if ((s->cert != NULL) && (s->cert->rsa_tmp == NULL) && in ssl3_ctrl()
3219 if (s->cert->rsa_tmp != NULL) in ssl3_ctrl()
3220 RSA_free(s->cert->rsa_tmp); in ssl3_ctrl()
3221 s->cert->rsa_tmp = rsa; in ssl3_ctrl()
3522 if ( (cert->rsa_tmp == NULL) && in ssl3_ctx_ctrl()
3551 if (cert->rsa_tmp != NULL) in ssl3_ctx_ctrl()
3552 RSA_free(cert->rsa_tmp); in ssl3_ctx_ctrl()
3553 cert->rsa_tmp=rsa; in ssl3_ctx_ctrl()
Ds3_srvr.c1628 rsa=cert->rsa_tmp; in ssl3_send_server_key_exchange()
1641 cert->rsa_tmp=rsa; in ssl3_send_server_key_exchange()
2197 if ((s->cert != NULL) && (s->cert->rsa_tmp != NULL)) in ssl3_get_client_key_exchange()
2198 rsa=s->cert->rsa_tmp; in ssl3_get_client_key_exchange()
Dd1_srvr.c1065 rsa=cert->rsa_tmp; in dtls1_send_server_key_exchange()
1078 cert->rsa_tmp=rsa; in dtls1_send_server_key_exchange()
Dssl_locl.h520 RSA *rsa_tmp; member
/external/chromium_org/third_party/openssl/openssl/apps/
Ds_server.c2962 static RSA *rsa_tmp=NULL; in tmp_rsa_cb() local
2964 if (!rsa_tmp && ((bn = BN_new()) == NULL)) in tmp_rsa_cb()
2966 if (!rsa_tmp && bn) in tmp_rsa_cb()
2973 if(!BN_set_word(bn, RSA_F4) || ((rsa_tmp = RSA_new()) == NULL) || in tmp_rsa_cb()
2974 !RSA_generate_key_ex(rsa_tmp, keylength, bn, NULL)) in tmp_rsa_cb()
2976 if(rsa_tmp) RSA_free(rsa_tmp); in tmp_rsa_cb()
2977 rsa_tmp = NULL; in tmp_rsa_cb()
2986 return(rsa_tmp); in tmp_rsa_cb()
/external/openssl/apps/
Ds_server.c2962 static RSA *rsa_tmp=NULL; in tmp_rsa_cb() local
2964 if (!rsa_tmp && ((bn = BN_new()) == NULL)) in tmp_rsa_cb()
2966 if (!rsa_tmp && bn) in tmp_rsa_cb()
2973 if(!BN_set_word(bn, RSA_F4) || ((rsa_tmp = RSA_new()) == NULL) || in tmp_rsa_cb()
2974 !RSA_generate_key_ex(rsa_tmp, keylength, bn, NULL)) in tmp_rsa_cb()
2976 if(rsa_tmp) RSA_free(rsa_tmp); in tmp_rsa_cb()
2977 rsa_tmp = NULL; in tmp_rsa_cb()
2986 return(rsa_tmp); in tmp_rsa_cb()
/external/openssl/patches/
Djsse.patch329 + if (ssl->cert != NULL && ssl->cert->rsa_tmp != NULL)
/external/chromium_org/third_party/openssl/openssl/patches/
Djsse.patch329 + if (ssl->cert != NULL && ssl->cert->rsa_tmp != NULL)