Home
last modified time | relevance | path

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

/external/arm-trusted-firmware/drivers/auth/cryptocell/713/
Dcryptocell_crypto.c85 mbedtls_pk_type_t pk_alg; in verify_signature() local
103 rc = mbedtls_oid_get_sig_alg(&sig_oid, &md_alg, &pk_alg); in verify_signature()
108 if (pk_alg != MBEDTLS_PK_RSASSA_PSS || md_alg != MBEDTLS_MD_NONE) in verify_signature()
140 if (mbedtls_oid_get_pk_alg(&alg_oid, &pk_alg) != 0) in verify_signature()
143 if (pk_alg != MBEDTLS_PK_RSA) in verify_signature()
/external/arm-trusted-firmware/drivers/auth/cryptocell/712/
Dcryptocell_crypto.c101 mbedtls_pk_type_t pk_alg; in verify_signature() local
117 rc = mbedtls_oid_get_sig_alg(&sig_oid, &md_alg, &pk_alg); in verify_signature()
122 if (pk_alg != MBEDTLS_PK_RSASSA_PSS || md_alg != MBEDTLS_MD_NONE) in verify_signature()
153 if (mbedtls_oid_get_pk_alg(&alg_oid, &pk_alg) != 0) in verify_signature()
156 if (pk_alg != MBEDTLS_PK_RSA) in verify_signature()
/external/arm-trusted-firmware/drivers/auth/mbedtls/
Dmbedtls_crypto.c67 mbedtls_pk_type_t pk_alg; in verify_signature() local
84 rc = mbedtls_x509_get_sig_alg(&sig_oid, &sig_params, &md_alg, &pk_alg, &sig_opts); in verify_signature()
124 rc = mbedtls_pk_verify_ext(pk_alg, sig_opts, &pk, md_alg, hash, in verify_signature()