Lines Matching refs:add_data

67                     const unsigned char *add_data,  in mbedtls_ct_hmac()  argument
131 PSA_CHK(psa_hash_update(&operation, add_data, add_data_len)); in mbedtls_ct_hmac()
187 const unsigned char *add_data, in mbedtls_ct_hmac() argument
235 MD_CHK(mbedtls_md_update(ctx, add_data, add_data_len)); in mbedtls_ct_hmac()
667 static void ssl_extract_add_data_from_record(unsigned char *add_data, in ssl_extract_add_data_from_record() argument
763 unsigned char *cur = add_data; in ssl_extract_add_data_from_record()
852 *add_data_len = (size_t) (cur - add_data); in ssl_extract_add_data_from_record()
915 unsigned char add_data[23 + MBEDTLS_SSL_CID_OUT_LEN_MAX]; in mbedtls_ssl_encrypt_buf() local
917 unsigned char add_data[13]; in mbedtls_ssl_encrypt_buf() local
1050 ssl_extract_add_data_from_record(add_data, &add_data_len, rec, in mbedtls_ssl_encrypt_buf()
1061 status = psa_mac_update(&operation, add_data, add_data_len); in mbedtls_ssl_encrypt_buf()
1077 ret = mbedtls_md_hmac_update(&transform->md_ctx_enc, add_data, in mbedtls_ssl_encrypt_buf()
1179 ssl_extract_add_data_from_record(add_data, &add_data_len, rec, in mbedtls_ssl_encrypt_buf()
1189 add_data, add_data_len); in mbedtls_ssl_encrypt_buf()
1201 add_data, add_data_len, in mbedtls_ssl_encrypt_buf()
1214 add_data, add_data_len, in mbedtls_ssl_encrypt_buf()
1390 ssl_extract_add_data_from_record(add_data, &add_data_len, in mbedtls_ssl_encrypt_buf()
1395 MBEDTLS_SSL_DEBUG_BUF(4, "MAC'd meta-data", add_data, in mbedtls_ssl_encrypt_buf()
1404 status = psa_mac_update(&operation, add_data, add_data_len); in mbedtls_ssl_encrypt_buf()
1421 ret = mbedtls_md_hmac_update(&transform->md_ctx_enc, add_data, in mbedtls_ssl_encrypt_buf()
1500 unsigned char add_data[23 + MBEDTLS_SSL_CID_IN_LEN_MAX]; in mbedtls_ssl_decrypt_buf() local
1502 unsigned char add_data[13]; in mbedtls_ssl_decrypt_buf() local
1605 ssl_extract_add_data_from_record(add_data, &add_data_len, rec, in mbedtls_ssl_decrypt_buf()
1609 add_data, add_data_len); in mbedtls_ssl_decrypt_buf()
1628 add_data, add_data_len, in mbedtls_ssl_decrypt_buf()
1642 add_data, add_data_len, in mbedtls_ssl_decrypt_buf()
1740 ssl_extract_add_data_from_record(add_data, &add_data_len, rec, in mbedtls_ssl_decrypt_buf()
1745 MBEDTLS_SSL_DEBUG_BUF(4, "MAC'd meta-data", add_data, in mbedtls_ssl_decrypt_buf()
1754 status = psa_mac_update(&operation, add_data, add_data_len); in mbedtls_ssl_decrypt_buf()
1771 ret = mbedtls_md_hmac_update(&transform->md_ctx_dec, add_data, in mbedtls_ssl_decrypt_buf()
2023 ssl_extract_add_data_from_record(add_data, &add_data_len, rec, in mbedtls_ssl_decrypt_buf()
2044 add_data, add_data_len, in mbedtls_ssl_decrypt_buf()
2049 add_data, add_data_len, in mbedtls_ssl_decrypt_buf()