Lines Matching refs:rsa
56 RSA *rsa; member
105 RSA_free(prsactx->rsa); in rsakem_freectx()
122 if (dstctx->rsa != NULL && !RSA_up_ref(dstctx->rsa)) { in rsakem_dupctx()
146 RSA_free(prsactx->rsa); in rsakem_init()
147 prsactx->rsa = vrsa; in rsakem_init()
155 prsactx->rsa, desc, protect)) in rsakem_init()
285 nlen = RSA_size(prsactx->rsa); in rsasve_generate()
315 if (!rsasve_gen_rand_bytes(prsactx->rsa, secret, nlen)) in rsasve_generate()
319 ret = RSA_public_encrypt(nlen, secret, out, prsactx->rsa, RSA_NO_PADDING); in rsasve_generate()
361 nlen = RSA_size(prsactx->rsa); in rsasve_recover()
392 ret = RSA_private_decrypt(inlen, in, out, prsactx->rsa, RSA_NO_PADDING); in rsasve_recover()