Searched refs:PSA_MAC_MAX_SIZE (Results 1 – 10 of 10) sorted by relevance
/third_party/mbedtls/programs/psa/ |
D | hmac_demo.c | 109 uint8_t out[PSA_MAC_MAX_SIZE]; // safe but not optimal in hmac_demo()
|
/third_party/mbedtls/library/ |
D | ssl_tls13_keys.c | 349 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()
|
D | psa_crypto_mac.c | 439 uint8_t actual_mac[PSA_MAC_MAX_SIZE]; in mbedtls_psa_mac_verify_finish()
|
D | psa_crypto.c | 2408 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/ |
D | crypto_sizes.h | 144 #define PSA_MAC_MAX_SIZE PSA_HASH_MAX_SIZE macro
|
/third_party/mbedtls/tests/suites/ |
D | test_suite_psa_crypto_op_fail.function | 82 uint8_t output[PSA_MAC_MAX_SIZE] = { 0 };
|
D | test_suite_psa_crypto_driver_wrappers.function | 1805 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);
|
D | test_suite_psa_crypto_metadata.function | 308 TEST_ASSERT(length <= PSA_MAC_MAX_SIZE);
|
D | test_suite_psa_crypto.function | 617 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/ |
D | psa_exercise_key.c | 119 unsigned char mac[PSA_MAC_MAX_SIZE] = { 0 }; in exercise_mac_key()
|