Searched refs:PSA_HASH_LENGTH (Results 1 – 6 of 6) sorted by relevance
263 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()
261 size_t hash_size = PSA_HASH_LENGTH(hash_alg); in hmac_setup()
51 #define PSA_HASH_LENGTH(alg) \ macro272 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 : \
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()
28 static uint8_t instance_id_buf[PSA_HASH_LENGTH(INSTANCE_ID_HASH_ALG) + 1];
62 uint8_t state_hash[PSA_HASH_LENGTH(PSA_ALG_SHA_256)]; in generate_seed()