US8600052B2 - Key generation device, encryption device, reception device, key generation method, key processing method, and program - Google Patents

Key generation device, encryption device, reception device, key generation method, key processing method, and program Download PDF

Info

Publication number
US8600052B2
US8600052B2 US12/447,872 US44787207A US8600052B2 US 8600052 B2 US8600052 B2 US 8600052B2 US 44787207 A US44787207 A US 44787207A US 8600052 B2 US8600052 B2 US 8600052B2
Authority
US
United States
Prior art keywords
leaves
key
header
assigned
intermediate nodes
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.)
Expired - Fee Related, expires
Application number
US12/447,872
Other versions
US20100067702A1 (en
Inventor
Masafumi Kusakawa
Tomoyuki Asano
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.)
Sony Corp
Original Assignee
Sony Corp
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 Sony Corp filed Critical Sony Corp
Assigned to SONY CORPORATION reassignment SONY CORPORATION ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: ASANO, TOMOYUKI, KUSAKAWA, MASAFUMI
Publication of US20100067702A1 publication Critical patent/US20100067702A1/en
Application granted granted Critical
Publication of US8600052B2 publication Critical patent/US8600052B2/en
Expired - Fee Related legal-status Critical Current
Adjusted expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0816Key establishment, i.e. cryptographic processes or cryptographic protocols whereby a shared secret becomes available to two or more parties, for subsequent use
    • H04L9/0819Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s)
    • H04L9/083Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s) involving central third party, e.g. key distribution center [KDC] or trusted third party [TTP]
    • H04L9/0833Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s) involving central third party, e.g. key distribution center [KDC] or trusted third party [TTP] involving conference or group key
    • H04L9/0836Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s) involving central third party, e.g. key distribution center [KDC] or trusted third party [TTP] involving conference or group key using tree structure or hierarchical structure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0861Generation of secret information including derivation or calculation of cryptographic keys or passwords
    • H04L9/0869Generation of secret information including derivation or calculation of cryptographic keys or passwords involving random numbers or seeds
    • 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/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25808Management of client data
    • H04N21/25816Management of client data involving client authentication
    • 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/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25866Management of end-user data
    • H04N21/25875Management of end-user data involving end-user authentication
    • 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/633Control signals issued by server directed to the network components or client
    • H04N21/6332Control signals issued by server directed to the network components or client directed to client
    • H04N21/6334Control signals issued by server directed to the network components or client directed to client for authorisation, e.g. by transmitting a key
    • H04N21/63345Control signals issued by server directed to the network components or client directed to client for authorisation, e.g. by transmitting a key by transmitting keys
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/835Generation of protective data, e.g. certificates
    • H04N21/8355Generation of protective data, e.g. certificates involving usage data, e.g. number of copies or viewings allowed
    • 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
    • H04N7/00Television systems
    • H04N7/16Analogue secrecy systems; Analogue subscription systems
    • H04N7/167Systems rendering the television signal unintelligible and subsequently intelligible
    • H04N7/1675Providing digital key or authorisation information for generation or regeneration of the scrambling sequence
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2209/00Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
    • H04L2209/60Digital content management, e.g. content distribution

