Software Implementation of HDCP Authentication Cipher Based on HDMI
- Author
- XiHongHai
- Advisor
- QiZhengWei , GuJiXing
- School
- Shanghai Jiaotong University
- Major
- Software Engineering
- Classification
- TP309.7 Encryption and decryption
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 79
- Citations
- 0
Abstract
HDMI is a kind of high-definition Multimedia Interface standard, it provides highbandwidth, transmits uncompressed video and audio signal. HDCP protects the transmittedHDMI high-definition digital signal against illegal copy. Base on the analyzing of the HDMIand HDCP specification, this article provided a solution of the HDCP system’s core–HDCPCipher. This solution has below importance and specialty:1. It provides a pure software design of the HDCP system’s core–HDCP Cipher.Compare with the hardware solution, the software implemented cipher has moreflexibility and cost advantage. This article designed and implemented the overallstructure of the HDCP Cipher’s three layer modules. These modules are LFSRmodule, Block Module, Output module, these modules finally used by functions-hdcpBlockCipher, hdcpRekeyChiper, hdcpStreamChiper, which is HDCP Ciphercore algorithm, providing the support for HDCP authentication and stream encryptionand decryption system.2. This software follows the rules of hierarchy and modularity, separates complexembedded software to small modules, the logic between modules is independent,does not have cross function call, also can be built as a share library provideinterfaces to upper level HDCP tools as a validation or compliance tool. The softwarehas good portability and reusability. Meanwhile, the software has the advantage ofbeing able to use as debug tool, it resolve the problem that debug difficulty at HDCP chip hardware logic design phase.3. Since HDCP Cipher make extensive use of bit operations, this implementation use64bit width bit-operation to achieve high speed by exploiting bit-level parallelism,improved the efficiency of the HDCP software Cipher. Compare with no bit-levelparallelism’s implementation, the efficiency improve about50times. Get relativelyhigher frame rate at the high resolutionThis software implemented by a program called “hdcpCipher”. The input of this programis eight testing devices KSV, coverers each scenarios of HDCP transmitter and HDCPreceiver’s combination. The output of this program is encrypted middle state variable and24bit stream encryption/decryption data. All of this software output verified by the testingdata providing by the HDCP specification, got the unique result with the standard output. Thisproved entire software implementation’s correctness. At same time, for testing the softwareperformance, it also provides functionality of generate performance data. The software alsocan build as share libraries providing interfaces to upper level HDCP tools.
Table of contents
Summary 5-6
ABSTRACT 6-10
1 Introduction background 10-16
1.1 thesis 10-13
1.2 thesis content and significance 13-14
1.3 papers structural arrangements 14-16
2 HDMI interface technology 16-29
2.1 HDMI 1.4 technology background 16-17
2.2 HDMI 1.4 technical Analysis 17-20
2.3 signal and coding 20-22
2.4 HDMI digital Signal principle 22-23
2.5 HDMI physical layer analysis 23-26
2.6 HDMI packet data island period 26
2.7 HDMI audio and video 26-29
2.7.1 video 26-28
2.7.2 audio 28-29
3 HDCP system protocol analysis 29 -48
3.1 HDCP system structural analysis 29-32
3.2 HDCP authentication system analysis 32-39
3.2.1 authentication Protocol overall analysis 32 -33
3.2.2 the first phase of the authentication protocol 33-34
3.2.3 the second phase of the authentication protocol 34-38
3.2.4 section three-stage authentication protocol 38-39
3.3 HDCP port 39-45
3.4 HDCP encrypted signals 45-48
4 HDCP encryption machine software design and implementation 48-80
4.1 HDCP encryption algorithm 48-51
4.1.1 HDCP basic encryption algorithm 48-49
4.1. 2 Blom's scheme symmetric key exchange mechanism threshold 49-51
4.1.3 Blom's scheme of anti- attack analysis 51
4.2 HDCP encrypted data analysis 51-53
4.3 HDCP encryption / decryption state machine diagrams 53-57
4.3.1 original encrypted signal 53
4.3.2 enhanced encrypted signal 53-57
4.4 HDCP encryption machine design 57-59
4.5 HDCP encryption machine software 59-80
4.5.1 basic module interface design and achieve 59
4.5.2 software encryption machine data structure design 59-60
4.5.3 linear feedback register module design and implementation 60-64 <br / > Design and Implementation 4.5.4 block module design and implementation nbsp 64-70
4.5.5 output module ; 70-73
4.5.6 HDCP process using various modules 73-77
4.5.7 call flow and overall realization 77-80
5 HDCP encryption machine testing and performance optimization 80-91
5.1 HDCP encryption machine test 80-88
5.2 performance optimization and testing 88-91
6 summary and Outlook 91-93
6.1 summarizes 91-92
6.2 Prospects 92-93
References 93-95
Thanks 95-96
period of study for a degree papers published 96-97
accessories 97
Related dissertations
- EMC and HDMI Design for the LCD TV
- Design and Simulation of HDCP Cipher in HDMI System
- Research and Development of Anti-peeping Display System
- Injection system research and design of HDCP chip key
- The Possible Regulatory Mechanism of Renin-angiotensin Level Change in Hypertensive Disorder Complicating Pregnancy
- Research on multi format video processing technology based on TMS320DM6467
- Research on Computer Information Anti-leakage Technology of New-type Display Interfaces
- Design of HDMI Interface Based on ARM9
- SHA-1Algorithms Apply in High-bandwidth Digital Content Protection Repeater
- Design of Terminal Display System Applicated in Subway Station of Urban Rail Transit
- Research of the Transmission Characteristic and Compensation of HDMI Line
- The Implementation of Audio and Video Interface Based on FPGA
- Research and implementation of panoramic imaging design based on FPGA
- Design of HDTV Logo Inserter Based on SOPC Technology
- Research and design of video interface chip test system based on FPGA
- Expression and Clinical Significance of Chemerin in Preeclampsia Placenta Tissues
- The Relationship and Clinical Significance between Seasonal Climate and the Levels of Plasma E, NE and CRH in Hypertensive Disorder Complicating Pregnancy
- Study on the Role of Hemeoxygenase/Carbon Monoxide System on Pathogenesis of Hypertension Disorder Complicating Pregnancy
- The Audio Design and Research on HDMI
- Design and Realization of ESD Protection Based on HDMI