Searched refs:rsa_params (Results 1 – 2 of 2) sorted by relevance
331 static int generate_rsa_keypair(EVP_PKEY* pkey, const keymaster_rsa_keygen_params_t* rsa_params) { in generate_rsa_keypair() argument338 if (BN_set_word(bn.get(), rsa_params->public_exponent) == 0) { in generate_rsa_keypair()350 if (!RSA_generate_key_ex(rsa.get(), rsa_params->modulus_size, bn.get(), NULL) || in generate_rsa_keypair()386 const keymaster_rsa_keygen_params_t* rsa_params = in openssl_generate_keypair() local388 generate_rsa_keypair(pkey.get(), rsa_params); in openssl_generate_keypair()
195 const keymaster_rsa_keygen_params_t* rsa_params = in generate_keypair() local198 rsa_params->modulus_size, rsa_params->public_exponent); in generate_keypair()199 req.key_description.push_back(TAG_KEY_SIZE, rsa_params->modulus_size); in generate_keypair()200 req.key_description.push_back(TAG_RSA_PUBLIC_EXPONENT, rsa_params->public_exponent); in generate_keypair()