Home
last modified time | relevance | path

Searched refs:hash_algo (Results 1 – 5 of 5) sorted by relevance

/trusted-firmware-m-3.6.0/platform/ext/target/arm/rss/common/
Dattest_hal.c151 const char hash_algo[] = MEASUREMENT_HASH_ALGO_NAME; in tfm_attest_hal_get_platform_hash_algo() local
153 const char hash_algo[] = "not-hash-extended"; in tfm_attest_hal_get_platform_hash_algo()
156 if (*size < sizeof(hash_algo) - 1) { in tfm_attest_hal_get_platform_hash_algo()
161 memcpy(buf, hash_algo, sizeof(hash_algo) - 1); in tfm_attest_hal_get_platform_hash_algo()
162 *size = sizeof(hash_algo) - 1; in tfm_attest_hal_get_platform_hash_algo()
/trusted-firmware-m-3.6.0/platform/ext/accelerator/cc312/psa-adac/
Dadac_crypto_cc312_pk.c30 size_t key_size, psa_algorithm_t hash_algo, const uint8_t *inputs[], in psa_adac_verify_signature() argument
39 r = psa_adac_hash_multiple(hash_algo, inputs, input_sizes, input_count, in psa_adac_verify_signature()
52 (hash_algo == PSA_ALG_SHA_256) ? CC_RSA_After_SHA256_mode : in psa_adac_verify_signature()
53 ((hash_algo == PSA_ALG_SHA_512) ? CC_RSA_After_SHA512_mode : in psa_adac_verify_signature()
83 (hash_algo == PSA_ALG_SHA_256) ? CC_ECPKI_AFTER_HASH_SHA256_mode : in psa_adac_verify_signature()
84 ((hash_algo == PSA_ALG_SHA_512) ? CC_ECPKI_AFTER_HASH_SHA512_mode : in psa_adac_verify_signature()
/trusted-firmware-m-3.6.0/platform/ext/common/template/
Dattest_hal.c176 const char hash_algo[] = MEASUREMENT_HASH_ALGO_NAME; in tfm_attest_hal_get_platform_hash_algo() local
178 const char hash_algo[] = "not-hash-extended"; in tfm_attest_hal_get_platform_hash_algo()
181 if (*size < sizeof(hash_algo) - 1) { in tfm_attest_hal_get_platform_hash_algo()
186 memcpy(buf, hash_algo, sizeof(hash_algo) - 1); in tfm_attest_hal_get_platform_hash_algo()
187 *size = sizeof(hash_algo) - 1; in tfm_attest_hal_get_platform_hash_algo()
/trusted-firmware-m-3.6.0/secure_fw/partitions/initial_attestation/
Dattest_core.c390 struct q_useful_buf_c hash_algo; in attest_add_hash_algo_claim() local
400 hash_algo.ptr = &buf; in attest_add_hash_algo_claim()
401 hash_algo.len = size; in attest_add_hash_algo_claim()
404 &hash_algo); in attest_add_hash_algo_claim()
/trusted-firmware-m-3.6.0/platform/ext/accelerator/cc312/psa-adac/include/
Dpsa_adac_crypto_api.h138 size_t key_size, psa_algorithm_t hash_algo, const uint8_t *inputs[],