Searched refs:rsa_tmp (Results 1 – 1 of 1) sorted by relevance
1137 static RSA *rsa_tmp = NULL; in tmp_rsa_cb() local1139 if (!rsa_tmp && ((bn = BN_new()) == NULL)) { in tmp_rsa_cb()1142 if (!rsa_tmp && bn) { in tmp_rsa_cb()1143 if (!BN_set_word(bn, RSA_F4) || ((rsa_tmp = RSA_new()) == NULL) || in tmp_rsa_cb()1144 !RSA_generate_key_ex(rsa_tmp, keylength, bn, NULL)) { in tmp_rsa_cb()1145 if (rsa_tmp) { in tmp_rsa_cb()1146 RSA_free(rsa_tmp); in tmp_rsa_cb()1148 rsa_tmp = NULL; in tmp_rsa_cb()1153 return (rsa_tmp); in tmp_rsa_cb()
Completed in 12 milliseconds