Definitions

  • the present invention relates to a key generation device, an encryption device, a reception device, a key generation method, an encryption method, a key processing method, and a program.
  • an administrator hereinafter, referred to as a center of the system supplies a key only to a customer in advance, and at the time of delivery of content, delivers ciphertext C, which has been generated by encrypting content M by using a session key s, and a header h for allowing only the customer to acquire the session key s. Accordingly, only the customer can acquire the content M.
  • Non-Patent Document 1 D. Boneh, C. Gentry, B. Waters, “Collusion Resistant Broadcast Encryption With Short Ciphertexts and Private Keys”, CRYPTO'05, Proceedings of 25th Annual International Cryptology Conference on Advances in Cryptology, London, UK, Springer Verlag, 2005, pp. 58-75.
  • An object of the present invention is to provide a novel and improved key generation device, encryption device, reception device, key generation method, encryption method, key processing method, and program capable of reducing a header size even in a case where the number of excluded customers is small.
  • a key generation device including a tree-structure construction unit that hierarchically constructs a Y-ary tree structure where n reception devices are assigned to leaves and a height is represented by (log Y n), and forms subgroups constituted by a plurality of leaves existing in a layer lower than intermediate nodes existing between the leaves and a root; a leaf-key assigning unit that assigns leaf keys g y to the individual leaves and the individual intermediate nodes; a parameter assigning unit that assigns different parameters ⁇ x,y (x: layer, y: 1, 2, . . .
  • Y x node parameters ⁇ x,y (x: layer, y: 1, 2, . . . , Y x ) to the individual intermediate nodes and the root; and a key calculation unit that identifies paths extending from the root to the leaves, and calculates keys on the basis of the leaf keys g y assigned to the intermediate nodes or the leaves existing in the paths and the parameters ⁇ x,y and the node parameters ⁇ x,y assigned to parent nodes of the intermediate nodes or the leaves.
  • the key generation device described above may be configured so as to further include a delivery unit that delivers sets of keys in the paths calculated by the key calculation unit to the respective reception devices.
  • the key generation device described above may further include a random-number determination unit that selects, at random, a prime p to determine a bilinear group G having the prime p as an order, selects, at random, g serving as a generator of G, and selects, at random, a secret random number ⁇ ( ⁇ is an integer).
  • the leaf-key assigning unit described above may calculate the leaf keys g y that satisfy expression A below.
  • [Math. 1] g y g ( ⁇ ) y (Expression A)
  • the key calculation unit may set, as secret keys, values obtained by raising the leaf keys g y assigned to the intermediate nodes or the leaves to the power of the parameters ⁇ x,y assigned to parent nodes of the intermediate nodes or the leaves. That is, in a case where a leaf key g y assigned to an intermediate node or a leaf is abbreviated as K and a parameter ⁇ x,y assigned to a parent node of the intermediate node or the leaf is abbreviated as T, a value obtained by K T may be set to a secret key.
  • the key calculation unit described above may calculate a public key on the basis of the leaf keys g y and the parameters ⁇ x,y .
  • the delivery unit described above may include a public-key publishing part that publishes the public key.
  • the delivery unit described above may further include a transmission part that transmits the secret keys calculated by the key calculation unit to the respective reception devices.
  • an encryption device including an excluded reception device identification unit that identifies an excluded reception device among n reception devices, and determines a set S of non-excluded reception devices.
  • e(g Y ,g 1 ) described above represents a bilinear map for two elements g y and g 1 of a bilinear group.
  • the encryption device described above may further include an encryption unit that encrypts, by using the above-described session key s, content to be delivered.
  • the session-key determination unit described above may further include a header-element calculation part that marks all the individual nodes existing in a path extending from a leaf for the excluded reception device to the root, and calculates, on the basis of the parameters ⁇ x,y assigned to the marked nodes and leaf keys g y assigned to intermediate nodes for which the marked nodes serve as parent nodes, header elements by using expression C below.
  • S x,y represents a set of unmarked child nodes belonging to each of subgroups where the marked nodes serve as parent nodes.
  • the session-key determination unit described above may further include a header information generation part that sets c x,y and g t obtained by the header-element calculation part as header information.
  • a reception device capable of communicating with a key generation device and an encryption device, including a reception unit that receives keys obtained by the key generation device that hierarchically constructs a Y-ary tree structure where n reception devices are assigned to leaves and a height is represented by (log Y n), forms subgroups constituted by a plurality of leaves existing in a layer lower than intermediate nodes existing between the leaves and a root, assigns leaf keys g y to the individual leaves and the individual intermediate nodes, assigns different parameters ⁇ x,y (x: layer, y: 1, 2, . . .
  • Y x node parameters ⁇ x,y (x: layer, y: 1, 2, . . . , Y x ) to the individual intermediate nodes and the root, identifies paths extending from the root to the leaves, and calculates the keys on the basis of the leaf keys g y assigned to the intermediate nodes or the leaves existing in the paths and the parameters ⁇ x,y and the node parameters ⁇ x,y assigned to parent nodes of the intermediate nodes or the leaves.
  • the reception device described above may further include a decryption unit that decrypts encrypted content by using a session key s.
  • the reception unit described above may further receive information on a set S of non-excluded reception devices, which is information for identifying an excluded reception device.
  • the reception device described above may further include a determination unit that determines whether or not the reception device is included in the set S.
  • the decryption unit described above may decrypt the encrypted content by calculating the session key s on the basis of expression D below and using the calculated session key s.
  • a key generation method including a tree-structure construction step of hierarchically constructing a Y-ary tree structure where n reception devices are assigned to leaves and a height is represented by (log Y n), and forming subgroups constituted by a plurality of leaves existing in a layer lower than intermediate nodes existing between the leaves and a root; a leaf-key assigning step of assigning leaf keys g y to the individual leaves and the individual intermediate nodes; a parameter assigning step of assigning different parameters ⁇ x,y (x: layer, y: 1, 2, . . .
  • Y x node parameters ⁇ x,y (x: layer, y: 1, 2, . . . , Y x ) to the individual intermediate nodes and the root; and a key calculation step of identifying paths extending from the root to the leaves, and calculating keys on the basis of the leaf keys g y assigned to the intermediate nodes or the leaves existing in the paths and the parameters ⁇ x,y and the node parameters ⁇ x,y assigned to parent nodes of the intermediate nodes or the leaves.
  • an encryption method including an excluded reception device identification step of identifying an excluded reception device among n reception devices, and determining a set S of non-excluded reception devices.
  • a key processing method including a step of receiving keys obtained by hierarchically constructing a Y-ary tree structure where n reception devices are assigned to leaves and a height is represented by (log Y n), forming subgroups constituted by a plurality of leaves existing in a layer lower than intermediate nodes existing between the leaves and a root, assigning leaf keys g y to the individual leaves and the individual intermediate nodes, assigning different parameters ⁇ x,y (x: layer, y: 1, 2, . . . , Y x ) and node parameters ⁇ x,y (x: layer, y: 1, 2, . . .
  • Y x node parameters ⁇ x,y (x: layer, y: 1, 2, . . . , Y x ) to the individual intermediate nodes and the root; and a key calculation function of identifying paths extending from the root to the leaves, and calculating keys on the basis of the leaf keys g y assigned to the intermediate nodes or the leaves existing in the paths and the parameters ⁇ x,y and the node parameters ⁇ x,y assigned to parent nodes of the intermediate nodes or the leaves.
  • the computer program by being stored in a storage unit provided in the computer and being read and executed by a CPU provided in the computer, the computer program causes the computer to function as the key generation device described above.
  • a computer-readable recording medium having the computer program recorded thereon can also be provided.
  • the recording medium is, for example, a magnetic disk, an optical disk, a magneto-optical disk, a flash memory, or the like.
  • the computer program described above may be delivered via, for example, a network, without using the recording medium.
  • the computer program by being stored in a storage unit provided in the computer and being read and executed by a CPU provided in the computer, the computer program causes the computer to function as the encryption device described above.
  • a computer-readable recording medium having the computer program recorded thereon can also be provided.
  • the recording medium is, for example, a magnetic disk, an optical disk, a magneto-optical disk, a flash memory, or the like.
  • the computer program described above may be delivered via, for example, a network, without using the recording medium.
  • the computer program by being stored in a storage unit provided in the computer and being read and executed by a CPU provided in the computer, the computer program causes the computer to function as the reception device described above.
  • a computer-readable recording medium having the computer program recorded thereon can also be provided.
  • the recording medium is, for example, a magnetic disk, an optical disk, a magneto-optical disk, a flash memory, or the like.
  • the computer program described above may be delivered via, for example, a network, without using the recording medium.
  • a header size can be reduced.
  • FIG. 1 is an explanatory diagram for explaining an encryption key generation system according to a preferred embodiment of the present invention.
  • FIG. 2 is a block diagram for explaining the hardware configuration of a key generation device according to the embodiment.
  • FIG. 3 is an explanatory diagram for explaining the overview of key generation according to a basic method of a fundamental technology of the present invention.
  • FIG. 4 is a flowchart for explaining the overview of key generation according to a generalization method of the fundamental technology of the present invention.
  • FIG. 5 is a flowchart for explaining a key generation phase according to the generalization method of the fundamental technology of the present invention.
  • FIG. 6 is an explanatory diagram for explaining the overview of encryption according to the generalization method of the fundamental technology of the present invention.
  • FIG. 7 is a flowchart for explaining an encryption phase according to the generalization method of the fundamental technology of the present invention.
  • FIG. 8 is a flowchart for explaining a decryption phase according to the generalization method of the fundamental technology of the present invention.
  • FIG. 9 is a block diagram for explaining the configuration of a key generation device according to a preferred embodiment of the present invention.
  • FIG. 10 is a block diagram for explaining the configuration of an encryption device according to the embodiment.
  • FIG. 11 is a block diagram for explaining the configuration of a reception device according to the embodiment.
  • FIG. 12 is an explanatory diagram for explaining a specific example of a logical tree according to the embodiment.
  • FIG. 13 is an explanatory diagram for explaining the overview of key generation according to the embodiment.
  • FIG. 14 is a flowchart for explaining a key generation phase according to the embodiment.
  • FIG. 15 is an explanatory diagram for explaining a specific example of key generation according to the embodiment.
  • FIG. 16 is an explanatory diagram for explaining the overview of encryption according to the embodiment.
  • FIG. 17 is a flowchart for explaining an encryption phase according to the embodiment.
  • FIG. 18 is an explanatory diagram for explaining a specific example of encryption according to the embodiment.
  • FIG. 19 is an explanatory diagram for explaining a specific example of encryption according to the embodiment.
  • FIG. 20 is an explanatory diagram for explaining a specific example of encryption according to the embodiment.
  • FIG. 21 is a flowchart for explaining a decryption phase according to the embodiment.
  • FIG. 22 is an explanatory diagram for explaining a specific example of decryption according to the embodiment.
  • FIG. 23 is a graph in which comparison in terms of the header size of a header delivered to a customer is performed.
  • FIG. 24 is a graph in which comparison in terms of the number of multiplications on a bilinear group is performed.
  • FIG. 25 is a graph in which comparison in terms of the header size of a header delivered to a customer is performed.
  • FIG. 26 is a graph in which comparison in terms of the number of multiplications on a bilinear group is performed.
  • FIG. 1 is an explanatory diagram showing an encryption key delivery system 10 according to this embodiment.
  • the encryption key delivery system 10 includes, for example, a communication network 12 , a key generation device 20 , an encryption device 30 , a reception device 40 A, and a reception device 40 B.
  • the communication network 12 is a communication line network for connecting the key generation device 20 , the encryption device 30 , and the reception devices 40 so that bidirectional communication or one-way communication can be realized.
  • This communication network is constituted by, for example, a public line network, such as the Internet, a telephone network, a satellite communication network, or a broadcast communication channel, a dedicated line network, such as a WAN (Wide Area Network), a LAN (Local Area Network), an IP-VPN (Internet Protocol-Virtual Private Network), or a wireless LAN, or the like.
  • This communication network may be wired or wireless.
  • the key generation device 20 generates a public key and a secret key unique to each of a plurality of reception devices.
  • the key generation device 20 publishes the public key, and delivers the individual secret keys to the respective reception devices via secure communication channels.
  • the key generation device 20 is owned by a center that performs generation and management of the public key and the secret keys.
  • the encryption device 30 encrypts any content by using the public key generated and published by the key generation device 20 , and delivers the encrypted content to each of the reception devices via the communication network 12 .
  • the encryption device 30 can be owned by any third party.
  • the encryption device 30 can be owned by an owner of the key generation device 20 or owners of the reception devices 40 .
  • the reception devices 40 are each capable of decrypting, by using a unique secret key, the encrypted content delivered from the encryption device 30 and of using the decrypted content. Note that the reception device 40 A and the reception device 40 B can be connected to each other via the communication network 12 or a wire. Note that the reception devices 40 are owned by individual customers.
  • reception devices 40 are not limited to this example.
  • the reception devices 40 are devices having a communication function via a network, they can be configured as, for example, information appliances, such as PDAs (Personal Digital Assistants), home-use game machines, DVD/HDD recorders, or television receivers, tuners or decoders for television broadcasting, or the like.
  • the reception devices 40 may be portable devices (Portable Devices) that can be carried by customers, such as, for example, portable game machines, portable telephones, portable video/audio players, PDAs, or PHSs.
  • FIG. 2 is a block diagram showing the hardware configuration of the key generation device 20 .
  • the key generation device 20 includes, for example, a CPU (Central Processing Unit) 201 , a ROM (Read Only Memory) 203 , a RAM (Random Access Memory) 205 , an HDD (Hard Disk Drive) 207 , an encryption processing unit 209 , and a memory (secure module) 211 .
  • a CPU Central Processing Unit
  • ROM Read Only Memory
  • RAM Random Access Memory
  • HDD Hard Disk Drive
  • an encryption processing unit 209 an encryption processing unit
  • memory secure module
  • the CPU 201 functions as an arithmetic processing device and a control device.
  • the CPU 201 controls general operations within the key generation device 20 in accordance with various programs.
  • the ROM 203 stores programs, arithmetic parameters, and the like used by the CPU 201 .
  • the RAM 205 temporarily stores a program used in the performance of the CPU 201 , a parameter changing appropriately in the execution of the program, and the like.
  • the HDD 207 is a device for data storage configured as an example of a storage unit of the key generation device 20 according to this embodiment.
  • the HDD 207 drives a hard disk and stores programs executed by the CPU 201 and various data.
  • the encryption processing unit 209 performs various types of encryption processing performed by the key generation device 20 according to this embodiment under the control of the CPU 201 .
  • the memory (secure module) 211 securely stores information that needs to be concealed, such as a private secret key and a center-secret random number, mainly. Information stored inside the memory 211 has a characteristic in that the information cannot be referred to from the outside.
  • the memory (secure module) 211 may be constituted by, for example, a storage device having a tamper-resistant property.
  • the secure module is not limited to a memory.
  • the secure module may be, for example, a magnetic disk, an optical disk, or a magneto-optical disk.
  • the secure module may be a storage medium, such as a semiconductor memory.
  • the CPU 201 , the ROM 203 , the RAM 205 , the HDD 207 , the encryption processing unit 209 , and the memory 211 are connected to each other via a bus 213 constituted by a CPU bus or the like.
  • the bus 213 is connected to an input/output interface 215 , such as a PCI (Peripheral Component Interconnect/Interface) bus, via a bridge.
  • an input/output interface 215 such as a PCI (Peripheral Component Interconnect/Interface) bus, via a bridge.
  • PCI Peripheral Component Interconnect/Interface
  • An input unit 217 is constituted by, for example, operation means, such as a mouse, a keyboard, a touch panel, a button, a switch, and a lever, operated by a user, an input control circuit for generating an input signal on the basis of the operation by the user and outputting the input signal to the CPU 201 , and the like.
  • operation means such as a mouse, a keyboard, a touch panel, a button, a switch, and a lever
  • an input control circuit for generating an input signal on the basis of the operation by the user and outputting the input signal to the CPU 201 , and the like.
  • An output unit 219 is constituted by, for example, a display device, such as a CRT (Cathode Ray Tube) display device or a liquid crystal display (LCD) device and a lamp, an audio output device, such as a speaker and a headphone, and the like.
  • the output unit 219 is capable of, for example, outputting reproduced content.
  • the display device displays, in the form of text or images, various types of information such as reproduced video data.
  • the audio output device converts reproduced music data or the like into sound and outputs the sound.
  • a communication unit 221 is a communication interface constituted by, for example, a communication device and the like for allowing connection to the communication network 12 .
  • the communication unit 221 transmits and receives various data, such as information on an encryption key and content information, to and from, for example, the encryption device 30 and the reception devices 40 A and 40 B, via the communication network 12 .
  • a drive 223 is a reader/writer for a storage medium.
  • the drive 223 is contained in the key generation device 20 or provided externally.
  • the drive 223 reads information recorded on a removable recording medium 14 loaded, such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory, and outputs the information to the RAM 205 .
  • the hardware configurations of the encryption device 30 and the reception devices 40 are substantially the same as the hardware configuration of the key generation device 20 , the description of the hardware configurations of the encryption device 30 and the reception devices 40 will be omitted.
  • each of the above-described components may be constituted by a general-purpose member or may be constituted by hardware specialized for a function of the component.
  • a hardware configuration to be used can be changed in an appropriate manner in accordance with the technical level on each occasion of implementation of this embodiment.
  • the above-described hardware configuration is merely an example and the present invention is not limited to this.
  • the HDD 207 and the memory (secure module) 211 may be constituted by the same storage device.
  • a center determines a system parameter k of a content delivery system and forms a kth-order center-secret polynomial based on the system parameter k. After that, by using the kth-order secret polynomial, the center generates a public key PK and a secret key d i (hereinafter, referred to as a private secret key) unique to a customer i.
  • the center publishes the public key PK and delivers the private secret key d i to the customer i by using a secure communication channel.
  • the center delivers ciphertext C and a header h.
  • any deliverer can generate the header h.
  • a customer i should keep only one secret key d i .
  • a deliverer who is not the center is able to deliver content.
  • non-patent document 1 a public key content delivery method is suggested in which even in a case where any number of customers collude with each other, the security of the system can be maintained.
  • a private secret key is generated by using a type of cyclic multiplicative group called a bilinear group, not using a kth-order polynomial, and an element unique to a customer i in the group is provided as a private secret key d i .
  • a bilinear group not using a kth-order polynomial
  • an element unique to a customer i in the group is provided as a private secret key d i .
  • bilinear mapping for generation of a header h and acquisition of a session key s by each customer, the collusion problem, which has been a big problem in the conventional content delivery system using a public key, can be solved.
  • PK (g, g 1 , . . . , g n , g n+2 , . . . g 2n , ⁇ ).
  • the size of the header h (hereinafter, referred to as a header size) is minimized.
  • the size of a public key is equal to or more than twice the number of customers.
  • the product of parameters g 1 , . . . , g n corresponding to all the non-excluded customers other than the customer needs to be calculated.
  • a generalization method in which the size of a public key can be reduced by dividing a set of customers into a plurality of subgroups.
  • a set of customers is divided into a plurality of subgroups and an operation as in the basic method is performed on each of the divided subgroups.
  • different header elements need to be generated for individual subgroups and the header size is increased.
  • the size of a public key can be reduced.
  • each customer needs to calculate the product of parameters assigned to individual customers belonging to a divided subgroup.
  • the number of parameters that need to be calculated can be reduced.
  • the problem in the basic method can be solved.
  • non-patent document 1 the generalization method described in non-patent document 1 will be described in detail with reference to FIGS. 4 to 8 .
  • signs necessary for explanation of the generalization method mentioned above are defined, and a bilinear group and a bilinear map used in non-patent document 1 will be described. Then, by using the definitions, details, problems, and the like of the generalization described in non-patent document 1 will be described.
  • n the total number of customers
  • A the number of divisions when a customer group is divided into a plurality of subgroups
  • PK a public key of the system
  • p a large prime serving as the order of a bilinear group
  • G, G 1 a bilinear group having an order p
  • E s (M) encryption of plaintext M by using a key s
  • e(u,v) a bilinear map with respect to two elements u and v of a bilinear group G
  • a bilinear map e(u,v) is a map where two elements u and v of a cyclic multiplicative group G are mapped into elements of a cyclic multiplicative group G 1 and meets the properties listed below.
  • Non-degenerate property e(g,g) ⁇ 1.
  • This generalization method is constituted by mainly three phases, a key generation phase, an encryption phase, and a decryption phase.
  • the key generation phase is performed only once by the center at the time of configuration of the system.
  • the encryption phase and the decryption phase are performed by a deliverer and a customer, respectively, every time delivery is carried out.
  • each phase will be described.
  • FIG. 4 is an explanatory diagram for explaining the key generation phase in the generalization method of non-patent document 1.
  • FIG. 5 is a flowchart of the key generation phase in the generalization method of non-patent document 1.
  • the center 51 generates private secret keys of the individual customers 55 and a public key in accordance with the procedure described below. First, the center 51 selects a large prime p at random, and determines a bilinear group G having the selected p as the order thereof (step S 11 ).
  • the center 51 individually selects, at random, g, which is a generator of the bilinear group G determined in step S 11 , and a center-secret random number ⁇ ( ⁇ is an integer) (step S 13 ).
  • the center 51 determines the number B of customers belonging to a divided subgroup, and determines the number A of divisions in accordance with calculation using the expression below. Then, the center 51 divides customers into A subgroups (step S 15 ).
  • a sign indicated on the right side of the above expression is a sign representing “the minimum integer equal to or greater than (n/B)”.
  • g i g ( ⁇ ) i (Expression 2)
  • the center 51 selects, at random, A random numbers ⁇ ( ⁇ 1 , . . . ⁇ A , ⁇ is an integer) corresponding to the number A of subgroups. Then, ⁇ 1 , . . . ⁇ A belonging to the bilinear group G are calculated as in the below (step S 19 ).
  • the center 51 determines the public key PK expressed below, on the basis of g selected in step S 13 described above, g i calculated in step S 17 , and ⁇ i calculated in step S 19 , and publishes the public key PK (step S 21 ).
  • PK ( g, g 1 , . . . g B , g B+2 , . . . , g 2B , ⁇ 1 , . . . , ⁇ A ) (Expression 4)
  • the center 51 secretly delivers private secret keys d i generated as described above to individual customers i via the secure one-to-one communication channels 53 (step S 23 ).
  • step S 15 the center 51 divides a set of customers constituted by n customers into A subgroups each including B customers. Then, in step S 11 , step S 13 , step S 17 , and step S 19 , the center 51 sets various parameters necessary for the management of the content delivery system.
  • step S 21 the center 51 generates the public key PK by using the generated parameters.
  • step S 23 the center 51 generates private secret keys for individual customers on the basis of A, which represents the number of divisions of subgroups determined in step S 15 , and B, which represents the number of customers belonging to one subgroup.
  • a subgroup to which the customer belongs and an index in the subgroup are determined on the basis of a customer's unique number assigned to the customer.
  • a kth-order polynomial is not used in generation of a private secret key, even if any number of customers collude with each other, fabrication of a private secret key for another customer and forming of an unauthorized key that allows an excluded customer to acquire a session key from a header cannot be performed.
  • FIG. 6 is an explanatory diagram for explaining the encryption phase in the generalization method of non-patent document 1.
  • FIG. 7 is a flowchart of the encryption phase in the generalization method of non-patent document 1.
  • a deliverer 57 encrypts, in accordance with the procedure described below, content to be delivered, and delivers the encrypted content to non-customers 61 and customers 63 together via a broadcast communication channel 59 .
  • the deliverer 57 selects an integer t at random, and calculates a session key s as in the below (step S 31 ).
  • S l ⁇ x ⁇ lB+B
  • the subscript 1 is a parameter representing a subgroup.
  • a set represented by expression 7 above is a set of customers and non-customers included in the subgroup represented by the parameter 1 .
  • the set represented by expression 8 above is a set representing the place of a customer in the subgroup represented by the parameter 1 .
  • the deliverer 57 forms a header h necessary for a customer 63 to calculate a session key s, as in the below (step S 35 ).
  • the deliverer 57 encrypts content to be transmitted, on the basis of the session key s calculated in step S 31 , as shown by expression 10. After that, the deliverer 57 transmits the encrypted content C, together with information on the set S determined in step S 33 and the header h calculated in step S 35 , irrespective of whether the non-customers 61 or the customers 63 , via the broadcast communication channel 59 (step S 37 ).
  • C E s ( M ) (Expression 10)
  • the deliverer 57 determines a set of customers that can decrypt content belonging to each subgroup in step S 33 . After that, in step S 35 , the deliverer 57 creates a header h including elements corresponding to individual subgroups.
  • each element of the header h is formed only by a parameter g b corresponding to a customer who can perform decryption in each of the subgroups and does not include g b corresponding to an excluded customer.
  • FIG. 8 is a flowchart of the decryption phase in the generalization method of non-patent document 1.
  • a customer i who received the delivery of encrypted content or the like performs decryption processing for the encrypted content in accordance with the procedure described below.
  • a customer 63 checks whether or not i, which is their own index, is included in a set S delivered from the deliverer 57 (step S 51 ). In a case where their own index i is not included in the set S, the customer 63 determines that the customer 63 is excluded, and terminates the decryption process. In a case where their own index i is included in the set S, the customer 63 continues to perform the processing described below.
  • the customer 63 decrypts the delivered encrypted content C into plaintext M by using the session key s calculated in step S 53 above (step S 55 ).
  • M D s ( C ) (Expression 12)
  • step S 51 the customer 63 checks whether or not the customer 63 is excluded. In a case where the customer 63 is excluded, since the customer 63 cannot acquire a session key s because of the reason described later, the customer 63 terminates the decryption process.
  • a customer who understands, from the determination of step S 51 , that the customer is not excluded extracts, from the transmitted header, a header element corresponding to a subgroup to which the customer belongs, and performs a decryption operation by using a bilinear map represented by expressions 11-1 to 11-5 on the basis of the header element, the private secret key for the customer, and the public key, so that a session key s can be acquired, in step S 53 . Then, by using the calculated session key s, the customer performs decryption of ciphertext.
  • the method of non-patent document 1 solves the collusion problem, which has been problematic in a conventional public key content delivery method using a kth-order polynomial.
  • the center since the center divides a set of customers into A subgroups in advance in step S 15 of the key encryption phase, a header that a deliverer needs to generate can be configured to always have A+1 elements. Thus, irrespective of the number of excluded customers, the header size can be maintained constant.
  • non-patent document 1 in order to perform an operation using a bilinear map in expression 11-1 in step S 53 of the decryption phase, the product of parameters assigned to non-excluded customers existing within a subgroup to which a customer belongs and a private secret key kept by the customer needs to be calculated in advance, as represented in expression 14 below.
  • an operation using a bilinear map is represented by PAIR
  • an inverse operation on a bilinear group G 1 is represented by INV
  • multiplication on a bilinear group G is represented by MUL
  • the number of excluded customers in a subgroup S a to which a customer i belongs is represented by r a
  • the calculation amount of an operation that a customer needs to perform in the decryption phase can be expressed as “2PAIR+INV+(B ⁇ 1 ⁇ r a )MUL”.
  • the generalization method of non-patent document 1 when the number of divisions of a set of customers is increased, the amount of calculation performed by each customer at the time of decryption of content can be reduced. However, the header size is increased. In addition, on the contrary, when the number of divisions of a set of customers is decreased, the header size can be reduced. However, a problem exists in that the amount of calculation increases. In addition, even in a case where the number of excluded customers is small, a header h having a constant size always needs to be delivered.
  • an encryption key delivery system according to an embodiment of the present invention, as described below.
  • a key generation device by configuring a logical tree where some parameters are added to the method of non-patent document 1, even in a case where the number of excluded customers is small, the header size can be reduced compared with the method described in non-patent document 1.
  • the calculation amount of an operation that a customer needs to perform at the time of decryption can be reduced to an equivalent amount or less.
  • efficient content delivery can be realized.
  • the key generation device 20 constructs a logical tree employing the method of non-patent document 1. With the use of the logical tree, the key generation device 20 according to this embodiment realizes efficient content delivery compared with the method of non-patent document 1 in a case where no excluded customer exists or the number of excluded customers is small.
  • FIG. 9 is a block diagram showing the configuration of the key generation device 20 according to this embodiment.
  • the key generation device 20 includes, for example, a tree-structure construction unit 231 , a random-number determination unit 233 , a leaf-key assigning unit 235 , a parameter assigning unit 237 , a key calculation unit 239 , a storage unit 241 , and a delivery unit 252 .
  • the tree-structure construction unit 231 constructs a logical tree, which is an important element of the key generation device according to this embodiment. That is, the tree-structure construction unit 231 hierarchically constructs a Y-ary tree structure where n target reception devices are assigned to leaves and the height is represented by (log Y n). Furthermore, subgroups each having a Y-ary tree where each of intermediate nodes existing between leaves and a root are defined as a parent node are formed. That is, with the tree-structure construction unit 231 , Y-ary tree structures where Y branches always grow downward from one node are hierarchically stacked.
  • the upper node is relatively called a parent node and the lower node is relatively called a child node.
  • a concept regarding the parent node and the child node is based on a relative idea. For example, in a case where three nodes are linked above and below through a branch, if the uppermost node is referred to as a parent node, the node located in an intermediate position is referred to as a child node. In addition, when attention is paid to the lowermost node, the lowermost node serves as a child node for the node located in the intermediate position serving as a parent node.
  • each of nodes existing between a root existing in the uppermost layer and n leaves existing in the lowermost layer is called an intermediate node.
  • the random-number determination unit 233 determines various random numbers used by the key generation device according to this embodiment and bilinear groups. That is, the random-number determination unit 233 selects, at random, a prime p and determines a bilinear group G having the prime p as the order thereof. In addition, the random-number determination unit 233 selects, at random, g, which represents a generator of G, and selects, at random, an integer ⁇ , which represents a secret random number.
  • the leaf-key assigning unit 235 assigns leaf keys g y to n terminal leaves and all the intermediate nodes, which are not the leaves and the root, in the hierarchized Y-ary tree structure constructed by the tree-structure construction unit 231 .
  • the parameter assigning unit 237 assigns arbitrary parameters ⁇ x,y to all the nodes other than the n terminal leaves, that is, to the root in the uppermost layer and all the intermediate nodes existing between the root and the leaves in the hierarchized Y-ary tree structure constructed by the tree-structure construction unit 231 .
  • each of x and y is a subscript representing the position of a node, x represents a layer, and y represents the place of the node in the layer x.
  • the key calculation unit 239 calculates a public key and private secret keys on the basis of the bilinear group G and the random numbers determined by the random-number determination unit 233 , the leaf keys assigned by the leaf-key assigning unit 235 , the parameters assigned by the parameter assigning unit 237 , and the like.
  • the storage unit 241 includes, for example, a tree-structure storage part 243 , a random-number storage part 245 , a leaf-key storage part 247 , a parameter storage part 249 , a key storage part 251 , and the like. Variables and calculation results that become necessary in the middle of processing performed by each processing unit or results obtained from the processing are stored in these storage parts. Individual processing units, such as the tree-structure construction unit 231 , the random-number determination unit 233 , the leaf-key assigning unit 235 , the parameter assigning unit 237 , and the key calculation unit 239 , are capable of freely writing and reading data to and from the storage unit 241 .
  • various data can be stored in a part different from the above described storage parts 243 , 245 , 247 , 249 , and 251 .
  • FIG. 9 a state where various storage parts exist independently within the storage unit 241 is shown in FIG. 9 , various storage parts do not necessarily exist individually, and various data may be stored in a storage part as a whole.
  • a storage medium provided with a secure module may be used as the storage unit 241 .
  • the delivery unit 252 in the key generation device includes, for example, a transmission part 253 and a public-key publishing part 255 .
  • the transmission part 253 transmits, to each reception device, a private secret key calculated by the key calculation unit 239 and stored in the key storage part 251 .
  • the public-key publishing part 255 publishes to each reception device a public key calculated by the key calculation unit 239 and stored in the key storage part 251 .
  • FIG. 10 is a block diagram showing the configuration of the encryption device 30 according to this embodiment.
  • the encryption device 30 includes, for example, a reception unit 301 , a storage unit 303 , an excluded reception device identification unit 305 , a session-key determination unit 307 , a content storage unit 313 , an encryption unit 315 , and a content transmission unit 317 .
  • the reception unit 301 receives a public key generated and published by the key generation device 20 .
  • the reception unit 301 is capable of further receiving a prime p generated by the key generation device 20 and information on a set S of non-excluded reception devices, which is information identifying an excluded reception device, as well as the public key.
  • the storage unit 303 stores, for example, the public key generated by the key generation device 20 .
  • the storage unit 303 is capable of storing information on a prime p, information on a set S of non-excluded reception devices, and the like, as well as the public key.
  • the excluded reception device identification unit 305 identifies, among a plurality of reception devices 40 connected to the encryption device 30 via the communication network 12 , an excluded reception device for which delivery of content is eliminated, and determines a set S of non-excluded reception devices. On the occasion of determining the set S, the excluded reception device identification unit 305 is capable of referring to various data stored in the storage unit 303 .
  • the session-key determination unit 307 determines a session key s for encryption of content to be delivered.
  • the session-key determination unit 307 may further include, for example, a header-element calculation part 309 and a header information generation part 311 .
  • the session-key determination unit 307 selects, at random, an integer t, and performs an operation of a bilinear map by using a published public key.
  • the header-element calculation part 309 marks all the individual nodes existing in a path extending from a leaf to which an excluded reception device is assigned to the root in the hierarchized tree structure constructed by the key generation device 20 , and calculates header elements on the basis of parameters assigned to the marked nodes and leaf keys assigned to intermediate nodes for which the marked nodes serve as parent nodes.
  • the header information generation part 311 generates header information on the basis of the header elements obtained by the header-element calculation part 309 and the public key.
  • the content storage unit 313 stores unencrypted content.
  • the content storage unit 313 may store content acquired from a medium such as a CD (Compact Disk), a DVD (Digital Versatile Disk), or a memory card.
  • the above-mentioned content may be any content data, for example, video content constituted by moving images or still images such as movies, television programs, video programs, or diagrams, audio content such as music, lecture, or radio programs, game content, document content, or software.
  • Video content may include audio data as well as video data.
  • the encryption unit 315 selects, from the content storage unit 313 , content to be delivered, and encrypts the content by using a session key s calculated by the session-key determination unit 307 .
  • the content transmission unit 317 transmits, to each reception device via the communication network 12 , the encrypted content encrypted by the encryption unit 315 , the header determined by the header information generation part 311 , and the set S identified by the excluded reception device identification unit 305 .
  • FIG. 11 is a block diagram showing the configuration of the reception device 40 .
  • the reception device 40 includes, for example, a reception unit 401 , a storage unit 403 , a determination unit 405 , and a decryption unit 407 .
  • the reception unit 401 receives a private secret key generated by the key generation device 20 .
  • the reception unit 401 is capable of further receiving a public key generated by the key generation device 20 and information on a set S of non-excluded reception devices, which is information identifying an excluded reception device, as well as the private secret key.
  • the reception unit 401 is also capable of receiving content encrypted by the encryption device 30 .
  • the storage unit 403 stores, for example, the public key and the private secret key generated by the key generation device 20 .
  • the storage unit 403 is capable of storing information on a set S of non-excluded reception devices and content information on delivered encrypted content, decrypted content, and the like, as well as the encryption keys.
  • the determination unit 405 determines whether or not the reception device itself is included in the received set S. In accordance with a result of the determination by the determination unit 405 , the decryption unit 407 performs decryption processing for encrypted content.
  • the decryption unit 407 calculates a session key s, which is necessary for decryption of encrypted content, by using the header h received by the reception unit 401 and the public key and the private secret key stored in the storage unit 403 . After calculating the session key s, the decryption unit 407 continues to perform decryption of encrypted content.
  • each of the components described above may be constituted by using a general-purpose member or circuit or may be constituted by hardware specialized for a function of the component.
  • all the functions of the individual components may be performed by the CPU or the like.
  • the encryption key delivery system 10 is constituted by three phases, key generation, encryption, and decryption, as in non-patent document.
  • the key generation phase is performed only once by the center at the time of configuration of the system.
  • the encryption phase and the decryption phase are performed by a deliverer and a customer, respectively, every time delivery is carried out.
  • individual signs and operations used for explanation of the encryption key delivery system 10 according to this embodiment are defined as in the description of the fundamental technology.
  • definition and description of a logical tree configured in this embodiment will be provided. After that, each phase will be described in detail.
  • a logical tree necessary for explanation of the key generation device 20 according to this embodiment will be provided.
  • the key generation device 20 by assigning each customer to a leaf and assigning the division of customers in non-patent document 1 to the logical tree, efficient content delivery is realized.
  • This logical tree is constructed by the tree-structure construction unit 231 in the key generation device 20 according to this embodiment.
  • n of customers is a value that can be expressed as a power of Y.
  • n cannot be expressed as a power of Y often occurs in the actual content delivery. Nevertheless, this case can be easily handled by preparing leaves in advance, the number of which can be expressed as a power of Y, which is sufficiently larger than n.
  • each definition will be provided.
  • n the number of leaves is denoted by n.
  • H log Y n
  • N the total number of nodes except for leaves.
  • x is a subscript representing a layer.
  • the root is a node in the Layer0 and the index of the root is (0,1).
  • FIG. 12 As an example of the Y-ary tree defined as described above, a case where the number n of customers is 9 and the number Y of branches is 3 is shown in FIG. 12 .
  • a layer 501 including the root is defined as a Layer0
  • a layer 503 including three nodes, which are child nodes of the root is defined as a Layer1.
  • a layer 505 for child nodes in a case where the three nodes existing in the Layer1 individually serve as parent nodes is defined as a Layer2. Since three child nodes are formed from each of the three nodes existing in the Layer1, nine leaves in total exist in the Layer2.
  • Node indices assigned to individual nodes including leaves are, for example, (0,1) for the root and ( 1 , 1 ), ( 1 , 2 ), and ( 1 , 3 ) for the three nodes in the Layer1 from the left end.
  • node indices ( 2 , 1 ), ( 2 , 2 ), . . . , ( 2 , 9 ) are provided to the individual nine nodes in the Layer2, that is, the leaves, from the left end.
  • the reception devices 40 that is, customers 507 for content delivery, are assigned to the leaves. That is, a customer 1 ( 507 A), a customer 2 ( 507 B), . . . , a customer 9 (S 07 I) are assigned to leaves ( 2 , 1 ), ( 2 , 2 ), . . . , ( 2 , 9 ) in the Layer2, respectively.
  • the center operates the key generation device 20 that the center owns, and generates a public key and private secret keys for individual customers in accordance with the procedure described below.
  • the operation of the key generation device 20 according to this embodiment will be described in detail with reference to FIGS. 12 , 13 , and 14 .
  • FIG. 13 is an explanatory diagram for explaining the overview of key generation by the key generation device 20 .
  • FIG. 14 is a flowchart of the encryption key generation phase by the key generation device 20 .
  • the random-number determination unit 233 of the key generation device 20 selects, at random, a prime p, which is a large value, and determines a bilinear group G having the selected p as the order thereof (step S 101 ).
  • the prime p of a large value means a prime having a large number of digits.
  • the random-number determination unit 233 selects, at random, g, which is a generator of the bilinear group G, and a center-secret random number ⁇ ( ⁇ is an integer) (step S 103 ).
  • Data on the prime p, the bilinear group G, the generator g, and the random number ⁇ is stored, for example, in the random-number storage part 245 within the storage unit 241 , and is referred to by the leaf-key assigning unit 235 , the parameter assigning unit 237 , the encryption key calculation unit 239 , and the like.
  • the tree-structure construction unit 231 of the key generation device 20 determines the number Y of customers belonging to a divided subgroup. After determining the number X of divisions in accordance with the calculation below, the tree-structure construction unit 231 divides the customers into X subgroups. Furthermore, the tree-structure construction unit 231 constructs a Y-ary tree where each customer is assigned as a leaf (step S 105 ).
  • n within expression 101 below represents the total number of customers.
  • the number X of divisions is 3, in accordance with expression 101 .
  • the tree-structure construction unit 231 causes the Y-ary tree structure constructed as described above to be stored in the tree-structure storage part 243 within the storage unit 241 .
  • g i g ( ⁇ ) i (Expression 102)
  • the leaf-key assigning unit 235 accesses the random-number storage part 245 within the storage unit 241 to read the data. After calculating leaf keys, the leaf-key assigning unit 235 stores the calculated leaf keys g i in the leaf-key storage part 247 within the storage unit 241 .
  • step S 107 not only is Y leaf keys g i , where Y represents the number of customers belonging to a subgroup, calculated, but also leaf keys g i are calculated by changing i to 2Y except for Y+1.
  • the reason why calculation of g Y+1 is not performed is to ensure the security of the encryption key delivery system 10 according to this embodiment.
  • this is because leaf keys g i from g y+2 to g 2Y are necessary for decryption performed in the decryption phase described later.
  • the parameter assigning unit 237 of the encryption key creation device 20 selects, at random, random numbers ⁇ x,y ( ⁇ x,y is an integer) corresponding to all the nodes (x,y) except for leaves. Then, the parameter assigning unit 237 calculates parameters ⁇ x,y as in the below, and assigns the parameters ⁇ x,y to individual nodes except for the leaves of the Y-ary tree (step S 109 ).
  • ⁇ x,y g ⁇ x,y ⁇ G (Expression 103)
  • x is 0 or 1.
  • y is 1, 2, or 3. That is, in the case of FIG. 12 , four parameters ⁇ x,y in total, ⁇ 0,1 , ⁇ 1,1 , ⁇ 1,2 , and ⁇ 1,3 , are assigned by the parameter assigning unit 237 . Thus, also for ⁇ x,y , four integers are selected at random. On the basis of the values determined as described above, parameters are assigned to individual nodes in accordance with expression 103 .
  • the parameters ⁇ x,y , the node parameters ⁇ x,y , and the like calculated by the parameter assigning unit 237 are stored in the parameter storage part 249 within the storage unit 241 .
  • the leaf-key assigning unit 235 assigns g x,y to all the nodes except for the root (step S 111 ).
  • the leaf-key assigning unit 235 has both the function of calculating leaf keys g y and the function of assigning the calculated leaf keys to all the nodes except for the root.
  • the results of assigning are stored, in association with the tree structure, in the leaf-key storage part 247 within the storage unit 241 .
  • g 1 is assigned as g 1,1 to the node ( 1 , 1 )
  • g 2 is assigned as g 1,2 to the node ( 1 , 2 )
  • g 3 is assigned as g 1,3 to the node ( 1 , 3 ).
  • a subgroup constituted by three nodes ( 2 , 1 ), ( 2 , 2 ), and ( 2 , 3 ) for which the node ( 1 , 1 ) serves as a parent node a subgroup constituted by three child nodes ( 2 , 4 ), ( 2 , 5 ), and ( 2 , 6 ) for which the node ( 1 , 2 ) serves as a parent node, and a subgroup constituted by three child nodes ( 2 , 7 ), ( 2 , 8 ), and ( 2 , 9 ) for which the node ( 1 , 3 ) serves as a parent node, exist.
  • g 1 is assigned as g 2,1 to the node ( 2 , 1 )
  • g 2 is assigned as g 2,2 to the node ( 2 , 2 )
  • g 3 is assigned as g 2,3 to the node ( 2 , 3 ).
  • g 1 is assigned as g 2,4 to the node ( 2 , 4 )
  • g 2 is assigned as g 2,5 to the node ( 2 , 5 )
  • g 3 is assigned as g 2,6 to the node ( 2 , 6 ).
  • g 1 is assigned as g 2,7 to the node ( 2 , 7 )
  • g 2 is assigned as g 2,8 to the node ( 2 , 8 )
  • g 3 is assigned as g 2,9 to the node ( 2 , 9 ).
  • the key calculation unit 239 of the key generation device 20 forms a public key PK as in the below, and publishes the public key PK via the public-key publishing part 255 (step S 113 ).
  • PK ( g,g 1 , . . . , g Y ,g Y+2 . . . , g 2Y , ⁇ 0,1 , . . . , ⁇ H ⁇ 1,X ) (Expression 104)
  • the public key PK is constituted by the generator g determined by the random-number determination unit 233 , the leaf keys g i calculated by the leaf-key assigning unit 235 , and the parameters ⁇ x,y calculated by the parameter assigning unit 237 .
  • the key calculation unit 239 forms the public key PK by referring to each of the storage parts 245 , 247 , and 249 within the storage unit 241 .
  • the key calculation unit 239 stores the formed public key PK in the key storage part 251 within the storage unit 241 .
  • the public-key publishing part 255 refers to the key storage part 251 to publish the public key. Note that the key calculation unit 239 may transmit the formed public key PK directly to the public-key publishing part 255 .
  • the center identifies, for all the nodes i 1 , . . . , i H assigned to customers i except for the root, parameters g ix assigned to these nodes. In addition, the center identifies parameters ⁇ ix assigned to all the nodes i 0 , . . .
  • the transmission part 253 delivers the private secret keys d i to the customers i by using secure communication channels (step S 115 ).
  • each private secret key d i is a set of keys calculated on the basis of a leaf key assigned to each node. Note that hereinafter, a specific example of step S 115 mentioned above will be described in detail with reference to FIG. 15 .
  • the key calculation unit 239 stores these private secret keys in the key storage part 251 within the storage unit 241 .
  • the transmission part 253 transmits a private secret key d i to each customer
  • the transmission part 253 acquires necessary information by referring to the key storage part 251 within the storage unit 241 .
  • the key calculation unit 239 may pass a generated private secret key directly to the transmission part 253 .
  • step S 115 a specific example of step S 115 mentioned above will be exemplified with reference to FIG. 15 .
  • a ternary tree structure is constructed for nine customers.
  • a case where a private secret key d 3 is transmitted to a customer 3 who is assigned to a leaf ( 2 , 3 ) will be considered.
  • a path extending from the root ( 0 , 1 ) to the leaf ( 2 , 3 ), which represents the customer 3 is a path extending from the root ( 0 , 1 ) via an intermediate node ( 1 , 1 ) to the leaf ( 2 , 3 ).
  • ( 1 , 1 ) and ( 2 , 3 ), which are the nodes in the path except for the root ( 0 , 1 ) are represented by and i 2 , respectively.
  • parameters assigned to the individual nodes ( 0 , 1 ), ( 1 , 1 ), and ( 2 , 3 ) are considered.
  • ⁇ 0,1 is assigned as ⁇ i0 .
  • ⁇ l,1 is assigned as ⁇ i1
  • g l which is represented by g 1,1
  • g i1 is assigned to the leaf ( 2 , 3 )
  • g 3 which is represented by g 2,3 , is assigned as g i2 .
  • the private secret key d 3 to be kept by the customer 3 is a set of a result obtained by raising the leaf key g 1 assigned to the node ( 1 , 1 ) to the power of ⁇ 0,1 assigned to the root ( 0 , 1 ), which is a parent node of the node ( 1 , 1 ), and a result obtained by raising the leaf key g 3 assigned to the leaf ( 2 , 3 ) to the power of ⁇ l,1 assigned to the node ( 1 , 1 ), which is a parent node of the leaf ( 2 , 3 ).
  • the key generation device 20 owned by a center 509 selects a bilinear group G and various parameters, and generates a public key PK and a private secret key d i unique to a customer. Then, the center 509 publishes the public key PK and delivers the private secret key d i to each customer 507 by using a secure one-to-one communication channel 511 .
  • FIG. 16 is an explanatory diagram for explaining the overview of encryption by the encryption device 30 .
  • FIG. 17 is a flowchart of the encryption phase by the encryption device 30 .
  • the encryption phase described below can be performed by any third party who owns the encryption device 30 .
  • an owner of the key generation device 20 or an owner of the reception device 40 is able to perform the encryption phase below as long as the owner of the key generation device 20 or the owner of the reception device 40 is an owner of the encryption device 30 .
  • the reception unit 301 of the encryption device 30 receives each of a public key generated and published by the key generation device 20 , a prime p, information on a tree structure, and information on a set S of non-excluded reception devices. Such information received by the reception unit 301 is stored in the storage unit 303 . Such information stored in the storage unit 303 can be freely read by each processing unit of the encryption device 30 .
  • the session-key determination unit 307 selects, at random, an arbitrary integer t, and calculates a session key s as in the below (step S 303 ).
  • step S 305 is a step of initializing the parameter x representing a layer.
  • the header-element calculation part 309 substitutes x+1 for x to increase the value of x by one (step S 307 ).
  • the header-element calculation part 309 sets y to zero to initialize a parameter (step S 309 ).
  • the header-element calculation part 309 substitutes y+1 for y, which is a parameter representing the position of a node in each layer, to increase the value of y by one (step S 311 ).
  • the header-element calculation part 309 performs specific processing for calculating header elements.
  • the header-element calculation part 309 determines whether or not all the child nodes of the node (x,y) are marked (step S 315 ). As a result of the determination, in a case where all the child nodes are marked, the header-element calculation part 309 proceeds to step S 321 described below. Meanwhile, in a case where an unmarked child node exists, the header-element calculation part 309 proceeds to step S 317 described below.
  • the header-element calculation part 309 defines a set of unmarked child nodes as S x,y , and calculates, as in the below, header elements corresponding to customers belonging to subtrees (subgroups) where individual elements of S x,y serve as roots (step S 317 ).
  • the header-element calculation part 309 sets the set S as in the below (step S 317 ). [Math. 23] S ⁇ S x,y (Expression 108)
  • the header-element calculation part 309 marks all the nodes (including leaves) belonging to the subtrees where the individual elements of S x,y serve as roots (step S 319 ).
  • the header-element calculation part 309 determines whether or not a parameter y to which attention is currently being paid corresponds to Y x (step S 321 ). As a result of the determination, in a case where y is Y x , the header-element calculation part 309 proceeds to step S 323 described below. Meanwhile, in a case where y is not Y x , the header-element calculation part 309 returns to step S 311 to increase the parameter y by one.
  • the header-element calculation part 309 determines whether or not a parameter x to which attention is currently being paid is H ⁇ 1 (step S 323 ). As a result of the determination, in a case where x is H ⁇ 1, the header-element calculation part 309 proceeds to step S 325 described below. Meanwhile, in a case where x is not H ⁇ 1, the header-element calculation part 309 returns to step S 307 to increase the parameter x by one.
  • the header-element calculation part 309 is capable of calculating all the header elements necessary for generation of a header.
  • a header element c x,y which corresponds to a node (x,y) to which attention is being paid, is initialized to zero in step S 313 , in a case where all the child nodes of the node (x,y) to which attention is being paid are marked in step S 315 , a header element c x,y , for the node (x,y) is maintained zero and stored. Meanwhile, in a case where all the child nodes of the node (x,y) to which attention is being paid are not marked, a new value is substituted for c x,y in step S 317 . Thus, c x,y has a value which is not zero.
  • the header-element calculation part 309 passes all the header elements acquired by repetition of the above-described steps to the header information generation part 311 .
  • the header-element calculation part 309 may store the calculated header elements in the storage unit 303 .
  • the header information generation part 311 calculates g t by using a generator g and t selected in step S 303 .
  • the header information generation part 311 forms a header h, as in the below, by using only header elements c x,y having values that are not zero (step S 325 ).
  • h ( g t , c 0,1 , . . . , C H ⁇ 1,X )( C x,y ⁇ 0) (Expression 109)
  • the header information generation part 311 After generating header information, the header information generation part 311 passes the generated header h to the encryption unit 315 . In addition, the header information generation part 311 may store the generated h in the storage unit 303 .
  • the encryption unit 315 receives from the content storage unit 313 unencrypted content M to be delivered, and encrypts the content M, as in the below, by using a session key s determined by the session-key determination unit 307 .
  • the content transmission unit 317 transmits the encrypted content C, together with the header h generated by the header information generation part 311 and the set S of the node indices, to customers (step S 327 ).
  • C E s ( M ) (Expression 110)
  • FIGS. 18 to 20 are explanatory diagrams for specifically explaining the encryption phase according to this embodiment.
  • FIGS. 18 to 20 a case where a ternary tree structure is constructed and nine customers are assigned to leaves is shown.
  • a path extending from the customer 2 , who is desired to be excluded, to the root is a path, which is indicated by a dotted line in FIG. 18 , extending from the leaf ( 2 , 2 ) via a node ( 1 , 1 ) to the root ( 0 , 1 ).
  • a path extending from the customer 3 , which is desired to be excluded, to the root is a path, which is indicated by a dotted line in FIG.
  • step S 303 is performed by the session-key determination unit 307 , and a session key s is determined.
  • steps S 305 to S 311 are performed by the header-element calculation part 309 .
  • 0 is substituted for the parameter x
  • 1 is substituted for the parameter y.
  • the header-element calculation part 309 performs step S 313 .
  • a header element c 0,1 which corresponds to the node ( 0 , 1 ) is initialized to zero.
  • the header-element calculation part 309 performs step S 315 to determine whether or not all the child nodes of the root ( 0 , 1 ) are marked. As is clear from FIG.
  • the header-element calculation part 309 performs step S 317 .
  • a set S 0,1 of unmarked child nodes is ⁇ ( 1 , 2 ), ( 1 , 3 ) ⁇ .
  • the header element c 0,1 is calculated as ( ⁇ 0,1 ⁇ g 2 ⁇ 1 ) t .
  • step S 319 a node ( 1 , 2 ), a leaf ( 2 , 4 ), a leaf ( 2 , 5 ), and a leaf ( 2 , 6 ), which are all the nodes of a subtree where the node ( 1 , 2 ), which is an element of S 0,1 , serves as a root, are marked.
  • a node ( 1 , 3 ) which is another element of S 0,1 , similarly, a node ( 1 , 3 ), a leaf ( 2 , 7 ), a leaf ( 2 , 8 ), and a leaf ( 2 , 9 ) are marked.
  • Processes from retuned step S 307 to step S 311 are performed again in order. By this time, 1 has been substituted for x and 1 has been substituted for y. Thus, next, similar processing is performed for the node ( 1 , 1 ).
  • a set S 1,1 of unmarked child nodes of the node ( 1 , 1 ) is only ⁇ ( 2 , 1 ) ⁇ .
  • calculation of a header element is performed, and ( ⁇ 1,1 ⁇ g 3 ) t is calculated as a header element c 1,1 .
  • the leaf ( 2 , 1 ) which has not been marked, is now marked.
  • step S 323 the branch condition is met.
  • the header information generation part 311 forms a header h by using header elements c x,y having values that are not zero, that is, c 0,1 and c 1,1 .
  • a header h (g t , c 0,1 , c 1,1 ) is formed.
  • S which indicates a set of customers who are able to decrypt delivered content, is ⁇ ( 1 , 2 ), ( 1 , 3 ), ( 2 , 1 ) ⁇ , by the process described above.
  • a deliverer 513 calculates a session key s and a header h by using a public key PK and a random number t selected by the deliverer 513 , as shown in FIG. 16 .
  • the deliverer 513 also determines a set S of customers who are able to decrypt content. Then, the deliverer 513 delivers the encrypted content C, the header h, and the set S, irrespective of whether the customers 507 or non-customers 517 , via a broadcast communication channel 515 .
  • FIG. 21 is a flowchart of the decryption phase, which is a key processing method by the reception device 40 .
  • the reception device 40 that receives encrypted content C, a header h, and a set S by the reception unit 401 temporarily stores the information in the storage unit 403 . After that, decryption processing of the encrypted content C is performed.
  • the determination unit 405 of the reception device 40 refers to the set S stored in the storage unit 403 to determine whether or not a node included in the set S exists among individual nodes from a leaf assigned to the reception device 40 to the root (step S 501 ). As a result of the determination, in a case where no node included in the set S exists, the determination unit 405 determines that the reception device 40 is excluded, and terminates the decryption process described below. Meanwhile, as a result of the determination, in a case where a node included in the set S exists, the reception device 40 sets the node index of the node included in the set S to (x′,y′), and performs step S 503 below.
  • the decryption unit 407 of the reception device 40 selects a header element c x,y corresponding to a parent node (x,y) of the node (x′,y′) and g t among individual elements of the header h received by the reception unit 401 and stored in the storage unit 403 (step S 503 ).
  • the parent node (x,y) of the node (x′,y′) is represented by the expression below.
  • the decryption unit 407 acquires the session key s, as in the below, by using the public key and an element corresponding to the node (x′,y′) from the private secret key d i for the reception device 40 (step S 503 ).
  • the decryption unit 407 decrypts the encrypted content C to obtain plaintext M by using the acquired session key s (step S 505 ).
  • M Ds ( C ) (Expression 113)
  • FIG. 22 is an explanatory diagram for specifically explaining the decryption phase according to this embodiment.
  • FIG. 22 a case where a ternary tree structure is constructed and nine customers are assigned to leaves is shown.
  • customers desired to be excluded are a customer 2 and a customer 3 and encrypted content C, a header h, and a set S are delivered to the customers 1 to 9 is assumed.
  • a customer 4 who is assigned to a leaf ( 2 , 4 ) decrypts delivered content will be described in detail.
  • nodes included in a path extending from the leaf ( 2 , 4 ) assigned to the customer 4 to the root ( 0 , 1 ) are the above-mentioned leaf ( 2 , 4 ), the node ( 1 , 2 ), and the root ( 0 , 1 ).
  • the determination unit 405 of the reception device 40 being used by the customer 4 determines whether or not the above-mentioned three nodes are included in information on the set S received by the reception unit 401 .
  • the set S is ⁇ ( 1 , 2 ), ( 1 , 3 ), ( 2 , 1 ) ⁇ .
  • the node ( 1 , 2 ) which is a parent node of the leaf ( 2 , 4 ) to which the customer 4 is assigned, is included in the set S.
  • the determination unit 405 determines that the branch condition of step S 501 is met.
  • the decryption unit 407 continues to perform the decryption process.
  • the node (x′,y′) in step S 503 corresponds to the node ( 1 , 2 ).
  • the parent node (x,y) of the node (x′,y′) is the root ( 0 , 1 ).
  • the decryption unit 407 selects a header element c 0,1 corresponding to the node ( 0 , 1 ) and g t .
  • the decryption unit 407 calculates a session key s by using an element relating to ⁇ 0,1 , which is an element corresponding to the node ( 0 , 1 ) from a private secret key d 4 for the customer 4 , and a public key PK.
  • a bilinear map to obtain a session key s is represented by the expression below.
  • a computer program for causing a computer to function as the key generation device 20 , the encryption device 30 , and the reception device 40 according to this embodiment described above can be created.
  • the computer program By being stored in a storage unit provided in the computer and being read and executed by a CPU provided in the computer, the computer program causes the computer to function as the key generation device 20 , the encryption device 30 , and the reception device 40 described above.
  • a computer-readable recording medium having the computer program recorded thereon can also be provided.
  • the recording medium is, for example, a magnetic disk, an optical disk, a magneto-optical disk, a flash memory, or the like.
  • the computer program described above may be delivered via, for example, a network, without using the recording medium.
  • the encryption key delivery system 10 is compared with the content delivery system described in non-patent document 1, which is a fundamental technology.
  • the method of non-patent document 1 which is a fundamental technology, is a method in which a collusion program is solved by using a bilinear map in a content delivery system using a public key.
  • customers are divided into a plurality of subgroups in advance, and at the time of delivery of content, a header including all the header elements different depending on the subgroup is delivered.
  • the header size can be maintained constant.
  • a header having a constant size must be always delivered. Thus, a problem exists in that delivery efficiency is degraded.
  • the key generation device by constructing a logical tree using the method of the fundamental technology and letting the number of parameters to slightly increase, subgroups can be configured flexibly.
  • the size of a header delivered can be reduced and the calculation amount of an operation that a customer needs to perform can be reduced to less than or equal to that of the method described in the fundamental technology.
  • the fundamental technology and this embodiment will be described while attention is paid to differences in individual phases.
  • comparison is performed in terms of the header size and the amount of calculation necessary for decryption, by using specific examples of numeric values.
  • step S 11 and step S 13 customers are divided into A subgroups each including B customers in step S 15 .
  • various parameters are set in step S 101 and S 103 , and customers are divided into X subgroups each including Y customers.
  • step S 105 a Y-ary tree structure where customers are assigned to leaves is constructed.
  • a center secrets ⁇ 1 , . . . , ⁇ A used for integrating header elements for each subgroup and A public values ⁇ 1 , . . . , ⁇ A corresponding to such center secrets, where A represents the number of divisions of subgroups, are necessary in step S 19 in the fundamental technology, whereas since subgroups can be formed for all the nodes except for leaves of the Y-ary tree constructed in step S 105 in this embodiment, N values are necessary, where N represents the total number of nodes except for the leaves.
  • a customer i belongs only to a subgroup S, which is represented by the expression below.
  • each node of the logical tree can be used for reconstruction of subgroups in step S 109 .
  • the customer i needs to belong to a plurality of subgroups constituted by all the nodes from a leaf assigned to the customer i to the root.
  • step S 115 in this embodiment a plurality of private secret keys must be kept for the customer i.
  • the number of necessary parameters is slightly increased compared with the fundamental technology.
  • the header size of a header generated in the encryption phase described next can be reduced compared with the fundamental technology.
  • a session key is generated in step S 31 .
  • step S 35 header elements by which only non-excluded customers in individual subgroups can obtain a session key are calculated, and a header is configured.
  • header elements corresponding to all the subgroups must be calculated.
  • the header size is maintained constant irrespective of whether the number r of excluded customers is large or small.
  • step S 301 all the nodes from a leaf assigned to an excluded customer to a root are marked in step S 301 , and a set of node indices by which the non-excluded customer identifies a header element assigned to the non-excluded customer from a header h is set to S.
  • step S 303 a session key s is generated in accordance with a procedure as in the fundamental technology in step S 303 .
  • steps S 305 to S 325 header elements by which only customers who are assigned to unmarked nodes can acquire the session key s are calculated, and a header h is configured.
  • step S 317 in this embodiment a header element for an unmarked node among nodes belonging to a Layer x is generated. This is an operation similar to the operation of step S 35 in the fundamental technology. However, A header elements must be generated in step S 35 in the fundamental technology since A subgroups already exist, whereas step S 317 is performed only for a set of child nodes of a certain note in this embodiment and this process is repeated in steps S 307 to S 323 .
  • steps S 315 to S 319 for a node whose header element has been once generated, by marking all the nodes belonging to a subtree having the node as the vertex thereof, it is unnecessary to generate header elements corresponding to these nodes.
  • an advantage occurs in that header elements for all the non-excluded customers including the node can be integrated together in a path.
  • the header size can be reduced.
  • a non-excluded customer acquires a header element corresponding to a subgroup to which the customer belongs, and derives a session key by using the header element, a public key, and a private secret key.
  • a non-excluded customer acquires a header element corresponding to a parent node of a node included in S among nodes existing in a path extending from a leaf assigned to the customer to the root, and derives a session key by using the header element, a public key, and a private secret key.
  • the header size is always A+1, irrespective of whether the number r of excluded customers is large or small.
  • This has an advantage in that the header size can be maintained constant, whereas this has a drawback in that the header size cannot be reduced, irrespective of the number of excluded customers.
  • capability of efficiently delivering content is required within a range in which the percentage of the number of excluded customers relative to the total number of customers is small.
  • a set of customers is divided into X subgroups each including Y customers.
  • a Y-ary tree where individual customers in divided subgroups are set as leaves is constructed.
  • the header size is A+1 in the fundamental technology irrespective of whether or not an excluded customer exists
  • each customer belonging to a subgroup where no excluded customer exists can be regarded as a member of an upper Layer in a case where the root is defined as the uppermost layer. Consequently, a plurality of subgroups can be regarded as a subgroup, and the header size can be reduced.
  • calculation amount of an operation that each customer needs to perform is represented as 2PAIR+INV+(Y ⁇ 1 ⁇ r a )MUL as described above, the calculation amount can be reduced to less than or equal to that of the method of the fundamental technology by setting Y to B or less.
  • the present invention is one of content delivery methods using a public key. Compared with the fundamental technology, the present invention has the features described below.
  • a logical tree is constructed by adding parameters to the method of the fundamental technology, and the added parameters are assigned to individual nodes of the logical tree.
  • the key generation device which serves as a center, delivers in advance to individual customers, information on the parameters assigned to the logical tree, as additional private secret keys.
  • a deliverer of encrypted content operates the encryption device.
  • the deliverer In a case where a customer is excluded, the deliverer generates a header h in which exclusion has been performed for each node, as in a content delivery method using a common key.
  • each customer operates a reception device to calculate a session key s from a public key PK, a header h, and a private secret key d i by using a method as in the fundamental technology.
  • the amount of calculation necessary for decryption by a customer can be reduced to less than or equal to that in the method of the fundamental technology.
  • the header size can be reduced compared with the fundamental technology.
  • efficiency can be increased in terms of the header size and the calculation amount.
  • FIGS. 23 and 24 will be explained.
  • the abscissa axis represents the number of excluded customers and the ordinate axis represents the header size (the total number of header elements) in FIG. 23 .
  • the abscissa axis represents the number of excluded customers and the ordinate axis represents the calculation amount of an operation necessary for decryption in FIG. 24 .
  • the ordinate axis in FIG. 24 represents the number of multiplications on the bilinear group G.
  • a solid line represents the header size in the method of the fundamental technology and a broken line represents the header size in this embodiment in FIG. 23 .
  • a solid line represents the calculation amount in the method of the fundamental technology and a broken line represents the calculation amount in this embodiment in FIG. 24 .
  • the header size in the method according to this embodiment is smaller than the header size in the method of the fundamental technology. That is, this case shows that even in a case where up to about six percent of the total customers are excluded, content can be delivered more efficiently in the method according to this embodiment.
  • the amount of calculation in the method according to this embodiment is smaller than the amount of calculation in the method of the fundamental technology. This shows that content can be decrypted more efficiently in the method according to this embodiment.
  • the number of excluded customers exceeds 60, it can be seen that an amount of calculation equivalent to that in the method of the fundamental technology can be achieved.
  • the method according to this embodiment is capable of achieving a reduced header size and achieving a reduced calculation amount of an operation that each customer needs to perform at the time of decryption, compared with the method according to the fundamental technology. Therefore, it can be said that the method according to this embodiment is capable of achieving efficient delivery of content, compared with the method according to the fundamental technology.
  • FIGS. 25 and 26 will be explained. Since only the values of X and Y in FIGS. 23 and 24 described above are changed in FIGS. 25 and 26 , the abscissa and ordinate axes, solid lines, and broken lines in FIGS. 25 and 26 represent the same as those in FIGS. 23 and 24 .
  • the header size in the method according to this embodiment is smaller than the header size in the method according to the fundamental technology. That is, this case shows that even in a case where up to about nine percent of the total customers are excluded, content can be delivered more efficiently in the method according to this embodiment. Also in a case where the number of excluded customers is equal to or greater than seven, a header size equivalent to that in the method of the fundamental technology can be achieved. Thus, irrespective of the number of excluded customers, the header size can be reduced to less than or equal to that in the method of the fundamental technology.
  • the present invention is a method, in a content delivery system for securely delivering content by using a public key, for realizing a reduction in the amount of data to be delivered and a reduction in the amount of calculation necessary for decryption, compared with a conventional method.
  • efficient content delivery can be achieved compared with a conventional content delivery method using a public key.
  • tree-structure construction unit 231 assumes a tree structure where branches grow from top to bottom, the three structure is not necessarily limited to this.
  • a tree structure where branches grow from bottom to top, from left to right, or from right to left may be provided.
  • individual steps in each flowchart in this specification are not necessarily processed in a time-series manner in accordance with the order described as a flowchart.
  • the individual steps may include processes performed in parallel or individually (for example, parallel processes or object-based processes).

Abstract

A key generation device according to the present invention hierarchically constructs a Y-ary tree structure where n reception devices are assigned to leaves, and forms subgroups where individual intermediate nodes existing between the leaves and a root of the Y-ary tree structure are defined as parent nodes. By providing new parameters to the individual intermediate parameters, the subgroups can be formed flexibly. In a case where no excluded customer exists or the number of excluded customers is small, the size of a header to be delivered and the calculation amount of an operation that a customer needs to perform can be reduced.

Description

TECHNICAL FIELD
The present invention relates to a key generation device, an encryption device, a reception device, a key generation method, an encryption method, a key processing method, and a program.
BACKGROUND ART
In recent years, due to the widespread use and development of not only personal computers (PCs) but also portable telephones, digital home electric appliances, and the like, content delivery businesses for music, images, and the like have been becoming increasingly important. As a content delivery business, for example, paid broadcasting using cable television, satellite broadcasting, or the Internet, selling of content using physical media such as CDs or DVDs, and the like exist. In any of these cases, it is necessary to configure a mechanism in which only a customer can acquire content.
Normally, in such a content delivery system, an administrator (hereinafter, referred to as a center) of the system supplies a key only to a customer in advance, and at the time of delivery of content, delivers ciphertext C, which has been generated by encrypting content M by using a session key s, and a header h for allowing only the customer to acquire the session key s. Accordingly, only the customer can acquire the content M.
As a content delivery method for realizing the above-described situation, for example, a method using a public key is available (see, for example, non-patent document 1).
Non-Patent Document 1: D. Boneh, C. Gentry, B. Waters, “Collusion Resistant Broadcast Encryption With Short Ciphertexts and Private Keys”, CRYPTO'05, Proceedings of 25th Annual International Cryptology Conference on Advances in Cryptology, London, UK, Springer Verlag, 2005, pp. 58-75.
DISCLOSURE OF INVENTION Technical Problem
However, in the public-key encryption method described in the above-mentioned non-patent document 1, even in a case where the number of excluded customers for which delivery is eliminated is small, it is necessary to always deliver a header h of a constant size. Thus, under a real possible situation such as a case where the number of excluded customers is zero or a case where the percentage of the number of excluded customers relative to the total number of customers is small, the header size cannot be reduced. Therefore, a problem exists in that data redundancy at the time of delivery of encrypted content is increased.
Thus, in view of the above-described problem, the present invention has been made. An object of the present invention is to provide a novel and improved key generation device, encryption device, reception device, key generation method, encryption method, key processing method, and program capable of reducing a header size even in a case where the number of excluded customers is small.
Technical Solution
In order to achieve the above-mentioned object, according to a first aspect of the present invention, there is provided a key generation device including a tree-structure construction unit that hierarchically constructs a Y-ary tree structure where n reception devices are assigned to leaves and a height is represented by (logYn), and forms subgroups constituted by a plurality of leaves existing in a layer lower than intermediate nodes existing between the leaves and a root; a leaf-key assigning unit that assigns leaf keys gy to the individual leaves and the individual intermediate nodes; a parameter assigning unit that assigns different parameters νx,y (x: layer, y: 1, 2, . . . , Yx) and node parameters γx,y (x: layer, y: 1, 2, . . . , Yx) to the individual intermediate nodes and the root; and a key calculation unit that identifies paths extending from the root to the leaves, and calculates keys on the basis of the leaf keys gy assigned to the intermediate nodes or the leaves existing in the paths and the parameters νx,y and the node parameters γx,y assigned to parent nodes of the intermediate nodes or the leaves.
The key generation device described above may be configured so as to further include a delivery unit that delivers sets of keys in the paths calculated by the key calculation unit to the respective reception devices.
The key generation device described above may further include a random-number determination unit that selects, at random, a prime p to determine a bilinear group G having the prime p as an order, selects, at random, g serving as a generator of G, and selects, at random, a secret random number α (α is an integer). The leaf-key assigning unit described above may calculate the leaf keys gy that satisfy expression A below. Here, in expression A below, y=1, 2, . . . Y, Y+2, . . . , 2Y is set.
[Math. 1]
gy=g(α) y   (Expression A)
The parameter assigning unit described above may select, at random, for the root and all the individual nodes except for the leaves, the node parameters γx,y x,y is an integer), and may calculate the parameters νx,y shown in expression B below.
[Math. 2]
νx,y=g x,y )  (Expression B)
The key calculation unit may set, as secret keys, values obtained by raising the leaf keys gy assigned to the intermediate nodes or the leaves to the power of the parameters γx,y assigned to parent nodes of the intermediate nodes or the leaves. That is, in a case where a leaf key gy assigned to an intermediate node or a leaf is abbreviated as K and a parameter γx,y assigned to a parent node of the intermediate node or the leaf is abbreviated as T, a value obtained by KT may be set to a secret key.
The key calculation unit described above may calculate a public key on the basis of the leaf keys gy and the parameters νx,y. The delivery unit described above may include a public-key publishing part that publishes the public key.
The delivery unit described above may further include a transmission part that transmits the secret keys calculated by the key calculation unit to the respective reception devices.
In order to achieve the above-mentioned object, according to a second aspect of the present invention, there is provided an encryption device including an excluded reception device identification unit that identifies an excluded reception device among n reception devices, and determines a set S of non-excluded reception devices.
The encryption device described above may further include a session-key determination unit that selects, at random, an integer t, and determines a session key s=e (gY, g1)t.
Here, e(gY,g1) described above represents a bilinear map for two elements gy and g1 of a bilinear group.
The encryption device described above may further include an encryption unit that encrypts, by using the above-described session key s, content to be delivered.
In a hierarchized tree structure, the session-key determination unit described above may further include a header-element calculation part that marks all the individual nodes existing in a path extending from a leaf for the excluded reception device to the root, and calculates, on the basis of the parameters νx,y assigned to the marked nodes and leaf keys gy assigned to intermediate nodes for which the marked nodes serve as parent nodes, header elements by using expression C below. Here, Sx,y represents a set of unmarked child nodes belonging to each of subgroups where the marked nodes serve as parent nodes.
[ Math . 3 ] c x , y = ( v x , y · j S x , y g Y + 1 - j ) t ( Expression C )
The session-key determination unit described above may further include a header information generation part that sets cx,y and gt obtained by the header-element calculation part as header information.
In order to achieve the above-mentioned object, according to a third aspect of the present invention, there is provided a reception device capable of communicating with a key generation device and an encryption device, including a reception unit that receives keys obtained by the key generation device that hierarchically constructs a Y-ary tree structure where n reception devices are assigned to leaves and a height is represented by (logYn), forms subgroups constituted by a plurality of leaves existing in a layer lower than intermediate nodes existing between the leaves and a root, assigns leaf keys gy to the individual leaves and the individual intermediate nodes, assigns different parameters νx,y (x: layer, y: 1, 2, . . . , Yx) and node parameters γx,y (x: layer, y: 1, 2, . . . , Yx) to the individual intermediate nodes and the root, identifies paths extending from the root to the leaves, and calculates the keys on the basis of the leaf keys gy assigned to the intermediate nodes or the leaves existing in the paths and the parameters νx,y and the node parameters γx,y assigned to parent nodes of the intermediate nodes or the leaves.
The reception device described above may further include a decryption unit that decrypts encrypted content by using a session key s.
The reception unit described above may further receive information on a set S of non-excluded reception devices, which is information for identifying an excluded reception device. The reception device described above may further include a determination unit that determines whether or not the reception device is included in the set S.
In a case where the determination unit determines that the reception device described above is included in the set S, the decryption unit described above may decrypt the encrypted content by calculating the session key s on the basis of expression D below and using the calculated session key s.
[ Math . 4 ] s = e ( g i x , c x , y ) e ( g i x γ i x - 1 · j S x , y j i x g Y + 1 - j + i x , g t ) ( Expression D )
In order to achieve the above-mentioned object, according to a fourth aspect of the present invention, there is provided a key generation method including a tree-structure construction step of hierarchically constructing a Y-ary tree structure where n reception devices are assigned to leaves and a height is represented by (logYn), and forming subgroups constituted by a plurality of leaves existing in a layer lower than intermediate nodes existing between the leaves and a root; a leaf-key assigning step of assigning leaf keys gy to the individual leaves and the individual intermediate nodes; a parameter assigning step of assigning different parameters νx,y (x: layer, y: 1, 2, . . . , Yx) and node parameters γx,y (x: layer, y: 1, 2, . . . , Yx) to the individual intermediate nodes and the root; and a key calculation step of identifying paths extending from the root to the leaves, and calculating keys on the basis of the leaf keys gy assigned to the intermediate nodes or the leaves existing in the paths and the parameters νx,y and the node parameters γx,y assigned to parent nodes of the intermediate nodes or the leaves.
In order to achieve the above-mentioned object, according to a fifth aspect of the present invention, there is provided an encryption method including an excluded reception device identification step of identifying an excluded reception device among n reception devices, and determining a set S of non-excluded reception devices.
In order to achieve the above-mentioned object, according to a sixth aspect of the present invention, there is provided a key processing method including a step of receiving keys obtained by hierarchically constructing a Y-ary tree structure where n reception devices are assigned to leaves and a height is represented by (logYn), forming subgroups constituted by a plurality of leaves existing in a layer lower than intermediate nodes existing between the leaves and a root, assigning leaf keys gy to the individual leaves and the individual intermediate nodes, assigning different parameters νx,y (x: layer, y: 1, 2, . . . , Yx) and node parameters γx,y (x: layer, y: 1, 2, . . . , Yx) to the individual intermediate nodes and the root, identifying paths extending from the root to the leaves, and calculating the keys on the basis of the leaf keys gy assigned to the intermediate nodes or the leaves existing in the paths and the parameters νx,y and the node parameters γx,y assigned to parent nodes of the intermediate nodes or the leaves.
In order to achieve the above-mentioned object, according to a seventh aspect of the present invention, there is provided a program for causing a computer to realize a tree-structure construction function of hierarchically constructing a Y-ary tree structure where n reception devices are assigned to leaves and a height is represented by (logYn), and forming subgroups constituted by a plurality of leaves existing in a layer lower than intermediate nodes existing between the leaves and a root; a leaf-key assigning function of assigning leaf keys gy to the individual leaves and the individual intermediate nodes; a parameter assigning function of assigning different parameters νx,y (x: layer, y: 1, 2, . . . , Yx) and node parameters γx,y (x: layer, y: 1, 2, . . . , Yx) to the individual intermediate nodes and the root; and a key calculation function of identifying paths extending from the root to the leaves, and calculating keys on the basis of the leaf keys gy assigned to the intermediate nodes or the leaves existing in the paths and the parameters νx,y and the node parameters γx,y assigned to parent nodes of the intermediate nodes or the leaves.
With this configuration, by being stored in a storage unit provided in the computer and being read and executed by a CPU provided in the computer, the computer program causes the computer to function as the key generation device described above. In addition, a computer-readable recording medium having the computer program recorded thereon can also be provided. The recording medium is, for example, a magnetic disk, an optical disk, a magneto-optical disk, a flash memory, or the like. In addition, the computer program described above may be delivered via, for example, a network, without using the recording medium.
In order to achieve the above-mentioned object, according to an eighth aspect of the present invention, there is provided a program for causing a computer to realize an excluded reception device identification function of identifying an excluded reception device among n reception devices and determining a set S of non-excluded reception devices.
With this configuration, by being stored in a storage unit provided in the computer and being read and executed by a CPU provided in the computer, the computer program causes the computer to function as the encryption device described above. In addition, a computer-readable recording medium having the computer program recorded thereon can also be provided. The recording medium is, for example, a magnetic disk, an optical disk, a magneto-optical disk, a flash memory, or the like. In addition, the computer program described above may be delivered via, for example, a network, without using the recording medium.
In order to achieve the above-mentioned object, according to a ninth aspect of the present invention, there is provided a program for causing a computer to realize a reception function of receiving encryption keys obtained by hierarchically constructing a Y-ary tree structure where n reception devices are assigned to leaves and a height is represented by (logYn), forming subgroups constituted by a plurality of leaves existing in a layer lower than intermediate nodes existing between the leaves and a root, assigning leaf keys gy to the individual leaves and the individual intermediate nodes, assigning different parameters νx,y (x: layer, y: 1, 2, . . . , Yx) and node parameters γx,y (x: layer, y: 1, 2, . . . , Yx) to the individual intermediate nodes and the root, identifying paths extending from the root to the leaves, and calculating the keys on the basis of the leaf keys gy assigned to the intermediate nodes or the leaves existing in the paths and the parameters νx,y and the node parameters γx,y assigned to parent nodes of the intermediate nodes or the leaves.
With this configuration, by being stored in a storage unit provided in the computer and being read and executed by a CPU provided in the computer, the computer program causes the computer to function as the reception device described above. In addition, a computer-readable recording medium having the computer program recorded thereon can also be provided. The recording medium is, for example, a magnetic disk, an optical disk, a magneto-optical disk, a flash memory, or the like. In addition, the computer program described above may be delivered via, for example, a network, without using the recording medium.
Advantageous Effects
According to the present invention, even in a case where the number of excluded customers is small, a header size can be reduced.
BRIEF DESCRIPTION OF DRAWINGS
FIG. 1 is an explanatory diagram for explaining an encryption key generation system according to a preferred embodiment of the present invention.
FIG. 2 is a block diagram for explaining the hardware configuration of a key generation device according to the embodiment.
FIG. 3 is an explanatory diagram for explaining the overview of key generation according to a basic method of a fundamental technology of the present invention.
FIG. 4 is a flowchart for explaining the overview of key generation according to a generalization method of the fundamental technology of the present invention.
FIG. 5 is a flowchart for explaining a key generation phase according to the generalization method of the fundamental technology of the present invention.
FIG. 6 is an explanatory diagram for explaining the overview of encryption according to the generalization method of the fundamental technology of the present invention.
FIG. 7 is a flowchart for explaining an encryption phase according to the generalization method of the fundamental technology of the present invention.
FIG. 8 is a flowchart for explaining a decryption phase according to the generalization method of the fundamental technology of the present invention.
FIG. 9 is a block diagram for explaining the configuration of a key generation device according to a preferred embodiment of the present invention.
FIG. 10 is a block diagram for explaining the configuration of an encryption device according to the embodiment.
FIG. 11 is a block diagram for explaining the configuration of a reception device according to the embodiment.
FIG. 12 is an explanatory diagram for explaining a specific example of a logical tree according to the embodiment.
FIG. 13 is an explanatory diagram for explaining the overview of key generation according to the embodiment.
FIG. 14 is a flowchart for explaining a key generation phase according to the embodiment.
FIG. 15 is an explanatory diagram for explaining a specific example of key generation according to the embodiment.
FIG. 16 is an explanatory diagram for explaining the overview of encryption according to the embodiment.
FIG. 17 is a flowchart for explaining an encryption phase according to the embodiment.
FIG. 18 is an explanatory diagram for explaining a specific example of encryption according to the embodiment.
FIG. 19 is an explanatory diagram for explaining a specific example of encryption according to the embodiment.
FIG. 20 is an explanatory diagram for explaining a specific example of encryption according to the embodiment.
FIG. 21 is a flowchart for explaining a decryption phase according to the embodiment.
FIG. 22 is an explanatory diagram for explaining a specific example of decryption according to the embodiment.
FIG. 23 is a graph in which comparison in terms of the header size of a header delivered to a customer is performed.
FIG. 24 is a graph in which comparison in terms of the number of multiplications on a bilinear group is performed.
FIG. 25 is a graph in which comparison in terms of the header size of a header delivered to a customer is performed.
FIG. 26 is a graph in which comparison in terms of the number of multiplications on a bilinear group is performed.
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, a preferred embodiment of the present invention will be described in detail with reference to the attached drawings. Note that in the specification and drawings, by providing components having substantially the same functional configuration with the same sign, a redundant explanation will be omitted.
(First Embodiment)
Hereinafter, an encryption key delivery system according to a first embodiment of the present invention will be described in detail.
FIG. 1 is an explanatory diagram showing an encryption key delivery system 10 according to this embodiment. The encryption key delivery system 10 includes, for example, a communication network 12, a key generation device 20, an encryption device 30, a reception device 40A, and a reception device 40B.
The communication network 12 is a communication line network for connecting the key generation device 20, the encryption device 30, and the reception devices 40 so that bidirectional communication or one-way communication can be realized. This communication network is constituted by, for example, a public line network, such as the Internet, a telephone network, a satellite communication network, or a broadcast communication channel, a dedicated line network, such as a WAN (Wide Area Network), a LAN (Local Area Network), an IP-VPN (Internet Protocol-Virtual Private Network), or a wireless LAN, or the like. This communication network may be wired or wireless.
The key generation device 20 generates a public key and a secret key unique to each of a plurality of reception devices. The key generation device 20 publishes the public key, and delivers the individual secret keys to the respective reception devices via secure communication channels. Note that the key generation device 20 is owned by a center that performs generation and management of the public key and the secret keys.
The encryption device 30 encrypts any content by using the public key generated and published by the key generation device 20, and delivers the encrypted content to each of the reception devices via the communication network 12. The encryption device 30 can be owned by any third party. In addition, the encryption device 30 can be owned by an owner of the key generation device 20 or owners of the reception devices 40.
The reception devices 40 are each capable of decrypting, by using a unique secret key, the encrypted content delivered from the encryption device 30 and of using the decrypted content. Note that the reception device 40A and the reception device 40B can be connected to each other via the communication network 12 or a wire. Note that the reception devices 40 are owned by individual customers.
Note that although computer devices (irrespective of whether notebook-type devices or desktop-type devices), such as personal computers (Personal Computers: PCs), are shown as the reception devices 40 in the illustrated example, the reception devices 40 are not limited to this example. As long as the reception devices 40 are devices having a communication function via a network, they can be configured as, for example, information appliances, such as PDAs (Personal Digital Assistants), home-use game machines, DVD/HDD recorders, or television receivers, tuners or decoders for television broadcasting, or the like. Alternatively, the reception devices 40 may be portable devices (Portable Devices) that can be carried by customers, such as, for example, portable game machines, portable telephones, portable video/audio players, PDAs, or PHSs.
Next, the hardware configuration of the key generation device 20 according to this embodiment will be briefly explained with reference to FIG. 2.
FIG. 2 is a block diagram showing the hardware configuration of the key generation device 20. The key generation device 20 includes, for example, a CPU (Central Processing Unit) 201, a ROM (Read Only Memory) 203, a RAM (Random Access Memory) 205, an HDD (Hard Disk Drive) 207, an encryption processing unit 209, and a memory (secure module) 211.
The CPU 201 functions as an arithmetic processing device and a control device. The CPU 201 controls general operations within the key generation device 20 in accordance with various programs. The ROM 203 stores programs, arithmetic parameters, and the like used by the CPU 201. The RAM 205 temporarily stores a program used in the performance of the CPU 201, a parameter changing appropriately in the execution of the program, and the like.
The HDD 207 is a device for data storage configured as an example of a storage unit of the key generation device 20 according to this embodiment. The HDD 207 drives a hard disk and stores programs executed by the CPU 201 and various data. The encryption processing unit 209 performs various types of encryption processing performed by the key generation device 20 according to this embodiment under the control of the CPU 201. The memory (secure module) 211 securely stores information that needs to be concealed, such as a private secret key and a center-secret random number, mainly. Information stored inside the memory 211 has a characteristic in that the information cannot be referred to from the outside. In addition, the memory (secure module) 211 may be constituted by, for example, a storage device having a tamper-resistant property. Note that although a description indicating that the secure module is a memory is provided, the secure module according to the present invention is not limited to a memory. The secure module may be, for example, a magnetic disk, an optical disk, or a magneto-optical disk. Alternatively, the secure module may be a storage medium, such as a semiconductor memory.
The CPU 201, the ROM 203, the RAM 205, the HDD 207, the encryption processing unit 209, and the memory 211 are connected to each other via a bus 213 constituted by a CPU bus or the like.
The bus 213 is connected to an input/output interface 215, such as a PCI (Peripheral Component Interconnect/Interface) bus, via a bridge.
An input unit 217 is constituted by, for example, operation means, such as a mouse, a keyboard, a touch panel, a button, a switch, and a lever, operated by a user, an input control circuit for generating an input signal on the basis of the operation by the user and outputting the input signal to the CPU 201, and the like. By operating the input unit 217, the user of the key generation device 20 is able to input various data to the key generation device 20 and to instruct the key generation device 20 to perform a processing operation.
An output unit 219 is constituted by, for example, a display device, such as a CRT (Cathode Ray Tube) display device or a liquid crystal display (LCD) device and a lamp, an audio output device, such as a speaker and a headphone, and the like. The output unit 219 is capable of, for example, outputting reproduced content. Specifically, the display device displays, in the form of text or images, various types of information such as reproduced video data. Meanwhile, the audio output device converts reproduced music data or the like into sound and outputs the sound.
A communication unit 221 is a communication interface constituted by, for example, a communication device and the like for allowing connection to the communication network 12. The communication unit 221 transmits and receives various data, such as information on an encryption key and content information, to and from, for example, the encryption device 30 and the reception devices 40A and 40B, via the communication network 12.
A drive 223 is a reader/writer for a storage medium. The drive 223 is contained in the key generation device 20 or provided externally. The drive 223 reads information recorded on a removable recording medium 14 loaded, such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory, and outputs the information to the RAM 205.
Note that since the hardware configurations of the encryption device 30 and the reception devices 40 are substantially the same as the hardware configuration of the key generation device 20, the description of the hardware configurations of the encryption device 30 and the reception devices 40 will be omitted.
In the above, an example of the hardware configuration capable of implementing functions of the key generation device 20, the encryption device 30, and the reception devices 40 according to this embodiment has been described. Each of the above-described components may be constituted by a general-purpose member or may be constituted by hardware specialized for a function of the component. Thus, a hardware configuration to be used can be changed in an appropriate manner in accordance with the technical level on each occasion of implementation of this embodiment. In addition, it is obvious that the above-described hardware configuration is merely an example and the present invention is not limited to this. For example, the HDD 207 and the memory (secure module) 211 may be constituted by the same storage device. In addition, depending on the manner of use, a configuration in which the bus 213, the input/output interface 215, or the like is omitted may be available. Hereinafter, an encryption key generation method that can be realized with the hardware configuration described above will be described in detail.
Explanation on Fundamental Technology
First, before providing a detailed description of a preferred embodiment of the present invention, technical matters that form the basis for realizing the embodiment will be described. Note that by improvement on the fundamental technology described below, the embodiment is formed in such a manner that more remarkable effects can be achieved. Thus, the technology relating to the improvement is the very part that forms features of the embodiment. That is, it should be noted that although the embodiment follows the basic concept of the technical matters described here, the very nature of the embodiment is rather summarized in the improved part, the configuration of the embodiment is clearly different from that of the fundamental technology, and in addition, the line is drawn between the embodiment and the fundamental technology in terms of advantages.
In a conventional content delivery method using a public key, a center determines a system parameter k of a content delivery system and forms a kth-order center-secret polynomial based on the system parameter k. After that, by using the kth-order secret polynomial, the center generates a public key PK and a secret key di (hereinafter, referred to as a private secret key) unique to a customer i. The center publishes the public key PK and delivers the private secret key di to the customer i by using a secure communication channel. In addition, at the time of delivery of content, the center delivers ciphertext C and a header h. Since the header h is generated by using the public key PK, any deliverer can generate the header h. In the conventional content delivery method using a public key, a customer i should keep only one secret key di. In addition, since the public key PK is published, a deliverer who is not the center is able to deliver content.
However, in order to generate a private secret key, the kth-order polynomial based on k, which is a security parameter, is used. A collusion problem has existed in that in a case where k+1 or more customers collude with each other, the security of the system cannot be maintained.
Thus, in non-patent document 1 mentioned above, a public key content delivery method is suggested in which even in a case where any number of customers collude with each other, the security of the system can be maintained.
In the method described in non-patent document 1 by Boneh, Gentry, Waters, et al., a private secret key is generated by using a type of cyclic multiplicative group called a bilinear group, not using a kth-order polynomial, and an element unique to a customer i in the group is provided as a private secret key di. In addition, by using an operation called bilinear mapping for generation of a header h and acquisition of a session key s by each customer, the collusion problem, which has been a big problem in the conventional content delivery system using a public key, can be solved.
In non-patent document 1, first, as a basic method, a method for handling a set of customers as one group is described. Hereinafter, this basic method will be described with reference to FIG. 3. In this basic method, a center 51 generates a generator g of a bilinear group and center-secret α, and assigns, by using them, to a customer i (i=1, . . . n) the following parameter:
gi=gα i   [Math. 5]
In addition, a parameter ν=gγ for handling a set of customers 55 as one group is generated, and the generator g and the parameter ν are published as a public key PK=(g, g1, . . . , gn, gn+2, . . . g2n, ν). Furthermore, to a customer i, by using the following parameter:
gi=gα i   [Math. 6]
assigned to i, the following private secret key:
di=gi γ  [Math. 7]
is supplied in advance via a secure one-to-one communication channel 53.
A deliverer creates, from the public key PK=(g, g1, . . . , gn, gn+2, . . . , g2n, ν), in accordance with the following parameter:
gi=gα i   [Math. 8]
assigned to all the non-excluded customers and the parameter ν=gγ for handling a set of customers as one group, a common header element corresponding to all the non-excluded customers. Then, the deliverer generates the header h by using header elements including the common header element and a random-number element used at the time of generation of a session key, and delivers the header h together with ciphertext C.
As described above, in the basic method, by handling a set of customers as one group and forming a header element corresponding to the group, the size of the header h (hereinafter, referred to as a header size) is minimized.
However, since all the customers are handled as one group, different parameters g1, . . . , gn need to be assigned to individual customers. Thus, the size of a public key is equal to or more than twice the number of customers. In addition, in a case where each customer acquires a session key s from a header h, the product of parameters g1, . . . , gn corresponding to all the non-excluded customers other than the customer needs to be calculated. Thus, if the value of n, which represents the total number of customers, is very large, the burden imposed on the customer in terms of the amount of calculation is very large. In the realistic content delivery, content needs to be delivered to a significantly large number of customers via paid broadcasting, a physical medium such as a DVD, the Internet, or the like. Thus, taking into consideration the problem described above, it can be said that the basic method cannot be used realistically.
As a method for solving the problem described above, in non-patent document 1, a generalization method is suggested in which the size of a public key can be reduced by dividing a set of customers into a plurality of subgroups. In the generalization method, a set of customers is divided into a plurality of subgroups and an operation as in the basic method is performed on each of the divided subgroups. Thus, different header elements need to be generated for individual subgroups and the header size is increased. However, the size of a public key can be reduced. In addition, each customer needs to calculate the product of parameters assigned to individual customers belonging to a divided subgroup. However, compared with the basic method, since a set of customers is divided into subgroups, the number of parameters that need to be calculated can be reduced. Thus, the problem in the basic method can be solved.
Hereinafter, the generalization method described in non-patent document 1 will be described in detail with reference to FIGS. 4 to 8. First, signs necessary for explanation of the generalization method mentioned above are defined, and a bilinear group and a bilinear map used in non-patent document 1 will be described. Then, by using the definitions, details, problems, and the like of the generalization described in non-patent document 1 will be described.
<Definition of Signs>
Each sign used for explanation of the generalization method described in non-patent document 1 will be defined as listed below.
n: the total number of customers
A: the number of divisions when a customer group is divided into a plurality of subgroups
B: the number of customers belonging to a divided subgroup
PK: a public key of the system
di: a private secret key of an ith customer
r: the total number of excluded customers
p: a large prime serving as the order of a bilinear group
G, G1: a bilinear group having an order p
g: a generator of G
M: unencrypted content (plaintext)
s: a session key
C: ciphertext obtained by encrypting plaintext M using a session key s
Es(M): encryption of plaintext M by using a key s
Ds(C): decryption of ciphertext C by using a key s
e(u,v): a bilinear map with respect to two elements u and v of a bilinear group G
<Bilinear Map of Bilinear Group>
Now, a bilinear map of a bilinear group used in non-patent document 1 will be described. A bilinear map e(u,v) is a map where two elements u and v of a cyclic multiplicative group G are mapped into elements of a cyclic multiplicative group G1 and meets the properties listed below.
1. Bilinear property: for any u,v ε G and a,b ε Z, e (ua, vb)=e(u, v)ab is met.
2. Non-degenerate property: e(g,g)≠1.
Now, regarding the generalization method described in non-patent document 1, each step will be described in detail. This generalization method is constituted by mainly three phases, a key generation phase, an encryption phase, and a decryption phase. The key generation phase is performed only once by the center at the time of configuration of the system. The encryption phase and the decryption phase are performed by a deliverer and a customer, respectively, every time delivery is carried out. Hereinafter, each phase will be described.
<Key Generation Phase>
Hereinafter, the key generation phase will be described with reference to FIGS. 4 and 5. FIG. 4 is an explanatory diagram for explaining the key generation phase in the generalization method of non-patent document 1. FIG. 5 is a flowchart of the key generation phase in the generalization method of non-patent document 1.
The center 51 generates private secret keys of the individual customers 55 and a public key in accordance with the procedure described below. First, the center 51 selects a large prime p at random, and determines a bilinear group G having the selected p as the order thereof (step S11).
Then, the center 51 individually selects, at random, g, which is a generator of the bilinear group G determined in step S11, and a center-secret random number α (α is an integer) (step S13).
Next, the center 51 determines the number B of customers belonging to a divided subgroup, and determines the number A of divisions in accordance with calculation using the expression below. Then, the center 51 divides customers into A subgroups (step S15).
[ Math . 9 ] A = n B ( Expression 1 )
Here, a sign indicated on the right side of the above expression is a sign representing “the minimum integer equal to or greater than (n/B)”.
Then, the center 51 calculates, as in the below, a leaf key gi for i (i=1, . . . , B, B+2, 2B) (step S17).
[Math. 10]
gi=g(α) i   (Expression 2)
Next, the center 51 selects, at random, A random numbers γ (γ1, . . . γA, γ is an integer) corresponding to the number A of subgroups. Then, ν1, . . . νA belonging to the bilinear group G are calculated as in the below (step S19).
[Math. 11]
νi =g γ i εG(i=1, . . . , A)  (Expression 3)
Then, the center 51 determines the public key PK expressed below, on the basis of g selected in step S13 described above, gi calculated in step S17, and νi calculated in step S19, and publishes the public key PK (step S21).
PK=(g, g 1 , . . . g B , g B+2 , . . . , g 2B, ν1, . . . , νA)  (Expression 4)
Then, the center 51 selects parameters gb and γa corresponding to a subgroup Sa (a is the minimum integer of i/B or more) to which a customer i belongs and b=imodB (here, i is an integer of 1 or more and B or less), which is an index of the customer i in the subgroup, and generates a private secret key di for the customer i calculated in the expression below (step S23).
[Math. 12]
di=gb γ α + α b εG  (Expression 5)
Then, the center 51 secretly delivers private secret keys di generated as described above to individual customers i via the secure one-to-one communication channels 53 (step S23).
As described above, in the key generation phase in non-patent document 1, in step S15, the center 51 divides a set of customers constituted by n customers into A subgroups each including B customers. Then, in step S11, step S13, step S17, and step S19, the center 51 sets various parameters necessary for the management of the content delivery system.
In addition, in step S21, the center 51 generates the public key PK by using the generated parameters. In the subsequent step S23, the center 51 generates private secret keys for individual customers on the basis of A, which represents the number of divisions of subgroups determined in step S15, and B, which represents the number of customers belonging to one subgroup.
On this occasion, for each customer, a subgroup to which the customer belongs and an index in the subgroup are determined on the basis of a customer's unique number assigned to the customer. As described above, since a kth-order polynomial is not used in generation of a private secret key, even if any number of customers collude with each other, fabrication of a private secret key for another customer and forming of an unauthorized key that allows an excluded customer to acquire a session key from a header cannot be performed.
<Encryption Phase>
Hereinafter, the encryption phase will be described with reference to FIGS. 6 and 7. FIG. 6 is an explanatory diagram for explaining the encryption phase in the generalization method of non-patent document 1. FIG. 7 is a flowchart of the encryption phase in the generalization method of non-patent document 1.
A deliverer 57 encrypts, in accordance with the procedure described below, content to be delivered, and delivers the encrypted content to non-customers 61 and customers 63 together via a broadcast communication channel 59.
First, the deliverer 57 selects an integer t at random, and calculates a session key s as in the below (step S31).
s=e(g B+1 ,g)t =e(g B ,g 1)t  (Expression 6)
Then, the deliverer 57 determines a set S of customers who can decrypt content, and determines individual subgroups as in the below, for 1=1, . . . , A (step S33).
[Math. 13]
Ŝ 1 ∩{(l−1)B+1, . . . , lB}  (Expression 7)
S l ={x−lB+B|xεŜ l}{1, . . . , B}  (Expression 8)
Here, the subscript 1 is a parameter representing a subgroup. A set represented by expression 7 above is a set of customers and non-customers included in the subgroup represented by the parameter 1. The set represented by expression 8 above is a set representing the place of a customer in the subgroup represented by the parameter 1.
Then, the deliverer 57 forms a header h necessary for a customer 63 to calculate a session key s, as in the below (step S35).
[ Math . 14 ] h = ( g t , ( v 1 · j S 1 g B + 1 - j ) t , , ( v A · j S A g B + 1 - j ) t ) G A + 1 ( Expression 9 )
Next, the deliverer 57 encrypts content to be transmitted, on the basis of the session key s calculated in step S31, as shown by expression 10. After that, the deliverer 57 transmits the encrypted content C, together with information on the set S determined in step S33 and the header h calculated in step S35, irrespective of whether the non-customers 61 or the customers 63, via the broadcast communication channel 59 (step S37).
C=E s(M)  (Expression 10)
As described above, at the time of delivery, after generating a session key in step S31 in the encryption phase, the deliverer 57 determines a set of customers that can decrypt content belonging to each subgroup in step S33. After that, in step S35, the deliverer 57 creates a header h including elements corresponding to individual subgroups. Here, each element of the header h is formed only by a parameter gb corresponding to a customer who can perform decryption in each of the subgroups and does not include gb corresponding to an excluded customer. Thus, at the time of decryption described later, exclusion of non-customers can be realized.
<Decryption Phase>
Hereinafter, the decryption phase will be described with reference to FIG. 8. FIG. 8 is a flowchart of the decryption phase in the generalization method of non-patent document 1.
A customer i who received the delivery of encrypted content or the like performs decryption processing for the encrypted content in accordance with the procedure described below.
First, a customer 63 checks whether or not i, which is their own index, is included in a set S delivered from the deliverer 57 (step S51). In a case where their own index i is not included in the set S, the customer 63 determines that the customer 63 is excluded, and terminates the decryption process. In a case where their own index i is included in the set S, the customer 63 continues to perform the processing described below.
Next, the customer 63 selects, from a header h transmitted, a header element corresponding to a subgroup Sa to which the customer 63 belongs, and calculates a session key s (step S53). That is, the header h is constituted by header elements corresponding to individual subgroups, as represented by h=(C0, C1, . . . , CA). The customer 63 selects elements C0 and Ca corresponding to the subgroup Sa to which the customer 63 belongs, and acquires a session key s, as in the calculation below, on the basis of the header elements.
[ Math . 15 ] s = e ( g b , C a ) e ( d i · j S a j b g B + 1 - j - b , C 0 ) ( Expression 11 - 1 ) = e ( g b , ( v a · j S a g B + 1 - j ) t ) e ( v a ( α b ) · j S a j b g B + 1 - j + b , g t ) ( Expression 11 - 2 ) = e ( g b , g B + 1 - b t ) · e ( g b , ( v a · j S a j b g B + 1 - j ) t ) e ( v a ( α b ) · j S a j b g B + 1 - j + b , g t ) ( Expression 11 - 3 ) = e ( g , g B - 1 ) t · e ( g t , ( v a ( α b ) · j S a j b g B + 1 - j + b ) t ) e ( v a ( α b ) · j S a j b g B + 1 - j + b , g t ) ( Expression 11 - 4 ) = e ( g , g B + 1 ) t ( Expression 11 - 5 )
As is clear from expression 11-5 and expression 6 above, by using the header h transmitted from the deliverer 57, the public key PK, and the private secret key di kept by the customer 63 themselves, the customer 63 is able to calculate the same one as the content key s used by the deliverer 57 for encryption.
Then, the customer 63 decrypts the delivered encrypted content C into plaintext M by using the session key s calculated in step S53 above (step S55).
M=D s(C)  (Expression 12)
As described above, at the time of decryption, first in step S51, the customer 63 checks whether or not the customer 63 is excluded. In a case where the customer 63 is excluded, since the customer 63 cannot acquire a session key s because of the reason described later, the customer 63 terminates the decryption process. A customer who understands, from the determination of step S51, that the customer is not excluded extracts, from the transmitted header, a header element corresponding to a subgroup to which the customer belongs, and performs a decryption operation by using a bilinear map represented by expressions 11-1 to 11-5 on the basis of the header element, the private secret key for the customer, and the public key, so that a session key s can be acquired, in step S53. Then, by using the calculated session key s, the customer performs decryption of ciphertext.
Here, even if an excluded customer performs a decryption operation by using the bilinear map represented by expressions 11-1 to 11-5, since a value gB+1−b corresponding to their own gb is not included in the following part:
[ Math . 16 ] ( v a · j S a g B + 1 - j ) t ( Expression 13 )
of expression 11-2 in step S53, transformation into expression 11-3 cannot be achieved, due to the difficulty of BDHEP (Bilinear Diffie-Hellman Exponential Problem), which is the basis for security in non-patent document 1. Thus, a correct session key s cannot be calculated.
As described above, the method of non-patent document 1 solves the collusion problem, which has been problematic in a conventional public key content delivery method using a kth-order polynomial. In addition, since the center divides a set of customers into A subgroups in advance in step S15 of the key encryption phase, a header that a deliverer needs to generate can be configured to always have A+1 elements. Thus, irrespective of the number of excluded customers, the header size can be maintained constant.
As described above, in the method of non-patent document 1, a header having a constant size always must be transmitted. Thus, a problem exists in that efficient content delivery cannot be achieved in a case where no excluded customer exists or a small number of excluded customers exists. In the actual content delivery system, the number of customers is often a very large value. Thus, the number of excluded customers is often a small value relative to the total number of customers. In addition, if the number of excluded customers is large, the content delivery system itself may be collapsed. Thus, as a content delivery system, in a case where no excluded customer exists or the number of excluded customers relative to the total number of customers remains small, delivering content efficiently is required.
However, as described above, in non-patent document 1, it is difficult to meet such a condition. Furthermore, in non-patent document 1, in order to perform an operation using a bilinear map in expression 11-1 in step S53 of the decryption phase, the product of parameters assigned to non-excluded customers existing within a subgroup to which a customer belongs and a private secret key kept by the customer needs to be calculated in advance, as represented in expression 14 below.
[ Math . 17 ] d i · j S a j b g B + 1 - j + b ( Expression 14 )
Here, in a case where an operation using a bilinear map is represented by PAIR, an inverse operation on a bilinear group G1 is represented by INV, multiplication on a bilinear group G is represented by MUL, and the number of excluded customers in a subgroup Sa to which a customer i belongs is represented by ra, the calculation amount of an operation that a customer needs to perform in the decryption phase can be expressed as “2PAIR+INV+(B−1−ra)MUL”.
As is clear from this, a problem exists in that in a case where the number B of customers who belong to a divided subgroup is large or a case where the number ra of excluded customers in a subgroup to which a customer belongs is small, the amount of calculation that each customer needs to perform at the time of decryption increases.
As described above, even in a case where the generalization method of non-patent document 1 is used, when the number of divisions of a set of customers is increased, the amount of calculation performed by each customer at the time of decryption of content can be reduced. However, the header size is increased. In addition, on the contrary, when the number of divisions of a set of customers is decreased, the header size can be reduced. However, a problem exists in that the amount of calculation increases. In addition, even in a case where the number of excluded customers is small, a header h having a constant size always needs to be delivered. Thus, a problem exists in that under a situation that is realistically most likely to occur, such as a case where no excluded customer exists or the percentage of the number of excluded customers relative to the total number of customers is small, the header size cannot be reduced and the redundancy of data at the time of delivery of content increases.
Thus, after having been committed to intense study in order to solve the above-described problems, the inventors of this application have developed an encryption key delivery system according to an embodiment of the present invention, as described below. In a key generation device according to this embodiment, by configuring a logical tree where some parameters are added to the method of non-patent document 1, even in a case where the number of excluded customers is small, the header size can be reduced compared with the method described in non-patent document 1. In addition, by providing such a configuration, the calculation amount of an operation that a customer needs to perform at the time of decryption can be reduced to an equivalent amount or less. Thus, efficient content delivery can be realized.
Description of This Embodiment
Hereinafter, in the light of the fundamental technology described above, a key generation device, an encryption device, and a reception device according to this embodiment will be described in detail. The key generation device 20 according to this embodiment constructs a logical tree employing the method of non-patent document 1. With the use of the logical tree, the key generation device 20 according to this embodiment realizes efficient content delivery compared with the method of non-patent document 1 in a case where no excluded customer exists or the number of excluded customers is small.
First, the configuration of the key generation device 20 according to this embodiment will be described with reference to FIG. 9. FIG. 9 is a block diagram showing the configuration of the key generation device 20 according to this embodiment.
The key generation device 20 includes, for example, a tree-structure construction unit 231, a random-number determination unit 233, a leaf-key assigning unit 235, a parameter assigning unit 237, a key calculation unit 239, a storage unit 241, and a delivery unit 252.
The tree-structure construction unit 231 constructs a logical tree, which is an important element of the key generation device according to this embodiment. That is, the tree-structure construction unit 231 hierarchically constructs a Y-ary tree structure where n target reception devices are assigned to leaves and the height is represented by (logYn). Furthermore, subgroups each having a Y-ary tree where each of intermediate nodes existing between leaves and a root are defined as a parent node are formed. That is, with the tree-structure construction unit 231, Y-ary tree structures where Y branches always grow downward from one node are hierarchically stacked. When the whole hierarchized Y-ary tree structure constructed is viewed, only one root exists in the uppermost layer (hereinafter, referred to as a 0th layer), and Y child nodes having this root as a parent node are constructed, as a first layer, below the root. In addition, in a second layer, further Y2 child nodes having the Y child nodes existing in the first layer as parent nodes exist. By repetition of such structures, n leaves in total exist in the lowermost layer, that is, a (logYn)th layer.
Here, in a case where one branch grows downward from one node and one node exists at the end of the branch, the upper node is relatively called a parent node and the lower node is relatively called a child node. Such a concept regarding the parent node and the child node is based on a relative idea. For example, in a case where three nodes are linked above and below through a branch, if the uppermost node is referred to as a parent node, the node located in an intermediate position is referred to as a child node. In addition, when attention is paid to the lowermost node, the lowermost node serves as a child node for the node located in the intermediate position serving as a parent node.
In addition, in the hierarchized tree structure, each of nodes existing between a root existing in the uppermost layer and n leaves existing in the lowermost layer is called an intermediate node.
The random-number determination unit 233 determines various random numbers used by the key generation device according to this embodiment and bilinear groups. That is, the random-number determination unit 233 selects, at random, a prime p and determines a bilinear group G having the prime p as the order thereof. In addition, the random-number determination unit 233 selects, at random, g, which represents a generator of G, and selects, at random, an integer α, which represents a secret random number.
The leaf-key assigning unit 235 assigns leaf keys gy to n terminal leaves and all the intermediate nodes, which are not the leaves and the root, in the hierarchized Y-ary tree structure constructed by the tree-structure construction unit 231.
The parameter assigning unit 237 assigns arbitrary parameters νx,y to all the nodes other than the n terminal leaves, that is, to the root in the uppermost layer and all the intermediate nodes existing between the root and the leaves in the hierarchized Y-ary tree structure constructed by the tree-structure construction unit 231. Here, each of x and y is a subscript representing the position of a node, x represents a layer, and y represents the place of the node in the layer x.
The key calculation unit 239 calculates a public key and private secret keys on the basis of the bilinear group G and the random numbers determined by the random-number determination unit 233, the leaf keys assigned by the leaf-key assigning unit 235, the parameters assigned by the parameter assigning unit 237, and the like.
The storage unit 241 includes, for example, a tree-structure storage part 243, a random-number storage part 245, a leaf-key storage part 247, a parameter storage part 249, a key storage part 251, and the like. Variables and calculation results that become necessary in the middle of processing performed by each processing unit or results obtained from the processing are stored in these storage parts. Individual processing units, such as the tree-structure construction unit 231, the random-number determination unit 233, the leaf-key assigning unit 235, the parameter assigning unit 237, and the key calculation unit 239, are capable of freely writing and reading data to and from the storage unit 241.
In addition, in the storage unit 241 various data can be stored in a part different from the above described storage parts 243, 245, 247, 249, and 251. Note that although a state where various storage parts exist independently within the storage unit 241 is shown in FIG. 9, various storage parts do not necessarily exist individually, and various data may be stored in a storage part as a whole. In addition, a storage medium provided with a secure module may be used as the storage unit 241.
The delivery unit 252 in the key generation device according to this embodiment includes, for example, a transmission part 253 and a public-key publishing part 255. The transmission part 253 transmits, to each reception device, a private secret key calculated by the key calculation unit 239 and stored in the key storage part 251. In addition, the public-key publishing part 255 publishes to each reception device a public key calculated by the key calculation unit 239 and stored in the key storage part 251.
Now, the configuration of the encryption device 30 according to this embodiment will be described with reference to FIG. 10. FIG. 10 is a block diagram showing the configuration of the encryption device 30 according to this embodiment.
As shown in FIG. 10, the encryption device 30 includes, for example, a reception unit 301, a storage unit 303, an excluded reception device identification unit 305, a session-key determination unit 307, a content storage unit 313, an encryption unit 315, and a content transmission unit 317.
The reception unit 301 receives a public key generated and published by the key generation device 20. In addition, the reception unit 301 is capable of further receiving a prime p generated by the key generation device 20 and information on a set S of non-excluded reception devices, which is information identifying an excluded reception device, as well as the public key.
The storage unit 303 stores, for example, the public key generated by the key generation device 20. In addition, the storage unit 303 is capable of storing information on a prime p, information on a set S of non-excluded reception devices, and the like, as well as the public key.
The excluded reception device identification unit 305 identifies, among a plurality of reception devices 40 connected to the encryption device 30 via the communication network 12, an excluded reception device for which delivery of content is eliminated, and determines a set S of non-excluded reception devices. On the occasion of determining the set S, the excluded reception device identification unit 305 is capable of referring to various data stored in the storage unit 303.
The session-key determination unit 307 determines a session key s for encryption of content to be delivered. The session-key determination unit 307 may further include, for example, a header-element calculation part 309 and a header information generation part 311.
On the occasion of determining a session key s, the session-key determination unit 307 selects, at random, an integer t, and performs an operation of a bilinear map by using a published public key.
The header-element calculation part 309 marks all the individual nodes existing in a path extending from a leaf to which an excluded reception device is assigned to the root in the hierarchized tree structure constructed by the key generation device 20, and calculates header elements on the basis of parameters assigned to the marked nodes and leaf keys assigned to intermediate nodes for which the marked nodes serve as parent nodes.
The header information generation part 311 generates header information on the basis of the header elements obtained by the header-element calculation part 309 and the public key.
The content storage unit 313 stores unencrypted content. In addition, the content storage unit 313 may store content acquired from a medium such as a CD (Compact Disk), a DVD (Digital Versatile Disk), or a memory card. Here, the above-mentioned content may be any content data, for example, video content constituted by moving images or still images such as movies, television programs, video programs, or diagrams, audio content such as music, lecture, or radio programs, game content, document content, or software. Video content may include audio data as well as video data.
The encryption unit 315 selects, from the content storage unit 313, content to be delivered, and encrypts the content by using a session key s calculated by the session-key determination unit 307.
The content transmission unit 317 transmits, to each reception device via the communication network 12, the encrypted content encrypted by the encryption unit 315, the header determined by the header information generation part 311, and the set S identified by the excluded reception device identification unit 305.
Now, the configuration of the reception device 40 according to this embodiment will be described with reference to FIG. 11. FIG. 11 is a block diagram showing the configuration of the reception device 40.
As shown in FIG. 11, the reception device 40 includes, for example, a reception unit 401, a storage unit 403, a determination unit 405, and a decryption unit 407.
The reception unit 401 receives a private secret key generated by the key generation device 20. In addition, the reception unit 401 is capable of further receiving a public key generated by the key generation device 20 and information on a set S of non-excluded reception devices, which is information identifying an excluded reception device, as well as the private secret key. In addition, the reception unit 401 is also capable of receiving content encrypted by the encryption device 30.
The storage unit 403 stores, for example, the public key and the private secret key generated by the key generation device 20. In addition, the storage unit 403 is capable of storing information on a set S of non-excluded reception devices and content information on delivered encrypted content, decrypted content, and the like, as well as the encryption keys.
The determination unit 405 determines whether or not the reception device itself is included in the received set S. In accordance with a result of the determination by the determination unit 405, the decryption unit 407 performs decryption processing for encrypted content.
The decryption unit 407 calculates a session key s, which is necessary for decryption of encrypted content, by using the header h received by the reception unit 401 and the public key and the private secret key stored in the storage unit 403. After calculating the session key s, the decryption unit 407 continues to perform decryption of encrypted content.
In the above, an example of the functions of the key generation device 20, the encryption device 30, and the reception device 40 according to this embodiment has been described. Each of the components described above may be constituted by using a general-purpose member or circuit or may be constituted by hardware specialized for a function of the component. In addition, all the functions of the individual components may be performed by the CPU or the like. Thus, in accordance with the technical level on each occasion of implementation of this embodiment, the configuration to be used can be changed in an appropriate manner.
The encryption key delivery system 10 according to this embodiment is constituted by three phases, key generation, encryption, and decryption, as in non-patent document. The key generation phase is performed only once by the center at the time of configuration of the system. In addition, the encryption phase and the decryption phase are performed by a deliverer and a customer, respectively, every time delivery is carried out. Note that individual signs and operations used for explanation of the encryption key delivery system 10 according to this embodiment are defined as in the description of the fundamental technology. Hereinafter, first, definition and description of a logical tree configured in this embodiment will be provided. After that, each phase will be described in detail.
<Structure and Definition of Logical Tree>
First, description and definition of a logical tree necessary for explanation of the key generation device 20 according to this embodiment will be provided. In the key generation device 20 according to this embodiment, by assigning each customer to a leaf and assigning the division of customers in non-patent document 1 to the logical tree, efficient content delivery is realized. This logical tree is constructed by the tree-structure construction unit 231 in the key generation device 20 according to this embodiment.
Note that, for simplification, a Y-ary tree is used in this embodiment. In addition, because all the customers need to be assigned to leaves, it is assumed that the total number n of customers is a value that can be expressed as a power of Y. However, a case where n cannot be expressed as a power of Y often occurs in the actual content delivery. Nevertheless, this case can be easily handled by preparing leaves in advance, the number of which can be expressed as a power of Y, which is sufficiently larger than n. Hereinafter, regarding the structure of a logical tree, each definition will be provided.
For a Y-ary tree used in this embodiment, the number of leaves is denoted by n. Thus, let the height of the Y-ary tree except for the root be denoted by H, H=logYn is yielded. In addition, let the total number of nodes except for leaves be denoted by N, N=(n−1)/(Y−1) is yielded. Thus, apart from the root, H layers exist in the Y-ary tree. Here, these layers are defined as Layers. That is, in the form of a set of child nodes of the root being defined as Layer1 and a set of child nodes of all the nodes in the Layer1 (that is, grandchild nodes of the root) being defined as Layer2, each layer of the Y-ary tree is defined as Layer x (x=0, . . . , H). Here, x is a subscript representing a layer. In addition, by letting the index of each node included in the Layer x be denoted as a node index, the definition (x,y) (y=1, . . . , Yx) is provided. Here, the root is a node in the Layer0 and the index of the root is (0,1).
As an example of the Y-ary tree defined as described above, a case where the number n of customers is 9 and the number Y of branches is 3 is shown in FIG. 12.
Since the number n of customers is 9, the height of a ternary tree except for the root is expressed as log 39=2. Thus, in the ternary tree, three layers including the root exist. That is, a layer 501 including the root is defined as a Layer0, and a layer 503 including three nodes, which are child nodes of the root, is defined as a Layer1. A layer 505 for child nodes in a case where the three nodes existing in the Layer1 individually serve as parent nodes is defined as a Layer2. Since three child nodes are formed from each of the three nodes existing in the Layer1, nine leaves in total exist in the Layer2.
In addition, the number N of nodes except for leaves, that is, the sum of the number of roots and the number of intermediate nodes is expressed as (9-1)/(3-1)=4.
Node indices assigned to individual nodes including leaves are, for example, (0,1) for the root and (1,1), (1,2), and (1,3) for the three nodes in the Layer1 from the left end. In addition, node indices (2,1), (2,2), . . . , (2,9) are provided to the individual nine nodes in the Layer2, that is, the leaves, from the left end.
In addition, in the key generation device 20 according to this embodiment, the reception devices 40, that is, customers 507 for content delivery, are assigned to the leaves. That is, a customer 1 (507A), a customer 2 (507B), . . . , a customer 9 (S07I) are assigned to leaves (2,1), (2,2), . . . , (2,9) in the Layer2, respectively.
Now, hereinafter, a specific description of the encryption key delivery system according to this embodiment will be provided by using the above-described definition of the logical tree.
<Operation of Key Generation Device 20: Encryption Key Generation Phase>
The center operates the key generation device 20 that the center owns, and generates a public key and private secret keys for individual customers in accordance with the procedure described below. Hereinafter, the operation of the key generation device 20 according to this embodiment will be described in detail with reference to FIGS. 12, 13, and 14. FIG. 13 is an explanatory diagram for explaining the overview of key generation by the key generation device 20. FIG. 14 is a flowchart of the encryption key generation phase by the key generation device 20.
First, the random-number determination unit 233 of the key generation device 20 selects, at random, a prime p, which is a large value, and determines a bilinear group G having the selected p as the order thereof (step S101). Here, the prime p of a large value means a prime having a large number of digits. By selecting a prime having a large number of digits for which a discrete algorithm problem cannot be easily solved, the random-number determination unit 233 ensures the security of encryption keys according to this embodiment.
Then, the random-number determination unit 233 selects, at random, g, which is a generator of the bilinear group G, and a center-secret random number α (α is an integer) (step S103).
Data on the prime p, the bilinear group G, the generator g, and the random number α is stored, for example, in the random-number storage part 245 within the storage unit 241, and is referred to by the leaf-key assigning unit 235, the parameter assigning unit 237, the encryption key calculation unit 239, and the like.
Then, the tree-structure construction unit 231 of the key generation device 20 determines the number Y of customers belonging to a divided subgroup. After determining the number X of divisions in accordance with the calculation below, the tree-structure construction unit 231 divides the customers into X subgroups. Furthermore, the tree-structure construction unit 231 constructs a Y-ary tree where each customer is assigned as a leaf (step S105). Here, n within expression 101 below represents the total number of customers.
[ Math . 18 ] X = n Y ( Expression 101 )
For example, as shown in FIG. 12, in a case where the total number n of customers is 9 and Y=3, that is, a ternary tree is constructed, the number X of divisions is 3, in accordance with expression 101.
The tree-structure construction unit 231 causes the Y-ary tree structure constructed as described above to be stored in the tree-structure storage part 243 within the storage unit 241.
Next, the leaf-key assigning unit 235 of the key generation device 20 calculates leaf keys gi for i (i=1, . . . , Y, Y+2, 2Y), as in the below (step S107).
[Math. 19]
gi=g(α) i   (Expression 102)
As is clear from expression 102 above, for calculation of the leaf key gi, the generator g determined by the random-number determination unit 233 and the center-secret random number α are used. Thus, the leaf-key assigning unit 235 accesses the random-number storage part 245 within the storage unit 241 to read the data. After calculating leaf keys, the leaf-key assigning unit 235 stores the calculated leaf keys gi in the leaf-key storage part 247 within the storage unit 241.
Note that in step S107, not only is Y leaf keys gi, where Y represents the number of customers belonging to a subgroup, calculated, but also leaf keys gi are calculated by changing i to 2Y except for Y+1. The reason why calculation of gY+1 is not performed is to ensure the security of the encryption key delivery system 10 according to this embodiment. In addition, this is because leaf keys gi from gy+2 to g2Y are necessary for decryption performed in the decryption phase described later.
Then, the parameter assigning unit 237 of the encryption key creation device 20 selects, at random, random numbers γx,y x,y is an integer) corresponding to all the nodes (x,y) except for leaves. Then, the parameter assigning unit 237 calculates parameters νx,y as in the below, and assigns the parameters νx,y to individual nodes except for the leaves of the Y-ary tree (step S109). Here, x=0, . . . , H−1 (H is the height of the Y-ary tree structure), and y=1, . . . , Yx.
[Math. 20]
νx,y=gγ x,y εG  (Expression 103)
For example, in a case where a ternary tree structure is constructed for nine customers as shown in FIG. 12, since the height H of the ternary tree structure is 2, x is 0 or 1. In addition, y is 1, 2, or 3. That is, in the case of FIG. 12, four parameters νx,y in total, ν0,1, ν1,1, ν1,2, and ν1,3, are assigned by the parameter assigning unit 237. Thus, also for γx,y, four integers are selected at random. On the basis of the values determined as described above, parameters are assigned to individual nodes in accordance with expression 103.
In addition, the parameters νx,y, the node parameters γx,y, and the like calculated by the parameter assigning unit 237 are stored in the parameter storage part 249 within the storage unit 241.
Then, the leaf-key assigning unit 235 assigns gx,y to all the nodes except for the root (step S111). Here, y=1, . . . , Yx, and gx,y represents elements of a set {g1, . . . , gy} constituted of g1, . . . , gY. As described above, the leaf-key assigning unit 235 has both the function of calculating leaf keys gy and the function of assigning the calculated leaf keys to all the nodes except for the root. The results of assigning are stored, in association with the tree structure, in the leaf-key storage part 247 within the storage unit 241.
As an example, the case shown in FIG. 12 will be considered. In this case, three child nodes for which the root servers as a parent node exist in the Layer1 (503) to form a subgroup. Thus, g1 is assigned as g1,1 to the node (1,1), g2 is assigned as g1,2 to the node (1,2), and g3 is assigned as g1,3 to the node (1,3).
In addition, when the Layer2 (505) is considered, three subgroups in total, a subgroup constituted by three nodes (2,1), (2,2), and (2,3) for which the node (1,1) serves as a parent node, a subgroup constituted by three child nodes (2,4), (2,5), and (2,6) for which the node (1,2) serves as a parent node, and a subgroup constituted by three child nodes (2,7), (2,8), and (2,9) for which the node (1,3) serves as a parent node, exist. In this case, g1 is assigned as g2,1 to the node (2,1), g2 is assigned as g2,2 to the node (2,2), and g3 is assigned as g2,3 to the node (2,3). Similarly, g1 is assigned as g2,4 to the node (2,4), g2 is assigned as g2,5 to the node (2,5), and g3 is assigned as g2,6 to the node (2,6). In addition, g1 is assigned as g2,7 to the node (2,7), g2 is assigned as g2,8 to the node (2,8), and g3 is assigned as g2,9 to the node (2,9).
Then, the key calculation unit 239 of the key generation device 20 forms a public key PK as in the below, and publishes the public key PK via the public-key publishing part 255 (step S113).
PK=(g,g 1 , . . . , g Y ,g Y+2 . . . , g 2Y 0,1, . . . , νH−1,X)  (Expression 104)
As is clear from expression 104 above, the public key PK is constituted by the generator g determined by the random-number determination unit 233, the leaf keys gi calculated by the leaf-key assigning unit 235, and the parameters νx,y calculated by the parameter assigning unit 237. Thus, the key calculation unit 239 forms the public key PK by referring to each of the storage parts 245, 247, and 249 within the storage unit 241. The key calculation unit 239 stores the formed public key PK in the key storage part 251 within the storage unit 241. The public-key publishing part 255 refers to the key storage part 251 to publish the public key. Note that the key calculation unit 239 may transmit the formed public key PK directly to the public-key publishing part 255.
As an example, the case shown in FIG. 12 will be considered. In this case, (g, g1, g2, g3, g5, g6, ν0,1, ν1,1, ν1,2, ν1,3) is published as the public key PK.
Then, the key calculation unit 239 identifies, for a customer i (i=1, . . . , n), a path extending from the root to a leaf assigned to the customer i, and sets the index of a customer i for a node in a Layer x in the path to ix. That is, i0=(0,1) and iH=(H,i). The center identifies, for all the nodes i1, . . . , iH assigned to customers i except for the root, parameters gix assigned to these nodes. In addition, the center identifies parameters γix assigned to all the nodes i0, . . . , iH−1 except for the leaves, and calculates private secret keys di for the customers i as in the below. After that, the transmission part 253 delivers the private secret keys di to the customers i by using secure communication channels (step S115).
[ Math . 21 ] d i = { g i 1 γ i 0 , , g i H γ i H - 1 } = { v i 0 α i 1 , , v i H - 1 α i H } G H ( Expression 105 )
As is clear from expression 105, individual elements of a private secret key di are calculated on the basis of a leaf key gix assigned to a node ix in an identified path and a parameter γix−1 assigned to a node serving as a parent node of the node ix. That is, it can be said that each private secret key di is a set of keys calculated on the basis of a leaf key assigned to each node. Note that hereinafter, a specific example of step S115 mentioned above will be described in detail with reference to FIG. 15.
Note that when private secret keys di unique to individual customers are calculated in the key calculation unit 239, the key calculation unit 239 stores these private secret keys in the key storage part 251 within the storage unit 241. In a case where the transmission part 253 transmits a private secret key di to each customer, the transmission part 253 acquires necessary information by referring to the key storage part 251 within the storage unit 241. In addition, the key calculation unit 239 may pass a generated private secret key directly to the transmission part 253.
Now, a specific example of step S115 mentioned above will be exemplified with reference to FIG. 15. In FIG. 15, a ternary tree structure is constructed for nine customers. Here, a case where a private secret key d3 is transmitted to a customer 3 who is assigned to a leaf (2,3) will be considered.
A path extending from the root (0,1) to the leaf (2,3), which represents the customer 3, is a path extending from the root (0,1) via an intermediate node (1,1) to the leaf (2,3). In this case, (1,1) and (2,3), which are the nodes in the path except for the root (0,1), are represented by and i2, respectively. Here, parameters assigned to the individual nodes (0,1), (1,1), and (2,3) are considered. To the node (0,1), γ0,1 is assigned as γi0. To the node (1,1), γl,1 is assigned as γi1, and gl, which is represented by g1,1, is assigned as gi1. In addition, to the leaf (2,3), g3, which is represented by g2,3, is assigned as gi2.
In accordance with expression 105, the private secret key d3 to be kept by the customer 3 is a set of a result obtained by raising the leaf key g1 assigned to the node (1,1) to the power of γ0,1 assigned to the root (0,1), which is a parent node of the node (1,1), and a result obtained by raising the leaf key g3 assigned to the leaf (2,3) to the power of γl,1 assigned to the node (1,1), which is a parent node of the leaf (2,3).
As described above, as shown in FIG. 13, regarding the key generation device 20 according to this embodiment, the key generation device 20 owned by a center 509 selects a bilinear group G and various parameters, and generates a public key PK and a private secret key di unique to a customer. Then, the center 509 publishes the public key PK and delivers the private secret key di to each customer 507 by using a secure one-to-one communication channel 511.
<Operation of Encryption Device 30: Encryption Phase>
Now, an operation of the encryption device 30 according to this embodiment, that is, the encryption phase, will be described in detail with reference to FIGS. 16 and 17. FIG. 16 is an explanatory diagram for explaining the overview of encryption by the encryption device 30. FIG. 17 is a flowchart of the encryption phase by the encryption device 30. Note that the encryption phase described below can be performed by any third party who owns the encryption device 30. In addition, even an owner of the key generation device 20 or an owner of the reception device 40 is able to perform the encryption phase below as long as the owner of the key generation device 20 or the owner of the reception device 40 is an owner of the encryption device 30.
Prior to execution of the encryption phase described below, the reception unit 301 of the encryption device 30 receives each of a public key generated and published by the key generation device 20, a prime p, information on a tree structure, and information on a set S of non-excluded reception devices. Such information received by the reception unit 301 is stored in the storage unit 303. Such information stored in the storage unit 303 can be freely read by each processing unit of the encryption device 30.
First, the excluded reception device identification unit 305 marks all the nodes in paths extending from leaves assigned to all the customers desired to be excluded to the root, and initializes a set S of node indices used by non-excluded customers to identify header elements assigned to the non-excluded customers from a header h as S=(φ) (φ represents an empty set) (step S301).
Then, the session-key determination unit 307 selects, at random, an arbitrary integer t, and calculates a session key s as in the below (step S303).
s=e(g Y+1 ,g)t =e(g Y ,g 1)t  (Expression 106)
Then, the header-element calculation part 309 sets x, which is a parameter representing a layer, to −1 (step S305). That is, step S305 is a step of initializing the parameter x representing a layer.
Then, the header-element calculation part 309 substitutes x+1 for x to increase the value of x by one (step S307).
Next, the header-element calculation part 309 sets y to zero to initialize a parameter (step S309).
Then, the header-element calculation part 309 substitutes y+1 for y, which is a parameter representing the position of a node in each layer, to increase the value of y by one (step S311).
Next, the header-element calculation part 309 initializes a header element cx,y, which corresponds to a node (x, y), as cx,y=0 (step S313).
In accordance with the steps described below, the header-element calculation part 309 performs specific processing for calculating header elements.
Then, the header-element calculation part 309 determines whether or not all the child nodes of the node (x,y) are marked (step S315). As a result of the determination, in a case where all the child nodes are marked, the header-element calculation part 309 proceeds to step S321 described below. Meanwhile, in a case where an unmarked child node exists, the header-element calculation part 309 proceeds to step S317 described below.
Next, the header-element calculation part 309 defines a set of unmarked child nodes as Sx,y, and calculates, as in the below, header elements corresponding to customers belonging to subtrees (subgroups) where individual elements of Sx,y serve as roots (step S317).
[ Math . 22 ] c x , y = ( v x , y · j S x , y g Y + 1 - j ) t G ( Expression 107 )
In addition, the header-element calculation part 309 sets the set S as in the below (step S317).
[Math. 23]
S∪Sx,y  (Expression 108)
Next, the header-element calculation part 309 marks all the nodes (including leaves) belonging to the subtrees where the individual elements of Sx,y serve as roots (step S319).
Then, the header-element calculation part 309 determines whether or not a parameter y to which attention is currently being paid corresponds to Yx (step S321). As a result of the determination, in a case where y is Yx, the header-element calculation part 309 proceeds to step S323 described below. Meanwhile, in a case where y is not Yx, the header-element calculation part 309 returns to step S311 to increase the parameter y by one.
Next, the header-element calculation part 309 determines whether or not a parameter x to which attention is currently being paid is H−1 (step S323). As a result of the determination, in a case where x is H−1, the header-element calculation part 309 proceeds to step S325 described below. Meanwhile, in a case where x is not H−1, the header-element calculation part 309 returns to step S307 to increase the parameter x by one.
As described above, by repeating steps S307 to S323 until both the conditions of step S321 and step S323 are satisfied, the header-element calculation part 309 is capable of calculating all the header elements necessary for generation of a header.
That is, since prior to specific calculation for header elements, a header element cx,y, which corresponds to a node (x,y) to which attention is being paid, is initialized to zero in step S313, in a case where all the child nodes of the node (x,y) to which attention is being paid are marked in step S315, a header element cx,y, for the node (x,y) is maintained zero and stored. Meanwhile, in a case where all the child nodes of the node (x,y) to which attention is being paid are not marked, a new value is substituted for cx,y in step S317. Thus, cx,y has a value which is not zero.
The header-element calculation part 309 passes all the header elements acquired by repetition of the above-described steps to the header information generation part 311. In addition, the header-element calculation part 309 may store the calculated header elements in the storage unit 303.
Then, the header information generation part 311 calculates gt by using a generator g and t selected in step S303. In addition, the header information generation part 311 forms a header h, as in the below, by using only header elements cx,y having values that are not zero (step S325).
h=(g t , c 0,1 , . . . , C H−1,X)(C x,y≠0)  (Expression 109)
After generating header information, the header information generation part 311 passes the generated header h to the encryption unit 315. In addition, the header information generation part 311 may store the generated h in the storage unit 303.
Then, the encryption unit 315 receives from the content storage unit 313 unencrypted content M to be delivered, and encrypts the content M, as in the below, by using a session key s determined by the session-key determination unit 307. After that, the content transmission unit 317 transmits the encrypted content C, together with the header h generated by the header information generation part 311 and the set S of the node indices, to customers (step S327).
C=E s(M)  (Expression 110)
Now, the encryption phase according to this embodiment will be described specifically with reference to FIGS. 18 to 20. FIGS. 18 to 20 are explanatory diagrams for specifically explaining the encryption phase according to this embodiment. In FIGS. 18 to 20, a case where a ternary tree structure is constructed and nine customers are assigned to leaves is shown.
In the example below, a case where customers desired to be excluded are a customer 2 and a customer 3 will be described. As shown in FIG. 18, a leaf (2,2) is assigned to the customer 2 and a leaf (2,3) is assigned to the customer 3. In this case, a path extending from the customer 2, who is desired to be excluded, to the root is a path, which is indicated by a dotted line in FIG. 18, extending from the leaf (2,2) via a node (1,1) to the root (0,1). Similarly, a path extending from the customer 3, which is desired to be excluded, to the root is a path, which is indicated by a dotted line in FIG. 18, extending from the leaf (2,3) via the node (1,1) to the root (0,1). In this case, an excluded reception device identification unit 261 marks the root (0,1), the node (1,1), the leaf (2,2), and the leaf (2,3). Note that in FIG. 18, the marked nodes are shown in such a manner that the marked nodes are encircled with dotted lines. After that, step S303 is performed by the session-key determination unit 307, and a session key s is determined.
Then, steps S305 to S311 are performed by the header-element calculation part 309. As a result, 0 is substituted for the parameter x, and 1 is substituted for the parameter y. Then, the header-element calculation part 309 performs step S313. In this case, a header element c0,1, which corresponds to the node (0,1), is initialized to zero. Then, the header-element calculation part 309 performs step S315 to determine whether or not all the child nodes of the root (0,1) are marked. As is clear from FIG. 19, there are three child nodes (1,1), (1,2), and (1,3) of the root (0,1), and the nodes (1,2) and (1,3) are not marked. Thus, the header-element calculation part 309 performs step S317.
In the case of FIG. 19, a set S0,1 of unmarked child nodes is {(1,2), (1,3)}. In addition, since g2 and g3 are assigned to the nodes (1,2) and (1,3), respectively, the header element c0,1 is calculated as (ν0,1·g2·1)t.
Then, the header-element calculation part 309 performs step S319. By step S319, a node (1,2), a leaf (2,4), a leaf (2,5), and a leaf (2,6), which are all the nodes of a subtree where the node (1,2), which is an element of S0,1, serves as a root, are marked. For a node (1,3), which is another element of S0,1, similarly, a node (1,3), a leaf (2,7), a leaf (2,8), and a leaf (2,9) are marked.
Since the determination in step S321 by the header-element calculation part 309 is y=1, the condition is met. Thus, subsequently, the header-element calculation part 309 performs the determination in step S323. In this case, since x=0≠1, the branch condition is not met. Thus, the header-element calculation part 309 returns to step S307 to repeat the process by setting to x=1.
Processes from retuned step S307 to step S311 are performed again in order. By this time, 1 has been substituted for x and 1 has been substituted for y. Thus, next, similar processing is performed for the node (1,1).
In this case, a set S1,1 of unmarked child nodes of the node (1,1) is only {(2,1)}. Similarly, calculation of a header element is performed, and (ν1,1·g3)t is calculated as a header element c1,1. Then, since all the nodes of a subtree where the node (1,1) serves as a root are marked, the leaf (2,1), which has not been marked, is now marked.
As a result, all the nodes of the ternary tree structure including the root and the leaves are marked. Thus, in the determination of step S323, the branch condition is met.
By the above-described process, the header information generation part 311 forms a header h by using header elements cx,y having values that are not zero, that is, c0,1 and c1,1. Thus, as a header h, (gt, c0,1, c1,1) is formed. In addition, S, which indicates a set of customers who are able to decrypt delivered content, is {(1,2), (1,3), (2,1)}, by the process described above.
As described above, in the encryption content delivery block according to this embodiment, a deliverer 513 calculates a session key s and a header h by using a public key PK and a random number t selected by the deliverer 513, as shown in FIG. 16. At the same time, the deliverer 513 also determines a set S of customers who are able to decrypt content. Then, the deliverer 513 delivers the encrypted content C, the header h, and the set S, irrespective of whether the customers 507 or non-customers 517, via a broadcast communication channel 515.
<Operation of Reception Device 40: Decryption Phase>
Now, an operation of the reception device 40 according to this embodiment, that is, the decryption phase, will be described in detail with reference to FIG. 21. FIG. 21 is a flowchart of the decryption phase, which is a key processing method by the reception device 40.
First, the reception device 40 that receives encrypted content C, a header h, and a set S by the reception unit 401 temporarily stores the information in the storage unit 403. After that, decryption processing of the encrypted content C is performed.
First, the determination unit 405 of the reception device 40 refers to the set S stored in the storage unit 403 to determine whether or not a node included in the set S exists among individual nodes from a leaf assigned to the reception device 40 to the root (step S501). As a result of the determination, in a case where no node included in the set S exists, the determination unit 405 determines that the reception device 40 is excluded, and terminates the decryption process described below. Meanwhile, as a result of the determination, in a case where a node included in the set S exists, the reception device 40 sets the node index of the node included in the set S to (x′,y′), and performs step S503 below.
The decryption unit 407 of the reception device 40 selects a header element cx,y corresponding to a parent node (x,y) of the node (x′,y′) and gt among individual elements of the header h received by the reception unit 401 and stored in the storage unit 403 (step S503). Here, the parent node (x,y) of the node (x′,y′) is represented by the expression below.
[ Math . 24 ] ( x , y ) = ( x - 1 , y y ) ( Expression 111 )
In addition, the decryption unit 407 acquires the session key s, as in the below, by using the public key and an element corresponding to the node (x′,y′) from the private secret key di for the reception device 40 (step S503).
[ Math . 25 ] s = e ( g i x , c x , y ) e ( g i x γ i x - 1 · j S x , y j i x g Y + 1 - j + 1 x , g t ) ( Expression 112 - 1 ) = e ( g i x , ( v x , y · j S x , y g Y + 1 - j ) t ) e ( v i x ( α i x ) · j S x , y j i x g Y + 1 - j + 1 x , g t ) ( Expression 112 - 2 ) = e ( g i x , g Y + 1 - i x t ) · e ( g i x , ( v i x · j S x , y j i x g Y - 1 - j ) t ) e ( v i x ( α i x ) · j S x , y j i x g Y + 1 - j + i x , g t ) ( Expression 112 - 3 ) = e ( g , g Y + 1 ) t · e ( g t , ( v i x ( α i x ) · j S x , y j i x g Y + 1 - j + i x ) t ) e ( v i x ( α i x ) · j S x , y j i x g Y + 1 - j + 1 x , g t ) ( Expression 112 - 4 ) = e ( g , g Y + 1 ) t ( Expression 112 - 5 )
Then, the decryption unit 407 decrypts the encrypted content C to obtain plaintext M by using the acquired session key s (step S505).
M=Ds(C)  (Expression 113)
Then, the decryption phase according to this embodiment will be specifically described with reference to FIG. 22. FIG. 22 is an explanatory diagram for specifically explaining the decryption phase according to this embodiment. In FIG. 22, a case where a ternary tree structure is constructed and nine customers are assigned to leaves is shown.
In the example below, a case where customers desired to be excluded are a customer 2 and a customer 3 and encrypted content C, a header h, and a set S are delivered to the customers 1 to 9 is assumed. Hereinafter, a case where a customer 4 who is assigned to a leaf (2,4) decrypts delivered content will be described in detail.
In the case of FIG. 22, nodes included in a path extending from the leaf (2,4) assigned to the customer 4 to the root (0,1) are the above-mentioned leaf (2,4), the node (1,2), and the root (0,1). Here, the determination unit 405 of the reception device 40 being used by the customer 4 determines whether or not the above-mentioned three nodes are included in information on the set S received by the reception unit 401.
In the case of FIG. 22, since the customer 2 and the customer 3 are customers desired to be excluded, the set S is {(1,2), (1,3), (2,1)}. As is clear from this, the node (1,2), which is a parent node of the leaf (2,4) to which the customer 4 is assigned, is included in the set S. Thus, the determination unit 405 determines that the branch condition of step S501 is met. The decryption unit 407 continues to perform the decryption process.
In this case, the node (x′,y′) in step S503 corresponds to the node (1,2). Thus, the parent node (x,y) of the node (x′,y′) is the root (0,1). The decryption unit 407 selects a header element c0,1 corresponding to the node (0,1) and gt. In addition, the decryption unit 407 calculates a session key s by using an element relating to ν0,1, which is an element corresponding to the node (0,1) from a private secret key d4 for the customer 4, and a public key PK. Specifically, a bilinear map to obtain a session key s is represented by the expression below.
[ Math . 26 ] s = e ( g 4 1 , c 0 , 1 ) e ( g 4 1 γ 4 0 · j S 0 , 1 j 4 1 g Y + 1 - j + 4 1 , g t )
In the above, an example of three phases, key generation, encryption, and decryption, in the encryption key delivery system 10 according to this embodiment has been described in detail.
Note that a computer program for causing a computer to function as the key generation device 20, the encryption device 30, and the reception device 40 according to this embodiment described above can be created. By being stored in a storage unit provided in the computer and being read and executed by a CPU provided in the computer, the computer program causes the computer to function as the key generation device 20, the encryption device 30, and the reception device 40 described above. In addition, a computer-readable recording medium having the computer program recorded thereon can also be provided. The recording medium is, for example, a magnetic disk, an optical disk, a magneto-optical disk, a flash memory, or the like. In addition, the computer program described above may be delivered via, for example, a network, without using the recording medium.
Now, hereinafter, the encryption key delivery system 10 according to this embodiment is compared with the content delivery system described in non-patent document 1, which is a fundamental technology.
The method of non-patent document 1, which is a fundamental technology, is a method in which a collusion program is solved by using a bilinear map in a content delivery system using a public key. In this method, customers are divided into a plurality of subgroups in advance, and at the time of delivery of content, a header including all the header elements different depending on the subgroup is delivered. Thus, even in a case where the number of excluded customers increases, the header size can be maintained constant. However, even in a case assumed for the realistic content delivery system, such as a case where no excluded customer exists or a case where the number of excluded customers is small, a header having a constant size must be always delivered. Thus, a problem exists in that delivery efficiency is degraded.
In addition, another problem exists in that in a case where the number B of customers belonging to a divided subgroup is large or a case where the number of excluded customers in a subgroup to which a customer belongs is small, the calculation amount of an operation that the customer needs to perform at the time of decryption increases.
Meanwhile, in the key generation device according to this embodiment, by constructing a logical tree using the method of the fundamental technology and letting the number of parameters to slightly increase, subgroups can be configured flexibly. In particular, in a case where no excluded customer exists or the number of excluded customers is small, the size of a header delivered can be reduced and the calculation amount of an operation that a customer needs to perform can be reduced to less than or equal to that of the method described in the fundamental technology. Hereinafter, main differences between the fundamental technology and this embodiment will be described while attention is paid to differences in individual phases. In addition, comparison is performed in terms of the header size and the amount of calculation necessary for decryption, by using specific examples of numeric values.
<Differences in Key Generation Phase>
First, differences in the key generation phase will be described. In the method of the fundamental technology, after various parameters are set in step S11 and step S13, customers are divided into A subgroups each including B customers in step S15. In this embodiment, similarly, various parameters are set in step S101 and S103, and customers are divided into X subgroups each including Y customers.
However, in this embodiment, further in step S105, a Y-ary tree structure where customers are assigned to leaves is constructed. Thus, A center secrets γ1, . . . , γA used for integrating header elements for each subgroup and A public values ν1, . . . , νA corresponding to such center secrets, where A represents the number of divisions of subgroups, are necessary in step S19 in the fundamental technology, whereas since subgroups can be formed for all the nodes except for leaves of the Y-ary tree constructed in step S105 in this embodiment, N values are necessary, where N represents the total number of nodes except for the leaves.
In addition, in the fundamental technology, a customer i belongs only to a subgroup S, which is represented by the expression below.
[ Math . 27 ] S a ( a = i B )
Thus, the center secretly delivers to the customer i a private secret key:
di=gb γ α α α b εG.  [Math. 28]
However, in this embodiment, after constructing a logical tree in step S105, each node of the logical tree can be used for reconstruction of subgroups in step S109. Thus, the customer i needs to belong to a plurality of subgroups constituted by all the nodes from a leaf assigned to the customer i to the root.
Thus, in step S115 in this embodiment, a plurality of private secret keys must be kept for the customer i. As described above, in the key generation phase, since a logical tree is constructed in this embodiment, the number of necessary parameters is slightly increased compared with the fundamental technology. However, in a case where no excluded customer exists or a case where the number of excluded customers is small, the header size of a header generated in the encryption phase described next can be reduced compared with the fundamental technology.
<Differences in Encryption Phase>
Next, the encryption phase will be described. In the fundamental technology, a session key is generated in step S31. After that, in step S33, non-excluded customers are selected for individual subgroups, and sets Sl (1=1, . . . , A) of customer indices in subgroups assigned to the individual customers are determined. After that, in step S35, header elements by which only non-excluded customers in individual subgroups can obtain a session key are calculated, and a header is configured. Thus, unless all the customers belonging to subgroups are excluded, header elements corresponding to all the subgroups must be calculated. Thus, the header size is maintained constant irrespective of whether the number r of excluded customers is large or small.
Meanwhile, in this embodiment, all the nodes from a leaf assigned to an excluded customer to a root are marked in step S301, and a set of node indices by which the non-excluded customer identifies a header element assigned to the non-excluded customer from a header h is set to S. After that, in step S303, a session key s is generated in accordance with a procedure as in the fundamental technology in step S303. In steps S305 to S325, header elements by which only customers who are assigned to unmarked nodes can acquire the session key s are calculated, and a header h is configured.
For more details, in step S317 in this embodiment, a header element for an unmarked node among nodes belonging to a Layer x is generated. This is an operation similar to the operation of step S35 in the fundamental technology. However, A header elements must be generated in step S35 in the fundamental technology since A subgroups already exist, whereas step S317 is performed only for a set of child nodes of a certain note in this embodiment and this process is repeated in steps S307 to S323.
Here, as shown in steps S315 to S319, for a node whose header element has been once generated, by marking all the nodes belonging to a subtree having the node as the vertex thereof, it is unnecessary to generate header elements corresponding to these nodes. Thus, an advantage occurs in that header elements for all the non-excluded customers including the node can be integrated together in a path. Thus, in a case where the number of excluded customers is small, a greater number of nodes can be integrated together. Thus, the header size can be reduced.
<Differences in Decryption Phase>
Finally, the decryption phase will be described. In the fundamental technology, in step S53, a non-excluded customer acquires a header element corresponding to a subgroup to which the customer belongs, and derives a session key by using the header element, a public key, and a private secret key. Meanwhile, in this embodiment, in step S503, a non-excluded customer acquires a header element corresponding to a parent node of a node included in S among nodes existing in a path extending from a leaf assigned to the customer to the root, and derives a session key by using the header element, a public key, and a private secret key.
This differs only in a corresponding header element and a private secret key used, and an operation as in the fundamental technology is performed. However, the calculation amount of an operation that a customer needs to perform in the decryption phase of the fundamental technology is 2PAIR+INV+(B−1−ra)MUL, whereas the calculation amount in this embodiment is 2PAIR+INV+(Y−1−ra)MUL.
<Comparison regarding Header Size and Calculation Amount>
In the fundamental technology, a set of customers is divided into A subgroups each having B customers, header elements corresponding to individual subgroups are generated, and all the header elements are collectively delivered as a header. Thus, the header size is always A+1, irrespective of whether the number r of excluded customers is large or small. This has an advantage in that the header size can be maintained constant, whereas this has a drawback in that the header size cannot be reduced, irrespective of the number of excluded customers. In the realistic content delivery system, capability of efficiently delivering content is required within a range in which the percentage of the number of excluded customers relative to the total number of customers is small. Thus, even if the method of the fundamental technology is used by placing greater emphasis on the security and convenience, a problem exists in that the redundancy of the header size at the time of delivery of content is increased.
In order to lessen the problem in the fundamental technology, reducing the header size itself by decreasing the number A of divisions of a set of customers can be conceived. However, in this case, a problem exists in that the value of B, which represents the number of customers belonging to a divided subgroup, is increased, and the value 2PAIR+INV+(B−1−ra)MUL, which represents the calculation amount of an operation that each customer needs to perform, is increased.
Meanwhile, in this embodiment, as in the fundamental technology, a set of customers is divided into X subgroups each including Y customers. However, moreover, by adding some parameters, a Y-ary tree where individual customers in divided subgroups are set as leaves is constructed. Thus, although the header size is A+1 in the fundamental technology irrespective of whether or not an excluded customer exists, each customer belonging to a subgroup where no excluded customer exists can be regarded as a member of an upper Layer in a case where the root is defined as the uppermost layer. Consequently, a plurality of subgroups can be regarded as a subgroup, and the header size can be reduced. In addition, although the calculation amount of an operation that each customer needs to perform is represented as 2PAIR+INV+(Y−1−ra)MUL as described above, the calculation amount can be reduced to less than or equal to that of the method of the fundamental technology by setting Y to B or less.
As described above with comparison with the fundamental technology, the present invention is one of content delivery methods using a public key. Compared with the fundamental technology, the present invention has the features described below.
First, in this embodiment, a logical tree is constructed by adding parameters to the method of the fundamental technology, and the added parameters are assigned to individual nodes of the logical tree.
Second, the key generation device, which serves as a center, delivers in advance to individual customers, information on the parameters assigned to the logical tree, as additional private secret keys.
Third, a deliverer of encrypted content operates the encryption device. In a case where a customer is excluded, the deliverer generates a header h in which exclusion has been performed for each node, as in a content delivery method using a common key.
Fourth, each customer operates a reception device to calculate a session key s from a public key PK, a header h, and a private secret key di by using a method as in the fundamental technology.
Fifth, by configuring the method of the fundamental technology as in the above-mentioned first to fourth features, the amount of calculation necessary for decryption by a customer can be reduced to less than or equal to that in the method of the fundamental technology.
Sixth, by configuring the method of the fundamental technology as in the above-mentioned first to fourth features, in a case where the number of excluded customers is small, the header size can be reduced compared with the fundamental technology.
EXAMPLES
In order to describe advantages of this embodiment in more detail, comparison in terms of the header size and in terms of the amount of calculation necessary for decryption in a case where parameters n, A, B, X, and Y are set to small values will be shown as specific examples in FIGS. 23 to 26.
In the fundamental technology, it is recommended that the value of the number B of customers included in a divided subgroup relative to the number n of customers be set to B=(n)1/2. Meanwhile, in this embodiment, by setting the number Y of branches of a logical tree, which is a parameter corresponding to B in the fundamental technology, to be less than or equal to B, efficiency can be increased in terms of the header size and the calculation amount.
Thus, in the below, for comparison, the numbers n of customers are set to the same, and Y<B is set. Comparisons between the fundamental technology and this embodiment in terms of the header size and in terms of the calculation amount of an operation necessary for decryption are shown in FIGS. 23 and 24, respectively. In addition, comparisons in terms of the header size and in terms of the amount of calculation necessary for decryption in a case where Y=B is set are shown in FIGS. 25 and 26, respectively.
As specific numeric values, in FIGS. 23 and 24, individual parameters in the method of the fundamental technology are set to n=64, A=8, and B=8, and individual parameters in this embodiment are set to n=64, X=16, and Y=4. In addition, in FIGS. 25 and 26, individual parameters are set to n=64, X=8, and B=Y=8. However, for simplification, bilinear groups used and the sizes of the bilinear groups are set to the same.
(Regarding Case where Y<B is Set)
First, FIGS. 23 and 24 will be explained. The abscissa axis represents the number of excluded customers and the ordinate axis represents the header size (the total number of header elements) in FIG. 23. In addition, the abscissa axis represents the number of excluded customers and the ordinate axis represents the calculation amount of an operation necessary for decryption in FIG. 24. However, regarding the calculation amount of an operation necessary for decryption, since only a multiplication portion on a bilinear group G affects a difference between the fundamental technology and this embodiment, the ordinate axis in FIG. 24 represents the number of multiplications on the bilinear group G. In addition, a solid line represents the header size in the method of the fundamental technology and a broken line represents the header size in this embodiment in FIG. 23. In addition, a solid line represents the calculation amount in the method of the fundamental technology and a broken line represents the calculation amount in this embodiment in FIG. 24.
Regarding comparison in terms of the header size, as is clear from FIG. 23, in a case where the number r of excluded customers is smaller than 4, the header size in the method according to this embodiment is smaller than the header size in the method of the fundamental technology. That is, this case shows that even in a case where up to about six percent of the total customers are excluded, content can be delivered more efficiently in the method according to this embodiment.
Regarding comparison in terms of the amount of calculation necessary for decryption, as is clear from FIG. 24, in a case where the number r of excluded customers is smaller than 60, the amount of calculation in the method according to this embodiment is smaller than the amount of calculation in the method of the fundamental technology. This shows that content can be decrypted more efficiently in the method according to this embodiment. In addition, also in a case where the number of excluded customers exceeds 60, it can be seen that an amount of calculation equivalent to that in the method of the fundamental technology can be achieved. Thus, in a case where parameters are set as described above, when no excluded customer exists or the number of excluded customers is small, the method according to this embodiment is capable of achieving a reduced header size and achieving a reduced calculation amount of an operation that each customer needs to perform at the time of decryption, compared with the method according to the fundamental technology. Therefore, it can be said that the method according to this embodiment is capable of achieving efficient delivery of content, compared with the method according to the fundamental technology.
(Regarding Case where Y=B is Set)
Next, FIGS. 25 and 26 will be explained. Since only the values of X and Y in FIGS. 23 and 24 described above are changed in FIGS. 25 and 26, the abscissa and ordinate axes, solid lines, and broken lines in FIGS. 25 and 26 represent the same as those in FIGS. 23 and 24.
Regarding comparison in terms of the header size in a case where X=A=8 and Y=B=8 are set, as is clear from FIG. 25, in a case where the number r of excluded customers is smaller than seven, the header size in the method according to this embodiment is smaller than the header size in the method according to the fundamental technology. That is, this case shows that even in a case where up to about nine percent of the total customers are excluded, content can be delivered more efficiently in the method according to this embodiment. Also in a case where the number of excluded customers is equal to or greater than seven, a header size equivalent to that in the method of the fundamental technology can be achieved. Thus, irrespective of the number of excluded customers, the header size can be reduced to less than or equal to that in the method of the fundamental technology.
In addition, regarding comparison in terms of the amount of calculation necessary for decryption, as is clear from FIG. 26, irrespective of the number r of excluded customers, a calculation amount equivalent to that in the method of the fundamental technology can be achieved. Thus, in a case where individual parameters are set to X=A=8 and Y=B=8, it can be seen that when no excluded customer exists or the number of excluded customers is small, the header size can be reduced and only a calculation amount equivalent to that in the method of the fundamental technology is necessary for decryption.
As is clear from the above, by applying this embodiment, in a more realistic content delivery system, efficient content delivery can be realized compared with the fundamental technology, while convenience and security as in the fundamental technology are maintained.
As described above, the present invention is a method, in a content delivery system for securely delivering content by using a public key, for realizing a reduction in the amount of data to be delivered and a reduction in the amount of calculation necessary for decryption, compared with a conventional method. With implementation of the present invention, efficient content delivery can be achieved compared with a conventional content delivery method using a public key.
In the above, a preferred embodiment of the present invention has been described with reference to the attached drawings. However, needless to say, the present invention is not limited to such an example. It is obvious that a person skilled in the art can conceive various changes or modifications within the scope described in the claims, and it should be understood that the various changes or modifications naturally fall within the technical scope of the present invention.
For example, although the above-mentioned tree-structure construction unit 231 assumes a tree structure where branches grow from top to bottom, the three structure is not necessarily limited to this. A tree structure where branches grow from bottom to top, from left to right, or from right to left may be provided.
In addition, individual steps in each flowchart in this specification are not necessarily processed in a time-series manner in accordance with the order described as a flowchart. The individual steps may include processes performed in parallel or individually (for example, parallel processes or object-based processes).

Claims (22)

The invention claimed is:
1. A key generation device characterized by comprising:
a tree-structure construction unit that hierarchically constructs a Y-ary tree structure where n reception devices are assigned to leaves, Y is the number of branches, and a height is represented by (logYn), and forms subgroups constituted by a plurality of leaves existing in a layer lower than intermediate nodes existing between the leaves and a root;
a leaf-key assigning unit that assigns leaf keys gy to the individual leaves and the individual intermediate nodes;
a parameter assigning unit that assigns different parameters νx,y (x: layer, y: 1, 2, . . . , Yx) and node parameters γx,y (x: layer, y: 1, 2, . . . , Yx) to the individual intermediate nodes and the root; and
a key calculation unit that identifies paths extending from the root to the leaves, and calculates keys on the basis of the leaf keys gy assigned to the intermediate nodes or the leaves existing in the paths and the parameters νx,y and the node parameters γx,y assigned to parent nodes of the intermediate nodes or the leaves.
2. The key generation device according to claim 1, characterized by further comprising a delivery unit that delivers sets of keys in the paths calculated by the key calculation unit to the respective reception devices.
3. The key generation device according to claim 1, characterized by further comprising:
a random-number determination unit that selects, at random, a prime p to determine a bilinear group G having the prime p as an order, selects, at random, g serving as a generator of G, and selects, at random, a secret random number α (α is an integer),
wherein the leaf-key assigning unit calculates the leaf keys gy that satisfy expression A below:

gy=g(α) γ   (Expression A)
(y=1, 2, . . . , Y, Y+2, . . . , 2Y).
4. The key generation device according to claim 3, characterized in that the parameter assigning unit selects, at random, for the root and all the individual nodes except for the leaves, the node parameters γx,yx,y is an integer), and calculates the parameters νx,y represented by expression B below:

