Home | History | Annotate | Download | only in ssl

Lines Matching refs:rsa_tmp

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