Lines Matching refs:hdcp

34 static void hdcp2_message_init(struct mod_hdcp *hdcp,  in hdcp2_message_init()  argument
37 in->session_handle = hdcp->auth.id; in hdcp2_message_init()
49 struct mod_hdcp *hdcp, uint8_t index) in remove_display_from_topology_v2() argument
51 struct psp_context *psp = hdcp->config.psp.handle; in remove_display_from_topology_v2()
54 get_active_display_at_index(hdcp, index); in remove_display_from_topology_v2()
77 HDCP_TOP_REMOVE_DISPLAY_TRACE(hdcp, display->index); in remove_display_from_topology_v2()
85 struct mod_hdcp *hdcp, uint8_t index) in remove_display_from_topology_v3() argument
87 struct psp_context *psp = hdcp->config.psp.handle; in remove_display_from_topology_v3()
90 get_active_display_at_index(hdcp, index); in remove_display_from_topology_v3()
111 status = remove_display_from_topology_v2(hdcp, index); in remove_display_from_topology_v3()
116 HDCP_TOP_REMOVE_DISPLAY_TRACE(hdcp, display->index); in remove_display_from_topology_v3()
123 struct mod_hdcp *hdcp, struct mod_hdcp_display *display) in add_display_to_topology_v2() argument
125 struct psp_context *psp = hdcp->config.psp.handle; in add_display_to_topology_v2()
127 struct mod_hdcp_link *link = &hdcp->connection.link; in add_display_to_topology_v2()
148 if (is_dp_hdcp(hdcp)) in add_display_to_topology_v2()
162 HDCP_TOP_ADD_DISPLAY_TRACE(hdcp, display->index); in add_display_to_topology_v2()
170 struct mod_hdcp *hdcp, struct mod_hdcp_display *display) in add_display_to_topology_v3() argument
172 struct psp_context *psp = hdcp->config.psp.handle; in add_display_to_topology_v3()
174 struct mod_hdcp_link *link = &hdcp->connection.link; in add_display_to_topology_v3()
195 if (is_dp_hdcp(hdcp)) in add_display_to_topology_v3()
214 status = add_display_to_topology_v2(hdcp, display); in add_display_to_topology_v3()
218 HDCP_TOP_ADD_DISPLAY_TRACE(hdcp, display->index); in add_display_to_topology_v3()
225 struct mod_hdcp *hdcp, uint8_t index) in mod_hdcp_remove_display_from_topology() argument
229 if (hdcp->config.psp.caps.dtm_v3_supported) in mod_hdcp_remove_display_from_topology()
230 status = remove_display_from_topology_v3(hdcp, index); in mod_hdcp_remove_display_from_topology()
232 status = remove_display_from_topology_v2(hdcp, index); in mod_hdcp_remove_display_from_topology()
237 enum mod_hdcp_status mod_hdcp_add_display_to_topology(struct mod_hdcp *hdcp, in mod_hdcp_add_display_to_topology() argument
242 if (hdcp->config.psp.caps.dtm_v3_supported) in mod_hdcp_add_display_to_topology()
243 status = add_display_to_topology_v3(hdcp, display); in mod_hdcp_add_display_to_topology()
245 status = add_display_to_topology_v2(hdcp, display); in mod_hdcp_add_display_to_topology()
250 enum mod_hdcp_status mod_hdcp_hdcp1_create_session(struct mod_hdcp *hdcp) in mod_hdcp_hdcp1_create_session() argument
253 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp1_create_session()
254 struct mod_hdcp_display *display = get_first_active_display(hdcp); in mod_hdcp_hdcp1_create_session()
273 hdcp->auth.id = hdcp_cmd->out_msg.hdcp1_create_session.session_handle; in mod_hdcp_hdcp1_create_session()
278 hdcp->auth.msg.hdcp1.ainfo = hdcp_cmd->out_msg.hdcp1_create_session.ainfo_primary; in mod_hdcp_hdcp1_create_session()
279 memcpy(hdcp->auth.msg.hdcp1.aksv, hdcp_cmd->out_msg.hdcp1_create_session.aksv_primary, in mod_hdcp_hdcp1_create_session()
280 sizeof(hdcp->auth.msg.hdcp1.aksv)); in mod_hdcp_hdcp1_create_session()
281 memcpy(hdcp->auth.msg.hdcp1.an, hdcp_cmd->out_msg.hdcp1_create_session.an_primary, in mod_hdcp_hdcp1_create_session()
282 sizeof(hdcp->auth.msg.hdcp1.an)); in mod_hdcp_hdcp1_create_session()
289 enum mod_hdcp_status mod_hdcp_hdcp1_destroy_session(struct mod_hdcp *hdcp) in mod_hdcp_hdcp1_destroy_session() argument
292 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp1_destroy_session()
301 hdcp_cmd->in_msg.hdcp1_destroy_session.session_handle = hdcp->auth.id; in mod_hdcp_hdcp1_destroy_session()
309 HDCP_TOP_HDCP1_DESTROY_SESSION_TRACE(hdcp); in mod_hdcp_hdcp1_destroy_session()
311 if (is_display_encryption_enabled(&hdcp->displays[i])) { in mod_hdcp_hdcp1_destroy_session()
312 hdcp->displays[i].state = in mod_hdcp_hdcp1_destroy_session()
315 hdcp, hdcp->displays[i].index); in mod_hdcp_hdcp1_destroy_session()
323 enum mod_hdcp_status mod_hdcp_hdcp1_validate_rx(struct mod_hdcp *hdcp) in mod_hdcp_hdcp1_validate_rx() argument
325 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp1_validate_rx()
333 hdcp_cmd->in_msg.hdcp1_first_part_authentication.session_handle = hdcp->auth.id; in mod_hdcp_hdcp1_validate_rx()
335 memcpy(hdcp_cmd->in_msg.hdcp1_first_part_authentication.bksv_primary, hdcp->auth.msg.hdcp1.bksv, in mod_hdcp_hdcp1_validate_rx()
338 hdcp_cmd->in_msg.hdcp1_first_part_authentication.r0_prime_primary = hdcp->auth.msg.hdcp1.r0p; in mod_hdcp_hdcp1_validate_rx()
339 hdcp_cmd->in_msg.hdcp1_first_part_authentication.bcaps = hdcp->auth.msg.hdcp1.bcaps; in mod_hdcp_hdcp1_validate_rx()
349 hdcp->connection.is_repeater = 1; in mod_hdcp_hdcp1_validate_rx()
352 hdcp->connection.is_repeater = 0; in mod_hdcp_hdcp1_validate_rx()
355 hdcp->connection.is_hdcp1_revoked = 1; in mod_hdcp_hdcp1_validate_rx()
364 enum mod_hdcp_status mod_hdcp_hdcp1_enable_encryption(struct mod_hdcp *hdcp) in mod_hdcp_hdcp1_enable_encryption() argument
366 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp1_enable_encryption()
368 struct mod_hdcp_display *display = get_first_active_display(hdcp); in mod_hdcp_hdcp1_enable_encryption()
375 hdcp_cmd->in_msg.hdcp1_enable_encryption.session_handle = hdcp->auth.id; in mod_hdcp_hdcp1_enable_encryption()
382 } else if (!is_dp_mst_hdcp(hdcp)) { in mod_hdcp_hdcp1_enable_encryption()
384 HDCP_HDCP1_ENABLED_TRACE(hdcp, display->index); in mod_hdcp_hdcp1_enable_encryption()
391 enum mod_hdcp_status mod_hdcp_hdcp1_validate_ksvlist_vp(struct mod_hdcp *hdcp) in mod_hdcp_hdcp1_validate_ksvlist_vp() argument
393 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp1_validate_ksvlist_vp()
401 hdcp_cmd->in_msg.hdcp1_second_part_authentication.session_handle = hdcp->auth.id; in mod_hdcp_hdcp1_validate_ksvlist_vp()
403 …hdcp_cmd->in_msg.hdcp1_second_part_authentication.ksv_list_size = hdcp->auth.msg.hdcp1.ksvlist_siz… in mod_hdcp_hdcp1_validate_ksvlist_vp()
404 memcpy(hdcp_cmd->in_msg.hdcp1_second_part_authentication.ksv_list, hdcp->auth.msg.hdcp1.ksvlist, in mod_hdcp_hdcp1_validate_ksvlist_vp()
405 hdcp->auth.msg.hdcp1.ksvlist_size); in mod_hdcp_hdcp1_validate_ksvlist_vp()
407 memcpy(hdcp_cmd->in_msg.hdcp1_second_part_authentication.v_prime, hdcp->auth.msg.hdcp1.vp, in mod_hdcp_hdcp1_validate_ksvlist_vp()
408 sizeof(hdcp->auth.msg.hdcp1.vp)); in mod_hdcp_hdcp1_validate_ksvlist_vp()
411 is_dp_hdcp(hdcp) ? hdcp->auth.msg.hdcp1.binfo_dp : hdcp->auth.msg.hdcp1.bstatus; in mod_hdcp_hdcp1_validate_ksvlist_vp()
422 hdcp->connection.is_hdcp1_revoked = 1; in mod_hdcp_hdcp1_validate_ksvlist_vp()
432 enum mod_hdcp_status mod_hdcp_hdcp1_enable_dp_stream_encryption(struct mod_hdcp *hdcp) in mod_hdcp_hdcp1_enable_dp_stream_encryption() argument
435 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp1_enable_dp_stream_encryption()
445 if (hdcp->displays[i].adjust.disable || hdcp->displays[i].state != MOD_HDCP_DISPLAY_ACTIVE) in mod_hdcp_hdcp1_enable_dp_stream_encryption()
450 hdcp_cmd->in_msg.hdcp1_enable_dp_stream_encryption.session_handle = hdcp->auth.id; in mod_hdcp_hdcp1_enable_dp_stream_encryption()
451 hdcp_cmd->in_msg.hdcp1_enable_dp_stream_encryption.display_handle = hdcp->displays[i].index; in mod_hdcp_hdcp1_enable_dp_stream_encryption()
461 hdcp->displays[i].state = MOD_HDCP_DISPLAY_ENCRYPTION_ENABLED; in mod_hdcp_hdcp1_enable_dp_stream_encryption()
462 HDCP_HDCP1_ENABLED_TRACE(hdcp, hdcp->displays[i].index); in mod_hdcp_hdcp1_enable_dp_stream_encryption()
469 enum mod_hdcp_status mod_hdcp_hdcp1_link_maintenance(struct mod_hdcp *hdcp) in mod_hdcp_hdcp1_link_maintenance() argument
471 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp1_link_maintenance()
480 hdcp_cmd->in_msg.hdcp1_get_encryption_status.session_handle = hdcp->auth.id; in mod_hdcp_hdcp1_link_maintenance()
495 enum mod_hdcp_status mod_hdcp_hdcp2_create_session(struct mod_hdcp *hdcp) in mod_hdcp_hdcp2_create_session() argument
497 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp2_create_session()
499 struct mod_hdcp_display *display = get_first_active_display(hdcp); in mod_hdcp_hdcp2_create_session()
518 if (hdcp->connection.link.adjust.hdcp2.force_type == MOD_HDCP_FORCE_TYPE_0) in mod_hdcp_hdcp2_create_session()
521 else if (hdcp->connection.link.adjust.hdcp2.force_type == MOD_HDCP_FORCE_TYPE_1) in mod_hdcp_hdcp2_create_session()
524 else if (hdcp->connection.link.adjust.hdcp2.force_type == MOD_HDCP_FORCE_TYPE_MAX) in mod_hdcp_hdcp2_create_session()
536 hdcp->auth.id = hdcp_cmd->out_msg.hdcp2_create_session_v2.session_handle; in mod_hdcp_hdcp2_create_session()
542 enum mod_hdcp_status mod_hdcp_hdcp2_destroy_session(struct mod_hdcp *hdcp) in mod_hdcp_hdcp2_destroy_session() argument
544 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp2_destroy_session()
553 hdcp_cmd->in_msg.hdcp2_destroy_session.session_handle = hdcp->auth.id; in mod_hdcp_hdcp2_destroy_session()
561 HDCP_TOP_HDCP2_DESTROY_SESSION_TRACE(hdcp); in mod_hdcp_hdcp2_destroy_session()
563 if (is_display_encryption_enabled(&hdcp->displays[i])) { in mod_hdcp_hdcp2_destroy_session()
564 hdcp->displays[i].state = in mod_hdcp_hdcp2_destroy_session()
567 hdcp, hdcp->displays[i].index); in mod_hdcp_hdcp2_destroy_session()
575 enum mod_hdcp_status mod_hdcp_hdcp2_prepare_ake_init(struct mod_hdcp *hdcp) in mod_hdcp_hdcp2_prepare_ake_init() argument
577 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp2_prepare_ake_init()
590 hdcp2_message_init(hdcp, msg_in); in mod_hdcp_hdcp2_prepare_ake_init()
600 memcpy(&hdcp->auth.msg.hdcp2.ake_init[0], &msg_out->prepare.transmitter_message[0], in mod_hdcp_hdcp2_prepare_ake_init()
601 sizeof(hdcp->auth.msg.hdcp2.ake_init)); in mod_hdcp_hdcp2_prepare_ake_init()
607 enum mod_hdcp_status mod_hdcp_hdcp2_validate_ake_cert(struct mod_hdcp *hdcp) in mod_hdcp_hdcp2_validate_ake_cert() argument
609 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp2_validate_ake_cert()
622 hdcp2_message_init(hdcp, msg_in); in mod_hdcp_hdcp2_validate_ake_cert()
627 memcpy(&msg_in->process.receiver_message[0], hdcp->auth.msg.hdcp2.ake_cert, in mod_hdcp_hdcp2_validate_ake_cert()
628 sizeof(hdcp->auth.msg.hdcp2.ake_cert)); in mod_hdcp_hdcp2_validate_ake_cert()
640 memcpy(hdcp->auth.msg.hdcp2.ake_no_stored_km, in mod_hdcp_hdcp2_validate_ake_cert()
642 sizeof(hdcp->auth.msg.hdcp2.ake_no_stored_km)); in mod_hdcp_hdcp2_validate_ake_cert()
644 memcpy(hdcp->auth.msg.hdcp2.ake_stored_km, in mod_hdcp_hdcp2_validate_ake_cert()
645 &msg_out->prepare.transmitter_message[sizeof(hdcp->auth.msg.hdcp2.ake_no_stored_km)], in mod_hdcp_hdcp2_validate_ake_cert()
646 sizeof(hdcp->auth.msg.hdcp2.ake_stored_km)); in mod_hdcp_hdcp2_validate_ake_cert()
650 hdcp->connection.is_km_stored = in mod_hdcp_hdcp2_validate_ake_cert()
652 hdcp->connection.is_repeater = in mod_hdcp_hdcp2_validate_ake_cert()
657 hdcp->connection.is_hdcp2_revoked = 1; in mod_hdcp_hdcp2_validate_ake_cert()
667 enum mod_hdcp_status mod_hdcp_hdcp2_validate_h_prime(struct mod_hdcp *hdcp) in mod_hdcp_hdcp2_validate_h_prime() argument
669 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp2_validate_h_prime()
682 hdcp2_message_init(hdcp, msg_in); in mod_hdcp_hdcp2_validate_h_prime()
687 memcpy(&msg_in->process.receiver_message[0], hdcp->auth.msg.hdcp2.ake_h_prime, in mod_hdcp_hdcp2_validate_h_prime()
688 sizeof(hdcp->auth.msg.hdcp2.ake_h_prime)); in mod_hdcp_hdcp2_validate_h_prime()
690 if (!hdcp->connection.is_km_stored) { in mod_hdcp_hdcp2_validate_h_prime()
693 memcpy(&msg_in->process.receiver_message[sizeof(hdcp->auth.msg.hdcp2.ake_h_prime)], in mod_hdcp_hdcp2_validate_h_prime()
694 hdcp->auth.msg.hdcp2.ake_pairing_info, sizeof(hdcp->auth.msg.hdcp2.ake_pairing_info)); in mod_hdcp_hdcp2_validate_h_prime()
705 else if (!hdcp->connection.is_km_stored && in mod_hdcp_hdcp2_validate_h_prime()
713 enum mod_hdcp_status mod_hdcp_hdcp2_prepare_lc_init(struct mod_hdcp *hdcp) in mod_hdcp_hdcp2_prepare_lc_init() argument
715 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp2_prepare_lc_init()
728 hdcp2_message_init(hdcp, msg_in); in mod_hdcp_hdcp2_prepare_lc_init()
739 memcpy(hdcp->auth.msg.hdcp2.lc_init, &msg_out->prepare.transmitter_message[0], in mod_hdcp_hdcp2_prepare_lc_init()
740 sizeof(hdcp->auth.msg.hdcp2.lc_init)); in mod_hdcp_hdcp2_prepare_lc_init()
746 enum mod_hdcp_status mod_hdcp_hdcp2_validate_l_prime(struct mod_hdcp *hdcp) in mod_hdcp_hdcp2_validate_l_prime() argument
748 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp2_validate_l_prime()
761 hdcp2_message_init(hdcp, msg_in); in mod_hdcp_hdcp2_validate_l_prime()
766 memcpy(&msg_in->process.receiver_message[0], hdcp->auth.msg.hdcp2.lc_l_prime, in mod_hdcp_hdcp2_validate_l_prime()
767 sizeof(hdcp->auth.msg.hdcp2.lc_l_prime)); in mod_hdcp_hdcp2_validate_l_prime()
781 enum mod_hdcp_status mod_hdcp_hdcp2_prepare_eks(struct mod_hdcp *hdcp) in mod_hdcp_hdcp2_prepare_eks() argument
783 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp2_prepare_eks()
796 hdcp2_message_init(hdcp, msg_in); in mod_hdcp_hdcp2_prepare_eks()
800 if (is_dp_hdcp(hdcp)) in mod_hdcp_hdcp2_prepare_eks()
809 memcpy(hdcp->auth.msg.hdcp2.ske_eks, in mod_hdcp_hdcp2_prepare_eks()
811 sizeof(hdcp->auth.msg.hdcp2.ske_eks)); in mod_hdcp_hdcp2_prepare_eks()
813 sizeof(hdcp->auth.msg.hdcp2.ske_eks); in mod_hdcp_hdcp2_prepare_eks()
815 if (is_dp_hdcp(hdcp)) { in mod_hdcp_hdcp2_prepare_eks()
816 memcpy(hdcp->auth.msg.hdcp2.content_stream_type_dp, in mod_hdcp_hdcp2_prepare_eks()
817 &msg_out->prepare.transmitter_message[sizeof(hdcp->auth.msg.hdcp2.ske_eks)], in mod_hdcp_hdcp2_prepare_eks()
818 sizeof(hdcp->auth.msg.hdcp2.content_stream_type_dp)); in mod_hdcp_hdcp2_prepare_eks()
826 enum mod_hdcp_status mod_hdcp_hdcp2_enable_encryption(struct mod_hdcp *hdcp) in mod_hdcp_hdcp2_enable_encryption() argument
828 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp2_enable_encryption()
830 struct mod_hdcp_display *display = get_first_active_display(hdcp); in mod_hdcp_hdcp2_enable_encryption()
841 hdcp_cmd->in_msg.hdcp2_set_encryption.session_handle = hdcp->auth.id; in mod_hdcp_hdcp2_enable_encryption()
848 } else if (!is_dp_mst_hdcp(hdcp)) { in mod_hdcp_hdcp2_enable_encryption()
850 HDCP_HDCP2_ENABLED_TRACE(hdcp, display->index); in mod_hdcp_hdcp2_enable_encryption()
857 enum mod_hdcp_status mod_hdcp_hdcp2_validate_rx_id_list(struct mod_hdcp *hdcp) in mod_hdcp_hdcp2_validate_rx_id_list() argument
859 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp2_validate_rx_id_list()
873 hdcp2_message_init(hdcp, msg_in); in mod_hdcp_hdcp2_validate_rx_id_list()
876 msg_in->process.msg1_desc.msg_size = sizeof(hdcp->auth.msg.hdcp2.rx_id_list); in mod_hdcp_hdcp2_validate_rx_id_list()
877 memcpy(&msg_in->process.receiver_message[0], hdcp->auth.msg.hdcp2.rx_id_list, in mod_hdcp_hdcp2_validate_rx_id_list()
878 sizeof(hdcp->auth.msg.hdcp2.rx_id_list)); in mod_hdcp_hdcp2_validate_rx_id_list()
889 memcpy(hdcp->auth.msg.hdcp2.repeater_auth_ack, in mod_hdcp_hdcp2_validate_rx_id_list()
891 sizeof(hdcp->auth.msg.hdcp2.repeater_auth_ack)); in mod_hdcp_hdcp2_validate_rx_id_list()
895 hdcp->connection.is_km_stored = msg_out->process.is_km_stored ? 1 : 0; in mod_hdcp_hdcp2_validate_rx_id_list()
896 hdcp->connection.is_repeater = msg_out->process.is_repeater ? 1 : 0; in mod_hdcp_hdcp2_validate_rx_id_list()
900 hdcp->connection.is_hdcp2_revoked = 1; in mod_hdcp_hdcp2_validate_rx_id_list()
910 enum mod_hdcp_status mod_hdcp_hdcp2_enable_dp_stream_encryption(struct mod_hdcp *hdcp) in mod_hdcp_hdcp2_enable_dp_stream_encryption() argument
912 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp2_enable_dp_stream_encryption()
924 hdcp2_message_init(hdcp, msg_in); in mod_hdcp_hdcp2_enable_dp_stream_encryption()
928 if (hdcp->displays[i].adjust.disable || hdcp->displays[i].state != MOD_HDCP_DISPLAY_ACTIVE) in mod_hdcp_hdcp2_enable_dp_stream_encryption()
931 hdcp_cmd->in_msg.hdcp2_enable_dp_stream_encryption.display_handle = hdcp->displays[i].index; in mod_hdcp_hdcp2_enable_dp_stream_encryption()
932 hdcp_cmd->in_msg.hdcp2_enable_dp_stream_encryption.session_handle = hdcp->auth.id; in mod_hdcp_hdcp2_enable_dp_stream_encryption()
940 hdcp->displays[i].state = MOD_HDCP_DISPLAY_ENCRYPTION_ENABLED; in mod_hdcp_hdcp2_enable_dp_stream_encryption()
941 HDCP_HDCP2_ENABLED_TRACE(hdcp, hdcp->displays[i].index); in mod_hdcp_hdcp2_enable_dp_stream_encryption()
953 enum mod_hdcp_status mod_hdcp_hdcp2_prepare_stream_management(struct mod_hdcp *hdcp) in mod_hdcp_hdcp2_prepare_stream_management() argument
956 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp2_prepare_stream_management()
969 hdcp2_message_init(hdcp, msg_in); in mod_hdcp_hdcp2_prepare_stream_management()
980 hdcp->auth.msg.hdcp2.stream_manage_size = msg_out->prepare.msg1_desc.msg_size; in mod_hdcp_hdcp2_prepare_stream_management()
982 memcpy(hdcp->auth.msg.hdcp2.repeater_auth_stream_manage, in mod_hdcp_hdcp2_prepare_stream_management()
984 sizeof(hdcp->auth.msg.hdcp2.repeater_auth_stream_manage)); in mod_hdcp_hdcp2_prepare_stream_management()
990 enum mod_hdcp_status mod_hdcp_hdcp2_validate_stream_ready(struct mod_hdcp *hdcp) in mod_hdcp_hdcp2_validate_stream_ready() argument
992 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp2_validate_stream_ready()
1005 hdcp2_message_init(hdcp, msg_in); in mod_hdcp_hdcp2_validate_stream_ready()
1009 msg_in->process.msg1_desc.msg_size = sizeof(hdcp->auth.msg.hdcp2.repeater_auth_stream_ready); in mod_hdcp_hdcp2_validate_stream_ready()
1011 memcpy(&msg_in->process.receiver_message[0], hdcp->auth.msg.hdcp2.repeater_auth_stream_ready, in mod_hdcp_hdcp2_validate_stream_ready()
1012 sizeof(hdcp->auth.msg.hdcp2.repeater_auth_stream_ready)); in mod_hdcp_hdcp2_validate_stream_ready()