Description of HDCP

Introduction

Although analog audio and video content has its advantages, digital audio and video (hereinafter referred to as DAV) has gained great popularity associated with the constant improvement of quality, the development of consumer devices that reproduce such content, etc. But how easy it is to reproduce DAB, it is also easy to copy and illegally distribute it. The entertainment industry has a need for digital copy protection. To solve this problem, manufacturers have developed schemes and components for protection against digital copying and distribution. An example of such technologies is HDCP, developed by Intel. HDCP (from English  High-bandwidth Digital Content Protection - “High-bandwidth digital content protection”) is a media content protection technology designed to prevent copying of high-quality video transmitted over DVI (HDCP is optional for this interface), DisplayPort (HDCP is mandatory for this interface), HDMI, GVIF or UDI. The protected video signal can only be played back on equipment that supports HDCP. The HDCP 1.x encryption system was finally cracked in 2010 (the system master key was restored).





HDCP is used to protect the transmission of DAB content from a video source such as a computer, satellite box or DVD player to a receiver such as a display. This encryption system is designed to prevent playback of HDCP-encrypted content on devices that do not support HDCP or that have been compromised to copy such content. Before sending the data, the transmitting device checks whether the recipient is entitled to receive it. If so, the transmitter encrypts the data to prevent eavesdropping when transmitting digital data to the receiver. Several different HDCP-compliant interfaces can be used to connect the source to the target device.





This article describes the HDCP device. In one embodiment, an HDCP device includes: (1) a transmitter configured to deliver DAB content over a communications channel to an authorized HDCP receiver, (2) an acknowledgment device configured to determine if an authenticated HDCP receiver is also a trusted device and allows only delivery or he can forward the content to someone else. And also, the method of delivery of DAC, as well as its encryption, will be revealed. It includes: (1) obtaining an encryption key from a potential DAB receiver, (2) identifying potential HDCP compliant receivers, (3) in addition to authentication, verification of potential receivers by a device for receiving DAB content.





HDCP , « ». , .





« »

HDCP , , HDCP . , – . , HDCP , , . «» , DCI (Digital Cinema Initiatives). , , HDCP. KDM (Key Delivery Message), . .





            HDCP, , , HDCP, HDCP, . , , HDCP, , . , : . – HDCP, , () HDCP ( ). , .









Fig. 1
.1





.1 HDCP, . (10), (20), (30) (40).





(10) – . , , , .. (12), (14). .





, (10) (16), (12) (14). (16) – . , , (20) , (12) . (16) (BKSV) (20) . HDCP, . (17), (16). – (22) (20). , (10), (14). (10) , DVD- ( : , ). , . , , – .





(16), , ( , ..).





(14) , KSV DPK . .





(12) (13) (20). HDCP.





(20) HDCP , . (20) (21), (12). (23) (25) (, (30) (40)). (20) (22), (24) (26). , . (28), (16). , HDCP . , , (10). (20), HDCP, BKSV (, 2.2) (12). .. (12) .





(30) (32) (34). (40) (42) (44). (30) , , , HDCP, (40), HDCP.









Fig. 2
.2





2 . ( (10)) (20). . , , BKSV HDCP.  . . , . . , , . , . , , . , , .





 





, , , , . . - , , , - ..





HDCP 56 – , Device Private Keys (DPK), . 40 – ( KSV), DPK . KSV – BKSV, KSV – AKSV (P.S. 2010 , - HDCP. , HDCP DPK HDCP). HDCP, . (DPK), , , , (DPK) KSV.





: DPK KSV. , 1, . . HDCP .





, , . – , “REPEATER”. , KSV HDCP , . 5 ( KSV), HDCP (). . «» , , “watchdog”. . , , “READY” ( ). 2 : – 1 , – ( ) .





, , , .





, : / , , . , . , ( ) . : Ki (56 ) – HDCP , Mi (64 ) – HDCP , Ri (16 ) – . 128 ( , 128 ).





, , HDCP . – HDCP, -, : .





HDCP

TMDS . , TMDS . : (XOR) , HDCP – . 24 – , . , 56 .









TMDS









23:16





2





Red [7:0]





15:8





1





Green [7:0]





7:0





0





Blue [7:0]





 .1













HDCP . – (4 ). – . – .





Cx.1
.1









. 4 LSFR. , - , 2 . . .









Cx.2
.2





. . , D – . S – : 0, (, D); 1, (, D).





, LSFR 56 – .





 





Table 2
.2









 





            2 , . . 28 – .









D.3
.3





, , 13 LSFR. S – 7 S – 4 4 ( : S0, S1, S2, S3, S4, S5, S6, ).





K.                      





Table 3
.3
Table 4
.4

:





Table 5
.5





Registers Ku, Kz, Bu, Bz form the logical function of the output. Adding (XORing) each of the 24 bits is obtained using the formula:





So, today, I think that this is not the most reliable protection, but which is used.





List of sources:

1) HDMI Explained by Rob Carter





2) Digital Content Protection LLC.  HDCP specification v1.4








All Articles