Home
last modified time | relevance | path

Searched refs:PSA_MAC_MAX_SIZE (Results 1 – 10 of 10) sorted by relevance

/mbedtls-3.4.0/programs/psa/
Dhmac_demo.c108 uint8_t out[PSA_MAC_MAX_SIZE]; // safe but not optimal in hmac_demo()
/mbedtls-3.4.0/library/
Dssl_tls13_keys.c344 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()
Dpsa_crypto_mac.c438 uint8_t actual_mac[PSA_MAC_MAX_SIZE]; in mbedtls_psa_mac_verify_finish()
Dpsa_crypto.c2336 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/
Dcrypto_sizes.h144 #define PSA_MAC_MAX_SIZE PSA_HASH_MAX_SIZE macro
/mbedtls-3.4.0/tests/suites/
Dtest_suite_psa_crypto_op_fail.function83 uint8_t output[PSA_MAC_MAX_SIZE] = {0};
Dtest_suite_psa_crypto_driver_wrappers.function1425 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 );
Dtest_suite_psa_crypto.function642 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 );
Dtest_suite_psa_crypto_metadata.function308 TEST_ASSERT( length <= PSA_MAC_MAX_SIZE );
/mbedtls-3.4.0/tests/src/
Dpsa_exercise_key.c123 unsigned char mac[PSA_MAC_MAX_SIZE] = {0}; in exercise_mac_key()