νx,y =g x,y )  (Expression B).
5. The key generation device according to claim 4, characterized in that the key calculation unit sets, as secret keys, values obtained by raising the leaf keys gy assigned to the intermediate nodes or the leaves to the power of the parameters γx,y assigned to parent nodes of the intermediate nodes or the leaves.
6. The key generation device according to claim 5, characterized in that:
the key calculation unit calculates a public key on the basis of the leaf keys gy and the parameters νx,y; and
the delivery unit includes a public-key publishing part that publishes the public key.
7. The key generation device according to claim 5, characterized in that the delivery unit further includes a transmission part that transmits the secret keys calculated by the key calculation unit to the respective reception devices.
8. An encryption device characterized by comprising:
an identification unit that identifies an excluded reception device among n reception devices, and determines a set S of non-excluded reception devices;
and a session key determination unit that determines a session key, calculates header-elements corresponding to reception devices, and generates a header from the header-elements while excluding from the header a header-element corresponding to the excluded reception device,
wherein each reception device comprises: a reception unit that receives keys obtained by a key generation device that hierarchically constructs a Y-ary tree structure where n reception devices are assigned to leaves, Y is the number of branches, and a height is represented by (logyn), forms subgroups constituted by a plurality of leaves existing in a layer lower than intermediate nodes existing between the leaves and a root, assigns leaf keys gy to the individual leaves and the individual intermediate nodes, assigns different parameters νx,y(x: layer, y: 1, 2, . . . , Yx) and node parameters γx,y (x: layer, y: 1, 2, . . . , Yx)to the individual intermediate nodes and the root, identifies paths extending from the root to the leaves, and calculates the keys on the basis of the leaf keys gy assigned to the intermediate nodes or the leaves existing in the paths and the parameters νx,y and the node parameters γx,y assigned to parent nodes of the intermediate nodes or the leaves.
9. The encryption device according to claim 8, wherein the session-key determination unit selects, at random, an integer t, and determines a session key s=e(gY,g1)t, where e(gY,g1) represents a bilinear map for two elements gY and g1 of a bilinear group.
10. The encryption device according to claim 9, characterized by further comprising an encryption unit that encrypts, by using the session key s, content to be delivered.
11. The encryption device according to claim 9, characterized in that in a hierarchized tree structure, the session-key determination unit further includes a header-element calculation part that marks all the individual nodes existing in a path extending from a leaf to which the excluded reception device is assigned to the root, and calculates, on the basis of the parameters νx,y assigned to the marked nodes and leaf keys gy assigned to intermediate nodes for which the marked nodes serve as parent nodes, cx,y represented by expression C below:
c x , y = ( v x , y · j S x , y g Y + 1 - j ) t , ( Expression C )
where Sx,y represents a set of unmarked child nodes belonging to each of subgroups where the marked nodes serve as parent nodes.
12. The encryption device according to claim 11, characterized in that the session-key determination unit further includes a header information generation part that generates the header by setting the header-elements cx,y and a random number gt obtained by the header-element calculation part as header information.
13. A reception device in communication with the key generation device of claim 1, the reception device characterized by comprising:
a reception unit that receives keys calculated by the key calculation unit of the key generation device.
14. The reception device according to claim 13, characterized by further comprising a decryption unit that decrypts encrypted content by using a session key s.
15. The reception device according to claim 14, characterized in that:
the reception unit further receives information on a set S of non-excluded reception devices, which is information for identifying an excluded reception device; and
the reception device further comprises a determination unit that determines whether or not the reception device is included in the set S.
16. The reception device according to claim 14, characterized in that in a case where the determination unit determines that the reception device is included in the set S, the decryption unit decrypts the encrypted content by calculating the session key s on the basis of expression D shown below and using the calculated session key s:
s = e ( g i x , c x , y ) e ( g i x γ i x - 1 · j S x , y j i x g Y + 1 - j + i x , g t ) . ( Expression D )
17. A cryptographic key generation method characterized by comprising:
a tree-structure construction step of hierarchically constructing a Y-ary tree structure where n reception devices are assigned to leaves, Y is the number of branches, and a height is represented by (logYn), and forming subgroups constituted by a plurality of leaves existing in a layer lower than intermediate nodes existing between the leaves and a root;
a leaf-key assigning step of assigning leaf keys gy to the individual leaves and the individual intermediate nodes;
a parameter assigning step of assigning different parameters νx,y (x: layer, y: 1, 2, . . . , Yx) and node parameters γx,y (x: layer, y: 1, 2, . . . , Yx) to the individual intermediate nodes and the root; and
a cryptographic key calculation step of identifying paths extending from the root to the leaves, and calculating cryptographic keys on the basis of the leaf keys gy assigned to the intermediate nodes or the leaves existing in the paths and the parameters νx,y and the node parameters γx,y assigned to parent nodes of the intermediate nodes or the leaves.
18. A computer-implemented encryption method comprising:
identifying an excluded reception device among n reception devices;
determining a set S of non-excluded reception devices;
calculating, by a processor, header-elements corresponding to reception devices; and
generating a header from the header-elements while excluding from the header a header-element corresponding to the excluded reception device,
wherein each reception device comprises: a reception unit that receives keys obtained by a key generation device that hierarchically constructs a Y-ary tree structure where n reception devices are assigned to leaves, Y is the number of branches, and a height is represented by (logYn), forms subgroups constituted by a plurality of leaves existing in a layer lower than intermediate nodes existing between the leaves and a root, assigns leaf keys gy to the individual leaves and the individual intermediate nodes, assigns different parameters νx,y (x: layer, y: 1, 2, . . . , Yx) and node parameters γx,y (x: layer, y: 1, 2, . . . , Yx) to the individual intermediate nodes and the root, identifies paths extending from the root to the leaves, and calculates the keys on the basis of the leaf keys gy assigned to the intermediate nodes or the leaves existing in the paths and the parameters νx,y and the node parameters γx,y assigned to parent nodes of the intermediate nodes or the leaves.
19. A cryptographic key processing method characterized by comprising steps of receiving cryptographic keys obtained by hierarchically constructing a Y-ary tree structure where n reception devices are assigned to leaves, Y is the number of branches, and a height is represented by (logYn), forming subgroups constituted by a plurality of leaves existing in a layer lower than intermediate nodes existing between the leaves and a root, assigning leaf keys gy to the individual leaves and the individual intermediate nodes, assigning different parameters νx,y (x: layer, y: 1, 2, . . . , Yx) and node parameters γx,y (x: layer, y: 1, 2, . . . , Yx) to the individual intermediate nodes and the root, identifying paths extending from the root to the leaves, and calculating the cryptographic keys on the basis of the leaf keys gy assigned to the intermediate nodes or the leaves existing in the paths and the parameters νx,y and the node parameters γx,y assigned to parent nodes of the intermediate nodes or the leaves.
20. A non-transitory computer-readable medium storing a program that, when executed by a computer, causes the computer to realize:
a tree-structure construction function of hierarchically constructing a Y-ary tree structure where n reception devices are assigned to leaves, Y is the number of branches, and a height is represented by (logYn), and forming subgroups constituted by a plurality of leaves existing in a layer lower than intermediate nodes existing between the leaves and a root;
a leaf-key assigning function of assigning leaf keys gy to the individual leaves and the individual intermediate nodes;
a parameter assigning function of assigning different parameters νx,y (x: layer, y: 1, 2, . . . , Yx) and node parameters γx,y (x: layer, y: 1, 2, . . . , Yx) to the individual intermediate nodes and the root; and
a key calculation function of identifying paths extending from the root to the leaves, and calculating keys on the basis of the leaf keys gy assigned to the intermediate nodes or the leaves existing in the paths and the parameters νx,y and the node parameters γx,y assigned to parent nodes of the intermediate nodes or the leaves.
21. A non-transitory computer-readable medium storing a program that, when executed by a computer, causes the computer to:
identify an excluded reception device among n reception devices;
determine a set S of non-excluded reception devices;
calculate header-elements corresponding to reception devices; and
generate a header from the header-elements while excluding from the header a header-element corresponding to the excluded reception device,
wherein each reception device comprises: a reception unit that receives keys obtained by a key generation device that hierarchically constructs a Y-ary tree structure where n reception devices are assigned to leaves, Y is the number of branches, and a height is represented by (logYn), forms subgroups constituted by a plurality of leaves existing in a layer lower than intermediate nodes existing between the leaves and a root, assigns leaf keys gy to the individual leaves and the individual intermediate nodes, assigns different parameters νx,y (x: layer, y: 1, 2, . . . , Yx) and node parameters γx,y (x: layer, y: 1, 2, . . . , Yx) to the individual intermediate nodes and the root, identifies paths extending from the root to the leaves, and calculates the keys on the basis of the leaf keys gy assigned to the intermediate nodes or the leaves existing in the paths and the parameters νx,y and the node parameters γx,y assigned to parent nodes of the intermediate nodes or the leaves.
22. The non-transitory computer-readable medium of claim 20, wherein the program, when executed by a computer, further causes the computer to realize a reception function of receiving keys calculated by the key calculation function.
US12/447,872 2006-10-30 2007-08-17 Key generation device, encryption device, reception device, key generation method, key processing method, and program Expired - Fee Related US8600052B2 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP2006-294639 2006-10-30
JP2006294639A JP4984827B2 (en) 2006-10-30 2006-10-30 KEY GENERATION DEVICE, ENCRYPTION DEVICE, RECEPTION DEVICE, KEY GENERATION METHOD, ENCRYPTION METHOD, KEY PROCESSING METHOD, AND PROGRAM
JPP2006-294639 2006-10-30
PCT/JP2007/066002 WO2008053629A1 (en) 2006-10-30 2007-08-17 Key generation device, encryption device, reception device, key generation method, encryption method, key processing method, and program

