Home
last modified time | relevance | path

Searched refs:PSA_HASH_MAX_SIZE (Results 1 – 23 of 23) sorted by relevance

/mbedtls-3.4.0/library/
Dhash_info.h44 MBEDTLS_MD_MAX_SIZE >= PSA_HASH_MAX_SIZE )
48 PSA_HASH_MAX_SIZE >= MBEDTLS_MD_MAX_SIZE )
49 #define MBEDTLS_HASH_MAX_SIZE PSA_HASH_MAX_SIZE
Dpkcs5.c329 unsigned char md1[PSA_HASH_MAX_SIZE]; in mbedtls_pkcs5_pbkdf2_hmac_ext()
330 unsigned char work[PSA_HASH_MAX_SIZE]; in mbedtls_pkcs5_pbkdf2_hmac_ext()
416 mbedtls_platform_zeroize( work, PSA_HASH_MAX_SIZE ); in mbedtls_pkcs5_pbkdf2_hmac_ext()
417 mbedtls_platform_zeroize( md1, PSA_HASH_MAX_SIZE ); in mbedtls_pkcs5_pbkdf2_hmac_ext()
Dconstant_time.c483 unsigned char aux_out[PSA_HASH_MAX_SIZE]; in mbedtls_ct_hmac()
529 PSA_HASH_MAX_SIZE, &hash_length ) ); in mbedtls_ct_hmac()
557 mbedtls_platform_zeroize( aux_out, PSA_HASH_MAX_SIZE ); in mbedtls_ct_hmac()
Dssl_tls13_generic.c175 unsigned char verify_hash[PSA_HASH_MAX_SIZE]; in ssl_tls13_parse_certificate_verify()
1032 unsigned char verify_hash[PSA_HASH_MAX_SIZE]; in ssl_tls13_write_certificate_verify_body()
1424 unsigned char hash_transcript[PSA_HASH_MAX_SIZE + 4]; in mbedtls_ssl_reset_transcript_for_hrr()
1434 PSA_HASH_MAX_SIZE, in mbedtls_ssl_reset_transcript_for_hrr()
Dssl_tls13_keys.h84 PSA_HASH_MAX_SIZE
Dpsa_crypto_mac.c120 uint8_t tmp[PSA_HASH_MAX_SIZE]; in psa_hmac_finish_internal()
Dssl_tls13_server.c316 unsigned char transcript[PSA_HASH_MAX_SIZE]; in ssl_tls13_offered_psks_check_binder_match()
320 unsigned char server_computed_binder[PSA_HASH_MAX_SIZE]; in ssl_tls13_offered_psks_check_binder_match()
Dpsa_crypto.c2194 uint8_t actual_hash[PSA_HASH_MAX_SIZE]; in psa_hash_verify()
2238 uint8_t actual_hash[PSA_HASH_MAX_SIZE]; in psa_hash_compare()
2827 uint8_t hash[PSA_HASH_MAX_SIZE]; in psa_sign_message_builtin()
2874 uint8_t hash[PSA_HASH_MAX_SIZE]; in psa_verify_message_builtin()
Dssl_tls13_keys.c299 unsigned char hashed_context[ PSA_HASH_MAX_SIZE ]; in mbedtls_ssl_tls13_derive_secret()
Dssl_tls.c8586 if( ( status = psa_hash_finish( &hash_operation, hash, PSA_HASH_MAX_SIZE, in mbedtls_ssl_get_key_exchange_md_tls1_2()
/mbedtls-3.4.0/include/psa/
Dcrypto_struct.h191 #if PSA_HASH_MAX_SIZE > 0xff
198 uint8_t MBEDTLS_PRIVATE(output_block)[PSA_HASH_MAX_SIZE];
199 uint8_t MBEDTLS_PRIVATE(prk)[PSA_HASH_MAX_SIZE];
226 #if PSA_HASH_MAX_SIZE > 0xff
250 uint8_t MBEDTLS_PRIVATE(Ai)[PSA_HASH_MAX_SIZE];
253 uint8_t MBEDTLS_PRIVATE(output_block)[PSA_HASH_MAX_SIZE];
Dcrypto_sizes.h125 #define PSA_HASH_MAX_SIZE 64 macro
128 #define PSA_HASH_MAX_SIZE 32 macro
144 #define PSA_MAC_MAX_SIZE PSA_HASH_MAX_SIZE
/mbedtls-3.4.0/tests/suites/
Dtest_suite_psa_crypto_hash.function16 unsigned char actual_hash[PSA_HASH_MAX_SIZE];
63 unsigned char actual_hash[PSA_HASH_MAX_SIZE];
Dtest_suite_x509write.function39 unsigned char hash[PSA_HASH_MAX_SIZE];
54 hash, PSA_HASH_MAX_SIZE, &hash_size );
Dtest_suite_psa_crypto_op_fail.function52 uint8_t output[PSA_HASH_MAX_SIZE] = {0};
Dtest_suite_pk.function1325 unsigned char hash[PSA_HASH_MAX_SIZE];
1369 unsigned char hash[PSA_HASH_MAX_SIZE];
Dtest_suite_psa_crypto_metadata.function290 TEST_ASSERT( length <= PSA_HASH_MAX_SIZE );
Dtest_suite_psa_crypto.function2227 unsigned char payload[PSA_HASH_MAX_SIZE] = {1};
2794 uint8_t output[PSA_HASH_MAX_SIZE + 1];
3041 unsigned char hash[PSA_HASH_MAX_SIZE];
3063 unsigned char hash[PSA_HASH_MAX_SIZE];
3108 unsigned char hash[PSA_HASH_MAX_SIZE];
Dtest_suite_ssl.function4041 unsigned char mac[PSA_HASH_MAX_SIZE];
/mbedtls-3.4.0/tests/src/drivers/
Dtest_driver_signature.c219 uint8_t hash[PSA_HASH_MAX_SIZE]; in mbedtls_test_transparent_signature_sign_message()
296 uint8_t hash[PSA_HASH_MAX_SIZE]; in mbedtls_test_transparent_signature_verify_message()
/mbedtls-3.4.0/tests/src/
Dpsa_exercise_key.c313 unsigned char payload[PSA_HASH_MAX_SIZE] = {1}; in exercise_signature_key()
/mbedtls-3.4.0/include/mbedtls/
Dssl.h640 #define MBEDTLS_TLS1_3_MD_MAX_SIZE PSA_HASH_MAX_SIZE
/mbedtls-3.4.0/docs/
Dgetting_started.md398 unsigned char actual_hash[PSA_HASH_MAX_SIZE];