Lines Matching refs:rsa_pub
2723 RSA *rsa_pub = NULL; in binbuf_pubkey2rsa() local
2733 rsa_pub = RSA_new(); in binbuf_pubkey2rsa()
2735 if (!exp || !mod || !rsa_pub) { in binbuf_pubkey2rsa()
2741 if (rsa_pub) in binbuf_pubkey2rsa()
2742 RSA_free(rsa_pub); in binbuf_pubkey2rsa()
2743 rsa_pub = NULL; in binbuf_pubkey2rsa()
2747 rsa_pub->n = mod; in binbuf_pubkey2rsa()
2748 rsa_pub->e = exp; in binbuf_pubkey2rsa()
2751 return rsa_pub; in binbuf_pubkey2rsa()
2758 RSA *rsa_pub = NULL; in base64_pubkey2rsa() local
2777 rsa_pub = binbuf_pubkey2rsa(binbuf); in base64_pubkey2rsa()
2783 return rsa_pub; in base64_pubkey2rsa()
2789 RSA *rsa_pub = NULL; in bignum_pubkey2rsa() local
2800 rsa_pub = binbuf_pubkey2rsa(binbuf); in bignum_pubkey2rsa()
2806 return rsa_pub; in bignum_pubkey2rsa()