Lines Matching refs:rsa
86 RSA *rsa,
96 RSA *rsa,
107 RSA *rsa,
110 struct kc_rsa *kc = RSA_get_app_data(rsa);
160 RSA * rsa, int padding)
162 struct kc_rsa *kc = RSA_get_app_data(rsa);
221 kc_rsa_init(RSA *rsa)
227 kc_rsa_finish(RSA *rsa)
229 struct kc_rsa *kc_rsa = RSA_get_app_data(rsa);
259 RSA *rsa;
272 rsa = RSA_new();
273 if (rsa == NULL)
282 rsa->n = BN_new();
283 if (rsa->n == NULL) abort();
295 BN_bin2bn(data, kc->keysize, rsa->n);
298 rsa->e = NULL;
300 RSA_set_method(rsa, &kc_rsa_pkcs1_method);
301 ret = RSA_set_app_data(rsa, kc);
305 hx509_private_key_assign_rsa(key, rsa);