Home
last modified time | relevance | path

Searched refs:mki_len (Results 1 – 6 of 6) sorted by relevance

/openthread-2.7.6/third_party/mbedtls/repo/library/
Dssl_cli.c767 uint16_t mki_len = 0, profile_value = 0; in ssl_write_use_srtp_ext() local
789 mki_len = ssl->dtls_srtp_info.mki_len; in ssl_write_use_srtp_ext()
795 ext_len = 2 + 2 * ( ssl->conf->dtls_srtp_profile_list_len ) + 1 + mki_len; in ssl_write_use_srtp_ext()
852 *p++ = mki_len & 0xFF; in ssl_write_use_srtp_ext()
854 if( mki_len != 0 ) in ssl_write_use_srtp_ext()
856 memcpy( p, ssl->dtls_srtp_info.mki_value, mki_len ); in ssl_write_use_srtp_ext()
860 p += mki_len; in ssl_write_use_srtp_ext()
862 ssl->dtls_srtp_info.mki_len ); in ssl_write_use_srtp_ext()
1849 size_t i, mki_len = 0; in ssl_parse_use_srtp_ext() local
1871 mki_len = ssl->dtls_srtp_info.mki_len; in ssl_parse_use_srtp_ext()
[all …]
Dssl_srv.c887 ssl->dtls_srtp_info.mki_len = mki_length; in ssl_parse_use_srtp_ext()
892 ssl->dtls_srtp_info.mki_len ); in ssl_parse_use_srtp_ext()
2638 size_t mki_len = 0, ext_len = 0; in ssl_write_use_srtp_ext() local
2654 mki_len = ssl->dtls_srtp_info.mki_len; in ssl_write_use_srtp_ext()
2665 if( (size_t)( end - buf ) < mki_len + 9 ) in ssl_write_use_srtp_ext()
2678 ext_len = 5 + mki_len; in ssl_write_use_srtp_ext()
2698 buf[8] = mki_len & 0xFF; in ssl_write_use_srtp_ext()
2699 memcpy( &buf[9], ssl->dtls_srtp_info.mki_value, mki_len ); in ssl_write_use_srtp_ext()
2701 *olen = 9 + mki_len; in ssl_write_use_srtp_ext()
Dssl_tls.c4710 uint16_t mki_len ) in mbedtls_ssl_dtls_srtp_set_mki_value() argument
4712 if( mki_len > MBEDTLS_TLS_SRTP_MAX_MKI_LENGTH ) in mbedtls_ssl_dtls_srtp_set_mki_value()
4722 memcpy( ssl->dtls_srtp_info.mki_value, mki_value, mki_len ); in mbedtls_ssl_dtls_srtp_set_mki_value()
4723 ssl->dtls_srtp_info.mki_len = mki_len; in mbedtls_ssl_dtls_srtp_set_mki_value()
4770 dtls_srtp_info->mki_len = 0; in mbedtls_ssl_get_dtls_srtp_negotiation_result()
4774 dtls_srtp_info->mki_len = ssl->dtls_srtp_info.mki_len; in mbedtls_ssl_get_dtls_srtp_negotiation_result()
4776 ssl->dtls_srtp_info.mki_len ); in mbedtls_ssl_get_dtls_srtp_negotiation_result()
/openthread-2.7.6/third_party/mbedtls/repo/include/mbedtls/
Dssl.h891 uint16_t mki_len; member
3264 uint16_t mki_len );
/openthread-2.7.6/third_party/mbedtls/repo/programs/ssl/
Dssl_client2.c1206 size_t mki_len=0; in main() local
2618 opt.mki,&mki_len ) != 0 ) in main()
2806 if ( dtls_srtp_negotiation_result.mki_len > 0 ) in main()
2809 for( j = 0; j < dtls_srtp_negotiation_result.mki_len; j++ ) in main()
Dssl_server2.c3916 if ( dtls_srtp_negotiation_result.mki_len > 0 ) in main()
3919 for( j = 0; j < dtls_srtp_negotiation_result.mki_len; j++ ) in main()