Lines Matching defs:rsa
20 #include <openssl/rsa.h>
146 RSA *rsa = NULL;
159 * openssl genrsa 32 | openssl rsa -text
177 if (!TEST_ptr(rsa = RSA_new()))
186 || !TEST_true(RSA_set0_key(rsa, bn1, bn2, bn3)))
193 || !TEST_true(RSA_set0_factors(rsa, bn1, bn2)))
202 || !TEST_true(RSA_set0_crt_params(rsa, bn1, bn2, bn3)))
212 || !TEST_true(RSA_set0_multi_prime_params(rsa, bn_primes, bn_exps,
217 || !TEST_true(EVP_PKEY_assign_RSA(pk, rsa)))
219 rsa = NULL;
269 RSA_free(rsa);