Home
last modified time | relevance | path

Searched refs:rsa_params (Results 1 – 3 of 3) sorted by relevance

/hardware/samsung_slsi/exynos5/libkeymaster/
Dkeymaster_mobicore.cpp108 keymaster_rsa_keygen_params_t* rsa_params = (keymaster_rsa_keygen_params_t*) key_params; in exynos_km_generate_keypair() local
110 if ((rsa_params->modulus_size != 512) && in exynos_km_generate_keypair()
111 (rsa_params->modulus_size != 1024) && in exynos_km_generate_keypair()
112 (rsa_params->modulus_size != 2048)) { in exynos_km_generate_keypair()
113 ALOGE("key size(%d) is not supported\n", rsa_params->modulus_size); in exynos_km_generate_keypair()
124 rsa_params->modulus_size, (uint32_t)rsa_params->public_exponent, in exynos_km_generate_keypair()
/hardware/qcom/keymaster/
Dkeymaster_qcom.cpp335 keymaster_rsa_keygen_params_t* rsa_params = (keymaster_rsa_keygen_params_t*) key_params; in qcom_km_generate_keypair() local
349 send_cmd->rsa_params.modulus_size = rsa_params->modulus_size; in qcom_km_generate_keypair()
350 send_cmd->rsa_params.public_exponent = rsa_params->public_exponent; in qcom_km_generate_keypair()
Dkeymaster_qcom.h92 keymaster_rsa_keygen_params_t rsa_params; member