Early content engine receiver synchronization
09571473 ยท 2017-02-14
Assignee
Inventors
Cpc classification
H04L63/0428
ELECTRICITY
H04N1/32443
ELECTRICITY
H04L2209/60
ELECTRICITY
H04L63/0457
ELECTRICITY
H04N21/4367
ELECTRICITY
International classification
H04N21/4367
ELECTRICITY
Abstract
An HDCP receiver device that receives frames from an HDCP transmitter device. The receiver device has a frame counter that is updated for each frame that is received from the transmitter device and that includes encrypted content, while the receiver device is in a pre-authorization mode. During the pre-authorization mode, the receiver device does not decrypt any received frame bearing encrypted content. While the receiver device waits to transition from the pre-authorization mode to a post-authorization mode in which the receiver device can begin to decrypt any received frames that include encrypted content, the frame counter is updated for each frame received that includes encrypted content. In the post-authorization mode, the frame counter has a nonzero value if frames including encrypted content were received by the receiver device during the pre-authorization mode.
Claims
1. A hardware receiver device operating in a pre-authorization mode and a post-authorization mode, the receiver device comprising: an interface port that receives frames from a transmitter device; a content encryption engine (CEE) having an output port; and a frame counter having a frame counter value and an input port coupled to receive a control signal from the output port of the CEE, the control signal indicating the presence of encrypted content within the received frames, the frame counter value being incremented by the CEE for each of the frames received during the pre-authorization mode from the transmitter device that include the encrypted content, such that in the post-authorization mode, the frame counter value is nonzero if the frames received during the pre-authorization mode included the encrypted content; wherein the receiver device does not decrypt the received frames in the pre-authorization mode while waiting to transition from the pre-authorization mode to the post-authorization mode, wherein the pre-authorization mode is a state of the receiver device before a session key exchange has been completed with the transmitter device and the post-authorization mode is a state of the receiver after the session key exchange has been completed, and wherein the receiver device uses the frame counter value to synchronize decrypting of the encrypted content.
2. The receiver device of claim 1, wherein: the CEE waits for completion of the session key exchange before decrypting the received frames that include the encrypted content.
3. The receiver device of claim 1, wherein the CEE outputs a temporary image while encryption keys associated with the session key exchange are being programmed.
4. The receiver device of claim 1, wherein the frame counter is implemented by an Advanced Encryption Standard engine running in counter mode that increments the counter value each time one of the received frames includes encrypted content.
5. The receiver device of claim 1, wherein the receiver device receives the frames from the transmitter device according to the High-bandwidth Digital Content Protection (HDCP) on High Definition Multimedia Interface (HDMI) 2.2 specification.
6. The receiver device of claim 1, wherein the frame counter does not begin incrementing until a frame, from among the received frames, includes the encrypted content received.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) Exemplary embodiments of the invention will now be described in conjunction with the following drawings, in which:
(2)
(3)
(4)
DETAILED DESCRIPTION THE INVENTION
(5) Referring to
(6) The ENC-EN or ENC-ENC control signal is referred to as an encryption enable control signal, and indicates the presence of encrypted content within a frame. In
(7) Conventionally and prior to the aspects disclosed in the present disclosure, the frame count or inputCtr is initialized to zero when HDCP encryption is enabled for the first time at the first encryption enable (ENC_EN) immediately after SKE (see
(8) When the first ENC_EN (or ENC-ENC) control signal is detected by the receiver 200, a Content Encryption Engine (CEE) of the receiver 200 starts the frame count from zero (202) and increments by one each time the receiver detects another ENC_EN frame. The CEE of the receiver 200 also decrypts the encrypted content received from the transmitter (Tx).
(9) In the example of
(10) If the encryption keys are not fully programmed into the CEE of the receiver 200 before the frame count starts to increase, the CEE can optionally output a temporary image while the encryption keys are being fully programmed, at which point decryption can take place at the next vertical sync (VSYNC).
(11) Referring to
(12) Early detection of encrypted frames is performed in order to maintain proper cipher synchronization. Other HDCP devices do not require counting frames, but require maintaining other states properly before the encryption keys are set up. For another example of a state, a counter is maintained by the AES (Advanced Encryption Standard) encryption state machine in the receiver 200. This counter (instead of a frame counter) can be updated prior to establishing the SKE, and therefore maintains cipher synchronization.
(13) In this embodiment, the content protection algorithm starts updating the states (e.g., frame counter or AES counter) for each encrypted frame received before reaching the POST_AUTH mode. Once the key exchange is completed and the CEE reaches POST_AUTH mode, the state of the engine is already up to date and ready to decrypt incoming data.
(14) Advantageously, the embodiments described above operate within existing standards to provide improved power performance for portable and battery operated devices. Though the invention is described with reference to transceivers, it is equally applicable to receivers, transmitters, repeaters and to cryptographic engines.
(15)
(16) While particular aspects and implementations of the present disclosure have been illustrated and described, it is to be understood that the present disclosure is not limited to the precise construction and compositions disclosed herein and that various modifications, changes, and variations are not only contemplated but also apparent from the foregoing descriptions without departing from the scope of the present disclosure as defined in the appended claims.