Lines Matching refs:num_master_keys
166 for (i = 0; i < stream->num_master_keys; i++) { in srtp_stream_dealloc()
170 stream->num_master_keys == stream_template->num_master_keys) { in srtp_stream_dealloc()
312 str->num_master_keys = 1; in srtp_stream_alloc()
314 str->num_master_keys = p->num_master_keys; in srtp_stream_alloc()
318 sizeof(srtp_session_keys_t) * str->num_master_keys); in srtp_stream_alloc()
325 for (i = 0; i < str->num_master_keys; i++) { in srtp_stream_alloc()
418 for (i = 0; i < str->num_master_keys; i++) { in srtp_stream_alloc()
431 for (i = 0; i < str->num_master_keys; i++) { in srtp_stream_alloc()
469 str->num_master_keys = stream_template->num_master_keys; in srtp_stream_clone()
471 sizeof(srtp_session_keys_t) * str->num_master_keys); in srtp_stream_clone()
479 for (i = 0; i < stream_template->num_master_keys; i++) { in srtp_stream_clone()
783 if (policy->num_master_keys <= 0) in srtp_validate_policy_master_keys()
786 if (policy->num_master_keys > SRTP_MAX_NUM_MASTER_KEYS) in srtp_validate_policy_master_keys()
789 for (i = 0; i < policy->num_master_keys; i++) { in srtp_validate_policy_master_keys()
806 if (mki_index >= stream->num_master_keys) { in srtp_get_session_keys_with_mki_index()
844 srtp->num_master_keys = 1; in srtp_stream_init_all_master_keys()
850 srtp->num_master_keys = max_master_keys; in srtp_stream_init_all_master_keys()
852 for (i = 0; i < srtp->num_master_keys && i < SRTP_MAX_NUM_MASTER_KEYS; in srtp_stream_init_all_master_keys()
1276 p->num_master_keys); in srtp_stream_init()
1563 for (i = 0; i < stream->num_master_keys; i++) { in srtp_get_session_keys()
4558 if (mki_index >= stream->num_master_keys) { in stream_get_protect_trailer_length()