Lines Matching refs:rsa_tmp
2333 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()
2368 rsa_tmp = NULL; in free_tmp_rsa()