Home
last modified time | relevance | path

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

/third_party/mbedtls/programs/psa/
Dhmac_demo.c109 uint8_t out[PSA_MAC_MAX_SIZE]; // safe but not optimal in hmac_demo()
/third_party/mbedtls/library/
Dssl_tls13_keys.c349 unsigned char tmp_secret[PSA_MAC_MAX_SIZE] = { 0 }; in mbedtls_ssl_tls13_evolve_secret()
704 unsigned char finished_key[PSA_MAC_MAX_SIZE]; in ssl_tls13_calc_finished_core()
836 unsigned char binder_key[PSA_MAC_MAX_SIZE]; in mbedtls_ssl_tls13_create_psk_binder()
837 unsigned char early_secret[PSA_MAC_MAX_SIZE]; in mbedtls_ssl_tls13_create_psk_binder()
Dpsa_crypto_mac.c439 uint8_t actual_mac[PSA_MAC_MAX_SIZE]; in mbedtls_psa_mac_verify_finish()
Dpsa_crypto.c2408 if (*mac_size > PSA_MAC_MAX_SIZE) { in psa_mac_finalize_alg_and_key_validation()
2687 uint8_t actual_mac[PSA_MAC_MAX_SIZE]; in psa_mac_verify()
/third_party/mbedtls/include/psa/
Dcrypto_sizes.h144 #define PSA_MAC_MAX_SIZE PSA_HASH_MAX_SIZE macro
/third_party/mbedtls/tests/suites/
Dtest_suite_psa_crypto_op_fail.function82 uint8_t output[PSA_MAC_MAX_SIZE] = { 0 };
Dtest_suite_psa_crypto_driver_wrappers.function1805 TEST_ASSERT(mac_buffer_size <= PSA_MAC_MAX_SIZE);
1880 TEST_ASSERT(mac_buffer_size <= PSA_MAC_MAX_SIZE);
1992 TEST_ASSERT(expected_mac->len <= PSA_MAC_MAX_SIZE);
2048 TEST_ASSERT(expected_mac->len <= PSA_MAC_MAX_SIZE);
Dtest_suite_psa_crypto_metadata.function308 TEST_ASSERT(length <= PSA_MAC_MAX_SIZE);
Dtest_suite_psa_crypto.function617 unsigned char mac[PSA_MAC_MAX_SIZE];
680 PSA_MAC_MAX_SIZE, &mac_len));
1282 TEST_LE_U(PSA_MAC_MAX_SIZE, 1 + max_truncated_mac_size);
1816 unsigned char mac[PSA_MAC_MAX_SIZE];
1838 mac, PSA_MAC_MAX_SIZE, &mac_len),
1847 TEST_EQUAL(psa_mac_sign_finish(&operation, mac, PSA_MAC_MAX_SIZE,
3169 uint8_t sign_mac[PSA_MAC_MAX_SIZE + 10] = { 0 };
3347 TEST_LE_U(mac_buffer_size, PSA_MAC_MAX_SIZE);
3423 TEST_LE_U(expected_mac->len, PSA_MAC_MAX_SIZE);
/third_party/mbedtls/tests/src/
Dpsa_exercise_key.c119 unsigned char mac[PSA_MAC_MAX_SIZE] = { 0 }; in exercise_mac_key()