Home
last modified time | relevance | path

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

/openthread-latest/third_party/mbedtls/repo/programs/psa/
Dhmac_demo.c97 uint8_t out[PSA_MAC_MAX_SIZE]; // safe but not optimal in hmac_demo()
/openthread-latest/third_party/mbedtls/repo/tests/suites/
Dtest_suite_psa_crypto_hash.function59 uint8_t mac[PSA_MAC_MAX_SIZE + 10] = { 0 };
Dtest_suite_psa_crypto_op_fail.function82 uint8_t output[PSA_MAC_MAX_SIZE] = { 0 };
Dtest_suite_psa_crypto_driver_wrappers.function1801 TEST_ASSERT(mac_buffer_size <= PSA_MAC_MAX_SIZE);
1876 TEST_ASSERT(mac_buffer_size <= PSA_MAC_MAX_SIZE);
1988 TEST_ASSERT(expected_mac->len <= PSA_MAC_MAX_SIZE);
2044 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.function624 unsigned char mac[PSA_MAC_MAX_SIZE];
687 PSA_MAC_MAX_SIZE, &mac_len));
1547 TEST_LE_U(PSA_MAC_MAX_SIZE, 1 + max_truncated_mac_size);
2178 unsigned char mac[PSA_MAC_MAX_SIZE];
2200 mac, PSA_MAC_MAX_SIZE, &mac_len),
2209 TEST_EQUAL(psa_mac_sign_finish(&operation, mac, PSA_MAC_MAX_SIZE,
3537 uint8_t sign_mac[PSA_MAC_MAX_SIZE + 10] = { 0 };
3715 TEST_LE_U(mac_buffer_size, PSA_MAC_MAX_SIZE);
3791 TEST_LE_U(expected_mac->len, PSA_MAC_MAX_SIZE);
/openthread-latest/third_party/mbedtls/repo/library/
Dssl_tls13_keys.c344 unsigned char tmp_secret[PSA_MAC_MAX_SIZE] = { 0 }; in mbedtls_ssl_tls13_evolve_secret()
709 unsigned char finished_key[PSA_MAC_MAX_SIZE]; in ssl_tls13_calc_finished_core()
842 unsigned char binder_key[PSA_MAC_MAX_SIZE]; in mbedtls_ssl_tls13_create_psk_binder()
843 unsigned char early_secret[PSA_MAC_MAX_SIZE]; in mbedtls_ssl_tls13_create_psk_binder()
Dpsa_crypto_mac.c428 uint8_t actual_mac[PSA_MAC_MAX_SIZE]; in mbedtls_psa_mac_verify_finish()
Dpsa_crypto.c2570 if (*mac_size > PSA_MAC_MAX_SIZE) { in psa_mac_finalize_alg_and_key_validation()
2878 uint8_t actual_mac[PSA_MAC_MAX_SIZE]; in psa_mac_verify()
5880 uint8_t U_i[PSA_MAC_MAX_SIZE]; in psa_key_derivation_pbkdf2_generate_block()
5937 mbedtls_platform_zeroize(U_i, PSA_MAC_MAX_SIZE); in psa_key_derivation_pbkdf2_generate_block()
/openthread-latest/third_party/mbedtls/repo/include/psa/
Dcrypto_sizes.h165 #define PSA_MAC_MAX_SIZE PSA_HASH_MAX_SIZE macro
/openthread-latest/third_party/mbedtls/repo/tests/src/
Dpsa_exercise_key.c127 unsigned char mac[PSA_MAC_MAX_SIZE] = { 0 }; in exercise_mac_key()