Searched refs:md_alg (Results 1 – 7 of 7) sorted by relevance
/trusted-firmware-a/drivers/auth/cryptocell/713/ |
A D | cryptocell_crypto.c | 85 mbedtls_md_type_t md_alg; in verify_signature() local 104 rc = mbedtls_oid_get_sig_alg(&sig_oid, &md_alg, &pk_alg); in verify_signature() 109 if (pk_alg != MBEDTLS_PK_RSASSA_PSS || md_alg != MBEDTLS_MD_NONE) in verify_signature() 114 rc = mbedtls_x509_get_rsassa_pss_params(¶ms, &md_alg, in verify_signature() 121 if (md_alg != MBEDTLS_MD_SHA256 || in verify_signature() 222 mbedtls_md_type_t md_alg; in verify_hash() local 242 rc = mbedtls_oid_get_md_alg(&hash_oid, &md_alg); in verify_hash() 246 if (md_alg != MBEDTLS_MD_SHA256) in verify_hash()
|
/trusted-firmware-a/drivers/auth/cryptocell/712/ |
A D | cryptocell_crypto.c | 100 mbedtls_md_type_t md_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() 127 rc = mbedtls_x509_get_rsassa_pss_params(¶ms, &md_alg, in verify_signature() 134 if (md_alg != MBEDTLS_MD_SHA256 || pss_opts.mgf1_hash_id != MBEDTLS_MD_SHA256) in verify_signature() 247 mbedtls_md_type_t md_alg; in verify_hash() local 267 rc = mbedtls_oid_get_md_alg(&hash_oid, &md_alg); in verify_hash() 271 if (md_alg != MBEDTLS_MD_SHA256) in verify_hash()
|
/trusted-firmware-a/tools/cert_create/src/ |
A D | sha.c | 14 int sha_file(int md_alg, const char *filename, unsigned char *md) in sha_file() argument 33 if (md_alg == HASH_ALG_SHA384) { in sha_file() 39 } else if (md_alg == HASH_ALG_SHA512) { in sha_file()
|
A D | cert.c | 93 int md_alg, in cert_new() argument 136 if (!EVP_DigestSignInit(mdCtx, &pKeyCtx, get_digest(md_alg), NULL, ikey)) { in cert_new() 156 if (!EVP_PKEY_CTX_set_rsa_mgf1_md(pKeyCtx, get_digest(md_alg))) { in cert_new()
|
/trusted-firmware-a/drivers/auth/mbedtls/ |
A D | mbedtls_crypto.c | 66 mbedtls_md_type_t md_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() 111 md_info = mbedtls_md_info_from_type(md_alg); in verify_signature() 124 rc = mbedtls_pk_verify_ext(pk_alg, sig_opts, &pk, md_alg, hash, in verify_signature() 152 mbedtls_md_type_t md_alg; in verify_hash() local 174 rc = mbedtls_oid_get_md_alg(&hash_oid, &md_alg); in verify_hash() 179 md_info = mbedtls_md_info_from_type(md_alg); in verify_hash()
|
/trusted-firmware-a/tools/cert_create/include/ |
A D | sha.h | 10 int sha_file(int md_alg, const char *filename, unsigned char *md);
|
A D | cert.h | 52 int md_alg,
|
Completed in 6 milliseconds