Publications (2)

Publication Number Publication Date
US20100067702A1 US20100067702A1 (en) 2010-03-18
US8600052B2 true US8600052B2 (en) 2013-12-03

Family

ID=39343980

Family Applications (1)

Application Number Title Priority Date Filing Date
US12/447,872 Expired - Fee Related US8600052B2 (en) 2006-10-30 2007-08-17 Key generation device, encryption device, reception device, key generation method, key processing method, and program

Country Status (6)

Country Link
US (1) US8600052B2 (en)
EP (1) EP2068489A1 (en)
JP (1) JP4984827B2 (en)
KR (1) KR20090084809A (en)
CN (1) CN101536400B (en)
WO (1) WO2008053629A1 (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5365072B2 (en) * 2007-12-11 2013-12-11 ソニー株式会社 KEY GENERATION DEVICE, ENCRYPTION DEVICE, RECEPTION DEVICE, KEY GENERATION METHOD, ENCRYPTION METHOD, KEY PROCESSING METHOD, AND PROGRAM
CN101325481B (en) * 2008-07-29 2010-12-29 成都卫士通信息产业股份有限公司 Grouping authorization control method
EP2502381B9 (en) 2009-11-19 2015-02-25 Nagravision S.A. Method for public-key attribute-based encryption with respect to a conjunctive logical expression.
US8862896B2 (en) * 2010-12-06 2014-10-14 Apple Inc. Data protection using key translation
US8483390B2 (en) * 2011-09-30 2013-07-09 Hong Kong Applied Science & Technology Research Institute Company, Ltd. Systems and methods for broadcast encryption optimization and scalability
KR20130049542A (en) * 2011-11-04 2013-05-14 삼성전자주식회사 Memory device and memory systme comprising the device
KR101301609B1 (en) * 2012-05-31 2013-08-29 서울대학교산학협력단 Apparatus and method for generating secret key, and recording medium storing program for executing method of the same in computer
KR101827813B1 (en) 2012-11-14 2018-03-22 삼성에스디에스 주식회사 Encryption and decryption method and signature method based on method for generating secret key, and recording medium storing program for executing method of the same in computer
JP6275536B2 (en) * 2014-04-16 2018-02-07 日本放送協会 Conditional reception system, content distribution apparatus, content reception apparatus and program thereof
CN106160995B (en) * 2015-04-21 2019-04-16 郑珂威 The complete homomorphic cryptography method and system of multinomial based on coefficient mapping transformation
CN106649340A (en) * 2015-10-30 2017-05-10 北京国双科技有限公司 Condition filtering data access method and apparatus
CN107517206A (en) * 2017-08-18 2017-12-26 北京北信源软件股份有限公司 A kind of method, apparatus of secure communication, computer-readable recording medium and storage control
JP2020068437A (en) * 2018-10-23 2020-04-30 株式会社アメニディ Access management device and program

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002060116A2 (en) 2001-01-26 2002-08-01 International Business Machines Corporation Method for broadcast encryption
US20020114466A1 (en) * 2001-02-09 2002-08-22 Koichi Tanaka Information processing method, information processing apparatus and recording medium
US20030185399A1 (en) * 2001-03-29 2003-10-02 Ryuji Ishiguro Information processing apparatus
US20050169481A1 (en) * 2004-02-02 2005-08-04 Samsung Electronics Co., Ltd. Method of assigning user keys for broadcast encryption
JP2005526453A (en) 2002-05-21 2005-09-02 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Conditional access system
US7010125B2 (en) * 2001-01-26 2006-03-07 Interntional Business Machines Corporation Method for tracing traitor receivers in a broadcast encryption system
US20060078110A1 (en) * 2004-10-08 2006-04-13 Samsung Electronics Co., Ltd. Apparatus and method for generating a key for broadcast encryption
US20060129805A1 (en) * 2004-11-12 2006-06-15 Samsung Electronics Co., Ltd. Method of managing user key for broadcast encryption
US7096356B1 (en) * 2001-06-27 2006-08-22 Cisco Technology, Inc. Method and apparatus for negotiating Diffie-Hellman keys among multiple parties using a distributed recursion approach
US20070016769A1 (en) * 2003-05-21 2007-01-18 Gentry Craig B Broadcast encryption using rsa
US20070079118A1 (en) * 2004-11-23 2007-04-05 Samsung Electronics Co., Ltd. Method of managing a key of user for broadcast encryption
US20070174609A1 (en) * 2005-04-06 2007-07-26 Samsung Electronics Co., Ltd. Apparatus and method for determining revocation key, and apparatus and method for decrypting contents using the same
US20080085005A1 (en) * 2006-09-29 2008-04-10 Samsung Electronics Co., Ltd. Method and apparatus for broadcast encryption using bilinear map

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100657265B1 (en) * 2004-06-23 2006-12-14 삼성전자주식회사 Self-enforcing method and method for transmitting and receiving contents using the same

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002060116A2 (en) 2001-01-26 2002-08-01 International Business Machines Corporation Method for broadcast encryption
JP2004520743A (en) 2001-01-26 2004-07-08 インターナショナル・ビジネス・マシーンズ・コーポレーション Broadcast encryption and stateless receiver key revocation method
US7010125B2 (en) * 2001-01-26 2006-03-07 Interntional Business Machines Corporation Method for tracing traitor receivers in a broadcast encryption system
US20020114466A1 (en) * 2001-02-09 2002-08-22 Koichi Tanaka Information processing method, information processing apparatus and recording medium
US20030185399A1 (en) * 2001-03-29 2003-10-02 Ryuji Ishiguro Information processing apparatus
US7096356B1 (en) * 2001-06-27 2006-08-22 Cisco Technology, Inc. Method and apparatus for negotiating Diffie-Hellman keys among multiple parties using a distributed recursion approach
US20050201559A1 (en) 2002-05-21 2005-09-15 Van Der Heijden Gerardus Wilhelmus T. Conditional access system
JP2005526453A (en) 2002-05-21 2005-09-02 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Conditional access system
US20070016769A1 (en) * 2003-05-21 2007-01-18 Gentry Craig B Broadcast encryption using rsa
US20050169481A1 (en) * 2004-02-02 2005-08-04 Samsung Electronics Co., Ltd. Method of assigning user keys for broadcast encryption
US20060078110A1 (en) * 2004-10-08 2006-04-13 Samsung Electronics Co., Ltd. Apparatus and method for generating a key for broadcast encryption
US20060129805A1 (en) * 2004-11-12 2006-06-15 Samsung Electronics Co., Ltd. Method of managing user key for broadcast encryption
US20070079118A1 (en) * 2004-11-23 2007-04-05 Samsung Electronics Co., Ltd. Method of managing a key of user for broadcast encryption
US20070174609A1 (en) * 2005-04-06 2007-07-26 Samsung Electronics Co., Ltd. Apparatus and method for determining revocation key, and apparatus and method for decrypting contents using the same
US20080085005A1 (en) * 2006-09-29 2008-04-10 Samsung Electronics Co., Ltd. Method and apparatus for broadcast encryption using bilinear map

Non-Patent Citations (6)

* Cited by examiner, † Cited by third party
Title
Boneh, Dan et al., "Collusion Resistant Broadcast Encryption With Short Ciphertexts and Private Keys, Lecture Notes in Computer Science, vol. 3621, pp. 258-275 (2005)".
J. Horwitz, "A Survey of Broadcast Encryption," Journal of ACM, Jan. 13, 2003. *
N. Attrapadung, et al. "Sequential Key Derivation Patterns for Broadcast Encryption and Key Predistribution Schemes," ASIACRYPT 2003, pp. 374-391. *
N. Jho, et al. "One-Way chain based broadcast encryption schemes," EUROCRYPT'05, 2005, pp. 559-574. *
Translation of Written Opinion of the International Searching Authority in International Application No. PCT/JP2007/066002, mailed May 14, 2009.
Yevgeniy Dodis et al., "Public Key Broadcast Encryption for Stateless Receivers", Courant Institute of Mathematical Sciences, New York University, DRM 2002, Lecture Notes in Computer Science, vol. 2696, pp. 61-80 (2003).

Also Published As

Publication number Publication date
US20100067702A1 (en) 2010-03-18
KR20090084809A (en) 2009-08-05
CN101536400B (en) 2013-06-26
WO2008053629A1 (en) 2008-05-08
EP2068489A1 (en) 2009-06-10
JP4984827B2 (en) 2012-07-25
CN101536400A (en) 2009-09-16
JP2008113201A (en) 2008-05-15

Similar Documents

Publication Publication Date Title
US8600052B2 (en) Key generation device, encryption device, reception device, key generation method, key processing method, and program
US8001370B2 (en) Encrypted communication for selectively delivering a message to multiple decrypting devices
US20060059179A1 (en) Information processing method, decrypting method, information processing apparatus, and computer program
CN101663856B (en) Key providing system, key providing apparatus, terminal apparatus, key providing method, and key generating method
US8300814B2 (en) Information processing unit, terminal unit, information processing method, key generation method and program
JP5492007B2 (en) Content server, content receiving apparatus, attribute key issuing server, user key issuing server, access control system, content distribution program, and content receiving program
US8300816B2 (en) Information processing unit, terminal unit, information processing method, key generation method and program
JP2008131076A (en) Information processor, terminal device, information processing method, key generation method, and program
Li et al. Efficient and adaptively secure attribute-based proxy reencryption scheme
Ling et al. Server-aided revocable predicate encryption: formalization and lattice-based instantiation
JP2010160235A (en) Retrieval system, terminal device, database device, retrieval method, and program
JP2008131072A (en) Information processor, terminal device, information processing method, and key generation method
JP4748206B2 (en) Information processing apparatus, information processing method, and program
US20090177888A1 (en) Information processing device, key setting method, and program
US8150040B2 (en) Key providing system, terminal device, and information processing method
JP5557707B2 (en) Encrypted information generating device and program thereof, secret key generating device and program thereof, distribution content generating device and program thereof, content decrypting device and program thereof, and user specifying device and program thereof
JP5366755B2 (en) Data editing system, writing device, reading device, and data editing method
JP2008131079A (en) Information processor, terminal device, information processing method, and key generation method
JP2008113203A (en) Key generating device, encrypting device, receiver, key generation method, encryption method, key processing method, and program
JP5357785B2 (en) Encrypted information generating device and program thereof, secret key generating device and program thereof, distribution content generating device and program thereof, content decrypting device and program thereof, and user specifying device and program thereof
JP2011066667A (en) Encrypted information generator and program thereof, secret key generator and program thereof, distributing content generator and program thereof, content decryptor and program, and user-specifying device and program thereof
JP2008131078A (en) Information processor, terminal device, information processing method, and key generation method

Legal Events

Date Code Title Description
AS Assignment

Owner name: SONY CORPORATION,JAPAN

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:KUSAKAWA, MASAFUMI;ASANO, TOMOYUKI;SIGNING DATES FROM 20090218 TO 20090219;REEL/FRAME:023218/0814

Owner name: SONY CORPORATION, JAPAN

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:KUSAKAWA, MASAFUMI;ASANO, TOMOYUKI;SIGNING DATES FROM 20090218 TO 20090219;REEL/FRAME:023218/0814

FEPP Fee payment procedure

Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

REMI Maintenance fee reminder mailed
LAPS Lapse for failure to pay maintenance fees

Free format text: PATENT EXPIRED FOR FAILURE TO PAY MAINTENANCE FEES (ORIGINAL EVENT CODE: EXP.)

STCH Information on status: patent discontinuation

Free format text: PATENT EXPIRED DUE TO NONPAYMENT OF MAINTENANCE FEES UNDER 37 CFR 1.362

FP Lapsed due to failure to pay maintenance fee

Effective date: 20171203