Home | History | Annotate | Download | only in ssl

Lines Matching refs:rsa_tmp

2339 static RSA *rsa_tmp=NULL;
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);
2374 rsa_tmp = NULL;