EP2146504A1 - Method and device for key generation - Google Patents

Method and device for key generation Download PDF

Info

Publication number
EP2146504A1
EP2146504A1 EP08305735A EP08305735A EP2146504A1 EP 2146504 A1 EP2146504 A1 EP 2146504A1 EP 08305735 A EP08305735 A EP 08305735A EP 08305735 A EP08305735 A EP 08305735A EP 2146504 A1 EP2146504 A1 EP 2146504A1
Authority
EP
European Patent Office
Prior art keywords
key
target
modification
basic
starting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
EP08305735A
Other languages
German (de)
French (fr)
Inventor
Mohamed Karroumi
Ayoub Massoudi
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Thomson Licensing SAS
Thomson Licensing LLC
Original Assignee
Thomson Licensing SAS
Thomson Licensing LLC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Thomson Licensing SAS, Thomson Licensing LLC filed Critical Thomson Licensing SAS
Priority to EP08305735A priority Critical patent/EP2146504A1/en
Priority to BRPI0916224A priority patent/BRPI0916224A2/en
Priority to US12/737,458 priority patent/US8520846B2/en
Priority to KR1020117000999A priority patent/KR101579477B1/en
Priority to EP09797484.4A priority patent/EP2351368B1/en
Priority to PCT/EP2009/058916 priority patent/WO2010007021A1/en
Priority to JP2011517887A priority patent/JP5474961B2/en
Priority to CN2009801279550A priority patent/CN102100078A/en
Publication of EP2146504A1 publication Critical patent/EP2146504A1/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/16Analogue secrecy systems; Analogue subscription systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/16Analogue secrecy systems; Analogue subscription systems
    • H04N7/162Authorising the user terminal, e.g. by paying; Registering the use of a subscription channel, e.g. billing
    • H04N7/165Centralised control of user terminal ; Registering at central
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/2347Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving video stream encryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/2347Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving video stream encryption
    • H04N21/23473Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving video stream encryption by pre-encrypting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/266Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
    • H04N21/26613Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel for generating or managing keys in general
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/631Multimode Transmission, e.g. transmitting basic layers and enhancement layers of the content over different transmission paths or transmitting with different error corrections, different keys or with different transmission protocols

