Searched refs:rsa_tmp (Results 1 – 8 of 8) sorted by relevance
/external/openssl/ssl/ |
D | ssl_cert.c | 204 if (cert->rsa_tmp != NULL) in ssl_cert_dup() 206 RSA_up_ref(cert->rsa_tmp); in ssl_cert_dup() 207 ret->rsa_tmp = cert->rsa_tmp; in ssl_cert_dup() 315 if (ret->rsa_tmp != NULL) in ssl_cert_dup() 316 RSA_free(ret->rsa_tmp); in ssl_cert_dup() 360 if (c->rsa_tmp) RSA_free(c->rsa_tmp); in ssl_cert_free()
|
D | ssltest.c | 2101 static RSA *rsa_tmp=NULL; variable 2106 if (rsa_tmp == NULL) in tmp_rsa_cb() 2109 rsa_tmp = RSA_new(); in tmp_rsa_cb() 2110 if(!bn || !rsa_tmp || !BN_set_word(bn, RSA_F4)) in tmp_rsa_cb() 2117 if(!RSA_generate_key_ex(rsa_tmp,keylength,bn,NULL)) in tmp_rsa_cb() 2120 RSA_free(rsa_tmp); in tmp_rsa_cb() 2121 rsa_tmp = NULL; in tmp_rsa_cb() 2128 return(rsa_tmp); in tmp_rsa_cb() 2133 if (rsa_tmp != NULL) in free_tmp_rsa() 2135 RSA_free(rsa_tmp); in free_tmp_rsa() [all …]
|
D | s3_lib.c | 1802 if ((s->cert != NULL) && (s->cert->rsa_tmp == NULL) && in ssl3_ctrl() 1820 if (s->cert->rsa_tmp != NULL) in ssl3_ctrl() 1821 RSA_free(s->cert->rsa_tmp); in ssl3_ctrl() 1822 s->cert->rsa_tmp = rsa; in ssl3_ctrl() 2051 if ( (cert->rsa_tmp == NULL) && in ssl3_ctx_ctrl() 2080 if (cert->rsa_tmp != NULL) in ssl3_ctx_ctrl() 2081 RSA_free(cert->rsa_tmp); in ssl3_ctx_ctrl() 2082 cert->rsa_tmp=rsa; in ssl3_ctx_ctrl()
|
D | ssl_lib.c | 1619 int rsa_enc,rsa_tmp,rsa_sign,dh_tmp,dh_rsa,dh_dsa,dsa_sign; in ssl_set_cert_masks() local 1636 rsa_tmp=(c->rsa_tmp != NULL || c->rsa_tmp_cb != NULL); in ssl_set_cert_masks() 1638 (rsa_tmp && RSA_size(c->rsa_tmp)*8 <= kl)); in ssl_set_cert_masks() 1640 rsa_tmp=rsa_tmp_export=0; in ssl_set_cert_masks() 1674 rsa_tmp,rsa_tmp_export,dh_tmp, in ssl_set_cert_masks() 1678 if (rsa_enc || (rsa_tmp && rsa_sign)) in ssl_set_cert_masks()
|
D | d1_srvr.c | 808 rsa=cert->rsa_tmp; in dtls1_send_server_key_exchange() 821 cert->rsa_tmp=rsa; in dtls1_send_server_key_exchange()
|
D | s3_srvr.c | 1252 rsa=cert->rsa_tmp; in ssl3_send_server_key_exchange() 1265 cert->rsa_tmp=rsa; in ssl3_send_server_key_exchange() 1765 if ((s->cert != NULL) && (s->cert->rsa_tmp != NULL)) in ssl3_get_client_key_exchange() 1766 rsa=s->cert->rsa_tmp; in ssl3_get_client_key_exchange()
|
D | ssl_locl.h | 420 RSA *rsa_tmp; member
|
/external/openssl/apps/ |
D | s_server.c | 2427 static RSA *rsa_tmp=NULL; in tmp_rsa_cb() local 2429 if (!rsa_tmp && ((bn = BN_new()) == NULL)) in tmp_rsa_cb() 2431 if (!rsa_tmp && bn) in tmp_rsa_cb() 2438 if(!BN_set_word(bn, RSA_F4) || ((rsa_tmp = RSA_new()) == NULL) || in tmp_rsa_cb() 2439 !RSA_generate_key_ex(rsa_tmp, keylength, bn, NULL)) in tmp_rsa_cb() 2441 if(rsa_tmp) RSA_free(rsa_tmp); in tmp_rsa_cb() 2442 rsa_tmp = NULL; in tmp_rsa_cb() 2451 return(rsa_tmp); in tmp_rsa_cb()
|