Home
last modified time | relevance | path

Searched refs:PSA_HASH_LENGTH (Results 1 – 6 of 6) sorted by relevance

/trusted-firmware-m-3.6.0/platform/ext/target/arm/rss/common/cpak_generator/
Dcpak_generator.c57 uint8_t context[PSA_HASH_LENGTH(PSA_ALG_SHA_256) + 2 * sizeof(uint32_t)]; in generate_boot_state()
73 uint8_t state[PSA_HASH_LENGTH(PSA_ALG_SHA_256) + sizeof(label) + sizeof(uint8_t) in generate_seed()
205 uint8_t bl1_2_hash[PSA_HASH_LENGTH(PSA_ALG_SHA_256)]; in main()
206 uint8_t boot_state[PSA_HASH_LENGTH(PSA_ALG_SHA_256)]; in main()
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/src/
Dcc3xx_psa_asymmetric_signature.c260 size_t hash_bytes = PSA_HASH_LENGTH(PSA_ALG_SIGN_GET_HASH(alg)); in cc3xx_internal_rsa_verify()
339 2 * PSA_HASH_LENGTH(PSA_ALG_SIGN_GET_HASH(alg))) { in cc3xx_internal_rsa_sign()
390 size_t hash_len = PSA_HASH_LENGTH(PSA_ALG_SIGN_GET_HASH(alg)); in cc3xx_internal_rsa_sign()
429 input_length != PSA_HASH_LENGTH(PSA_ALG_SIGN_GET_HASH(alg))) { in cc3xx_sign_hash()
462 hash_length != PSA_HASH_LENGTH(PSA_ALG_SIGN_GET_HASH(alg))) { in cc3xx_verify_hash()
Dcc3xx_psa_mac.c260 size_t hash_size = PSA_HASH_LENGTH(hash_alg); in hmac_setup()
/trusted-firmware-m-3.6.0/secure_fw/partitions/initial_attestation/
Dattest_asymmetric_key.c39 static uint8_t attestation_key_id[PSA_HASH_LENGTH(PSA_ALG_SHA_256)];
331 buffer_for_attest_key_id.len = PSA_HASH_LENGTH(PSA_ALG_SHA_256); in attest_get_initial_attestation_key_id()
Dattest_symmetric_key.c29 static uint8_t instance_id_buf[PSA_HASH_LENGTH(INSTANCE_ID_HASH_ALG) + 1];
/trusted-firmware-m-3.6.0/interface/include/psa/
Dcrypto_sizes.h53 #define PSA_HASH_LENGTH(alg) \ macro
327 PSA_ALG_IS_HMAC(alg) ? PSA_HASH_LENGTH(PSA_ALG_HMAC_GET_HASH(alg)) : \
604 2u * PSA_HASH_LENGTH(PSA_ALG_RSA_OAEP_GET_HASH(alg)) + 1u : \