Searched refs:rsa_params (Results 1 – 3 of 3) sorted by relevance
149 const keymaster_rsa_keygen_params_t* rsa_params = in generate_keypair() local152 rsa_params->modulus_size, rsa_params->public_exponent); in generate_keypair()153 req.key_description.push_back(TAG_KEY_SIZE, rsa_params->modulus_size); in generate_keypair()154 req.key_description.push_back(TAG_RSA_PUBLIC_EXPONENT, rsa_params->public_exponent); in generate_keypair()493 const keymaster_rsa_sign_params_t* rsa_params = in StoreSigningParams() local495 if (rsa_params->digest_type != DIGEST_NONE) in StoreSigningParams()497 if (rsa_params->padding_type != PADDING_NONE) in StoreSigningParams()
116 keymaster_rsa_keygen_params_t rsa_params; in build_rsa_params() local117 rsa_params.public_exponent = 65537; in build_rsa_params()118 rsa_params.modulus_size = 2048; in build_rsa_params()119 return rsa_params; in build_rsa_params()
325 static int generate_rsa_keypair(EVP_PKEY* pkey, const keymaster_rsa_keygen_params_t* rsa_params) { in generate_rsa_keypair() argument332 if (BN_set_word(bn.get(), rsa_params->public_exponent) == 0) { in generate_rsa_keypair()344 if (!RSA_generate_key_ex(rsa.get(), rsa_params->modulus_size, bn.get(), NULL) || in generate_rsa_keypair()380 const keymaster_rsa_keygen_params_t* rsa_params = in openssl_generate_keypair() local382 generate_rsa_keypair(pkey.get(), rsa_params); in openssl_generate_keypair()