Searched refs:PSA_MAC_MAX_SIZE (Results 1 – 10 of 10) sorted by relevance
/mbedtls-3.4.0/programs/psa/ |
D | hmac_demo.c | 108 uint8_t out[PSA_MAC_MAX_SIZE]; // safe but not optimal in hmac_demo()
|
/mbedtls-3.4.0/library/ |
D | ssl_tls13_keys.c | 344 unsigned char tmp_secret[ PSA_MAC_MAX_SIZE ] = { 0 }; in mbedtls_ssl_tls13_evolve_secret() 669 unsigned char finished_key[PSA_MAC_MAX_SIZE]; in ssl_tls13_calc_finished_core() 803 unsigned char binder_key[PSA_MAC_MAX_SIZE]; in mbedtls_ssl_tls13_create_psk_binder() 804 unsigned char early_secret[PSA_MAC_MAX_SIZE]; in mbedtls_ssl_tls13_create_psk_binder()
|
D | psa_crypto_mac.c | 438 uint8_t actual_mac[PSA_MAC_MAX_SIZE]; in mbedtls_psa_mac_verify_finish()
|
D | psa_crypto.c | 2336 if( *mac_size > PSA_MAC_MAX_SIZE ) in psa_mac_finalize_alg_and_key_validation() 2627 uint8_t actual_mac[PSA_MAC_MAX_SIZE]; in psa_mac_verify()
|
/mbedtls-3.4.0/include/psa/ |
D | crypto_sizes.h | 144 #define PSA_MAC_MAX_SIZE PSA_HASH_MAX_SIZE macro
|
/mbedtls-3.4.0/tests/suites/ |
D | test_suite_psa_crypto_op_fail.function | 83 uint8_t output[PSA_MAC_MAX_SIZE] = {0};
|
D | test_suite_psa_crypto_driver_wrappers.function | 1425 TEST_ASSERT( mac_buffer_size <= PSA_MAC_MAX_SIZE ); 1502 TEST_ASSERT( mac_buffer_size <= PSA_MAC_MAX_SIZE ); 1616 TEST_ASSERT( expected_mac->len <= PSA_MAC_MAX_SIZE ); 1673 TEST_ASSERT( expected_mac->len <= PSA_MAC_MAX_SIZE );
|
D | test_suite_psa_crypto.function | 642 unsigned char mac[PSA_MAC_MAX_SIZE]; 715 PSA_MAC_MAX_SIZE, &mac_len ) ); 1356 TEST_LE_U( PSA_MAC_MAX_SIZE, 1 + max_truncated_mac_size ); 1881 unsigned char mac[PSA_MAC_MAX_SIZE]; 1903 mac, PSA_MAC_MAX_SIZE, &mac_len ), 1913 TEST_EQUAL( psa_mac_sign_finish( &operation, mac, PSA_MAC_MAX_SIZE, 3228 uint8_t sign_mac[PSA_MAC_MAX_SIZE + 10] = { 0 }; 3404 TEST_LE_U( mac_buffer_size, PSA_MAC_MAX_SIZE ); 3482 TEST_LE_U( expected_mac->len, PSA_MAC_MAX_SIZE );
|
D | test_suite_psa_crypto_metadata.function | 308 TEST_ASSERT( length <= PSA_MAC_MAX_SIZE );
|
/mbedtls-3.4.0/tests/src/ |
D | psa_exercise_key.c | 123 unsigned char mac[PSA_MAC_MAX_SIZE] = {0}; in exercise_mac_key()
|