Searched refs:rsa_tmp (Results 1 - 16 of 16) sorted by relevance

/external/chromium_org/third_party/openssl/openssl/ssl/
H A Dssl_cert.c221 if (cert->rsa_tmp != NULL)
223 RSA_up_ref(cert->rsa_tmp);
224 ret->rsa_tmp = cert->rsa_tmp;
336 if (ret->rsa_tmp != NULL)
337 RSA_free(ret->rsa_tmp);
381 if (c->rsa_tmp) RSA_free(c->rsa_tmp);
H A Dssltest.c2333 static RSA *rsa_tmp=NULL; variable
2338 if (rsa_tmp == NULL)
2341 rsa_tmp = RSA_new();
2342 if(!bn || !rsa_tmp || !BN_set_word(bn, RSA_F4))
2349 if(!RSA_generate_key_ex(rsa_tmp,keylength,bn,NULL))
2352 RSA_free(rsa_tmp);
2353 rsa_tmp = NULL;
2360 return(rsa_tmp);
2365 if (rsa_tmp != NULL)
2367 RSA_free(rsa_tmp);
[all...]
H A Dssl_lib.c2078 int rsa_enc,rsa_tmp,rsa_sign,dh_tmp,dh_rsa,dh_dsa,dsa_sign; local
2095 rsa_tmp=(c->rsa_tmp != NULL || c->rsa_tmp_cb != NULL);
2097 (rsa_tmp && RSA_size(c->rsa_tmp)*8 <= kl));
2099 rsa_tmp=rsa_tmp_export=0;
2137 rsa_tmp,rsa_tmp_export,dh_tmp,have_ecdh_tmp,
2152 if (rsa_enc || (rsa_tmp && rsa_sign))
2713 if (ssl->cert != NULL && ssl->cert->rsa_tmp != NULL)
H A Ds3_lib.c3201 if ((s->cert != NULL) && (s->cert->rsa_tmp == NULL) &&
3219 if (s->cert->rsa_tmp != NULL)
3220 RSA_free(s->cert->rsa_tmp);
3221 s->cert->rsa_tmp = rsa;
3550 if ( (cert->rsa_tmp == NULL) &&
3579 if (cert->rsa_tmp != NULL)
3580 RSA_free(cert->rsa_tmp);
3581 cert->rsa_tmp=rsa;
H A Ds3_srvr.c1628 rsa=cert->rsa_tmp;
1641 cert->rsa_tmp=rsa;
2197 if ((s->cert != NULL) && (s->cert->rsa_tmp != NULL))
2198 rsa=s->cert->rsa_tmp;
2199 /* Don't do a callback because rsa_tmp should
H A Dd1_srvr.c1065 rsa=cert->rsa_tmp;
1078 cert->rsa_tmp=rsa;
H A Dssl_locl.h520 RSA *rsa_tmp; member in struct:cert_st
/external/openssl/ssl/
H A Dssl_cert.c205 if (cert->rsa_tmp != NULL)
207 RSA_up_ref(cert->rsa_tmp);
208 ret->rsa_tmp = cert->rsa_tmp;
316 if (ret->rsa_tmp != NULL)
317 RSA_free(ret->rsa_tmp);
361 if (c->rsa_tmp) RSA_free(c->rsa_tmp);
H A Dssltest.c2339 static RSA *rsa_tmp=NULL; variable
2344 if (rsa_tmp == NULL)
2347 rsa_tmp = RSA_new();
2348 if(!bn || !rsa_tmp || !BN_set_word(bn, RSA_F4))
2355 if(!RSA_generate_key_ex(rsa_tmp,keylength,bn,NULL))
2358 RSA_free(rsa_tmp);
2359 rsa_tmp = NULL;
2366 return(rsa_tmp);
2371 if (rsa_tmp != NULL)
2373 RSA_free(rsa_tmp);
[all...]
H A Dssl_lib.c2183 int rsa_enc,rsa_tmp,rsa_sign,dh_tmp,dh_rsa,dh_dsa,dsa_sign; local
2200 rsa_tmp=(c->rsa_tmp != NULL || c->rsa_tmp_cb != NULL);
2202 (rsa_tmp && RSA_size(c->rsa_tmp)*8 <= kl));
2204 rsa_tmp=rsa_tmp_export=0;
2242 rsa_tmp,rsa_tmp_export,dh_tmp,have_ecdh_tmp,
2257 if (rsa_enc || (rsa_tmp && rsa_sign))
2827 if (ssl->cert != NULL && ssl->cert->rsa_tmp != NULL)
H A Ds3_lib.c3194 if ((s->cert != NULL) && (s->cert->rsa_tmp == NULL) &&
3212 if (s->cert->rsa_tmp != NULL)
3213 RSA_free(s->cert->rsa_tmp);
3214 s->cert->rsa_tmp = rsa;
3542 if ( (cert->rsa_tmp == NULL) &&
3571 if (cert->rsa_tmp != NULL)
3572 RSA_free(cert->rsa_tmp);
3573 cert->rsa_tmp=rsa;
H A Dd1_srvr.c1076 rsa=cert->rsa_tmp;
1089 cert->rsa_tmp=rsa;
H A Ds3_srvr.c1668 rsa=cert->rsa_tmp;
1681 cert->rsa_tmp=rsa;
2331 if ((s->cert != NULL) && (s->cert->rsa_tmp != NULL))
2332 rsa=s->cert->rsa_tmp;
2333 /* Don't do a callback because rsa_tmp should
H A Dssl_locl.h503 RSA *rsa_tmp; member in struct:cert_st
/external/chromium_org/third_party/openssl/openssl/apps/
H A Ds_server.c2962 static RSA *rsa_tmp=NULL; local
2964 if (!rsa_tmp && ((bn = BN_new()) == NULL))
2966 if (!rsa_tmp && bn)
2973 if(!BN_set_word(bn, RSA_F4) || ((rsa_tmp = RSA_new()) == NULL) ||
2974 !RSA_generate_key_ex(rsa_tmp, keylength, bn, NULL))
2976 if(rsa_tmp) RSA_free(rsa_tmp);
2977 rsa_tmp = NULL;
2986 return(rsa_tmp);
/external/openssl/apps/
H A Ds_server.c2962 static RSA *rsa_tmp=NULL; local
2964 if (!rsa_tmp && ((bn = BN_new()) == NULL))
2966 if (!rsa_tmp && bn)
2973 if(!BN_set_word(bn, RSA_F4) || ((rsa_tmp = RSA_new()) == NULL) ||
2974 !RSA_generate_key_ex(rsa_tmp, keylength, bn, NULL))
2976 if(rsa_tmp) RSA_free(rsa_tmp);
2977 rsa_tmp = NULL;
2986 return(rsa_tmp);

Completed in 163 milliseconds