Lines Matching refs:add_data

66                     const unsigned char *add_data,  in mbedtls_ct_hmac()  argument
130 PSA_CHK(psa_hash_update(&operation, add_data, add_data_len)); in mbedtls_ct_hmac()
186 const unsigned char *add_data, in mbedtls_ct_hmac() argument
234 MD_CHK(mbedtls_md_update(ctx, add_data, add_data_len)); in mbedtls_ct_hmac()
666 static void ssl_extract_add_data_from_record(unsigned char *add_data, in ssl_extract_add_data_from_record() argument
762 unsigned char *cur = add_data; in ssl_extract_add_data_from_record()
851 *add_data_len = (size_t) (cur - add_data); in ssl_extract_add_data_from_record()
914 unsigned char add_data[23 + MBEDTLS_SSL_CID_OUT_LEN_MAX]; in mbedtls_ssl_encrypt_buf() local
916 unsigned char add_data[13]; in mbedtls_ssl_encrypt_buf() local
1049 ssl_extract_add_data_from_record(add_data, &add_data_len, rec, in mbedtls_ssl_encrypt_buf()
1060 status = psa_mac_update(&operation, add_data, add_data_len); in mbedtls_ssl_encrypt_buf()
1076 ret = mbedtls_md_hmac_update(&transform->md_ctx_enc, add_data, in mbedtls_ssl_encrypt_buf()
1178 ssl_extract_add_data_from_record(add_data, &add_data_len, rec, in mbedtls_ssl_encrypt_buf()
1188 add_data, add_data_len); in mbedtls_ssl_encrypt_buf()
1200 add_data, add_data_len, in mbedtls_ssl_encrypt_buf()
1213 add_data, add_data_len, in mbedtls_ssl_encrypt_buf()
1389 ssl_extract_add_data_from_record(add_data, &add_data_len, in mbedtls_ssl_encrypt_buf()
1394 MBEDTLS_SSL_DEBUG_BUF(4, "MAC'd meta-data", add_data, in mbedtls_ssl_encrypt_buf()
1403 status = psa_mac_update(&operation, add_data, add_data_len); in mbedtls_ssl_encrypt_buf()
1420 ret = mbedtls_md_hmac_update(&transform->md_ctx_enc, add_data, in mbedtls_ssl_encrypt_buf()
1499 unsigned char add_data[23 + MBEDTLS_SSL_CID_IN_LEN_MAX]; in mbedtls_ssl_decrypt_buf() local
1501 unsigned char add_data[13]; in mbedtls_ssl_decrypt_buf() local
1604 ssl_extract_add_data_from_record(add_data, &add_data_len, rec, in mbedtls_ssl_decrypt_buf()
1608 add_data, add_data_len); in mbedtls_ssl_decrypt_buf()
1627 add_data, add_data_len, in mbedtls_ssl_decrypt_buf()
1641 add_data, add_data_len, in mbedtls_ssl_decrypt_buf()
1739 ssl_extract_add_data_from_record(add_data, &add_data_len, rec, in mbedtls_ssl_decrypt_buf()
1744 MBEDTLS_SSL_DEBUG_BUF(4, "MAC'd meta-data", add_data, in mbedtls_ssl_decrypt_buf()
1753 status = psa_mac_update(&operation, add_data, add_data_len); in mbedtls_ssl_decrypt_buf()
1770 ret = mbedtls_md_hmac_update(&transform->md_ctx_dec, add_data, in mbedtls_ssl_decrypt_buf()
2022 ssl_extract_add_data_from_record(add_data, &add_data_len, rec, in mbedtls_ssl_decrypt_buf()
2043 add_data, add_data_len, in mbedtls_ssl_decrypt_buf()
2048 add_data, add_data_len, in mbedtls_ssl_decrypt_buf()