US 20080028234 A1
A system on a chip (SOC) device is disclosed comprising external outputs, and external inputs. A first secure storage location is operably decoupled from all of the external outputs of the SOC device during a normal mode of operation. By being decoupled from all external outputs, representations of the data stored at the first secure device are prevented from being provided to the external outputs. The decryption engine is also included on the system on a chip, comprising a first data input, and a private key input coupled to a first portion of the first secure storage location, and an output coupled to a second secure location. The decryption engine is operable to determine decrypted data from data received at the first data input based upon a private key received at the private key input. The decryption engine is further operable to write the decrypted data only to the first secure memory location and the second secure location.
1. A system on a chip (SOC) device comprising:
external output interfaces to provide information from the SOC device;
external input interfaces to provide information to the SOC device;
a first secure storage location operably de-coupled from all external output nodes of the SOC device during a normal mode of operation to prevent representations of data to be stored at the first secure storage location from being provided at an external output interface; and
a decryption engine comprising a first data input, a private key input coupled to a first portion of the first secure storage location, and an output coupled to a second secure storage location, the decryption engine operable to determine decrypted data from data received at the first data input based on a private key received at the private key input, and further operable to write the decrypted data only to the first secure memory location and the second secure storage location.
2. The system of
3. The system of
4. The system of
5. The method of
6. The method of
7. The system of
8. The system of
9. The system of
10. The system of
11. The system of
12. The system of
a descrambler comprising a first data input, a control word input coupled to a first portion of the second secure storage location during normal operation, and an output, the descrambler operable to access a control word only from the second secured storage location, wherein the control word is used by the descrambler to descramble scrambled data.
13. The system of
14. The system of
15. The system of
16. The system of
an encryption engine comprising a first data input coupled to the second secure storage location, a public key input to receive a public key, and an output to provide an encrypted representation of data received at the first data input.
17. The system of
18. The system of
19. The system of
20. The system of
The present application is a continuation of U.S. patent application Ser. No. 10/830,242 filed on Apr. 22, 2004, entitled “METHOD AND SYSTEM FOR SECURE CONTENT DISTRIBUTION,” which claims priority to U.S. Provisional Application No. 60/545,089, filed Feb. 17, 2004, entitled “METHODS AND PROCESSES FOR SECURE CONTENT DISTRIBUTION AND RIGHTS MANAGEMENT,” the entireties of which are incorporated by reference herein.
The present disclosure relates generally to providing secure communications and more particularly to a device and methods of protecting data used in secure communications.
Several forms of digital audio and video content are available to consumers. Audio and video content can be provided through media, such as compact disks (CD) or digital versatile disks (DVD). Service providers can be used to present audio and video content by broadcasting digital audio and video content to consumers, such as through broadband network services, digital cable broadcasts, or digital satellite and terrestrial transmissions. Generally, there are ownership rights associated with the audio and video content and consumers pay for services to receive the audio and video content.
To protect ownership rights, several methods are undertaken to secure audio and video content and ensure only valid consumers receive the content. For example, video associated with DVDs is generally scrambled to prevent undesired copying of DVD video content. Similarly, video content transmitted through digital satellite or digital cable broadcasts can be scrambled to only allow paying consumers to descramble the video content. Encryption and scrambling techniques use secret key or codeword values that are supposed to only be available to a device associated with the consumer, such as a digital cable, or digital satellite, set-top box. Once the secret key and/or codeword values become public knowledge, an unauthorized consumer is capable of descrambling protected audio and video content.
From the above discussion, it should be apparent that systems and methods of providing secured key and codeword protection would be useful.
Specific embodiments of the present disclosure are shown and described in the drawings presented herein. Various advantages, features and characteristics of the present disclosure, as well as methods, operations and functions of related elements of structure, and the combination of parts and economies of manufacture, will become apparent upon consideration of the following description and claims with reference to the accompanying drawings, all of which form a part of this specification, and wherein:
At least one embodiment of the present disclosure provides a system on a chip (SOC) for processing secure data. The SOC includes external output interfaces for providing information from the SOC to an external component or device. The SOC also includes external input interfaces for providing information to the SOC device from the external component or device. The SOC includes a first storage location that is operably de-coupled from all external nodes of the SOC. The first storage location is operably de-coupled so as to prevent representations of data stored in the first storage location from being provided at an external output interface. The SOC also includes a decryption engine having a first data input, and a private key input coupled to a first portion of the first secure storage location. In one embodiment, a sensitive decryption key, such as the private key, is stored in the first portion of the first secure storage location. The decryption engine is capable of decrypting data received through the first data input based on the sensitive decryption key and the decryption engine is further capable of storing decrypted data only to secure memory. In one embodiment of the present disclosure, the SOC is capable of performing decryption and descrambling using sensitive decryption key and codeword values stored in storage locations internal to the SOC. Accordingly, access to sensitive decryption and descrambling values can be limited to the decryption engine and descrambler, and cannot be accessed external to the SOC. An advantage of at least one embodiment of the present disclosure is that sensitive values can be protected from malicious attacks designed to pirate protected audio or video content.
For purposes of discussion, the following terms are described. Content pertains to audio or video or other data that is interchanged between components, such as a service provider, consumer or gateway. A medium for the transfer of content can include, but is not limited to, satellite, cable or terrestrial broadcasts, CD, DVD, network, Internet, telephone line transmission or other mediums. A service provider includes a company or party that produces or distributes content or provides a service that facilitates the transfer of content. A consumer includes a device or party that receives and consumes content, typically as part of an agreement with the service provider. A gateway represents a device or party that provides an interface for the transfer of content between a service provider and a consumer. In one embodiment, a gateway may also operate as a consumer. A pirate includes a party or device that uses illegal or fraudulent methods to receive, duplicate, or re-distribute content, provided by a service provider, intended for a consumer.
Several methods for protecting transferred content from being intercepted by pirates exist. For the purposes of discussion, general methods used will be discussed and described; however, it should be appreciated that more specific methods are known in the art and the specific method used can be selected without departing from the scope of the present disclosure. Scrambling is an algorithm that uses a seed value, referred to as a codeword, to modify large amounts of data in such a way that the data can be de-scrambled using the same codeword. Without the value of the codeword, the scrambled data is not sensible. Examples of scrambling techniques used in the art include, but are not limited to, the Data Encryption Standard (DES), the Triple Data Encryption Standard (3DES), the Advanced Encryption Standard (AES), and the Digital Video Broadcast (DVB) encryption standard. The codeword includes a binary value, generally in multiples of 64 bits, that is used to scramble content. It should be noted that codewords can also include multiple binary values, such as initial vectors and sets of system keys, and that the codeword can change for a given set of content.
As compared to scrambling, encryption is a computationally complex operation that is used in public/private key pairs systems to conceal a small amount of data, which may only be decrypted using an alternate key. Specific examples of encryption include, but are not limited to, the Rivest, Shamir and Adleman (RSA) encryption standard, or the Elliptical Curve Cryptography (ECC) standard. A public key includes a binary value that is used as a seed value in an encryption algorithm. The public key is generally used to encrypt/decrypt messages or values, such as codeword values. A public key is not considered secret and is freely transmitted to others. Generally, messages encrypted using a specific device's public key can only be decrypted using the specific device's private key. The private key includes a binary value that is used as a seed value in encryption/decryption algorithms. The private key is considered secret and not to be distributed to other devices.
Referring now to
The system 100 includes the SOC 120, used to securely process scrambled content, such as content received at interfaces 171 or 173, dynamic storage 110 used to store unscrambled content, a system decoder 115 used to decode the content for display, and a local bus 105 used to transfer scrambled content, such as scrambled content and messages provided over interfaces 173, 177 and 179 between the system 100 and the network interface 104 and external storage 108. In one embodiment of the present disclosure, external storage 108 is used by system 100 for the storage of scrambled content 179.
In one embodiment of the present disclosure, SOC 120 includes codeword generator 180, a secure storage location (private key storage) 170 having at least one private key 175, a secure storage location (protected storage) 150 having at least one codeword 155, an encryption/decryption block 160, a scrambler/descrambler 130, content receiver 140, public storage (other memory) 125 having a unique identifier (ID) 126 and a public key 127, a transcoder 135, internal decoder 137 and watermark block 134. The scrambler/descrambler 130 includes a codeword input 131 for interfacing with protected storage 150, a data input 132 for interfacing with content receiver 140 and a data output for interfacing with local bus 105. SOC 120 is used to process security associated with the handling of scrambled content, such as scrambled content received over interfaces 171 or 174, provided from service provider 102. Note that service provider 102 is illustrated as providing content over both the interface 171 and the interface 174. It will be appreciated that the service providers 102 may be a common service provider, or different service providers. For example, the service provider 102 could be a service provider whereby the content received at interface 171 is received over a terrestrial or cable connection, whereas the service provider 102 may be the same or a different service provider that is shown to provide scrambled content to alternate interface 174, such as the Internet. In addition, even though the scrambled content at interface 177 to the local bus 105 is not illustrated as being receivable at the data-in port 132, it will be appreciated that the interfaces illustrated as providing scrambled content within the SOC 120 may actually be common or shared interfaces or interfaces that can otherwise share data amongst themselves. However, in accordance with the present disclosure, the interfaces, whether shared or individual, need to remain decoupled from the protected storage locations 150 and 170 as further described herein.
In one embodiment, system 100 includes a watermark module 134. Watermark module 134 can be used to encode content stored in dynamic storage 110 with a value associated with system 100 or SOC 120, such as unique ID 126. The value is encoded into the content in a manner so that the value can be extracted from the content at a later time. Accordingly, the watermark can be used to track which system or SOC was compromised to extract the content should the content be pirated. It will be appreciated that while the watermark 134 is not specifically illustrated to be connected to any specific component, that the watermark module 134 could be connected in a variety of embodiments. In one embodiment, the watermark module 134 would be connected to the interface 183 between the scrambler/descrambler 130 to insert watermark encoding into the content prior to its being stored in dynamic storage 110. In alternate embodiments, the watermark could be connected to the interconnects 181 or 182 to allow for insertion of the watermark encoding after transcoding of information by the transcoder 135, or after the internal decoding by internal decoder 137 of the content received over interface 181.
Scrambled content is secured through the use of secret values, such as codeword 155 and private key 175. In one embodiment of the present disclosure, system 100 and SOC 120 operate in a blind encryption scheme where the secret values represented by the private keys are not observable outside of SOC 120 by controlling access to the portions of memory used to store those values. A system where a source and destination system each operate in blind encryption mode is referred to as a double-blind encryption system, or a double-blind security system, or a double-blind decryption system.
In a specific embodiment, before a source will provide protected content to a destination it will need to verify that the destination is a blind encryption system, thereby ensuring double-blind operation. Likewise, the destination can verify that a source is a blind encryption system to ensure double-blind operation. Encryption/decryption block 160 includes an encryption engine 161 and a decryption engine 162. The encryption engine 162 uses a provided public key, such as public key 107 to encrypt a value to be transmitted external to SOC 120. It should be noted that the values of the public keys used by the encryption engine 161 can be accessed from protected storage 150 or from other memory associated with system 100 or SOC 120, such as memory 125. Public keys are typically known outside of SOC 120 and do not need to be protected. The decryption engine 162 uses private key 175 to decrypt encrypted information provided to SOC 120. It should be noted that data decrypted by decryption engine 162 should be stored in a secured location, such as protected storage 150 or private key storage 170. Secret values, such as codeword 155 should not be provided external to SOC 120 before being encrypted by encryption engine 161.
Interfaces between SOC 120 and local bus 105, dynamic storage 110, system decoder 115 and service provider 102 represent input interfaces allowing information to be provided to SOC 120 and output interfaces allowing information to be provided from SOC 120. SOC 120 ensures the integrity of scrambled content at interface 173 by protecting secret values and secure storage locations, such private key storage 170 and protected storage 150, from access at any of the interfaces. In one embodiment of the present disclosure, SOC 120 performs tighter security on more critical, or sensitive, information. For example, Table 1 shows a list of different types of information associated with the secure transport of content.
As shown, in Table 1, some values associated with the processing of secure content are considered more critical to security, such as private key 175 and codeword 155, than others. A measurement of security criticality presented is meant to illustrate a ranking of how valuable a particular information type is to the integrity of a secure system. Information types having a lower valve security criticality ranking, i.e., 1, would be more damaging to the integrity of a secure system if discovered than information types having a higher security criticality ranking. The criticality of an information type, in relation to security, can be lessened by altering the associated information, so it is unusable, such as by encrypting a codeword value or scrambling content. It should be appreciated that while Table 1 provides unique security criticality rankings for each information type, several information types may be assigned to a same security criticality ranking. A security criticality ranking as provided in Table 1 can allow for system definitions that may dictate how information types at or below a particular security criticality value would be protected. For example, an information type having a security criticality ranking of ‘1’ can indicate that neither data nor a representation of the data associated with the information type be provided at an output associated with a secure system, such as SOC 120. In one embodiment of the present disclosure, private key storage 170 and protected storage 150 represent storage locations operably de-coupled from external interfaces of SOC 120 during a normal operating mode. Accordingly, SOC 120 protects private key 175 and codeword 155 from external access.
Referring now to
In one embodiment, decoupling modules 215 and 225 provide access to portions of protected storage 150 during a test mode of SOC 120. Decoupling module 225 can provide write access to protected storage 150, through data line 222 and address line 224, allowing external input interface 220 to store information in protected storage 150 for the purposes of testing or loading initial values. Decoupling module 215 can be used to provide read access to protected storage 150 to external output interface 210 during a test mode of SOC 120, thereby providing data through data line 212. In one embodiment, external interfaces 210 and 220 include test interfaces associated with SOC 120, such as a JTAG test interface, or other data interfaces. Accordingly, decoupling modules 210 and 220 can be used to store and read values into protected storage 150 during the test mode.
When operating in a secure mode, the decoupling modules 210 and 220 will prevent information stored in protected storage 150, such as the code word 155, from being provided to the external output interface 210. As a result, it will not be possible either through the execution of internal instructions, or by accessing external interfaces 210 and 220 to retrieve data stored within protected storage 150. This is accomplished in one embodiment, by disabling logic in the decoupling module 215 after test mode and/or module 225 through the assertion of specific control bits to disable logic associated with accessing stored information. Alternatively, a physical destruction of a fuse, or fuse-type connection can also be implemented to disable the logic coupling of protected storage 150 from the external output interface 210.
In an alternate embodiment, the decoupling module 225 operates to destroy any data stored at protected storage 150 as part of entering a test mode. In this embodiment, once the data is destroyed and test mode is fully entered, the user would be able to store and read information from protected storage 150. However, the information being stored and read would be information provided solely by the user. Information stored during test mode in protected storage 150 would not be observable external the system once test mode is exited. Data stored during test mode may or may not be observable during test mode, depending upon specific implementations.
In yet another alternate embodiment, any access to the protected storage 150 during a mode other than test mode, would result in the data being destroyed prior to it being read. A further embodiment would result in indeterminate, or predetermined value to be returned when an address request of protected storage 150 is made to decoupling module 225. For example, in response to receiving an address as part of a read request to protected storage 150, the decoupling module 225 can communicate with decoupling module 215 to provide a dummy data to the external output interface 210, thereby bypassing the protected storage 150. This communication can be through protected storage 150, or bypass protected storage 150. Based upon these embodiments, it will be appreciated that both the decoupling module 215 and the decoupling module 225 can be disabled, or that in an alternative implementation, the decoupling module 225 may remain enabled, and possibly not even exist.
It will be further appreciated, that the decoupling modules 215 and 225 may actually represent the lack of specific circuitry implementing the ability to provide information within protected storage 150 to the output interface 210. In other words, even during a test mode, or any other mode of operation, the decoupling module 215 could represent the lack of interface connections prohibiting protected data, such as the code word 155 from ever being provided to an output interface of the SOC. It would be appreciated in such an implementation, that the functionality of the protected storage 150 would need to be verified using alternative test methods, such as providing specific coded data to be descrambled and sent external for verification. Note that where a test mode of operation, and a secure mode of operation (also referred to as a normal mode of operation) exists, the decoupling modules 215 and 225 are designed as such to implement a one-way security enable, whereby after implemented, it is not possible to disable the security measures which prohibit observability of the protected storage 150, which is external SOC 120.
In one embodiment, write access to codeword 155 during normal operation is only allowed through encryption/decryption block 160 and codeword generator 180. Once decoupling modules 215 and 225 are disabled, direct access to protected storage 150 is no longer available to external interfaces 210 and 220. Accordingly, the value of codeword 155 is read accessible only internal to SOC 120, for use at the codeword input 131 of scrambler/descrambler 130 and at a data input of encryption engine 161. The SOC is designed so that the only representation of the value of codeword 155 is only provided external to SOC 120 by first encrypting the value of codeword 155.
Referring now to
Referring back to
In one embodiment of the present disclosure, private key 175 is stored into private key storage 170 as part of a write-once function associated with test or initialization, in which the value of private key 175 can no longer be altered. Furthermore, the value of private key 175 can be uniquely assigned to SOC 120 and other chips similar to SOC 120 will be assigned a different private key value. Similarly, the values of public key 127 and unique ID 126 are uniquely assigned to SOC 120. In one embodiment of the present disclosure, a method of authentication referred to as digital signing, is disabled in encryption/decryption block 160 by not allowing the decryption engine 162 of encryption/decryption block 160 to send decrypted messages to any external output interface. Digital signing can be exploited, such as through the use of a Trojan Horse attack, to uncover the value of a secret codeword, such as codeword 155. By disabling and/or preventing digital signing, SOC 120 can be protected from such an attack. In one embodiment of the present disclosure, encryption/decryption block 160 is further capable of performing encryption operations in parallel with other functions of system 100. Serial execution of decryption code generates measurable changes in current draw that can be detected external to SOC 120 to exploit private keys, such as private key 175. In comparison to serial execution of decryption code, parallel execution of decryption code by the decryption engine 162 cannot be as readily detected. Accordingly, encryption operations can be hidden from external monitoring of system 100.
In one embodiment, the descrambled content is stored in dynamic storage 110, prior to display. In another embodiment, the descrambled content is re-scrambled using an internal codeword, codeword 155, which may be a codeword provided by service provider 102 or generated by the codeword generator 180, prior to storage in dynamic storage 110. Re-scrambled content can be stored, along with an encrypted value of codeword 155, external to system 100, such as in storage 108.
As identified in Table 1, scrambled content is not considered critical. By being scrambled with a particular codeword value, such as codeword 155, the scrambled content cannot be unscrambled without the knowledge of the codeword. Accordingly, scrambled content is generally stored with an encrypted version of the codeword used to scramble the content. In one embodiment, a codeword used to scramble stored data is encrypted using public key 127, associated with SOC 120 and stored with the scrambled content. It should be noted that more than one codeword can be used by SOC 120. In one embodiment, stored content can be associated with a time in which the content can be decrypted, such as a content expiration date. Such an expiration date can be a timecode used by the encryption/decryption block 160 or scrambler/descrambler 130 to determine if the stored content is valid. Alternatively, system 100 can be used to clear stored content based on a timecode associated with the stored content. In another embodiment, codeword values stored with the stored content expire as old codeword values are replaced by new values generated by codeword generator 180. Similar to scrambled content stored by SOC 120, scrambled content sent to consumer 106 is sent with a codeword encrypted using the consumer's public key 107, associated with chip 103 of consumer 106. Accordingly, only consumer 106 can decrypt the codeword, using a private key 105 known only internal to chip 103 of consumer 106, and then descramble the scrambled content.
In one embodiment, codeword generator 180 is used to generate random values and stores the random values as codeword 155 for use by the scrambling engine of the scrambler/descrambler 130. When multiple codewords are generated, new content is scrambled using the newly generated codeword values, the prior value of the codeword is no longer useful for descrambling newly scrambled content. In one embodiment, access to a portion of protected storage 150 used for storing codeword 155 is only accessible by codeword generator 180 to assure that no external devices are allowed to dictate and/or alter the values of codeword 155.
In one embodiment of the present disclosure, transcoder 135 modifies the received content that is stored in dynamic storage 110. Transcoder 135 is capable of altering a bit-rate and/or resolution associated with content stored in dynamic memory 110. For example, the bit-rate and/or resolution associated with the content stored in dynamic memory 110 can be reduced to only a portion of the maximum bit-rate or resolution associated with the content, such as to a standard bit-rate and/or resolution, or can be reduced to match a lower bit-rate or resolution accepted by consumer 106. By reducing the bit-rate and/or resolution associated with content stored in dynamic memory 110, an overall value of the stored content can be reduced. For example, if a pirate compromises the content, the value of the compromised content is lowered due to the quality of the content being degraded from a maximum quality associated with the content. In one embodiment of the present disclosure, the internal decoder 137, associated with the SOC 120, is used to provide decoded content to the portion of system 100 external chip 120.
In one embodiment of the present disclosure, other secure systems interfacing with system 100, such as consumer 106 include chips similar to SOC 120, such as chip 103. Accordingly, a double-blind encryption scheme can be incorporated in which neither a source system nor a destination system has direct or indirect observability to the value of its own private key for export directly or as an encoded representation. Accordingly, the values of the private keys can be protected from attacks made on the systems to determine the values of the private keys. The ability of a source system to communicate with a destination system can be based upon the ability of both systems being blind systems, thereby assuring a double blind encryption scheme is used.
Referring now to
In step 410, the consumer 106 provides an authentication request to the system 100. The authentication request includes the ID 101, associated with the consumer 106. In step 420, the system 100 provides an authentication request, for consumer 106, to the service provider 102. The authentication request provided by system 100 includes an encrypted representation of ID 101 and ID 126, associated with system 100. The representations of Ids 101 and 126 are encrypted using public key 109. In step 430, once the service provider 102 has validated Ids 101 and 126, the service provider 102 sends a validation response, indicating authentication was successful, to the system 100. The validation response includes an encrypted representation of public codeword 109. The encrypted representation of public codeword 109 is encrypted using public key 127. In step 440, system 100 provides a validation response to consumer 106. The validation response includes an encrypted representation of public key 127. The encrypted representation of public key 127 is encrypted using public codeword 109.
In step 450, the consumer 106 sends a service request to the system 100. The service request is encrypted by consumer 106 using public key 127. In step 460, response to the service request of step 450, the system 100 sends the consumer 106 an acceptance. The acceptance includes a codeword value, which is encrypted using public codeword 109. In one embodiment, the codeword value is randomly generated by SOC 120, such as through codeword generator 180 (
At step 502, the protected memory is erased in response to the request. Either some or all of the protected memory can be erased in response to any and all requests. In one embodiment, only the specific location being accessed is erased.
At step 503, access to the protected memory is allowed after it has been erased. In this manner, the protected memory is decoupled from external interfaces in that the contents of the protected memory cannot be provided to external interfaces.
At step 602, a determination is made whether the system is in a test mode. If not in test mode, flow proceeds to step 608, where the access request is denied. As indicated in block 611, the access can be denied by disabling access to the protected memory, or by providing dummy data in response to the request. By denying the request for data stored at the protected memory when not in test mode, it remains decoupled from the external interface.
When in test mode, the flow proceeds from step 602 to step 603. At step 603, the protected memory is erased in response to being in test mode. Block 612 indicates that the protected memory can all be erased in response to merely entering test mode. Alternatively, protected memory can be erased as it is requested during test mode. In this manner, the protected memory remains decoupled from the external interfaces of the SOC.
At step 604, externally observable accesses are allowed after the protected memory is erased.
In the preceding detailed description of the embodiments, reference has been made to the accompanying drawings which form a part thereof, and in which is shown by way of illustration specific embodiments in which the disclosure may be practiced. These embodiments are described in sufficient detail to enable those skilled in the art to practice the disclosure, and it is to be understood that other embodiments may be utilized and that logical, mechanical and electrical changes may be made without departing from the spirit or scope of the disclosure. To avoid detail not necessary to enable those skilled in the art to practice the disclosure, the description may omit certain information known to those skilled in the art. Furthermore, many other varied embodiments that incorporate the teachings of the disclosure may be easily constructed by those skilled in the art. Accordingly, the present disclosure is not intended to be limited to the specific form set forth herein, but on the contrary, it is intended to cover such alternatives, modifications, and equivalents, as can be reasonably included within the spirit and scope of the disclosure. The preceding detailed description is, therefore, not to be taken in a limiting sense, and the scope of the present disclosure is defined only by the appended claims.