Searched refs:calc_hash (Results 1 – 8 of 8) sorted by relevance
/trusted-firmware-a-3.7.0/plat/st/common/ |
D | stm32mp_trusted_boot.c | 98 uint8_t calc_hash[BOOT_API_SHA256_DIGEST_SIZE_IN_BYTES]; in get_rotpk_hash() local 120 param->nb_pk * sizeof(boot_api_sha256_t), calc_hash); in get_rotpk_hash() 132 ret = memcmp(calc_hash, otp_hash, sizeof(calc_hash)); in get_rotpk_hash()
|
D | stm32mp_crypto_lib.c | 450 uint8_t calc_hash[BOOT_API_SHA256_DIGEST_SIZE_IN_BYTES]; in crypto_verify_hash() local 459 if ((ret != 0) || (md_alg != MBEDTLS_MD_SHA256) || (len != sizeof(calc_hash))) { in crypto_verify_hash() 468 ret = stm32_hash_final_update(data_ptr, data_len, calc_hash); in crypto_verify_hash() 474 ret = memcmp(calc_hash, digest_info_ptr, digest_info_len); in crypto_verify_hash()
|
/trusted-firmware-a-3.7.0/include/drivers/auth/ |
D | crypto_mod.h | 65 int (*calc_hash)(enum crypto_md_algo md_alg, void *data_ptr, member 129 .calc_hash = _calc_hash, \
|
/trusted-firmware-a-3.7.0/drivers/auth/ |
D | crypto_mod.c | 58 assert(crypto_lib_desc.calc_hash != NULL); in crypto_mod_init() 140 return crypto_lib_desc.calc_hash(alg, data_ptr, data_len, output); in crypto_mod_calc_hash()
|
/trusted-firmware-a-3.7.0/drivers/auth/mbedtls/ |
D | mbedtls_crypto.c | 261 static int calc_hash(enum crypto_md_algo md_algo, void *data_ptr, in calc_hash() function 401 REGISTER_CRYPTO_LIB(LIB_NAME, init, verify_signature, verify_hash, calc_hash, 404 REGISTER_CRYPTO_LIB(LIB_NAME, init, verify_signature, verify_hash, calc_hash, 416 REGISTER_CRYPTO_LIB(LIB_NAME, init, NULL, NULL, calc_hash, NULL, NULL);
|
D | mbedtls_psa_crypto.c | 531 static int calc_hash(enum crypto_md_algo md_algo, void *data_ptr, in calc_hash() function 680 REGISTER_CRYPTO_LIB(LIB_NAME, init, verify_signature, verify_hash, calc_hash, 683 REGISTER_CRYPTO_LIB(LIB_NAME, init, verify_signature, verify_hash, calc_hash, 695 REGISTER_CRYPTO_LIB(LIB_NAME, init, NULL, NULL, calc_hash, NULL, NULL);
|
/trusted-firmware-a-3.7.0/docs/design/ |
D | auth-framework.rst | 239 int (*calc_hash)(enum crypto_md_algo alg, void *data_ptr,
|
/trusted-firmware-a-3.7.0/docs/ |
D | change-log.md | 6284 - auth: Add `calc_hash` function for hash calculation. Used for authentication
|