Searched refs:mki_len (Results 1 – 6 of 6) sorted by relevance
/openthread-3.4.0/third_party/mbedtls/repo/library/ |
D | ssl_cli.c | 758 uint16_t mki_len = 0, profile_value = 0; in ssl_write_use_srtp_ext() local 780 mki_len = ssl->dtls_srtp_info.mki_len; in ssl_write_use_srtp_ext() 786 ext_len = 2 + 2 * ( ssl->conf->dtls_srtp_profile_list_len ) + 1 + mki_len; in ssl_write_use_srtp_ext() 841 *p++ = mki_len & 0xFF; in ssl_write_use_srtp_ext() 843 if( mki_len != 0 ) in ssl_write_use_srtp_ext() 845 memcpy( p, ssl->dtls_srtp_info.mki_value, mki_len ); in ssl_write_use_srtp_ext() 849 p += mki_len; in ssl_write_use_srtp_ext() 851 ssl->dtls_srtp_info.mki_len ); in ssl_write_use_srtp_ext() 1836 size_t i, mki_len = 0; in ssl_parse_use_srtp_ext() local 1858 mki_len = ssl->dtls_srtp_info.mki_len; in ssl_parse_use_srtp_ext() [all …]
|
D | ssl_srv.c | 889 ssl->dtls_srtp_info.mki_len = mki_length; in ssl_parse_use_srtp_ext() 894 ssl->dtls_srtp_info.mki_len ); in ssl_parse_use_srtp_ext() 2623 size_t mki_len = 0, ext_len = 0; in ssl_write_use_srtp_ext() local 2639 mki_len = ssl->dtls_srtp_info.mki_len; in ssl_write_use_srtp_ext() 2650 if( (size_t)( end - buf ) < mki_len + 9 ) in ssl_write_use_srtp_ext() 2662 ext_len = 5 + mki_len; in ssl_write_use_srtp_ext() 2680 buf[8] = mki_len & 0xFF; in ssl_write_use_srtp_ext() 2681 memcpy( &buf[9], ssl->dtls_srtp_info.mki_value, mki_len ); in ssl_write_use_srtp_ext() 2683 *olen = 9 + mki_len; in ssl_write_use_srtp_ext()
|
D | ssl_tls.c | 4795 uint16_t mki_len ) in mbedtls_ssl_dtls_srtp_set_mki_value() argument 4797 if( mki_len > MBEDTLS_TLS_SRTP_MAX_MKI_LENGTH ) in mbedtls_ssl_dtls_srtp_set_mki_value() 4807 memcpy( ssl->dtls_srtp_info.mki_value, mki_value, mki_len ); in mbedtls_ssl_dtls_srtp_set_mki_value() 4808 ssl->dtls_srtp_info.mki_len = mki_len; in mbedtls_ssl_dtls_srtp_set_mki_value() 4855 dtls_srtp_info->mki_len = 0; in mbedtls_ssl_get_dtls_srtp_negotiation_result() 4859 dtls_srtp_info->mki_len = ssl->dtls_srtp_info.mki_len; in mbedtls_ssl_get_dtls_srtp_negotiation_result() 4861 ssl->dtls_srtp_info.mki_len ); in mbedtls_ssl_get_dtls_srtp_negotiation_result()
|
/openthread-3.4.0/third_party/mbedtls/repo/include/mbedtls/ |
D | ssl.h | 956 uint16_t mki_len; member 3339 uint16_t mki_len );
|
/openthread-3.4.0/third_party/mbedtls/repo/programs/ssl/ |
D | ssl_client2.c | 678 size_t mki_len=0; in main() local 2074 opt.mki,&mki_len ) != 0 ) in main() 2262 if ( dtls_srtp_negotiation_result.mki_len > 0 ) in main() 2265 for( j = 0; j < dtls_srtp_negotiation_result.mki_len; j++ ) in main()
|
D | ssl_server2.c | 3373 if ( dtls_srtp_negotiation_result.mki_len > 0 ) in main() 3376 for( j = 0; j < dtls_srtp_negotiation_result.mki_len; j++ ) in main()
|