Home
last modified time | relevance | path

Searched refs:add_data (Results 1 – 4 of 4) sorted by relevance

/openthread-3.5.0/third_party/mbedtls/repo/library/
Dconstant_time_internal.h280 const unsigned char *add_data,
Dssl_msg.c407 static void ssl_extract_add_data_from_record( unsigned char* add_data, in ssl_extract_add_data_from_record() argument
431 unsigned char *cur = add_data; in ssl_extract_add_data_from_record()
467 *add_data_len = cur - add_data; in ssl_extract_add_data_from_record()
601 unsigned char add_data[13 + 1 + MBEDTLS_SSL_CID_OUT_LEN_MAX ]; in mbedtls_ssl_encrypt_buf() local
763 ssl_extract_add_data_from_record( add_data, &add_data_len, rec, in mbedtls_ssl_encrypt_buf()
767 add_data, add_data_len ); in mbedtls_ssl_encrypt_buf()
883 ssl_extract_add_data_from_record( add_data, &add_data_len, rec, in mbedtls_ssl_encrypt_buf()
892 add_data, add_data_len ); in mbedtls_ssl_encrypt_buf()
903 add_data, add_data_len, in mbedtls_ssl_encrypt_buf()
1055 ssl_extract_add_data_from_record( add_data, &add_data_len, in mbedtls_ssl_encrypt_buf()
[all …]
Dconstant_time.c441 const unsigned char *add_data, in mbedtls_ct_hmac() argument
489 MD_CHK( mbedtls_md_update( ctx, add_data, add_data_len ) ); in mbedtls_ct_hmac()
/openthread-3.5.0/third_party/mbedtls/repo/tests/suites/
Dtest_suite_ssl.function3500 unsigned char add_data[13];
3564 memcpy( add_data, rec.ctr, 8 );
3565 add_data[8] = rec.type;
3566 add_data[9] = rec.ver[0];
3567 add_data[10] = rec.ver[1];
3568 add_data[11] = ( rec.data_len >> 8 ) & 0xff;
3569 add_data[12] = ( rec.data_len >> 0 ) & 0xff;
3580 TEST_EQUAL( 0, mbedtls_md_hmac_update( &t0.md_ctx_enc, add_data, 13 ) );
4439 unsigned char add_data[13];
4482 /* Set up dummy data and add_data */
[all …]