Searched refs:PSA_HASH_LENGTH (Results 1 – 6 of 6) sorted by relevance
57 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()
260 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()
260 size_t hash_size = PSA_HASH_LENGTH(hash_alg); in hmac_setup()
39 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()
29 static uint8_t instance_id_buf[PSA_HASH_LENGTH(INSTANCE_ID_HASH_ALG) + 1];
53 #define PSA_HASH_LENGTH(alg) \ macro327 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 : \