Definitions

  • the present invention relates generally to digital content protection, and in particular to generation of encryption and decryption keys from an initial key.
  • WO 2008/055900 teaches a system for generation of encryption and decryption keys from an initial 'master' key.
  • the system may advantageously be used in MPEG-4 to provide a receiver with a single key from which the decryption keys for lower enhancement layers may be generated.
  • Figure 1 illustrates the key generation for two times two (i.e. four) enhancement layers.
  • a receiver that has access to key 2,2 may generate keys 1,2; 2,1; and 1,1 by applying one-way functions, advantageously hashes, to a specific part of the 'master' key. For example, to generate key 2,1, the receiver concatenates the left-hand side of key 2,2 - L 2,2 - with the hash value - H(R 2,2 ) - of the right-hand side of key 2,2 - R 2,2 .
  • Key 1,1 may be generated from either of keys 2,2; 2,1; and 1,2.
  • WO 2008/055900 presents a drawback. It will therefore be appreciated that there is a need for a content protection system that overcomes the drawback of the prior art. This invention provides such a solution.
  • the invention is directed to a method of generation of a target key in a n-dimensional key space, n being an integer greater than or equal to two, each key corresponding to a coordinate in the key space, the target key corresponding to coordinate (x,y,).
  • a starting basic key K MT having coordinates (X,Y,...) composed by n values is obtained and split into n key parts, each key part corresponding to one dimension.
  • a one-way function is applied, to the key part corresponding to the dimension, a number of times equal to the maximum coordinate value for the dimension minus the coordinate of the dimension of the target key, so as to obtain a target basic key part.
  • the n target basic key parts are combined to obtain a target basic key.
  • a starting modification key K' MT is obtained.
  • a distance value that expresses, as an integer, the distance in the key space between the starting modification key K' MT and the target key is generated.
  • a one-way function is applied to the starting modification key K' MT a number of times equal to the distance value so as to obtain a target modification key. Then the target basic key and the target modification key are combined to obtain the target key.
  • n is equal to 2.
  • the target basic key and the target modification key are XOR-ed.
  • the distance value is calculated by adding the difference between the coordinates of the starting basic key K MT and the target key for each dimension.
  • the length of all the key parts is identical.
  • the starting basic key and the starting modification key are comprised in a starting global key.
  • the invention is directed to a device for generation of a target key in a n-dimensional key space, n being an integer greater than or equal to two, each key corresponding to a coordinate in the key space, the target key corresponding to coordinate (x,y,).
  • the device comprises a processor adapted to: obtain a starting basic key K MT having coordinates (X,Y,%) composed by n values; split the starting basic key K MT into n key parts, each key part corresponding to one dimension; apply, for each dimension, a one-way function to the key part corresponding to one dimension a number of times equal to the maximum coordinate value for the dimension minus the coordinate of the dimension of the target key, so as to obtain a target basic key part; combine the n target basic key parts to obtain a target basic key; obtain a starting modification key K' MT ; generate a distance value that expresses, as an integer, the distance in the key space between the starting modification key K' MT and the target key; apply a one-way function to the starting modification key K' MT a number of times equal to the distance value so as to obtain a target modification key; and combine the target basic key and the target modification key to obtain the target key.
  • the present invention finds a raison d'ment in the fact that it has been discovered however, that the solution presented in may be vulnerable to collusion attacks.
  • the general scheme of the present invention develops the scheme in WO 2008/055900 by modifying the keys therein (hereinafter called 'basic keys') with a modification key to generate segment keys.
  • modification keys are described as being distinct from basic keys, it is also possible to provide both keys in a global key that is split into a modification key and a basic key whenever necessary.
  • a segment key KS mt is generated by:
  • z x+y.
  • z is calculated as follows:
  • FIG 2 illustrates how keys KS 32 , KS 31 , KS 23 , KS 22 , KS 21 , KS 13 , KS 12 , and KS 11 may be calculated from the master basic key K 33 and the master modification key K' 33 .
  • the skilled person will appreciate that it is preferred that the master basic key K 33 and the master modification key K' 33 are randomly or pseudo-randomly generated by a device at the head end.
  • Any device (at the head end or at the receiver end) may then generate any key from the master basic key K 33 and the master modification key K' 33 .
  • a device may generate any 'lesser' key from a 'greater' key - a lesser key having an equal or lower value in both dimensions - but not the other way around.
  • KS 22 (H 1 (L 32 ) ⁇ R 32 ) XOR H 3 (K' 32 ).
  • a target key may be obtained by hashing a concatenation of the modification key and the basic key.
  • R1 receives K 31 and K' 31
  • R2 receives K 13 and K' 13
  • R1 may thus generate segment keys KS 31 , KS 21 , and KS 11
  • R2 may generate segment keys KS 13 , KS 12 , and KS 11 .
  • the shared segment keys are KS 11
  • KS 31 and KS 21 are exclusive to R1 and KS 13 and KS 12 are exclusive to R2.
  • K 33 is easily obtained by combining L 31 of K 31 from R1 and R 13 of K 13 from R2.
  • a one-way function is yet assumed to be non invertible.
  • K' 32 H 3 1 (K' 33 )
  • K' 23 H 3 1 (K' 33 )
  • K' 22 H 3 2 (K' 33 ).
  • a 'greater' segment key may not be generated by a combination of features of 'lesser' segment keys.
  • the key generation scheme of the present invention is particularly suited for MPEG-FGS (Fine Grain Scalability) that is particularly adapted to flexible services provided by DRM (Digital Right Management) technologies.
  • n preferably is a power of 2.
  • FIG. 3 illustrates a system for key generation and distribution according to a preferred embodiment of the present invention.
  • the system 200 comprises a content provider 210 adapted to generate at least a master basic key K MT and a master modification key K' MT . These two keys permit to generate all the segment keys.
  • the content provider 210 is further adapted to compute all the segment keys and use them to encrypt content.
  • the encrypted content is then transferred 261 to an appropriate distribution server 230, e.g. web server, for distribution.
  • the content provider 210 sends 262 the master basic key K MT , the master modification key K' MT and the necessary usage rules to a license server 240.
  • the usage rules specify how the content should be used, typically the quality level and possible resolutions.
  • the license server 240 is responsible for the generation and distribution of content licenses to users.
  • a user device 220 downloads 263, 264 the content from the distribution server 230.
  • the user device 220 requests 265 a license from the license server 240.
  • the license server 240 generates a valid license that contains a basic key K mt and a modification key K' mt . These two keys are calculated by the license server 240 to suit the quality requested by the user device 220.
  • the license is securely delivered 266 to the user device 220, often after payment, and the encrypted content can be decrypted and used according to the usage rules in the license.
  • the license server 240 comprises an interface unit 242 for communication, at least one processor (hereinafter "processor") 244, and memory space 246 adapted to generate the license.
  • processor hereinafter "processor”
  • the value of z can also be computed in a relative way, i.e from a modification key K' mt where K' mt is not necessarily the master modification key K' MT .
  • K' mt is not necessarily the master modification key K' MT .
  • the user device 220 does not already possess the values of M and T (which may be the case if for example the user device obtained these values during a registration phase or with the downloaded content, provided that the values do not change), then these values are delivered to the user device, for example in the message with the license 266.
  • An advantage of this model is that users can re-distribute received encrypted content to other users 250 through super-distribution, which allows scalable content to be distributed to a vast number of users having a large variety of devices (cell phones, TV sets, high end PCs, etc) without direct involvement of the distribution server.
  • scalable content can be freely distributed, to access the scalable content, the recipient has to contact the license server (and to pay) to get basic and modification keys needed for segment decryption.
  • the content provider 210 and the user device 220 comprise an interface unit 212, 222 for communication, at least one processor (hereinafter "processor") 214, 224, and memory space 216, 226.
  • the processor 214 of the content provider 210 is adapted to generate at least a master basic key K MT and a master modification key K' MT , but is advantageously further adapted to generate all the segment keys KS mt and to encrypt content using the segment keys.
  • the processor 222 of the user device 220 is adapted to generate segment keys from the keys received in the license and to decrypt content using these keys.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Storage Device Security (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

A method of generating a segment key KSmt from a given basic key KMT and a given modification key K'MT in a key space with M*T keys. The basic key KMT is split into two parts LMT, RMT onto which a one-way function is applied M-m and T-t times, respectively, and the results are combined again to form a target basic key. A one-way function is applied to the modification key K'MT a number of times that corresponds to a distance value z between the given basic key and the segment key; in one preferred embodiment z=(M-m)+(T-t). This result is XOR-ed with the target basic key to obtain the segment key KSmt. Also provided is a device.

Description

    FIELD OF THE INVENTION
  • The present invention relates generally to digital content protection, and in particular to generation of encryption and decryption keys from an initial key.
  • BACKGROUND OF THE INVENTION
  • This section is intended to introduce the reader to various aspects of art, which may be related to various aspects of the present invention that are described and/or claimed below. This discussion is believed to be helpful in providing the reader with background information to facilitate a better understanding of the various aspects of the present invention. Accordingly, it should be understood that these statements are to be read in this light, and not as admissions of prior art.
  • WO 2008/055900 teaches a system for generation of encryption and decryption keys from an initial 'master' key. The system may advantageously be used in MPEG-4 to provide a receiver with a single key from which the decryption keys for lower enhancement layers may be generated. Figure 1 illustrates the key generation for two times two (i.e. four) enhancement layers. A receiver that has access to key 2,2 may generate keys 1,2; 2,1; and 1,1 by applying one-way functions, advantageously hashes, to a specific part of the 'master' key. For example, to generate key 2,1, the receiver concatenates the left-hand side of key 2,2 - L2,2 - with the hash value - H(R2,2) - of the right-hand side of key 2,2 - R2,2.
  • Similarly, to generate key 1,2, the receiver concatenates the right-hand side of key 2,2 - R2,2 - with the hash value - H(L2,2) - of the left-hand side of key 2,2 - L2,2. Key 1,1 may be generated from either of keys 2,2; 2,1; and 1,2. The skilled person will appreciate that
    • Key 1,1 = L1,2∥H(R1,2) = H(L2,2)∥H(R2,2) calculated via key 1,2, is equal to:
    • Key 1,1 = H(L2,1)∥R2,1 = H(L2,2)∥H(R2,2) calculated via key 2,1.
  • The skilled person will also appreciate that as the functions that are used to modify the keys are one-way, it is not computationally feasible to generate key 3,2 from key 2,2 or from key 3,1 (although the opposite is possible).
  • As will be seen, WO 2008/055900 presents a drawback. It will therefore be appreciated that there is a need for a content protection system that overcomes the drawback of the prior art. This invention provides such a solution.
  • SUMMARY OF THE INVENTION
  • In a first aspect, the invention is directed to a method of generation of a target key in a n-dimensional key space, n being an integer greater than or equal to two, each key corresponding to a coordinate in the key space, the target key corresponding to coordinate (x,y,...). A starting basic key KMT having coordinates (X,Y,...) composed by n values is obtained and split into n key parts, each key part corresponding to one dimension. For each dimension, a one-way function is applied, to the key part corresponding to the dimension, a number of times equal to the maximum coordinate value for the dimension minus the coordinate of the dimension of the target key, so as to obtain a target basic key part. The n target basic key parts are combined to obtain a target basic key. A starting modification key K'MT is obtained. A distance value that expresses, as an integer, the distance in the key space between the starting modification key K'MT and the target key is generated. A one-way function is applied to the starting modification key K'MT a number of times equal to the distance value so as to obtain a target modification key. Then the target basic key and the target modification key are combined to obtain the target key.
  • In a first preferred embodiment, n is equal to 2.
  • In a second preferred embodiment, the target basic key and the target modification key are XOR-ed.
  • In a third preferred embodiment, the distance value is calculated by adding the difference between the coordinates of the starting basic key KMT and the target key for each dimension.
  • In a fourth preferred embodiment, the length of all the key parts is identical.
  • In a fifth preferred embodiment, the starting basic key and the starting modification key are comprised in a starting global key.
  • In a second aspect, the invention is directed to a device for generation of a target key in a n-dimensional key space, n being an integer greater than or equal to two, each key corresponding to a coordinate in the key space, the target key corresponding to coordinate (x,y,...). The device comprises a processor adapted to: obtain a starting basic key KMT having coordinates (X,Y,...) composed by n values; split the starting basic key KMT into n key parts, each key part corresponding to one dimension; apply, for each dimension, a one-way function to the key part corresponding to one dimension a number of times equal to the maximum coordinate value for the dimension minus the coordinate of the dimension of the target key, so as to obtain a target basic key part; combine the n target basic key parts to obtain a target basic key; obtain a starting modification key K'MT; generate a distance value that expresses, as an integer, the distance in the key space between the starting modification key K'MT and the target key; apply a one-way function to the starting modification key K'MT a number of times equal to the distance value so as to obtain a target modification key; and combine the target basic key and the target modification key to obtain the target key.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • Preferred features of the present invention will now be described, by way of non-limiting example, with reference to the accompanying drawings, in which:
    • Figure 1 illustrates key generation as taught in prior art document WO 2008/055900 ; Figure 2 illustrates how keys may be calculated from a master basic key K33 and a master modification key K'33 according to a preferred embodiment of the invention; and
    • Figure 3 illustrates a system for key generation according to a preferred embodiment of the present invention.
    PREFERRED EMBODIMENT OF THE INVENTION
  • The present invention finds a raison d'être in the fact that it has been discovered however, that the solution presented in may be vulnerable to collusion attacks.
  • Supposing that an attacker breaks two receivers and recovers at least two protected license keys (or otherwise obtains these keys). Supposing further that one of these keys is key 2,1=(L2,2∥H(R2,2)) and that the other key is key 1,2=(H(L2,2)∥R2,2). Neither device is able to generate key 2,2. However, by using left-hand value of key 2,1=(L2,2∥H(R2,2)) and right side value of key 1,2=(H(L2,2)∥R2,2), the attacker is able to reconstitute the key 2,2=(L2,2∥R2,2). This is a collusion attack; the present invention proposes a general key generation scheme with two embodiments to counter this collusion attacks.
  • The general scheme of the present invention develops the scheme in WO 2008/055900 by modifying the keys therein (hereinafter called 'basic keys') with a modification key to generate segment keys.
  • The following notation will be used hereinafter:
    • The key space comprises M*T different segment keys (i.e. M in one dimension and T in the other), each segment key being denoted KSmt, where m ∈ {1,...,M} and t ∈ {1,...,T}.
    • A 2k-bit key Kmt is a key such that 22k-1 < Kmt < 22k. The k most significant bits (i.e. the left-hand part) of Kmt is noted Lmt and the k least significant bits (i.e. the right-hand part) Rmt; in other words Kmt = Lmt ∥ Rmt and could be written Lmt*2k + Rmt. We do not distinguish between a key Kmt and its representation Lmt ∥ Rmt.
    • Key KMT is a 2k-bit master basic key from which the other basic keys may be generated, preferably as in WO 2008/055900 .
    • H1, H2 and H3 denote one-way functions, where the size of the output of H1 and H2 is k bits and the size of the output of H3 is 2k bits. It is advantageous that H1 are H2 are identical, but this is not required. A suitable hash function for H1, H2 is e.g. MD5 which output is 128 bits and for H3 e.g. SHA-256 which output is 256 bits.
    • K'MT denotes a 2k-bit master modification key that will be described hereinafter.
  • While modification keys are described as being distinct from basic keys, it is also possible to provide both keys in a global key that is split into a modification key and a basic key whenever necessary.
  • A segment key KSmt is generated by:
    • Splitting KMT into two parts, preferably (as in the present example) halves, so that KMT = (LMT∥RMT).
    • A first and second distance value are calculated; x=M-m and y=T-t. A distance value expresses the difference in 'level' between the master key and the present key in a certain dimension.
    • An aggregate distance value z is calculated. The aggregate distance value is calculated differently depending on the embodiment.
    • The segment key KSmt is generated by calculating KS mt = H 1 x L MT H 2 y R MT XOR H 3 z MT .
      Figure imgb0001
    Put another way, KSmt = Kmt XOR K'mt.
  • In a first embodiment, z=x+y.
  • In a second embodiment, z is calculated as follows:
    • if x=0 and y=0, z=0;
    • if x=0 and y≠0, z=2y-1;
    • if x≠0 and y=0, z=2x-1; and
    • if x≠0 and y≠0, z=2x+2y-2.
  • The key generation scheme hereinafter will now be illustrated by an example.
  • The following is assumed for the example:
    • M=3, T=3;
    • H1=H2 with a k-bit output; H3 with a 2k-bit output.
    • z is calculated according to the second embodiment.
  • Figure 2 illustrates how keys KS32, KS31, KS23, KS22, KS21, KS13, KS12, and KS11 may be calculated from the master basic key K33 and the master modification key K'33. The skilled person will appreciate that it is preferred that the master basic key K33 and the master modification key K'33 are randomly or pseudo-randomly generated by a device at the head end.
  • Any device (at the head end or at the receiver end) may then generate any key from the master basic key K33 and the master modification key K'33. Expressed in a general manner, a device may generate any 'lesser' key from a 'greater' key - a lesser key having an equal or lower value in both dimensions - but not the other way around.
  • It is naturally also possible to generate a lesser key from one of the nearest greater keys, e.g. to generate KS22 from either K32, K'32, M and T or K23, K'23, M and T by analogous calculations. From for example K32 and K'32, KS22=(H1(L32)∥R32) XOR H3(K'32).
  • For further clarification, it will now be explained how the different values of z in Figure 2 were calculated:
    • m=3, t=2: x=M-m=3-3=0; y=T-t=3-2=1; z=2y-1=21-1=1;
    • m=3, t=1: x=M-m=3-3=0; y=T-t=3-1=2; z=2y-1=22-1=3;
    • m=2, t=3: x=M-m=3-2=1; y=T-t=3-3=0; z=2x-1=21-1=1;
    • m=2, t=2: x=M-m=3-2=1; y=T-t=3-2=1; z=2x+2y-1=21+21-2=2;
    • m=2, t=1: x=M-m=3-2=1; y=T-t=3-1=2; z=2x+2y-1=21+22-2=4;
    • m=1, t=2: x=M-m=3-1=2; y=T-t=3-2=1; z=2x+2y-1=22+21-2=4;
    • m=1, t=1: x=M-m=3-1=2; y=T-t=3-1=2; z=2x+2y-1=22+22-2=6.
  • The skilled person will appreciate that other suitable combination functions than XOR are possible. For example, a target key may be obtained by hashing a concatenation of the modification key and the basic key.
  • With the proposed scheme the collusion of two receivers having 'lesser' segment keys does not permit to compute a 'greater' segment key.
  • Imagine two receivers R1 and R2. R1 receives K31 and K'31, while R2 receives K13 and K'13. R1 may thus generate segment keys KS31, KS21, and KS11. R2 may generate segment keys KS13, KS12, and KS11. The shared segment keys are KS11, while KS31 and KS21, are exclusive to R1 and KS13 and KS12 are exclusive to R2.
  • With the solution of WO 2008/055900 it was possible to generate KS33=K33 by combining L31 from R1 and R13 from R2. However, this is not possible in the scheme according to the present invention. To calculate KS33, one must calculate the two keys K33 and K'33
  • As in the scheme of WO 2008/055900 , K33 is easily obtained by combining L31 of K31 from R1 and R13 of K13 from R2. However it is computationally difficult to calculate K'33 by combining K'31 from R1 and K'13 from R2.
  • Indeed, to calculate K'33 and thus to get KS33 it requires the inversion of H3, since K'31 = K'13 = H3 3(K'33). A one-way function is yet assumed to be non invertible.
  • It is even not possible to calculate K'32 = H3 1(K'33), K'23 = H3 1(K'33), K'22 = H3 2(K'33)., and thus to generate the segment keys KS32 KS23 KS22 by combining K'31 from R1 and K'13 from R2.
  • The use of modification keys K'mt thus brings resistance to collusion attacks to the scheme.
  • It will thus be appreciated that a 'greater' segment key may not be generated by a combination of features of 'lesser' segment keys.
  • The key generation scheme of the present invention is particularly suited for MPEG-FGS (Fine Grain Scalability) that is particularly adapted to flexible services provided by DRM (Digital Right Management) technologies.
  • Scalable encryption techniques if combined with a suitable key management scheme enables improved access control processes.
  • While the invention has been described in two dimensions, the skilled person will appreciate that it may be generalised to n dimensions by splitting the basic keys in n parts, where n preferably is a power of 2.
  • Figure 3 illustrates a system for key generation and distribution according to a preferred embodiment of the present invention. The system 200 comprises a content provider 210 adapted to generate at least a master basic key KMT and a master modification key K'MT. These two keys permit to generate all the segment keys. The content provider 210 is further adapted to compute all the segment keys and use them to encrypt content. The encrypted content is then transferred 261 to an appropriate distribution server 230, e.g. web server, for distribution. Then the content provider 210 sends 262 the master basic key KMT, the master modification key K'MT and the necessary usage rules to a license server 240. The usage rules specify how the content should be used, typically the quality level and possible resolutions. The license server 240 is responsible for the generation and distribution of content licenses to users. At the other end, a user device 220 downloads 263, 264 the content from the distribution server 230. To be able to consume the encrypted content, the user device 220 requests 265 a license from the license server 240. The license server 240 generates a valid license that contains a basic key Kmt and a modification key K'mt. These two keys are calculated by the license server 240 to suit the quality requested by the user device 220. Finally, the license is securely delivered 266 to the user device 220, often after payment, and the encrypted content can be decrypted and used according to the usage rules in the license. For instance, if a user device acquires the rights for the full quality of the video, the license contains the master basic key KMT and a master modification key K'MT. The license server 240 comprises an interface unit 242 for communication, at least one processor (hereinafter "processor") 244, and memory space 246 adapted to generate the license.
  • In the first and in the second embodiment the value of z can also be computed in a relative way, i.e from a modification key K'mt where K'mt is not necessarily the master modification key K'MT. This works well for the first embodiment, as it is easy for the user device 220 to calculate the number of times that the one-way function should be applied to the modification key K'mt to obtain any lesser modification key K'ij. However, things are a bit more complicated in the second embodiment.
  • Indeed, the computation of z for any modification key K'ij relative to another modification key K'mt requires the knowledge of M and T. In that case, the computation of z may be performed as follows:
    1. 1- Compute first z1 for K'ij, e.g. z1=2M-i+2T-j-2,
    2. 2- Compute next z2 for K'mt, e.g. z2=2M-m+2T-t-2,
    3. 3- Finally z=z1-z2 and K'ij = H3 z(K'mt).
  • Supposing that M=3, T=3, the received modification key is K'22 and the user's device 220 calculates the lowest modification key K'11. Then the user's device 220 will calculate z1 for K'11: z1=2M-1+2T-1-2=22+22-2=6 and z2 for K'22: z2=2M-2+2T-2=21+21-2=2. The value of z for K'11 relative to K'22 is z= z1-z2 =6-2=4. Hence, K'11 = H3 z(K'22)= H3 4(K'22). It will thus be seen that the user device needs knowledge about M and T for the key space. Thus, if the user device 220 does not already possess the values of M and T (which may be the case if for example the user device obtained these values during a registration phase or with the downloaded content, provided that the values do not change), then these values are delivered to the user device, for example in the message with the license 266.
  • An advantage of this model is that users can re-distribute received encrypted content to other users 250 through super-distribution, which allows scalable content to be distributed to a vast number of users having a large variety of devices (cell phones, TV sets, high end PCs, etc) without direct involvement of the distribution server. Although scalable content can be freely distributed, to access the scalable content, the recipient has to contact the license server (and to pay) to get basic and modification keys needed for segment decryption.
  • The content provider 210 and the user device 220 comprise an interface unit 212, 222 for communication, at least one processor (hereinafter "processor") 214, 224, and memory space 216, 226. The processor 214 of the content provider 210 is adapted to generate at least a master basic key KMT and a master modification key K'MT, but is advantageously further adapted to generate all the segment keys KSmt and to encrypt content using the segment keys. The processor 222 of the user device 220 is adapted to generate segment keys from the keys received in the license and to decrypt content using these keys.
  • Each feature disclosed in the description and (where appropriate) the claims and drawings may be provided independently or in any appropriate combination. Features described as being implemented in hardware may also be implemented in software, and vice versa. Connections may, where applicable, be implemented as wireless connections or wired, not necessarily direct or dedicated, connections.
  • Reference numerals appearing in the claims are by way of illustration only and shall have no limiting effect on the scope of the claims.

Claims (7)

  1. A method of generation of a target key in a n-dimensional key space, n being an integer greater than or equal to two, each key corresponding to a coordinate in the key space, the target key corresponding to coordinate (x,y,...), the method comprising the steps, at a device, of:
    - obtaining a starting basic key KMT having coordinates (X,Y,...) composed by n values;
    - splitting the starting basic key KMT into n key parts, each key part corresponding to one dimension;
    - for each dimension, applying a one-way function to the key part corresponding to the dimension a number of times, the number of times being equal to the maximum coordinate value for the dimension minus the coordinate of the dimension of the target key, so as to obtain a target basic key part; and
    - combining the n target basic key parts to obtain a target basic key;
    the method being characterised in that it further comprises the steps of:
    - obtaining a starting modification key K'MT;
    - generating a distance value that expresses, as an integer, the distance in the key space between the starting modification key K'MT and the target key;
    - applying a one-way function to the starting modification key K'MT a number of times equal to the distance value so as to obtain a target modification key; and
    - combining the target basic key and the target modification key to obtain the target key.
  2. The method of claim 1, wherein n is equal to 2.
  3. The method of claim 1, wherein the target basic key and the target modification key are XOR-ed.
  4. The method of claim 1, wherein the distance value is calculated by adding the difference between the coordinates of the starting basic key KMT and the target key for each dimension.
  5. The method of claim 1, wherein the length of all the key parts is identical.
  6. The method of claim 1, wherein the starting basic key and the starting modification key are comprised in a starting global key.
  7. A device for generation of a target key in a n-dimensional key space, n being an integer greater than or equal to two, each key corresponding to a coordinate in the key space, the target key corresponding to coordinate (x,y,...), the device comprising a processor (214; 224; 244) adapted to:
    - obtain a starting basic key KMT having coordinates (X,Y,...) composed by n values;
    - split the starting basic key KMT into n key parts, each key part corresponding to one dimension;
    - apply, for each dimension, a one-way function to the key part corresponding to one dimension a number of times equal to the maximum coordinate value for the dimension minus the coordinate of the dimension of the target key, so as to obtain a target basic key part; and
    - combine the n target basic key parts to obtain a target basic key;
    the device being characterised in that the processor (214; 224; 244) is further adapted to:
    - obtain a starting modification key K'MT;
    - generate a distance value that expresses, as an integer, the distance in the key space between the starting modification key K'MT and the target key;
    - apply a one-way function to the starting modification key K'MT a number of times equal to the distance value so as to obtain a target modification key; and
    - combine the target basic key and the target modification key to obtain the target key.
EP08305735A 2008-07-18 2008-10-27 Method and device for key generation Withdrawn EP2146504A1 (en)

Priority Applications (8)

Application Number Priority Date Filing Date Title
EP08305735A EP2146504A1 (en) 2008-07-18 2008-10-27 Method and device for key generation
BRPI0916224A BRPI0916224A2 (en) 2008-07-18 2009-07-13 method and device for key generation
US12/737,458 US8520846B2 (en) 2008-07-18 2009-07-13 Method and device for key generation
KR1020117000999A KR101579477B1 (en) 2008-07-18 2009-07-13 Method and device for key generation
EP09797484.4A EP2351368B1 (en) 2008-07-18 2009-07-13 Method and device for key generation
PCT/EP2009/058916 WO2010007021A1 (en) 2008-07-18 2009-07-13 Method and device for key generation
JP2011517887A JP5474961B2 (en) 2008-07-18 2009-07-13 Key generation method and apparatus
CN2009801279550A CN102100078A (en) 2008-07-18 2009-07-13 Method and device for key generation

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
EP08305406 2008-07-18
EP08305735A EP2146504A1 (en) 2008-07-18 2008-10-27 Method and device for key generation

Publications (1)

Publication Number Publication Date
EP2146504A1 true EP2146504A1 (en) 2010-01-20

Family

ID=40626956

Family Applications (2)

Application Number Title Priority Date Filing Date
EP08305735A Withdrawn EP2146504A1 (en) 2008-07-18 2008-10-27 Method and device for key generation
EP09797484.4A Not-in-force EP2351368B1 (en) 2008-07-18 2009-07-13 Method and device for key generation

Family Applications After (1)

Application Number Title Priority Date Filing Date
EP09797484.4A Not-in-force EP2351368B1 (en) 2008-07-18 2009-07-13 Method and device for key generation

Country Status (7)

Country Link
US (1) US8520846B2 (en)
EP (2) EP2146504A1 (en)
JP (1) JP5474961B2 (en)
KR (1) KR101579477B1 (en)
CN (1) CN102100078A (en)
BR (1) BRPI0916224A2 (en)
WO (1) WO2010007021A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103684763A (en) * 2012-09-19 2014-03-26 北京握奇数据系统有限公司 Data encryption method based on RSA algorithm, device and smart card
CN108933666B (en) * 2017-05-27 2023-10-31 浙江苏泊尔家电制造有限公司 Method and device for acquiring capsule information
US10944544B2 (en) 2018-11-07 2021-03-09 Sony Corporation Reducing variable-length pre-key to fix-length key
US11443016B2 (en) 2018-11-09 2022-09-13 Sony Corporation Pre-key with authentication using logical combinations of pre-key bits with other information
DE112020005557B4 (en) 2020-01-14 2023-09-28 Mitsubishi Electric Corporation REGISTRATION FACILITY, SEARCH OPERATIONS FACILITY, DATA MANAGEMENT FACILITY, REGISTRATION PROGRAM, SEARCH OPERATIONS PROGRAM AND DATA MANAGEMENT PROGRAM

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1921858A1 (en) * 2006-11-09 2008-05-14 Thomson Licensing Method and device for managing a transmission of keys

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7079653B2 (en) * 1998-02-13 2006-07-18 Tecsec, Inc. Cryptographic key split binding process and apparatus
JP2001211153A (en) * 2000-01-25 2001-08-03 Murata Mach Ltd Secret key generating method
US7016493B2 (en) * 2001-03-01 2006-03-21 Asier Technology Corporation Key matrix system
JP2003333024A (en) * 2002-05-09 2003-11-21 Nec Corp Encryption/decryption system and its deciphering prevention/tampering proof method
JP2004297778A (en) * 2003-03-07 2004-10-21 Canon Inc Image data encryption method and apparatus, computer program, and computer-readable storage medium
KR100542042B1 (en) * 2003-10-23 2006-01-11 한국항공우주연구원 Technique of cipher authentication of satellite telemetry/telecommand to protect from replay attack
US7756271B2 (en) * 2004-06-15 2010-07-13 Microsoft Corporation Scalable layered access control for multimedia
US20080031451A1 (en) * 2005-11-14 2008-02-07 Jean-Francois Poirier Method and system for security of data transmissions

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1921858A1 (en) * 2006-11-09 2008-05-14 Thomson Licensing Method and device for managing a transmission of keys
WO2008055900A1 (en) 2006-11-09 2008-05-15 Thomson Licensing Method and device for managing a transmission of keys

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
IMAIZUMI S ET AL: "Collusion attack-resilient hierarchical encryption of JPEG 2000 codestreams with scalable access control", PROCEEDINGS 2007 IEEE INTERNATIONAL CONFERENCE ON IMAGE PROCESSING, ICIP 2007 IEEE PISCATAWAY, NJ, USA, 2007, pages II - 137, XP002531888, ISBN: 978-1-4244-1436-9 *
IMAIZUMI S ET AL: "Generalized Hierarchical Encryption of JPEG 2000 Codestreams for Access Control", IMAGE PROCESSING, 2005. ICIP 2005. IEEE INTERNATIONAL CONFERENCE ON GENOVA, ITALY 11-14 SEPT. 2005, PISCATAWAY, NJ, USA,IEEE, vol. 2, 11 September 2005 (2005-09-11), pages 1094 - 1097, XP010851248, ISBN: 978-0-7803-9134-5 *
NORIAKI HASHIMOTO ET AL: "Hierarchical encryption using short encryption keys for scalable access control of JPEG 2000 coded images", IMAGE PROCESSING, 2008. ICIP 2008. 15TH IEEE INTERNATIONAL CONFERENCE ON, IEEE, PISCATAWAY, NJ, USA, 12 October 2008 (2008-10-12), pages 3116 - 3119, XP031374702, ISBN: 978-1-4244-1765-0 *

Also Published As

Publication number Publication date
WO2010007021A1 (en) 2010-01-21
US8520846B2 (en) 2013-08-27
BRPI0916224A2 (en) 2015-11-03
JP2011528521A (en) 2011-11-17
CN102100078A (en) 2011-06-15
KR101579477B1 (en) 2015-12-23
JP5474961B2 (en) 2014-04-16
EP2351368A1 (en) 2011-08-03
KR20110031463A (en) 2011-03-28
EP2351368B1 (en) 2018-08-29
US20110228930A1 (en) 2011-09-22

Similar Documents

Publication Publication Date Title
EP2044568B1 (en) Method and apparatus for securely moving and returning digital content
EP2835933B1 (en) Method, device and system for implementing media data processing
CN111327620B (en) Data security traceability and access control system under cloud computing framework
US7903820B2 (en) Key production system
US20080212780A1 (en) Homomorphic Encryption For Secure Watermarking
EP1146714A1 (en) System and method for protection of digital works
US20030002668A1 (en) Multi-level, multi-dimensional content protections
EP1146715A1 (en) System and method for protection of digital works
CN1535014A (en) Upgradable error elastic DRM used for upgradable medium
US20170353745A1 (en) Secure media player
EP2487829A1 (en) Method and device for generating control words
EP2351368B1 (en) Method and device for key generation
Peinado Digital rights management in a multimedia environment
CN115552838A (en) Protecting confidential information using multiparty computing and K-anonymization techniques
US8706635B2 (en) Use of licensed content without identification thereof
US20090276625A1 (en) Hierarchical browsing management method and system for digital content
KR101530107B1 (en) Method of generate a private key in a boneh-franklin scheme
EP2403244A1 (en) Secure encryption method for electronic content distribution
US20200275142A1 (en) A method for delivering digital content to at least one client device
ZHANG Cryptographic Techniques in Digital Media Security: Current Practices and Future Directions.
Thomas et al. Secure multimedia content delivery with multiparty multilevel DRM architecture
Jeong et al. A generic partial encryption scheme for low-power mobile devices
Jayashree et al. An improved multilevel resource handling strategy for cloud based video streaming
Zhaofeng et al. Secure and flexible digital rights management in a pervasive usage mode
US20240214361A1 (en) Distributed data content protection

Legal Events

Date Code Title Description
PUAI Public reference made under article 153(3) epc to a published international application that has entered the european phase

Free format text: ORIGINAL CODE: 0009012

AK Designated contracting states

Kind code of ref document: A1

Designated state(s): AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MT NL NO PL PT RO SE SI SK TR

AX Request for extension of the european patent

Extension state: AL BA MK RS

AKY No designation fees paid
REG Reference to a national code

Ref country code: DE

Ref legal event code: 8566

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: THE APPLICATION IS DEEMED TO BE WITHDRAWN

18D Application deemed to be withdrawn

Effective date: 20100721