Searched refs:maclen (Results 1 – 6 of 6) sorted by relevance
/openthread-3.5.0/third_party/mbedtls/repo/programs/ssl/ |
D | ssl_test_common_source.c | 31 size_t maclen, in eap_tls_key_derivation() argument 48 mbedtls_printf("exported maclen is %u\n", (unsigned)maclen); in eap_tls_key_derivation() 58 size_t maclen, in nss_keylog_export() argument 74 ((void) maclen); in nss_keylog_export() 135 size_t maclen, in dtls_srtp_key_derivation() argument 152 mbedtls_printf( "exported maclen is %u\n", (unsigned) maclen ); in dtls_srtp_key_derivation()
|
/openthread-3.5.0/third_party/mbedtls/repo/library/ |
D | ssl_msg.c | 307 size_t maclen ) = NULL; 732 if( post_avail < transform->maclen ) in mbedtls_ssl_encrypt_buf() 746 memcpy( data + rec->data_len, mac, transform->maclen ); in mbedtls_ssl_encrypt_buf() 747 mbedtls_platform_zeroize( mac, transform->maclen ); in mbedtls_ssl_encrypt_buf() 781 memcpy( data + rec->data_len, mac, transform->maclen ); in mbedtls_ssl_encrypt_buf() 784 mbedtls_platform_zeroize( mac, transform->maclen ); in mbedtls_ssl_encrypt_buf() 799 transform->maclen ); in mbedtls_ssl_encrypt_buf() 801 rec->data_len += transform->maclen; in mbedtls_ssl_encrypt_buf() 802 post_avail -= transform->maclen; in mbedtls_ssl_encrypt_buf() 1049 if( post_avail < transform->maclen) in mbedtls_ssl_encrypt_buf() [all …]
|
D | ssl_tls.c | 1089 transform->maclen = 0; in ssl_populate_transform() 1137 transform->maclen = mac_key_len; in ssl_populate_transform() 1147 transform->maclen = MBEDTLS_SSL_TRUNCATED_HMAC_LEN; in ssl_populate_transform() 1153 mac_key_len = transform->maclen; in ssl_populate_transform() 1163 transform->minlen = transform->maclen; in ssl_populate_transform() 1175 transform->minlen = transform->maclen in ssl_populate_transform() 1181 transform->minlen = transform->maclen in ssl_populate_transform() 1183 - transform->maclen % cipher_info->block_size; in ssl_populate_transform() 1218 (unsigned) transform->maclen ) ); in ssl_populate_transform()
|
/openthread-3.5.0/third_party/mbedtls/repo/tests/suites/ |
D | test_suite_ssl.function | 1193 size_t keylen, maclen, ivlen; 1209 maclen = 0; 1268 maclen = mbedtls_md_get_size( md_info ); 1269 CHK( ( md0 = mbedtls_calloc( 1, maclen ) ) != NULL ); 1270 CHK( ( md1 = mbedtls_calloc( 1, maclen ) ) != NULL ); 1271 memset( md0, 0x5, maclen ); 1272 memset( md1, 0x6, maclen ); 1282 md0, maclen ) == 0 ); 1284 md1, maclen ) == 0 ); 1286 md1, maclen ) == 0 ); [all …]
|
/openthread-3.5.0/third_party/mbedtls/repo/include/mbedtls/ |
D | ssl.h | 1491 size_t maclen); 2060 size_t maclen, 2092 size_t maclen,
|
D | ssl_internal.h | 755 size_t maclen; /*!< MAC(CBC) len */ member 812 return( transform->maclen == 0 && transform->taglen != 0 ); in mbedtls_ssl_transform_uses_aead()
|