Home
last modified time | relevance | path

Searched refs:session_keys (Results 1 – 5 of 5) sorted by relevance

/external/libsrtp2/srtp/
Dsrtp.c157 srtp_session_keys_t *session_keys = NULL; in srtp_stream_dealloc() local
165 if (stream->session_keys) { in srtp_stream_dealloc()
167 session_keys = &stream->session_keys[i]; in srtp_stream_dealloc()
171 template_session_keys = &stream_template->session_keys[i]; in srtp_stream_dealloc()
180 session_keys->rtp_cipher == template_session_keys->rtp_cipher) { in srtp_stream_dealloc()
182 } else if (session_keys->rtp_cipher) { in srtp_stream_dealloc()
183 status = srtp_cipher_dealloc(session_keys->rtp_cipher); in srtp_stream_dealloc()
193 session_keys->rtp_auth == template_session_keys->rtp_auth) { in srtp_stream_dealloc()
195 } else if (session_keys->rtp_auth) { in srtp_stream_dealloc()
196 status = srtp_auth_dealloc(session_keys->rtp_auth); in srtp_stream_dealloc()
[all …]
/external/libsrtp2/test/
Dtest_srtp.c90 srtp_session_keys_t session_keys; in srtp_calc_aead_iv_srtcp_all_zero_input_yield_zero_output() local
101 memset(&session_keys, 0, sizeof(srtp_session_keys_t)); in srtp_calc_aead_iv_srtcp_all_zero_input_yield_zero_output()
107 status = srtp_calc_aead_iv_srtcp(&session_keys, &init_vector, sequence_num, in srtp_calc_aead_iv_srtcp_all_zero_input_yield_zero_output()
118 srtp_session_keys_t session_keys; in srtp_calc_aead_iv_srtcp_seq_num_over_0x7FFFFFFF_bad_param() local
127 memset(&session_keys, 0, sizeof(srtp_session_keys_t)); in srtp_calc_aead_iv_srtcp_seq_num_over_0x7FFFFFFF_bad_param()
133 status = srtp_calc_aead_iv_srtcp(&session_keys, &init_vector, sequence_num, in srtp_calc_aead_iv_srtcp_seq_num_over_0x7FFFFFFF_bad_param()
152 srtp_session_keys_t session_keys; in srtp_calc_aead_iv_srtcp_distinct_iv_per_sequence_number() local
170 memset(&session_keys, 0, sizeof(srtp_session_keys_t)); in srtp_calc_aead_iv_srtcp_distinct_iv_per_sequence_number()
175 TEST_CHECK(srtp_calc_aead_iv_srtcp(&session_keys, &output_iv[i], in srtp_calc_aead_iv_srtcp_distinct_iv_per_sequence_number()
Dsrtp_driver.c1435 srtp_session_keys_t *session_keys = NULL; in srtp_session_print_policy() local
1445 session_keys = &stream->session_keys[0]; in srtp_session_print_policy()
1456 session_keys->rtp_cipher->type->description, in srtp_session_print_policy()
1457 session_keys->rtp_auth->type->description, in srtp_session_print_policy()
1459 session_keys->rtcp_cipher->type->description, in srtp_session_print_policy()
1460 session_keys->rtcp_auth->type->description, in srtp_session_print_policy()
1486 session_keys = &stream->session_keys[0]; in srtp_session_print_policy()
1497 stream->ssrc, session_keys->rtp_cipher->type->description, in srtp_session_print_policy()
1498 session_keys->rtp_auth->type->description, in srtp_session_print_policy()
1500 session_keys->rtcp_cipher->type->description, in srtp_session_print_policy()
[all …]
/external/webrtc/pc/
Dsrtp_session.cc186 if (srtp_context && srtp_context->session_keys && in GetRtpAuthParams()
187 srtp_context->session_keys->rtp_auth) { in GetRtpAuthParams()
189 srtp_context->session_keys->rtp_auth->state); in GetRtpAuthParams()
/external/libsrtp2/include/
Dsrtp_priv.h142 srtp_session_keys_t *session_keys; member