Home
last modified time | relevance | path

Searched refs:PSA_HASH_MAX_SIZE (Results 1 - 15 of 15) sorted by relevance

/third_party/mbedtls/include/psa/
H A Dcrypto_builtin_key_derivation.h33 #if PSA_HASH_MAX_SIZE > 0xff
34 #error "PSA_HASH_MAX_SIZE does not fit in uint8_t"
40 uint8_t MBEDTLS_PRIVATE(output_block)[PSA_HASH_MAX_SIZE];
41 uint8_t MBEDTLS_PRIVATE(prk)[PSA_HASH_MAX_SIZE];
65 #if PSA_HASH_MAX_SIZE > 0xff
66 #error "PSA_HASH_MAX_SIZE does not fit in uint8_t"
89 uint8_t MBEDTLS_PRIVATE(Ai)[PSA_HASH_MAX_SIZE];
92 uint8_t MBEDTLS_PRIVATE(output_block)[PSA_HASH_MAX_SIZE];
112 uint8_t MBEDTLS_PRIVATE(output_block)[PSA_HASH_MAX_SIZE];
H A Dcrypto_sizes.h109 /** \def PSA_HASH_MAX_SIZE
119 /* Note: PSA_HASH_MAX_SIZE should be kept in sync with MBEDTLS_MD_MAX_SIZE,
142 #define PSA_HASH_MAX_SIZE 64u macro
144 #define PSA_HASH_MAX_SIZE 48u macro
146 #define PSA_HASH_MAX_SIZE 32u macro
148 #define PSA_HASH_MAX_SIZE 28u macro
150 #define PSA_HASH_MAX_SIZE 20u macro
161 * minimum possible value of PSA_HASH_MAX_SIZE in this implementation. */
165 #define PSA_MAC_MAX_SIZE PSA_HASH_MAX_SIZE
/third_party/mbedtls/tests/src/drivers/
H A Dtest_driver_signature.c188 uint8_t hash[PSA_HASH_MAX_SIZE]; in mbedtls_test_transparent_signature_sign_message()
267 uint8_t hash[PSA_HASH_MAX_SIZE]; in mbedtls_test_transparent_signature_verify_message()
/third_party/mbedtls/library/
H A Dssl_tls13_keys.h82 PSA_HASH_MAX_SIZE
H A Dssl_tls13_generic.c226 unsigned char verify_hash[PSA_HASH_MAX_SIZE]; in ssl_tls13_parse_certificate_verify()
1056 unsigned char verify_hash[PSA_HASH_MAX_SIZE]; in ssl_tls13_write_certificate_verify_body()
1521 unsigned char hash_transcript[PSA_HASH_MAX_SIZE + 4]; in mbedtls_ssl_reset_transcript_for_hrr()
1530 PSA_HASH_MAX_SIZE, in mbedtls_ssl_reset_transcript_for_hrr()
H A Dpsa_crypto_mac.c116 uint8_t tmp[PSA_HASH_MAX_SIZE]; in psa_hmac_finish_internal()
H A Dmd.c63 #if defined(MBEDTLS_PSA_CRYPTO_C) && MBEDTLS_MD_MAX_SIZE < PSA_HASH_MAX_SIZE
64 #error "Internal error: MBEDTLS_MD_MAX_SIZE < PSA_HASH_MAX_SIZE"
H A Dssl_tls13_server.c411 unsigned char transcript[PSA_HASH_MAX_SIZE]; in ssl_tls13_offered_psks_check_binder_match()
415 unsigned char server_computed_binder[PSA_HASH_MAX_SIZE]; in ssl_tls13_offered_psks_check_binder_match()
H A Dssl_msg.c96 unsigned char aux_out[PSA_HASH_MAX_SIZE]; in mbedtls_ct_hmac()
143 PSA_HASH_MAX_SIZE, &hash_length)); in mbedtls_ct_hmac()
174 mbedtls_platform_zeroize(aux_out, PSA_HASH_MAX_SIZE); in mbedtls_ct_hmac()
H A Dssl_tls13_keys.c304 unsigned char hashed_context[PSA_HASH_MAX_SIZE]; in mbedtls_ssl_tls13_derive_secret()
H A Dpsa_crypto.c2393 uint8_t actual_hash[PSA_HASH_MAX_SIZE]; in psa_hash_verify()
2457 uint8_t actual_hash[PSA_HASH_MAX_SIZE]; in psa_hash_compare()
3063 uint8_t hash[PSA_HASH_MAX_SIZE]; in psa_sign_message_builtin()
3122 uint8_t hash[PSA_HASH_MAX_SIZE]; in psa_verify_message_builtin()
H A Dssl_tls.c9356 if ((status = psa_hash_finish(&hash_operation, hash, PSA_HASH_MAX_SIZE, in mbedtls_ssl_get_key_exchange_md_tls1_2()
/third_party/mbedtls/include/mbedtls/
H A Dssl.h690 #define MBEDTLS_TLS1_3_MD_MAX_SIZE PSA_HASH_MAX_SIZE
/third_party/mbedtls/tests/src/
H A Dpsa_exercise_key.c359 unsigned char payload[PSA_HASH_MAX_SIZE] = { 1 }; in exercise_signature_key()
/third_party/mbedtls/tests/src/test_helpers/
H A Dssl_helpers.c1642 unsigned char mac[PSA_HASH_MAX_SIZE]; in mbedtls_test_ssl_prepare_record_mac()

Completed in 55 milliseconds