Home
last modified time | relevance | path

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

/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/src/
Dcc3xx_psa_asymmetric_signature.c263 size_t hash_bytes = PSA_HASH_LENGTH(PSA_ALG_SIGN_GET_HASH(alg)); in cc3xx_internal_rsa_verify()
342 2 * PSA_HASH_LENGTH(PSA_ALG_SIGN_GET_HASH(alg))) { in cc3xx_internal_rsa_sign()
393 size_t hash_len = PSA_HASH_LENGTH(PSA_ALG_SIGN_GET_HASH(alg)); in cc3xx_internal_rsa_sign()
432 input_length != PSA_HASH_LENGTH(PSA_ALG_SIGN_GET_HASH(alg))) { in cc3xx_sign_hash()
465 hash_length != PSA_HASH_LENGTH(PSA_ALG_SIGN_GET_HASH(alg))) { in cc3xx_verify_hash()
Dcc3xx_psa_mac.c261 size_t hash_size = PSA_HASH_LENGTH(hash_alg); in hmac_setup()
/trusted-firmware-m-3.4.0/interface/include/psa/
Dcrypto_sizes.h51 #define PSA_HASH_LENGTH(alg) \ macro
272 PSA_ALG_IS_HMAC(alg) ? PSA_HASH_LENGTH(PSA_ALG_HMAC_GET_HASH(alg)) : \
549 2 * PSA_HASH_LENGTH(PSA_ALG_RSA_OAEP_GET_HASH(alg)) + 1 : \
/trusted-firmware-m-3.4.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.c28 static uint8_t instance_id_buf[PSA_HASH_LENGTH(INSTANCE_ID_HASH_ALG) + 1];
/trusted-firmware-m-3.4.0/platform/ext/target/arm/rss/common/cpak_generator/
Dcpak_generator.c62 uint8_t state_hash[PSA_HASH_LENGTH(PSA_ALG_SHA_256)]; in generate_seed()