Searched refs:mki_len (Results 1 – 7 of 7) sorted by relevance
/third_party/mbedtls/library/ |
D | ssl_cli.c | 718 uint16_t mki_len = 0, profile_value = 0; in ssl_write_use_srtp_ext() local 740 mki_len = ssl->dtls_srtp_info.mki_len; in ssl_write_use_srtp_ext() 746 ext_len = 2 + 2 * ( ssl->conf->dtls_srtp_profile_list_len ) + 1 + mki_len; in ssl_write_use_srtp_ext() 801 *p++ = mki_len & 0xFF; in ssl_write_use_srtp_ext() 803 if( mki_len != 0 ) in ssl_write_use_srtp_ext() 805 memcpy( p, ssl->dtls_srtp_info.mki_value, mki_len ); in ssl_write_use_srtp_ext() 809 p += mki_len; in ssl_write_use_srtp_ext() 811 ssl->dtls_srtp_info.mki_len ); in ssl_write_use_srtp_ext() 1708 size_t i, mki_len = 0; in ssl_parse_use_srtp_ext() local 1730 mki_len = ssl->dtls_srtp_info.mki_len; in ssl_parse_use_srtp_ext() [all …]
|
D | ssl_srv.c | 866 ssl->dtls_srtp_info.mki_len = mki_length; in ssl_parse_use_srtp_ext() 871 ssl->dtls_srtp_info.mki_len ); in ssl_parse_use_srtp_ext() 2260 size_t mki_len = 0, ext_len = 0; in ssl_write_use_srtp_ext() local 2276 mki_len = ssl->dtls_srtp_info.mki_len; in ssl_write_use_srtp_ext() 2287 if( (size_t)( end - buf ) < mki_len + 9 ) in ssl_write_use_srtp_ext() 2299 ext_len = 5 + mki_len; in ssl_write_use_srtp_ext() 2317 buf[8] = mki_len & 0xFF; in ssl_write_use_srtp_ext() 2318 memcpy( &buf[9], ssl->dtls_srtp_info.mki_value, mki_len ); in ssl_write_use_srtp_ext() 2320 *olen = 9 + mki_len; in ssl_write_use_srtp_ext()
|
D | ssl_tls.c | 4138 uint16_t mki_len ) in mbedtls_ssl_dtls_srtp_set_mki_value() argument 4140 if( mki_len > MBEDTLS_TLS_SRTP_MAX_MKI_LENGTH ) in mbedtls_ssl_dtls_srtp_set_mki_value() 4150 memcpy( ssl->dtls_srtp_info.mki_value, mki_value, mki_len ); in mbedtls_ssl_dtls_srtp_set_mki_value() 4151 ssl->dtls_srtp_info.mki_len = mki_len; in mbedtls_ssl_dtls_srtp_set_mki_value() 4198 dtls_srtp_info->mki_len = 0; in mbedtls_ssl_get_dtls_srtp_negotiation_result() 4202 dtls_srtp_info->mki_len = ssl->dtls_srtp_info.mki_len; in mbedtls_ssl_get_dtls_srtp_negotiation_result() 4204 ssl->dtls_srtp_info.mki_len ); in mbedtls_ssl_get_dtls_srtp_negotiation_result()
|
/third_party/mbedtls/programs/ssl/ |
D | ssl_client2.c | 689 size_t mki_len=0; in main() local 2051 opt.mki,&mki_len ) != 0 ) in main() 2272 if ( dtls_srtp_negotiation_result.mki_len > 0 ) in main() 2275 for( j = 0; j < dtls_srtp_negotiation_result.mki_len; j++ ) in main()
|
D | ssl_server2.c | 3390 if ( dtls_srtp_negotiation_result.mki_len > 0 ) in main() 3393 for( j = 0; j < dtls_srtp_negotiation_result.mki_len; j++ ) in main()
|
/third_party/mbedtls/include/mbedtls/ |
D | ssl.h | 1093 uint16_t MBEDTLS_PRIVATE(mki_len); 3539 uint16_t mki_len );
|
/third_party/openssl/ssl/statem/ |
D | extensions_srvr.c | 464 unsigned int ct, mki_len, id; in tls_parse_ctos_use_srtp() local 511 if (!PACKET_get_1(pkt, &mki_len)) { in tls_parse_ctos_use_srtp() 517 if (!PACKET_forward(pkt, mki_len) in tls_parse_ctos_use_srtp()
|