WO2010041442A1 - 情報処理装置、方法、プログラム及び集積回路 - Google Patents

情報処理装置、方法、プログラム及び集積回路 Download PDF

Info

Publication number
WO2010041442A1
WO2010041442A1 PCT/JP2009/005217 JP2009005217W WO2010041442A1 WO 2010041442 A1 WO2010041442 A1 WO 2010041442A1 JP 2009005217 W JP2009005217 W JP 2009005217W WO 2010041442 A1 WO2010041442 A1 WO 2010041442A1
Authority
WO
WIPO (PCT)
Prior art keywords
key
encryption
data
encrypted
decryption
Prior art date
Application number
PCT/JP2009/005217
Other languages
English (en)
French (fr)
Inventor
伊藤孝幸
松島秀樹
高山久
芳賀智之
Original Assignee
パナソニック株式会社
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 パナソニック株式会社 filed Critical パナソニック株式会社
Priority to JP2010532816A priority Critical patent/JPWO2010041442A1/ja
Priority to EP09818982A priority patent/EP2337262A1/en
Priority to US13/119,524 priority patent/US20110173460A1/en
Priority to CN2009801388971A priority patent/CN102171968A/zh
Publication of WO2010041442A1 publication Critical patent/WO2010041442A1/ja

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/0894Escrow, recovery or storing of secret information, e.g. secret key escrow or cryptographic key storage
    • 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 technology for sharing data in a plurality of encryption / decryption systems.
  • Such data theft may be performed by a malicious program such as a computer virus.
  • a malicious program is stored in the storage unit of the information processing apparatus by using the malfunction of another program that operates on the target information processing apparatus and operating illegally. The data is read and the read data is sent to an attacker via the network.
  • the data can be protected by encrypting the data.
  • a data encryption technique there are a technique realized by encryption processing using a file system and a technique independent of the file system.
  • Patent Document 1 discloses a technique for encrypting a file using a file key corresponding to the file. This makes it possible to perform encryption with a different key for each file.
  • Non-Patent Document 1 discloses a protected storage specification that performs data encryption in Trusted Computing Group (TCG) as a technology that does not depend on a file system.
  • TCG Trusted Computing Group
  • the encryption / decryption processing module disclosed in Non-Patent Document 1 will be described below.
  • the key management software for realizing the encryption / decryption processing module has a key database, and the key database manages keys used in the encryption / decryption processing module by a tree structure.
  • the key database exists in a storage device external to the encryption / decryption processing module.
  • the tree structure of the key database is composed of three hierarchies, and is composed of one root, two intermediate nodes, and four leaves. Two intermediate nodes are connected immediately below the route, and two leaves are connected immediately below the two intermediate nodes. A root key is assigned to the root.
  • the first and second intermediate nodes store a key A encrypted using the root key and a key B encrypted using the root key, respectively.
  • the two leaves connected immediately below the first intermediate node store a key C encrypted using the key A of the first intermediate node and an encrypted key D, respectively.
  • the two leaves connected immediately below the second intermediate node store a key E encrypted using the key B of the second intermediate node and an encrypted key F, respectively.
  • the key C, the key D, the key E, and the key F are keys used to encrypt or decrypt data, respectively.
  • the encryption / decryption processing module includes a nonvolatile memory, an encryption / decryption engine, and a key storage unit.
  • the encryption / decryption processing module is tamper-resistant so that processing data cannot be stolen and tampered with from the outside.
  • the non-volatile memory stores the root key.
  • the root key is a secret key (private key) of a public key cryptosystem or a secret key of a common key cryptosystem.
  • the encryption / decryption engine decrypts the encrypted key, encrypts the key, decrypts the encrypted data, and encrypts the data.
  • the key storage unit stores a key used by the encryption / decryption engine.
  • the root key is protected by being stored inside the tamper-resistant encryption / decryption processing module.
  • the other keys A, B, C, D, E, and F are protected by being encrypted in a storage device outside the encryption / decryption processing module.
  • the key management software When the key management software requests acquisition of the key C from an application program external to the encryption / decryption processing module, the key management software stores the encryption key B stored in the intermediate node that is the parent of the leaf corresponding to the key C from the key management database. Acquire and output the encryption key B to the encryption / decryption processing module.
  • the encryption / decryption processing module generates a key B by decrypting the encryption key B using the root key by the encryption / decryption engine.
  • the key management software acquires the encryption key C stored in the leaf corresponding to the key C from the key management database, and outputs the encryption key C to the encryption / decryption processing module.
  • the encryption / decryption processing module uses the encryption / decryption engine to decrypt the encryption key C using the key B, and stores the key C obtained by decryption in the key storage unit.
  • the key management software receives a notification indicating the end of key loading from the encryption / decryption processing module. This completes the process of loading the key into the encryption / decryption processing module.
  • the key management software is requested to encrypt or decrypt data from the application program, and the key management software encrypts / decrypts the data received from the application program.
  • the encryption / decryption processing module is requested to output to the processing module and perform encryption or decryption using the key C.
  • the encryption / decryption processing module encrypts or decrypts the received data using the key C stored in the key storage unit by the encryption / decryption engine, and outputs a ciphertext or a decrypted text.
  • the key management software outputs the ciphertext or the decrypted text received from the encryption / decryption processing module to the application program. This completes the encryption / decryption process.
  • the plaintext key root key
  • the plaintext key root key
  • Non-Patent Document 1 it is assumed that one encryption / decryption processing module and two key databases configured with different tree structures are used by the method disclosed in Non-Patent Document 1.
  • an information processing apparatus receives a supply of music and movies using a music distribution system that distributes music and a movie distribution system that distributes movies
  • the music distribution system and the movie distribution system differ in music. Since it is operated by a distributor and a movie distributor, the key database used in each system is often different.
  • the encryption key of the intermediate node is decrypted using the root key, and the encryption key of the leaf is obtained using the obtained key.
  • the updated shared data is encrypted and held using the obtained key.
  • the encryption key of the intermediate node is decrypted using the root key, and the encryption key of the leaf is used using the obtained key.
  • the updated shared data is encrypted and stored using the obtained key.
  • the present invention provides an information processing apparatus, method, and the like that can prevent a processing load from increasing when the same data is encrypted and held in a plurality of encryption / decryption systems. It is an object to provide a program and an integrated circuit.
  • an information processing apparatus is an information processing apparatus having a plurality of encryption / decryption systems each storing encrypted data, and the encryption in one encryption / decryption system
  • the determination means for determining whether the target data is encrypted and stored in another encryption / decryption system
  • key acquisition means for acquiring a key of encrypted data stored in another encryption / decryption system
  • key storage means used in the one encryption / decryption system
  • it comprises a key writing means for writing the acquired key into the key storage means.
  • FIG. 3 is a block diagram illustrating a software configuration of the information processing apparatus 10.
  • FIG. The tree structure of the key database A120 and the key database B121 is shown.
  • An example of the data structure of the node information structure 150 is shown.
  • An example of the data structure of the node information structure 160 is shown.
  • An example of the data structure of the management table 220 is shown.
  • 12 is a flowchart showing an operation of loading a key to the encryption / decryption processing unit 114. It is a flowchart which shows the operation
  • FIG. 5 is a flowchart showing an operation of updating a management table 220. Continuing to FIG. 5 is a flowchart showing an operation of updating a management table 220. Continuing to FIG. 5 is a flowchart showing an operation of updating a management table 220. Continuing from FIG. It is a flowchart which shows the operation
  • An example of the data structure of the key table 274 is shown.
  • An example of another data structure of the key table 274 is shown.
  • An example of the data structure of the key storage part 330 is shown.
  • An example of the data structure of the block management table 331 is shown.
  • An example of a tree structure of a key database A283 and a key database B284 as a modification is shown.
  • An example of the data structure of the management information 300 of the management table as a modification is shown. It is a flowchart which shows the update process of the management table by the key management software as a modification.
  • An example of the management table 320 in the case of using the hash value of encryption data as a modification is shown.
  • An information processing apparatus is an information processing apparatus having a plurality of encryption / decryption systems each storing encrypted data, and acquires data to be encrypted in one encryption / decryption system.
  • a data acquisition unit; a determination unit that determines whether the target data is encrypted and stored in another encryption / decryption system; and a storage unit in another encryption / decryption system when determining that the target data is stored A key acquisition means for acquiring a key of the encrypted data being stored; a key storage means used in the one encryption / decryption system; and the key acquired in association with the target data in the one encryption / decryption system And a key writing means for writing to the key storage means.
  • An information processing apparatus is an information processing apparatus having a first encryption / decryption system and a second encryption / decryption system, each of which encrypts and stores data, wherein the first encryption / decryption system A data acquisition means for acquiring the target data for encryption in the above; a determination means for determining whether encrypted data generated by encrypting the target data is stored in the second encryption / decryption system; A second key used for encrypting the encrypted data in the second encryption / decryption system, and a first key used in the first encryption / decryption system.
  • the obtained second key is encrypted using the first key used for encrypting the target data.
  • the information processing apparatus further includes a second encryption unit configured to encrypt the target data using the second key as the encrypted data in the second encryption / decryption system.
  • a second data storage unit storing encryption target data, wherein the determination unit determines whether the second encryption target data as the encrypted data is stored in the second data storage unit; Judging.
  • the information processing apparatus wherein the encryption / decryption means further encrypts the target data using the first key in the first encryption / decryption system. Data to be encrypted, and the information processing apparatus further includes first data storage means in the first encryption / decryption system, and data writing for writing the generated first encryption target data to the first data storage means Means.
  • the information processing apparatus further includes management including position information indicating a position where the encrypted data is stored in the second encryption / decryption system in association with the target data.
  • Table storage means for storing a table, wherein the determination means determines whether or not position information corresponding to the target data is stored in the management table, whereby the encrypted data is stored in the second table. It is determined whether it is stored in the encryption means.
  • the data acquisition unit further acquires an instruction to update the target data
  • the determination unit further acquires the target data according to the instruction. It is determined whether or not encrypted data generated by encryption is stored in the second encryption / decryption system, and when the key acquisition means determines that the encrypted data is further stored, the first key storage Obtaining the encrypted second key from the means, and the encryption / decryption means further generates a second key by decrypting the obtained encrypted second key, and using the generated second key, The update data obtained by updating the target data is encrypted to generate second encrypted update data, and the data writing means further converts the generated second encrypted update data into the second data storage means. Remembered Overwriting the second encrypted target data.
  • the encryption / decryption means decrypts the encrypted second key using a decryption key corresponding to the first key.
  • the information processing apparatus wherein the management table is associated with the target data and further indicates a position where a decryption key corresponding to the first key is stored.
  • the encryption / decryption means uses the decryption key acquired from the position indicated by the key position information.
  • the encryption / decryption means further generates the first encrypted update data by encrypting the update data using the first key
  • the data writing means further overwrites the generated first encrypted update data on the first encryption target data stored in the first data storage means.
  • the data writing unit adds the first encrypted update data to the first encryption target data stored in the first data storage unit.
  • the second encrypted update data is overwritten on the second encryption target data stored in the second data storage means.
  • the position information included in the management table indicates a position where the second data to be encrypted is stored in the second data storage unit.
  • the data writing means writes the second encrypted update data at a position indicated by the position information.
  • the information processing apparatus wherein the encryption / decryption means further decrypts the first encryption target data stored in the first data storage means, And the update data obtained based on the generated target data is encrypted.
  • the management table includes a summary value of the target data and the position information in association with each other, and the determination unit calculates the summary value from the target data. Is calculated, and it is determined whether or not the position information corresponding to the obtained summary value is stored in the management table.
  • the information processing apparatus includes a summary value of the first encryption target data and the position information in association with each other, and the determination unit includes the first data
  • the summary value is calculated from the first data to be encrypted stored in the storage means, and it is determined whether or not the location information corresponding to the obtained summary value is stored in the management table.
  • the information processing apparatus further includes a second key storage unit used in the second encryption / decryption system
  • the data acquisition unit further includes the data acquisition unit.
  • the target data to be encrypted in the second encryption / decryption system is acquired, and the determination unit further determines whether or not the encrypted data generated by encrypting the target data is stored in the first encryption / decryption system.
  • the key acquisition means further acquires a first key used for encrypting the encrypted data in the first encryption / decryption system, and determines whether the encryption / decryption is performed.
  • the encrypting means further encrypts the acquired first key using a second key used for encrypting the target data in the second encryption / decryption system.
  • An encrypted first key is generated, and the key writing means further associates the generated encrypted first key with the target data in the second encryption / decryption system in the second key storage means.
  • the information processing apparatus according to the aspect of claim 16, wherein the encryption / decryption means further encrypts the target data using the second key in the second encryption / decryption system. Data to be encrypted, and the information processing apparatus further includes second data storage means in the second encryption / decryption system, and data writing for writing the generated second encryption target data to the second data storage means Means.
  • the data acquisition unit further acquires an instruction to update the target data
  • the determination unit further acquires the target data according to the instruction. It is determined whether or not encrypted data generated by encryption is stored in the first encryption / decryption system, and when the key acquisition means determines that it is further stored, the second key storage Obtaining the encrypted first key from a means, and the encryption / decryption means further generates a first key by decrypting the obtained encrypted first key, and using the generated first key, The update data obtained by updating the target data is encrypted to generate first encrypted update data, and the data writing means further converts the generated first encrypted update data into the first data storage means.
  • the first encrypted target data is encrypted to generate first encrypted update data
  • the data writing means further converts the generated first encrypted update data into the first data storage means.
  • the information processing apparatus wherein the first key storage unit manages keys in a hierarchical structure in the first encryption / decryption system, and each key of the hierarchical structure includes An encrypted key is assigned so that it can be decrypted using the key, and the key writing means assigns and writes the encrypted second key in a lower order of the second key.
  • the information processing apparatus further comprising a processor that operates according to an application program that uses encrypted data in the first encryption / decryption system. Includes an instruction to output the data to be encrypted, and the processor outputs the data to be encrypted to the data acquisition unit.
  • the information processing apparatus further indicates that the key decrypted in the first encryption / decryption system is for the first encryption / decryption system.
  • a key storage unit that holds the key that is associated with the one type information and that is decrypted in the second encryption / decryption system, in association with the second type information indicating that the key is for the second encryption / decryption system;
  • the encryption / decryption means performs decoding using a key associated with the first type information, and the encryption / decryption means in the second encryption / decryption system.
  • encryption is performed using a key associated with the second type information
  • the information processing apparatus further associates with the first type information as a result of decryption in the first encryption / decryption system.
  • the first type information is rewritten to the second type information indicating that it is for the second encryption / decryption system, thereby encrypting the update data using the key.
  • Control means for causing the second encryption / decryption system to perform the conversion.
  • the key storage means is composed of a plurality of blocks having a predetermined capacity, and indicates in which block each held key is stored. Block information is held in association with each of the held keys.
  • the encryption / decryption means includes a control unit, a key storage unit that holds the first key for the first encryption / decryption system, and the key storage.
  • An encryption / decryption engine unit that encrypts using the first key held in a unit, and the control unit stores the key when acquiring the first key and holding it in the key storage unit
  • the key storage unit encrypts the one key already held by the encryption / decryption engine unit and saves it outside the key storage unit.
  • the first encryption key is overwritten in the area where the key to be saved is overwritten, and the encryption using the first key in the first encryption / decryption system is completed, and then the saved cipher
  • the encryption key is decrypted by the encryption / decryption engine unit.
  • Serial first key is overwritten in an area that is held.
  • the method according to claim 23 includes a first encryption / decryption system and a second encryption / decryption system, each of which encrypts and stores data, and a first key storage means used in the first encryption / decryption system.
  • a data acquisition step for acquiring data to be encrypted in the first encryption / decryption system, and encrypted data generated by encrypting the target data are used in the information processing apparatus comprising: A determination step for determining whether or not the data is stored in the encryption / decryption system; and a second key used for encrypting the encrypted data in the second encryption / decryption system when determining that it is stored.
  • a computer program has a first encryption / decryption system and a second encryption / decryption system that respectively encrypt and store data, and a first key storage used in the first encryption / decryption system.
  • a computer program used in an information processing apparatus comprising means for obtaining a target data to be encrypted in the first encryption / decryption system in the information processing apparatus that is a computer, and encrypting the target data Determining whether the encrypted data generated in step 2 is stored in the second encryption / decryption system; and determining that the encrypted data is stored in the second encryption / decryption system, A key obtaining step for obtaining a second key used for encryption, and the first encryption / decryption system; An encryption / decryption step of encrypting the acquired second key to generate an encrypted second key using a first key used for encrypting the target data; and the first encryption / decryption In the system, it is a computer program for executing a key writing
  • the computer program according to the aspect of claim 25 is recorded on a computer-readable recording medium.
  • An integrated circuit is an integrated circuit having a first encryption / decryption system and a second encryption / decryption system that respectively encrypt and store data, wherein the encryption in the first encryption / decryption system is performed.
  • the obtained second key is encrypted by using the first key used for encrypting the target data, and encrypted second Encryption / decryption means for generating the first encryption / decryption system, and key writing means for writing the generated second encrypted key in the first key storage means in association with the target data in the first encryption / decryption system. It is characterized by.
  • Embodiment 1 An information processing apparatus 10 as one embodiment according to the present invention will be described.
  • the first encryption / decryption system and the second encryption / decryption system operate independently, and one piece of data is shared and used between the first and second encryption / decryption systems.
  • the first and second encryption / decryption systems are different encryption / decryption systems, each of which includes a key database and encrypted data.
  • the information processing apparatus 10 uses a music distribution system that distributes music and a movie distribution system that distributes movies, receives music from the music distribution system, and receives movies from the movie distribution system.
  • the music distribution system and the movie distribution system are operated by different music distributors and movie distributors.
  • the first encryption / decryption system is an encryption / decryption system for a music distribution system
  • the second encryption / decryption system is an encryption / decryption system for a movie distribution system.
  • an example of data to be shared is the address of the user of the information processing apparatus 10.
  • the information processing apparatus 10 includes a sub-encrypted data storage unit for the second encryption / decryption system, and the sub-encrypted data storage unit is a second key of the second encryption / decryption system.
  • the second encryption target data generated by encrypting the address that is the target data, that is, the encrypted address is stored.
  • the encrypted address of the user is not yet held.
  • the information processing apparatus 10 acquires the user's address, which is data to be encrypted, in order to encrypt and hold the user's address. Next, it is determined whether or not encrypted data (encrypted address) generated by encrypting the address that is the target data is stored in the second encryption / decryption system. Specifically, the information processing apparatus 10 determines whether or not the second encryption target data (encrypted address) is stored in the sub-encrypted data storage unit for the second encryption / decryption system. .
  • the encrypted data (encrypted address) is stored in the second encryption / decryption system.
  • the second key used for encryption is obtained from the second encryption / decryption system.
  • the information processing apparatus 10 holds a key database A used in the first encryption / decryption system.
  • the information processing apparatus 10 encrypts the acquired second key using the first key used for encrypting the target data (user address).
  • a second key is generated, and in the key database A of the first encryption / decryption system, the generated encrypted second key is written in the key database A in association with the target data (user address).
  • the information processing apparatus 10 encrypts the target data (user address) using the first key to obtain the first encryption target data (encrypted address). Generate.
  • the information processing apparatus 10 includes a sub-encrypted data storage unit for storing the first data to be encrypted (encrypted address), and a sub-encrypted data storage unit for the first encryption / decryption system
  • the generated first encryption target data (encrypted address) is written in
  • the first encryption / decryption system and the second encryption / decryption system share the address. Further, in the first encryption / decryption system, the second key used for encryption of the address in the second encryption / decryption system is encrypted and held in the first encryption / decryption system in association with the address. It will be.
  • the information processing apparatus 10 acquires an instruction to update an address that is target data in the first encryption / decryption system. In the same manner as described above, the information processing apparatus 10 further uses the second encryption / decryption system to generate encrypted data (encrypted old address) generated by encrypting the target data (old address) according to the instruction. It is determined whether or not it is stored in When it is determined that the encrypted second key is stored, the encrypted second key is acquired from the key database A, the acquired encrypted second key is decrypted to generate a second key, and the generated second key is used.
  • the second encrypted update data (encrypted new address) is generated by encrypting the update data (new address) obtained by updating the target data (old address), and the generated second encryption
  • the update data (encrypted new address) is overwritten on the second encryption target data (encrypted old address) stored in the sub-encrypted data storage unit for the second encryption system.
  • the information processing apparatus 10 generates first encrypted update data (encrypted new address) by encrypting update data (new address) using the first key. Then, the generated first encrypted update data (encrypted new address) is stored in the first encryption target data (encryption) stored in the sub-encrypted data storage unit for the first encryption system. Overwritten old address).
  • the second key used in the second encryption / decryption system can be known only by the first encryption / decryption system without depending on the second encryption / decryption system.
  • the information processing apparatus 10 includes a CPU 111, a first storage unit 112, a second storage unit 113, an encryption / decryption processing unit 114, a bus 115, and an input / output unit. (Not shown).
  • the CPU 111, the first storage unit 112, the second storage unit 113, the encryption / decryption processing unit 114, and the input / output unit are connected to each other via a bus 115.
  • the CPU 111 is a microprocessor, and controls the overall operation of the information processing apparatus 10 by reading, decoding, and executing an instruction code included in a program or the like stored in the first storage unit 112.
  • the first storage unit 112 includes a volatile semiconductor memory, and stores a key management software 116, an application program A117, an application program B118, a data access unit 119, a key database A120, and a key database B121.
  • the second storage unit 113 is composed of a hard disk unit and has an encrypted data storage unit 122.
  • the encrypted data storage unit 122 includes a sub-encrypted data storage unit 122a and a sub-encrypted data storage unit 122b.
  • the encrypted data storage unit 122 stores encrypted data used by the application program A 117, the application program B 118, and the like.
  • the sub-encrypted data storage unit 122a stores encrypted data used by the application program A117.
  • the sub-encrypted data storage unit 122b stores encrypted data used by the application program B118.
  • the encryption / decryption processing unit 114 includes a nonvolatile memory unit 123, an encryption / decryption engine unit 124, a key database B key storage unit 125, and a key database A key storage unit 126. Tamper resistance is provided so that processing data cannot be stolen and tampered from the outside of the decryption processing unit 114.
  • the non-volatile memory unit 123 is composed of a non-volatile semiconductor memory in which stored data is not lost even when power is not supplied from an external power source.
  • the nonvolatile memory unit 123 stores a root key 127 for the key database A and a root key 128 for the key database B.
  • the root key 127 for the key database A and the root key 128 for the key database B are a secret key (private key) of a public key cryptosystem (also called public key cryptosystem, asymmetric cryptosystem asymmetric key cryptosystem), or a common key cipher. It is a secret key of a scheme (also called secret key encryption system).
  • the root key 127 for the key database A and the root key 128 for the key database B are keys corresponding to the roots of the key database A and the key database B, respectively. Since the root key 127 for the key database A and the root key 128 for the key database B are keys used for decrypting the keys of all the other nodes of the key database A and the key database B, they are stored on the first storage unit 112.
  • the encryption / decryption engine unit 124 decrypts the encrypted key, encrypts the key, decrypts the encrypted data, and encrypts the data.
  • an encryption algorithm such as RSA encryption which is a public key encryption method or AES encryption which is a common key encryption method is used.
  • the key database B key storage unit 125 stores the keys managed by the key database B 121 when the encryption / decryption engine unit 124 is used.
  • the key storage unit 126 for the key database A stores the keys managed by the key database A120 when the encryption / decryption engine unit 124 is used.
  • the key database A120, the key database A key storage unit 126, the root key 127 for the key database A, and the sub-encrypted data storage unit 122a constitute the first encryption / decryption system
  • the key storage unit 125, the root key 128 for the key database B, and the sub-encrypted data storage unit 122b constitute a second encryption / decryption system.
  • the application program A 117 and the application program B 118 access the key database A 120 and the key database B 121 through the key management software 116, respectively, and the encrypted data storage unit 122 through the data access unit 119.
  • an OS, a device driver, and other application programs also operate.
  • the application program A 117 and the application program B 118 share data B.
  • the key database A120 is a database that manages keys using a tree structure that is an n-ary tree, and is used by the application program A117. An example of the tree structure used by the key database A120 is shown in FIG.
  • the tree structure of the key database A120 is composed of four layers as shown in FIG. 3, and includes one root 132, two intermediate nodes 133 and 134, four leaves 135 to 138, and one leaf.
  • a leaf 239 is used. Two intermediate nodes 133 and 134 are connected immediately below the route 132, two leaves 135 and 136 are connected immediately below the intermediate node 133, and two leaves are directly below the intermediate node 134. 137 and 138 are connected. Further, one leaf 239 is connected immediately below the leaf 138.
  • Root key 127 for key database A is assigned to route 132. As described above, the root key 127 is stored not in the key database A120 but in the nonvolatile memory unit 123 of the encryption / decryption processing unit 114.
  • Intermediate nodes 133 and 134 are assigned keys A and B, respectively, and leaves 135, 136, 137, 138, and 239 are assigned keys C, D, E, F, and I, respectively. It has been.
  • the intermediate node 133 stores the key A encrypted using the root key 127
  • the intermediate node 134 stores the key B encrypted using the root key 127
  • the leaf 135 stores the key C encrypted using the key A of the intermediate node 133
  • the leaf 136 stores the key D encrypted using the key A of the intermediate node 133, and the leaf 137.
  • the key E encrypted using the key B of the intermediate node 134 is stored in the leaf 138
  • the key F encrypted using the key B of the intermediate node 134 is stored in the leaf 138.
  • the key C, the key D, the key E, and the key F are keys used to encrypt or decrypt data, respectively.
  • the key I of the leaf 142 of the key database B121 described later is encrypted and stored.
  • the encrypted key I stored in the leaf 239 is encrypted using the key F of the leaf 138.
  • the encrypted data A (146) is generated by encrypting the data A using the key D assigned to the leaf 136, and is encrypted.
  • the data B (147) is generated by encrypting the data B using the key F assigned to the leaf 138.
  • the key database A120 stores a plurality of node information structures in the first storage unit 112, and a tree structure is configured by the plurality of node information structures.
  • the plurality of node information structures correspond to the root of the key database A120, the plurality of intermediate nodes, and the plurality of leaves, respectively, and are used for managing keys in the key database A120.
  • FIG. 4 shows an example of the data structure of the node information structure 150 of the key database A120.
  • the node information structure 150 includes a key length 151, a key 152, a parent node identifier 153, a key handler value 154, a data handler value 155, data 156, and other attached information 157 as shown in FIG.
  • the key length used for encryption / decryption is stored.
  • the stored value may be a numerical value such as bit length or byte length.
  • an identifier corresponding to a predetermined key length may be used.
  • an encryption key generated by encrypting a key used for encryption / decryption is stored.
  • the field of the key 152 may store position information indicating the position where the encryption key exists. However, the key corresponding to the root is not stored in the field of the key 152 of the node information structure. Also, the encryption key stored in the field of the key 152 is encrypted using the intermediate node or root key (the key of the parent node of each node) determined by the node number specified by the parent node identifier 153. It is a thing.
  • parent node identifier 153 field an identifier for specifying the parent node of the node corresponding to the node information structure 150 is stored.
  • position information indicating the position of the parent node may be stored.
  • a predetermined identifier or a dynamically generated identifier may be stored. These identifiers specify the parent node.
  • position information indicating the position where the encryption key assigned to the node exists is stored. If there is no encryption key, NULL is stored.
  • encrypted data is stored when the node information structure 150 is used to store the data.
  • the other attached information 157 is a field for storing other information necessary for each node.
  • the key I of the node information structure of the leaf 239 stores an encrypted key I corresponding to the leaf 142 of the key database B 121 described later, and the parent node of the node information structure of the leaf 239 In the identifier, an identifier (node number) for identifying the leaf 138 is stored.
  • the leaf 142 is a leaf that stores a key for encrypting the data B in the key database B121.
  • the key database A manages keys in a hierarchical structure in the first encryption / decryption system.
  • a key encrypted so that it can be decrypted using the key is assigned to the lower level of each key in the hierarchical structure.
  • the key database B121 is a database that manages keys using a tree structure that is an n-ary tree, and is used by the application program B118. An example of the tree structure used by the key database B121 is shown in FIG.
  • the tree structure of the key database B121 is composed of four layers as shown in FIG. 3, and includes one root 139, two intermediate nodes 140 and 141, four leaves 142 to 145, and one. Of leaves 247. Two intermediate nodes 140 and 141 are connected immediately below the route 139, two leaves 142 and 143 are connected immediately below the intermediate node 140, and two leaves are directly below the intermediate node 141. 144 and 145 are connected. In addition, a leaf 247 is connected immediately below the leaf 142.
  • the root key 128 for the key database B is assigned to the root 139. As described above, the root key 128 is stored not in the key database B 121 but in the nonvolatile memory unit 123 of the encryption / decryption processing unit 114.
  • Intermediate nodes 140 and 141 are assigned keys G and H, respectively, and leaves 142, 143, 144, 145 and 247 are assigned keys I, J, K, L and F, respectively. It has been.
  • the intermediate node 140 stores the key G encrypted using the root key 128, and the intermediate node 141 stores the key H encrypted using the root key 128.
  • the leaf 142 stores the key I encrypted using the key G of the intermediate node 140, and the leaf 143 stores the key J encrypted using the key G of the intermediate node 140, and the leaf 144
  • the key K encrypted using the key H of the intermediate node 141 is stored in the leaf 145, and the key L encrypted using the key H of the intermediate node 141 is stored in the leaf 145.
  • the key I, the key J, the key K, and the key L are keys used to encrypt or decrypt data, respectively.
  • the key F of the leaf 138 of the key database A120 is encrypted and stored.
  • the encrypted key F stored in the leaf 247 is encrypted using the key I of the leaf 142.
  • the encrypted data B (148) is generated by encrypting data B using the key I assigned to the leaf 142.
  • the encrypted data B (147) shown in FIG. 3 and the encrypted data B (148) are the same as the data B that is the basis of the encryption. That is, application program A 117 and application program B 118 share data B.
  • the key database B121 stores a plurality of node information structures in the first storage unit 112, and a tree structure is configured by the plurality of node information structures.
  • the plurality of node information structures correspond to the root of the key database B121, the plurality of intermediate nodes, and the plurality of leaves, respectively, and are used for managing keys in the key database B121.
  • FIG. 5 shows an example of the data structure of the node information structure 160 of the key database B121.
  • the node information structure 160 includes an encryption type 161, a key length 162, link destination information 163 for storing keys and data, a parent node identifier 164, a key handler value 165, a data handler value, and others. Attached information 167.
  • 5 includes an encryption type 161 and link destination information 163 instead of the key 152 and the data 156 included in the node information structure 150 shown in FIG. Description of other components is omitted here.
  • the field of the encryption type 161 stores the name of an encryption algorithm of a public key encryption method such as RSA encryption or elliptic encryption, a common key encryption method such as AES encryption or 3DES encryption, and an identifier corresponding to the encryption algorithm described above.
  • a public key encryption method such as RSA encryption or elliptic encryption
  • a common key encryption method such as AES encryption or 3DES encryption
  • an identifier corresponding to the encryption algorithm described above the public key method
  • this field stores the secret key encrypted with the public key assigned to the parent node and the public key.
  • the key F assigned to the leaf 138 of the key database A120 is encrypted and stored at the position indicated by the link destination information of the node information structure of the leaf 247, and the node information structure of the leaf 247 is stored.
  • an identifier (node number) for identifying the leaf 142 is stored.
  • the leaf 138 is a leaf that stores a key for encrypting the data B in the key database A120.
  • the key database B manages keys in a hierarchical structure in the second encryption / decryption system.
  • a key encrypted so that it can be decrypted using the key is assigned to the lower level of each key in the hierarchical structure.
  • the encrypted data storage unit 122 stores the encrypted data.
  • the encrypted data storage unit 122 includes a sub-encrypted data storage unit 122a and a sub-encrypted data storage unit 122b.
  • the sub-encrypted data storage unit 122a stores data A (146) encrypted using the key D of the leaf 136 and data B (147) encrypted using the key F of the leaf 138. ing.
  • the sub-encrypted data storage unit 122b stores data B (148) encrypted using the key I of the leaf 142.
  • the encrypted data B (147) shown in FIG. 3 and the encrypted data B (148) are the same as the data B that is the basis of the encryption. That is, application program A 117 and application program B 118 share data B.
  • the application program A 117 is software that uses the encrypted data stored in the encrypted data storage unit 122 using the key managed by the key database A 120.
  • the application program A117 includes computer instructions for requesting data processing for the first encryption / decryption system. For example, new registration (encrypted and stored), reference (decrypted and referenced), update (decrypted and updated, encrypted and stored again), deletion, and the like of the first encryption / decryption system. It also includes an instruction for outputting the data to be encrypted.
  • the application program B118 is software that uses the encrypted data stored in the encrypted data storage unit 122 using the key managed by the key database B121.
  • the application program B118 includes computer instructions for requesting data processing for the second encryption / decryption system. For example, new registration of data (encrypted and stored), reference (decrypted and stored), update (decrypted and updated, encrypted and stored again), deletion, and the like. It also includes an instruction for outputting the data to be encrypted.
  • the data access unit 119 is software for accessing the encrypted data storage unit 122 and reading, updating, or writing the encrypted data.
  • the key management software 116 includes a usage database determination unit 201, a plaintext data extraction unit 202, a hash value generation unit 203, a hash value determination unit 204, a handler value determination unit 205, a key acquisition unit 206, and a management table.
  • the storage unit 207, the management table update unit 208, and the key writing unit 209 are configured.
  • the hash value generation unit 203, the hash value determination unit 204, and the management table storage unit 207 determine whether the data to be encrypted in one encryption / decryption system is encrypted and stored in another encryption / decryption system. The judgment part which judges whether is comprised.
  • the key acquisition unit 206 acquires a key of encrypted data stored in another encryption / decryption system when the determination unit determines that the data is stored.
  • the key writing unit 209 writes the acquired key in the key database A120 (or key database B121) in association with the target data.
  • the management table storage unit 207 holds the management table 220 shown in FIG.
  • the management table 220 indicates how each of a plurality of encrypted data existing in the encrypted data storage unit 122 is managed using the keys of the key database A120 and the key database B121.
  • the management table 220 includes a hash value generated from data managed with encrypted data as an entry.
  • the management table 220 includes a plurality of management information as shown in FIG. Each of the plurality of management information corresponds to a plurality of encrypted data stored in the encrypted data storage unit 122. Each piece of management information includes a hash value, a first data handler value, a second data handler value, a first key handler value, and a second key handler value.
  • the hash value is a hash value generated from plain text data that is the basis of the corresponding encrypted data.
  • the first data handler value is plaintext data that is the basis of generation of the hash value of the management information, and is the data handler value of plaintext data that is the basis of the encrypted data assigned to the leaf of the key database A. is there.
  • the data handler value of plaintext data is position information indicating the position where the plaintext data exists. This first data handler value corresponds to the data handler value 155 of the node information structure 150 of FIG. When plaintext data is not managed by the key database A120, the first data handler value is a NULL value.
  • the second data handler value is plaintext data that is the basis of generation of the hash value of the management information, and is the data handler value of plaintext data that is the basis of the encrypted data assigned to the leaf of the key database B. is there.
  • the data handler value of plaintext data is position information indicating the position where the plaintext data exists. This second data handler value corresponds to the data handler value 166 of the node information structure 160 of FIG. When the plaintext data is not managed by the key database B121, the second data handler value is a NULL value.
  • the first key handler value is a handler value of a key for encrypting plaintext data that is a basis for generating a hash value of the management information.
  • the encryption key generated by encrypting the key used for encrypting the encrypted data is stored in the key database A120. It is position data indicating where it exists.
  • the first key handler value is a NULL value. This first key handler value corresponds to the key handler value 154 of the node information structure of FIG.
  • the second key handler value is a handler value of a key for encrypting plaintext data that is a basis for generating a hash value of the management information.
  • the encryption key generated by encrypting the key used to encrypt the encrypted data is stored in the key database B121. It is position data indicating where it exists.
  • the second key handler value is a NULL value. This second key handler value corresponds to the key handler value 165 of the node information structure 160 of FIG.
  • the usage database determination unit 201 receives a node information structure from the request source application program, and the request source application program uses either the key database A120 or the key database B121 using the received node information structure. Judge whether to do. If the received node information structure is the node information structure 150 shown in FIG. 4, it is determined to use the key database A120. When the received node information structure is the node information structure 160 shown in FIG. 5, it is determined that the key database B121 is used. Next, the database determination result is output to the handler value determination unit 205.
  • the plaintext data extraction unit 202 acquires a node information structure from the request source application program, extracts a data handler value from the acquired node information structure, and if the extracted data handler value is not NULL, the extracted data
  • the plaintext data is acquired from the position indicated by the handler value, and the acquired plaintext data is output to the hash value generation unit 203.
  • the plaintext data extraction unit 202 is a data acquisition unit that acquires data to be encrypted in one encryption / decryption system.
  • the hash value generation unit 203 receives the plaintext data from the plaintext data extraction unit 202, and generates a unique hash value (summary value) from the received plaintext data. For example, a unique hash value is generated using a one-way function (such as the SHA1 algorithm), and the generated hash value is output to the hash value determination unit 204.
  • a unique hash value is generated using a one-way function (such as the SHA1 algorithm), and the generated hash value is output to the hash value determination unit 204.
  • the hash value determination unit 204 receives the hash value from the hash value generation unit 203, refers to the hash value stored in the management table 220 managed by the management table storage unit 207, and stores the hash value generation unit in the management table 220. It is determined whether there is a hash value that matches the hash value generated in step 203. The determination result is output to the handler value determination unit 205. If there is a matching hash value, management information including the hash value is read from the management table 220, and the read management information is output to the handler value determination unit 205.
  • Handler value determination unit 205 receives a database determination result from usage database determination unit 201. Also, the determination result is received from the hash value determination unit 204. When there is a matching hash value, management information including the hash value is received. When the received determination result indicates that there is a matching hash value, it is determined whether the first key handler value or the second key handler value included in the management information included in the received management information is NULL.
  • the determination result of the database received from the usage database determination unit 201 is used as to which of the first key handler value and the second key handler value is determined. That is, when the database determination result indicates the use of the key database A, the first key handler value that is the key handler value of the leaf of the key database A is determined. On the other hand, when the database determination result indicates the use of the key database B, the second key handler value that is the key handler value of the leaf of the key database B is determined. Next, the determination result is output to the key acquisition unit 206. If the determination result indicates that it is not NULL, and if the determination result of the database indicates that the key database A is used, the first key handler value is output to the key acquisition unit 206. If the database determination result indicates that the key database B is used, the second key handler value is output to the key acquisition unit 206.
  • the key acquisition unit 206 receives the determination result from the handler value determination unit 205. If the received determination result indicates that it is not NULL, the key handler value is further received. Next, the encryption key is acquired from the position indicated by the detoured key handler value, and the acquired encryption key is output to the encryption / decryption engine unit 124 of the encryption / decryption processing unit 114.
  • the key writing unit 209 updates the node information structure of the key database A120 or the key database B121. Also, a new node information structure is generated, and the generated node information structure is added and written to the key database A120 or the key database B121. In addition, the key writing unit 209 assigns and writes the encryption key in the lower order of the key.
  • the management table update unit 208 updates the management table managed by the management table storage unit 207.
  • the key management software 116 is requested to load the key A shown in FIG. 3 from the application program A117 (S400).
  • the key management software 116 acquires the encryption key A stored in the node corresponding to the designated key A from the key database A120, and outputs the acquired encryption key A to the encryption / decryption processing unit 114. (S401).
  • the encryption / decryption processing unit 114 receives the encryption key A from the key management software 116, and the encryption / decryption engine unit 124 uses the encryption key A using the root key 127 stored in the nonvolatile memory unit 123.
  • the key A thus obtained is stored in the key database A key storage unit 126 (S402).
  • the key management software 116 receives a notification indicating the end of loading of the key A from the encryption / decryption processing unit 114 (S403).
  • step S401 the key management software 116 acquires the encryption key C from the key database A120, and in step S402, the encryption / decryption processing unit 114 stores it in the key database A key storage unit 126.
  • the encryption key C may be decrypted using the key A. The same applies to the load processing of the key D.
  • step S401 the key management software 116 acquires the encryption key F from the key database A120.
  • step S402 the encryption / decryption processing unit 114 is stored in the key database A key storage unit 126. The encryption key F is decrypted using the key B.
  • step S401 the key management software 116 acquires the encryption key I from the key database A120.
  • step S402 the encryption / decryption processing unit 114 is stored in the key storage unit 126 for the key database A. The encryption key I is decrypted using the key F.
  • the operation may be performed in the same manner as described above.
  • the key management software 116 is requested to decrypt the encrypted data B (147) from the application program A117 (S410).
  • the key management software 116 receives the encrypted data B (147) from the application program A 117, outputs the encrypted data B (147) to the encryption / decryption processing unit 114, and decrypts it using the key F.
  • the encryption / decryption processing unit 114 is requested to perform (S411).
  • the encryption / decryption processing unit 114 receives the encrypted data B (147), and the encryption / decryption engine unit 124 sends the received encrypted data B (147) to the key database A key storage unit 126.
  • the data F is decrypted using the key F stored in, and data B is output (S412).
  • the key management software 116 receives the data B from the encryption / decryption processing unit 114, outputs the data B to the application program A117, and notifies the application program A117 of the completion of the decryption (S413).
  • step 412 the encryption / decryption engine unit 124 may encrypt the data using the key stored in the key storage unit.
  • the information processing apparatus 10 When the application program A 117 updates the data B shared with the application program B 118, the information processing apparatus 10 operates as follows.
  • the application program A 117 uses the key management software 116 and the key database A 120 to sequentially use the encryption keys stored in the respective nodes from the root of the key database A 120 to the leaf 138 corresponding to the data B. Decryption is performed (S201).
  • the application program A 117 requests the key management software 116 to encrypt the updated data B with the key F acquired in step S201, and the key management software 116 updates the management table 220 ( S202). Note that the details of this step will be described later with reference to FIGS.
  • the key management software 116 uses the management table 220 to determine whether the data to be encrypted (data B before update) is data shared by the key database A120 and the key database B121. Is determined (S203). Whether or not the data is shared is determined as follows. That is, the key management software 116 causes the hash value generation unit 203 to generate the hash value of the data B before being updated, and management information including the same hash value as the hash value generated by the hash value determination unit 204 is stored in the management table 220. It is determined whether or not it exists, and when it exists, the determination by the handler value determination unit 205 is as follows.
  • the handler value determination unit 205 selects the key handler value of the encryption / decryption system on the other side different from the specified encryption / decryption system among the first key handler value and the second key handler value included in the management information. However, if it is not NULL, the first encryption / decryption system and the second encryption / decryption system determine that they are shared. In this case, control is transferred to step S204.
  • the handler value determination unit 205 selects the key of the encryption / decryption system on the other side different from the specified encryption / decryption system among the first key handler value and the second key handler value included in the management information.
  • the handler value is NULL, it is determined that the first encryption / decryption system and the second encryption / decryption system do not share the handler value. In this case, control is transferred to step S206.
  • the key management software 116 acquires a key used in the data B synchronization process. That is, the partner's key is acquired (S204). The detailed contents of this step will be described later with reference to FIG.
  • the key management software 116 synchronizes and updates the data shared by the other party (S205). The detailed contents of this step will be described later with reference to FIG.
  • the key management software 116 encrypts its own updated data B, and overwrites and writes the encrypted update data B into the sub-encrypted data storage unit 122a (step S206). Next, the process ends.
  • the application program A 117 is described as updating the shared data.
  • the application program B 118 can also update the shared data in the same manner.
  • the determination result in step S203 and the subsequent processing are organized as follows.
  • the first key handler value is the key handler value of the designated encryption / decryption system
  • the second key handler value is the key handler value of the other encryption / decryption system.
  • step S203 When it is determined in step S203 that both the first key handler value and the second key handler value are not NULL. In this case, both the first encryption / decryption system and the second encryption / decryption system Have the data of interest.
  • the key of the encrypted data in the second encryption / decryption system is acquired, the acquired key is encrypted by the first encryption / decryption system, and the encryption key is stored by the first encryption / decryption system.
  • the update data is encrypted to generate encrypted update data, and the encrypted data is overwritten with the generated encrypted update data.
  • the update data is encrypted to generate encrypted update data, and the encrypted data is overwritten with the generated encrypted update data.
  • step S203 When it is determined in step S203 that the first key handler value is NULL and the second key handler value is not NULL In this case, the first encryption / decryption system has the target data In addition, the second encryption / decryption system has target data.
  • the key of the encrypted data in the second encryption / decryption system is acquired, the acquired key is encrypted by the first encryption / decryption system, and the encryption key is stored by the first encryption / decryption system.
  • the update data is encrypted to generate encrypted update data, and the encrypted data is overwritten with the generated encrypted update data.
  • the update data is encrypted to generate encrypted update data, and the generated encrypted update data is written.
  • step S203 When it is determined in step S203 that the first key handler value is not NULL and the second key handler value is NULL. In this case, the first encryption / decryption system has target data. The second encryption / decryption system does not have the target data.
  • the update data is encrypted to generate encrypted update data, and the encrypted data is overwritten with the generated encrypted update data.
  • step S203 When it is determined in step S203 that the first key handler value is NULL and the second key handler value is also NULL. In this case, the first encryption / decryption system has target data. In addition, the second encryption / decryption system does not have the target data.
  • the update data is encrypted to generate encrypted update data, and the generated encrypted update data is written.
  • the use database determination unit 201 uses the command input from the application program (application program A117 or application program B118) to determine whether the input data (node information structure) is for the key database A or the key database. It is determined whether it is for B (S211).
  • an application program uses a key or data managed by the key database A120, it uses a command for the key database A120 and the node information structure 150, and uses a key or data managed by the key database B121. For this, a command for the key database B121 and the node information structure 160 are used. Therefore, the usage database determination unit 201 refers to the command input from the application program and determines whether the input data, that is, the node information structure is the node information structure 150 or the node information structure 160. By determining, it is possible to determine whether it is for the key database A120 or the key database B121.
  • the plaintext data extraction unit 202 extracts plaintext data and a data handler value from the node information structure 150 (S212). If the key database B121 is used, the plaintext data extraction unit 202 extracts the data handler value from the node information structure 160 and extracts the plaintext data from the position determined by the link destination information of the node information structure 160 (S213). ).
  • the hash value generation unit 203 generates a hash value from the extracted plaintext data (S214).
  • the hash value determination unit 204 determines whether there is a hash value of plaintext data included in the management information stored in the management table 220 that matches the hash value generated in step S214. to decide. Specifically:
  • the hash value determination unit 204 substitutes an initial value 0 for a variable N indicating the entry number of the management information in the management table 220 (S215).
  • the entry number of the management table 220 is identification information that uniquely identifies the management information included in the management table 220.
  • the hash value determination unit 204 checks whether or not the hash value in the Nth management information matches the hash value generated in step S214 (S216). If they do not match (NO in S216), if N is not the entry number of the management information at the end of the management table 220 (NO in S218), 1 is added to N (S220), and the process returns to step S216.
  • the handler value determination unit 205 refers to the management information in the management table 220 in which the value matching the hash value generated in step S214 is stored, and the first and second data handlers in the management information Refers to the value. If the data handler value for the other key database, which is different from the key database specified by the application program among the first and second data handler values, is NULL (empty), the other key database has another Indicates that the data requested for encryption from the application program is not shared.
  • the data handler value for the other key database different from the key database specified by the application program is not NULL (empty)
  • the data requested for encryption by another application program is shared. Indicates that Therefore, if one of the data handler values is NULL (empty), control is passed to step S219 (YES in S217). If one of the data handler value fields is not NULL (empty), control is passed to step S221 (NO in S217).
  • the management table update unit 208 adds new management information to the management table 220, and the hash value and node generated in step S214 are added to each field of the management information.
  • the data handler value of the information structure is stored (S219). Next, the process ends.
  • the management table update unit 208 stores the data handler value extracted from the node information structure received from the application program in the data handler value field corresponding to the specified key database in the management information of the management table 220. (S221). For example, when the application program A 117 requests encryption processing using the key database A 120, the data handler value extracted from the node information structure received from the application program A 117 is stored in the management information of the management table 220. Stored in the data handler value field corresponding to the key database A.
  • the key acquisition unit 206 transfers the key indicated by the node information structure received from the application program and designated to encrypt the data corresponding to the data handler value to a different key database key storage unit. (S222). For example, when instructed by the application program A 117, the designated key is transferred to the key database B key storage unit 125. When instructed by the application program B 118, the designated key is transferred to the key database A key storage unit 126.
  • the key acquisition unit 206 checks whether the key indicated by the key handler corresponding to the parent node of the data B is loaded in the key storage unit for the key database different from the designated key database ( S223). For example, when instructed by the application program A 117, it is confirmed whether or not the key indicated by the key handler corresponding to the parent node of the data B is loaded in the key database B key storage unit 125. Further, when instructed by the application program B 118, it is confirmed whether or not the key indicated by the key handler corresponding to the parent node of the data B is loaded in the key database A key storage unit 126.
  • step S225 If the corresponding key has been loaded (YES in S223), it is not necessary to load it again, and control is transferred to step S225. If the corresponding key is not loaded (NO in S223), the key acquisition unit 206 acquires the encryption key from the root of the different key database to the parent node of the data B, and decrypts the encryption key. To obtain a key for encrypting the data B (S224).
  • the key acquisition unit 206 transfers the key acquired for encrypting the data B by using the key designated to encrypt the data corresponding to the data handler value, that is, in step S222. Encrypt using the key to generate an encryption key.
  • the designated key database is the key database A
  • the generated encryption key is stored in the key field of the node information structure 150 of the data B, thereby updating the key database A.
  • the specified key database is the key database B
  • the generated encryption key is stored in the link destination information field of the node information structure 160 of the data B and information indicating the position where the encryption key is stored Is stored to update the key database B (S225).
  • the process ends.
  • the data B and the key of the key handler corresponding to the node of the data B are managed by the same node (leaf).
  • the hash value generation unit 203 generates a hash value from the extracted plaintext data (S231).
  • the hash value determination unit 204 determines whether there is a match between the hash value in the management information stored in the management table 220 and the hash value generated in step S231. Specifically, this is performed as follows.
  • the hash value determination unit 204 substitutes an initial value 0 into a variable N indicating the entry number of the management information in the management table 220 (S232). Next, it is confirmed whether or not the hash value of the Nth management information matches the hash value generated in step S231 (S233). If they do not match (NO in S233), if N is not the entry number of the management information at the end of the management table 220 (NO in S238), 1 is added to N (S239), and the process returns to step S233.
  • N is the entry number of the management information at the end of the management table 220 (YES in S238), the process is terminated.
  • the handler value determination unit 205 refers to the management information in the management table 220 in which the value that matches the hash value generated in step S231 is stored, and the first data in the management information Refer to the handler value and the second data handler value. That is, the leaf data handler value of the key database A and the leaf data handler value of the key database B are referred to. If the first and second data handler values are not NULL (empty), it indicates that the other key database also shares the data requested for encryption from the application program. Further, if at least one of the first and second data handler values is NULL (empty), it indicates that the other key database does not share data requested to be encrypted by the application program. Therefore, if at least one of the first and second data handler values is NULL (empty) (NO in S234), the process ends.
  • the handler value determination unit 205 stores the specified key management database from the management information in the management table 220. The corresponding key handler value is acquired (S235).
  • the key acquisition unit 206 acquires the encrypted key corresponding to the key handler value acquired in step S235, decrypts the encrypted key using the encryption / decryption processing unit 114, and encrypts / decrypts the acquired key.
  • the key is loaded into the key database A key storage unit 126 of the processing unit 114 (S236). Further, since the key used in the decryption process in step S236 is the same as the key used in the encryption of the shared data, it is loaded into the encryption / decryption processing unit 114 at the time of performing step S236.
  • the data access unit 119 transfers the key acquired in the key acquisition operation shown in FIG. 13 to a different key database key storage unit (S241).
  • the data access unit 119 generates a node information structure for a different key database, stores a value in each field of the generated node information structure, and stores the corrected data in a different key database (S242). ).
  • the encryption / decryption engine unit 124 encrypts the update data using the key transferred in step S241 according to an instruction from the data access unit 119 (S243).
  • the management information corresponding to the management table 220 is extracted by referring to the hash value of the shared data, and the shared data is referred to by referring to the value stored in the data handler value of the different key database in the extracted management information. Identify the node.
  • the link is updated by overwriting the encrypted data of the shared data node managed by the different key database with the encrypted update data (S244).
  • the process ends.
  • the hash value of the shared data may use the value already generated in step S212 or S213, or may be generated anew.
  • the location information is pointed to the location where the new node information structure is stored. It may be changed to.
  • the information processing apparatus 10 can directly decrypt the key stored on the key database B side from the encryption / decryption system including the key database A. As a result, the trouble of acquiring the key by following the tree structure of the key database B can be saved, and the updated data can be synchronized at high speed.
  • the information processing apparatus can directly decrypt the key stored on the key database A side from the encryption / decryption system including the key database B.
  • the trouble of acquiring the key by following the tree structure of the key database A can be saved, and the updated data can be synchronized at high speed.
  • the information processing apparatus identifies the shared data node and updates the node. Therefore, it is possible to prevent the data of different nodes from being destroyed by mistake when updating the shared data. Further, since the shared data is overwritten at the specified position, the old shared data can be surely discarded.
  • Embodiment 2 The encryption / decryption processing unit 260 included in the information processing apparatus 10 according to another embodiment of the present invention will be described.
  • the information processing apparatus 10 according to the second embodiment includes an encryption / decryption processing unit 260 illustrated in FIG. 15 instead of the encryption / decryption processing unit 114 included in the information processing apparatus 10 according to the first embodiment.
  • the encryption / decryption processing unit 260 has a configuration similar to the encryption / decryption processing unit 114 of the first embodiment. Here, the description will focus on differences from the encryption / decryption processing unit 114.
  • the encryption / decryption processing unit 260 is added to the nonvolatile memory unit 123, the encryption / decryption engine unit 124, the key database B key storage unit 125, and the key database A key storage unit 126 included in the encryption / decryption processing unit 114 of the first embodiment.
  • a synchronization dedicated key storage unit 265 is provided.
  • the key is a synchronization dedicated key storage unit. Transfer to H.265 for use.
  • the key acquisition unit 206 transfers the key indicated by the node information structure received from the application program and designated to encrypt the data corresponding to the data handler value to the synchronization dedicated key storage unit 265 ( S222).
  • the data access unit 119 transfers the key acquired in the key acquisition operation shown in FIG. 13 to the synchronization dedicated key storage unit 265 (S241).
  • the synchronization dedicated key storage unit 265 it is not necessary to use the key database A key storage unit 126 and the key database B key storage unit 125 of the first embodiment in the data synchronization process. Therefore, it is not necessary to destroy the keys stored in the key database A key storage unit 126 and the key database B key storage unit 125 during the data synchronization process.
  • Embodiment 3 The encryption / decryption processing unit 270 provided in the information processing apparatus 10 as another embodiment according to the present invention will be described.
  • the information processing apparatus 10 according to the third embodiment includes an encryption / decryption processing unit 270 illustrated in FIG. 16 instead of the encryption / decryption processing unit 114 included in the information processing apparatus 10 according to the first embodiment.
  • the encryption / decryption processing unit 270 has a configuration similar to the encryption / decryption processing unit 114 of the first embodiment. Here, the description will focus on differences from the encryption / decryption processing unit 114.
  • the encryption / decryption processing unit 270 includes a shared key storage unit 273 in addition to the nonvolatile memory unit 123 and the encryption / decryption engine unit 124 included in the encryption / decryption processing unit 114 of the first embodiment.
  • the encryption / decryption processing unit 270 does not include the key database A key storage unit 126 and the key database B key storage unit 125.
  • the shared key storage unit 273 corresponds to the key database A key storage unit 126 and the key database B key storage unit 125.
  • the shared key storage unit 273 stores a key table 274 as shown in FIG.
  • the key table 274 includes a plurality of pieces of key information as shown in FIG. Each key information is composed of a type and a key.
  • the type indicates a key database to be used. That is, it indicates whether it is for the key database A or the key database B.
  • the key described above is stored in the key field.
  • steps S222 and S241 of the first embodiment instead of transferring the key, the type of database to be used is changed in the key table 274.
  • FIGS. 17 and 18 An example of database type change will be described with reference to FIGS. 17 and 18.
  • the shared data is encrypted with “0xAA 0xBB... 0x11” that is the key of the key database B.
  • the key “0xAA 0xBB... 0x11” of the key database B managed by the key database A is loaded into the shared key storage unit 273.
  • the database type is “database A” 275 in the key table 274 of FIG.
  • the key management software 116 instructs the encryption / decryption processing unit 270 to change the loaded key “0xAA 0xBB... 0x11” for the key database B.
  • the encryption / decryption processing unit 270 changes the loaded key “0xAA 0xBB... 0x11” for the key database B in the key table 274 of the shared key storage unit 273 (FIG. 18).
  • the database type is “for database B” 276.
  • the key management software 116 updates (synchronizes) the shared data using the method described in the first embodiment.
  • the key management software 116 instructs the encryption / decryption processing unit 270 to change the loaded key “0xAA 0xBB... 0x11” for the key database A.
  • the encryption / decryption processing unit 270 changes the loaded key “0xAA 0xBB... 0x11” for the key database A in the key table 274 of the shared key storage unit 273 (FIG. 17).
  • the database type is “for database A” 275.
  • the encryption / decryption processing unit 270 may discard the used key.
  • the key database A120 and the key database B121 are stored in the first storage unit 112, which is a semiconductor memory, but the second storage unit 113 configured by a hard disk unit. It may be stored in.
  • the encryption / decryption processing unit 114 is realized by a hardware device, but may be realized by software. Furthermore, the software that implements the encryption / decryption processing unit 114 may be executed in a secure software execution environment.
  • the key to be discarded from each key storage unit is encrypted with the root key, and temporarily stored in the encryption / decryption processing unit. It may be stored in a non-volatile memory and loaded again into the volatile memory inside the encryption / decryption processing unit after the synchronization process is completed. During the synchronization process, information such as the location inside each key storage unit is not changed by not accepting a new processing request to the encryption / decryption processing unit.
  • the encryption / decryption processing unit includes a control unit, a first key storage unit that holds the first key for the first encryption / decryption system, and the second key for the second encryption / decryption system.
  • the control unit determines whether or not a free area of the first key storage unit is insufficient when the first key is acquired and held in the first key storage unit, and the first key storage unit
  • the first key storage unit encrypts one key already held by the encryption / decryption engine unit and saves it outside the first key storage unit, In the first key storage unit, the acquired first key is overwritten in the area where the key to be saved is held, and the encryption using the first key in the first encryption / decryption system is completed. Thereafter, the saved encryption key is decrypted by the encryption / decryption engine unit and overwritten in the area where the first key is held.
  • each key storage unit may be managed in block units of a fixed length size, and the key may be stored using a plurality of blocks according to the key length.
  • each key storage unit may be managed using a block management table for block management.
  • FIG. 19 shows an example in which each key storage unit is managed in units of fixed-length size blocks.
  • the key storage unit 330 shown in FIG. 19 is composed of 10 blocks of a fixed length size, and keys are managed in units of blocks.
  • FIG. 20 shows an example of a block management table when the key storage unit is managed in units of fixed-length blocks.
  • a block management table 331 shown in FIG. 20 indicates which block of the key storage unit 330 is used for storing a key of which key database.
  • the block management table 331 includes a plurality of sets of key database types and block numbers to be used, and constitutes a correspondence table between the database types and block numbers to be used.
  • a concatenation formed by concatenating two pieces of data stored in the block # 1 and the block # 2 of the key storage unit 330 is one key for the key database A.
  • a concatenation formed by concatenating two pieces of data stored in block # 4 is one key for key database A, and is stored in block # 5, block # 6, block # 7 and block # 8.
  • a concatenation formed by concatenating four data is one key for the key database B, and the data stored in the block # 9 is one key for the key database B, and is stored in the block # 10. Indicates that the data is one key for the key database B.
  • the area holding the key can be efficiently managed in block units.
  • the information processing apparatus holds the key decrypted in the first encryption / decryption system in association with the first type information indicating that the key is for the first encryption / decryption system
  • a key storage unit (shown in FIG. 19) that holds a key decrypted in the encryption / decryption system in association with second type information indicating that the key is for the second encryption / decryption system.
  • the encryption / decryption processing unit performs decryption using a key associated with the first type information in the first encryption / decryption system, and corresponds to the second type information in the second encryption / decryption system. Encryption is performed using the attached key.
  • the information processing apparatus further uses the first type information for the second encryption / decryption system for the key held in the key storage unit in association with the first type information as a result of the decryption in the first encryption / decryption system. And a control unit that causes the second encryption / decryption system to perform encryption of the update data using the key.
  • the key storage unit is composed of a plurality of blocks having a predetermined capacity, and stores block information indicating in which block each held key is stored in association with each held key. ing.
  • each piece of management information in the management table may be encrypted and held with a leaf key corresponding to the management information.
  • the management table is divided for each management information, and each management information is managed by a leaf.
  • FIG. 21 shows an example when the management table is divided by management information and managed by leaves.
  • Application program A280, application program B281, key database A283, and key database B284 are the same as application program A117, application program B118, key database A120, and key database B121 of the first embodiment.
  • the key management software 282 uses the key database A 283 and the key database B 284 for management using the method described later.
  • Each management information in the management table is encrypted with a key of a node to which a key for encrypting data corresponding to the management information is assigned.
  • the shared data B corresponds to the data B using the key of the node 287 (leaf-4) to which the key for encrypting the data B is assigned in the key database A283.
  • the management information is encrypted and stored (289).
  • the management information corresponding to the data B is encrypted with the key of the node 293 (leaf-5) to which the key for encrypting the data B is assigned in the key database B284. And stored (295).
  • FIG. 22 shows an example of management information 300 in the management table corresponding to data B in FIG.
  • the elements constituting the management information 300 are the same as the elements constituting the management information of the management table 220 shown in FIG.
  • the leaf key for encrypting shared data is always searched when the shared data is updated.
  • the position of the shared data encrypted with the leaf key managed in another key database is recorded. Therefore, by associating such a leaf key with this management table, it is possible to simplify the search for the position of the shared data to be updated during the synchronization process.
  • the management table includes a summary value of encrypted data and each handler value (position information) in association with each other.
  • the determination unit calculates the summary value from the encrypted data stored in the encrypted data storage unit, and whether or not each handler value (position information) corresponding to the obtained summary value is stored in the management table. Judging.
  • each piece of management information in the management table may be encrypted and stored using a root key stored in the encryption / decryption processing unit.
  • the key management software updates the management table.
  • the key management software updates the management table at other timings. May be.
  • FIG. 23 is a flowchart showing a management table update process by the key management software when the application program (application program A or application program B) decrypts data.
  • Application program (here, as an example, application program A) requests key management software to decrypt data B (S500).
  • the key management software acquires plain text data from the node information structure storing the data B requested to be decrypted (S501).
  • the key management software stores the acquired plaintext data in a node information structure for a key database that is different from the key database designated for use from the application program (S502).
  • the key management software sends to the encryption / decryption engine unit the keys of all the leaves of the key database different from the key database designated to use the node information structure storing the plaintext data in step S502 from the application program.
  • the encryption / decryption engine unit encrypts the node information structure storing the plaintext data (S503).
  • the key management software matches the data managed by encrypting the node information structure encrypted in step S503 with a key database different from the key database designated for use by the application program. Is determined (S504). If they match (YES in S504), it is determined that the data is shared data, the management table is updated (S505), and the update of the management table is terminated.
  • step S504 If it is determined in step S504 that they do not match (NO in S503), the update of the management table is terminated.
  • step S504 comparison may be performed using the hash value of the encrypted data. Further, the hash value of the encrypted data may be stored in the hash value field of the plain text data of the management table.
  • FIG. 24 shows an example of the management table 320 when the hash value of the encrypted data is used when specifying the shared data.
  • the difference between the management table 320 in FIG. 24 and the management table 220 in FIG. 6 is that the object for generating the hash value is encrypted data in the management table 320, but plain text data in the management table 220. is there.
  • the other management table fields are the same.
  • FIG. 25 shows a flowchart for identifying shared data and acquiring a key of data to be synchronized, using the management table 320 shown in FIG.
  • the difference between the flowchart shown in FIG. 25 and the key acquisition flowchart (FIG. 13) described in the first embodiment is that, in the key acquisition of the first embodiment, a hash value is generated from plaintext data in step S231. On the other hand, in the flowchart of FIG. 25, a hash value is generated from the encrypted data in step S231a.
  • step S232 in FIG. 25 is the same as the process after step S232 in FIG.
  • the key management software and management table may be executed and managed in a secure software execution environment.
  • secure boot which is a technique for starting only valid software, may be used.
  • a safe software execution environment may be constructed by another method.
  • an elliptic curve cryptosystem or NTRU cryptosystem may be specified as the encryption type included in the node information structure. Furthermore, as the key length included in the node information structure, the key length may be specified by definition information defined in advance in addition to the key bit length specification.
  • the encryption / decryption engine unit may realize encryption / decryption using an elliptic curve cryptosystem or NTRU cryptosystem.
  • the key handler value field and the data handler value field are realized using different fields, but may be realized using the same field. .
  • the same number may be used to indicate the position where the corresponding key and data exist, and only one field for storing the number may be provided in the node information structure.
  • An example of this number is identification information for identifying a tree-structured node in the key database.
  • an area is secured in each key database, and a key handler value and a data handler value are stored in this area as a pair.
  • the stored position of this set is identified by the number.
  • a key handler value area is secured in each key database, and the key handler value is stored in this key handler value area.
  • the position where the key handler value is stored is identified by the number.
  • a data handler value area is secured, and the data handler value is stored in this data handler value area.
  • the position where this data handler value is stored is identified by the number.
  • the hash value is generated using the SHA-1 algorithm, but other methods may be used.
  • the SHA-2 SHA-224, SHA-256, SHA-384, SHA-512
  • MD5 Message Digest 5
  • each time the shared data managed by one encryption / decryption system is updated the information processing apparatus updates the shared data managed by the other encryption / decryption system.
  • the present invention is not limited to this, and when it is instructed to synchronize the shared data, the shared data managed by another encryption / decryption system may be updated.
  • the shared data can be updated only when the shared data is required on the other encryption / decryption system side, so that the number of times the update process is performed can be reduced.
  • FIG. 26 shows a flowchart of shared data update processing managed by another encryption / decryption system when an instruction to synchronize shared data is given.
  • the difference between the flowchart shown in FIG. 26 and the data synchronization flowchart (FIG. 9) described in the first embodiment is that, in the flowchart shown in FIG. 26, a determination step for determining whether or not there is a synchronization instruction in step S511. Is added.
  • step S511 If there is a synchronization instruction in step S511, the control is moved to step S201.
  • the processing after step S201 is the same as the processing after step S201 in FIG.
  • step S5 If there is no synchronization instruction in step S511, the control is transferred to step S206.
  • step S206 its own update data B is encrypted, and then the process is terminated.
  • the determination of the synchronization instruction in step S511 may be performed using the value of the flag managed by the key management software, the number of times data encryption / decryption to the key management software, the usage time of the key management software, and the like.
  • the data access unit 119 overwrites the encrypted data stored in the sub-encrypted data storage unit 122a with the update data encrypted in the first encryption / decryption system. Thereafter, when receiving the synchronization instruction, the data access unit 119 overwrites the encrypted data stored in the sub-encrypted data storage unit 122b with the update data encrypted in the second encryption / decryption system.
  • the shared data may be updated after decrypting the encrypted shared data.
  • the number of uses is encrypted and held in the first encryption / decryption system and the second encryption / decryption system.
  • the encrypted use count is decrypted to obtain the use count, and “1” is subtracted from the obtained use count.
  • the number of usages obtained by subtracting “1” is encrypted again.
  • the new encryption usage count is overwritten on the encryption usage count held in the second encryption / decryption system.
  • an instruction to update the encrypted shared data may be supplied from the outside. That is, the update data obtained by updating the shared data may be supplied from the outside.
  • the first encryption / decryption system encrypts the update data and holds the encrypted update data
  • the second encryption / decryption system also encrypts the update data and holds the encrypted update data.
  • FIG. 27 shows a software configuration of the information processing apparatus to which an instruction to update the encrypted shared data is supplied from the outside.
  • the application program A117, application program B118, key database A120, key database B121, and encrypted data storage unit 122 are the application program A117, application program B118, key database A120, key database B121, and encrypted data storage unit of the first embodiment. 122.
  • the key management software 116a includes a usage database determination unit 201, a plaintext data extraction unit 202, a hash value generation unit 203, a hash value determination unit 204, a handler value determination unit 205, a key
  • a data state change unit 324 is further included.
  • the data state changing unit 324 manages and changes the state of the data stored in the encrypted data storage unit 122.
  • the data state changing unit 324 of the key management software 116a decrypts the encrypted data B stored in the encrypted data storage unit 122 to obtain plaintext data, and changes specified by the application program A117 to plaintext data. Reflecting it, update data B is created (S521).
  • the data state changing unit 324 uses the key database A120 to decrypt the encrypted data B, obtain plaintext data, and subtract 1 from the plaintext data.
  • the subtracted data is referred to as update data B.
  • the processing after step S201 is the same as the processing after step S201 in FIG.
  • step S205 in FIG. 28 the key management software 116a updates the encrypted data B on the other side with the encrypted update data B.
  • the application program A uses the key database A
  • the application program B uses the key database B
  • the non-volatile memory unit 123 has a root key and a key for the key database A.
  • the root key for the database B is stored
  • the encryption / decryption processing unit includes a key storage unit for the key database A and a key storage unit for the key database B, but is not limited thereto.
  • the information processing apparatus stores n (n is a positive integer of 3 or more) application programs, holds n key databases, and each of the n application programs corresponds to n key databases.
  • the application program uses a corresponding key database
  • the non-volatile memory unit 123 stores n key database root keys
  • the encryption / decryption processing unit stores n key database key keys.
  • the encrypted data storage unit may include n sub-encrypted data storage units.
  • each of the information processing apparatuses has n encryption / decryption systems that encrypt and store data
  • the information processing apparatus includes any one of the n encryption / decryption systems.
  • An information processing apparatus is an information processing apparatus in which a first system and a second system operate, and the first system and the second system encrypt data.
  • the information processing apparatus is configured to manage shared data shared between the first system and the second system with a first encryption key that is a key for the first system.
  • a first data storage unit that stores encrypted encrypted shared data, and a second data storage unit that stores encrypted shared data obtained by encrypting the shared data with a second encryption key that is a key for the second system A first key storage unit that stores the second encryption key encrypted using the first encryption key as the first system key, and controls the first system and the second system Control unit When instructed to update the encrypted shared data stored in the first data storage unit, the control unit encrypts the updated shared data with the first encryption key and records it in the first data storage unit And controlling the first system to generate the second encryption key by decrypting the encrypted second encryption key using a first decryption key corresponding to the first encryption key, and Control the second system to update the encrypted shared data by encrypting the updated shared data with a second encryption key generated by one system and recording it in the second data storage unit It is.
  • the information processing apparatus of this aspect encrypts the updated shared data with the first encryption key, records the encrypted shared data in the first data storage unit, and stores the encrypted second encryption key in the first
  • the first system is controlled to generate the second encryption key by decrypting using the first decryption key corresponding to the encryption key, and the updated with the second encryption key generated by the first system
  • the shared data is encrypted and recorded in the second data storage unit.
  • the information processing apparatus of this aspect can directly decrypt the second encryption key of the second system from the first system. Thereby, the trouble of acquiring the second encryption key in the second system can be saved, and the updated data can be synchronized at high speed.
  • control unit further specifies the position of the encrypted shared data in the second data storage unit, and is updated with the second encryption key.
  • the second system is controlled to overwrite the specified shared data at the specified position.
  • the information processing apparatus further manages information indicating the position of the encrypted shared data in the second data storage unit in association with the first decryption key.
  • a shared data management unit wherein the control unit identifies the location of the encrypted shared data in the second data storage unit based on the information associated with the first decryption key, and The second system is controlled to overwrite the second update data.
  • the first decryption key is information that is always searched when the shared data is updated.
  • the search for the position of the shared data can be simplified.
  • the information processing apparatus further manages information indicating the location of the encrypted shared data in the second data storage unit in association with the summary value of the shared data.
  • a shared data management unit wherein the control unit decrypts the encrypted shared data stored in the first data storage unit using the first decryption key, and summarizes the shared data obtained by the decryption
  • the location of the encrypted shared data in the second data storage unit is identified by referring to the information managed by the shared data management unit using the summary value, and the second update is performed at the location.
  • the second system is controlled to overwrite the data.
  • information indicating the position in the second data storage unit is managed in association with the summary value of the shared data. Since the summary value of shared data can reduce the data size, it can be managed with small data. Further, since management is performed in association with the summary value of the shared data, if the shared data is falsified, a correct summary value cannot be obtained, and the position of the shared data cannot be specified. Thereby, unauthorized reading can be prevented.
  • information indicating a position of the encrypted shared data in the second data storage unit is further stored in the first data storage unit.
  • a shared data management unit that manages the summary value of the encrypted shared data in association with the summary value; the control unit calculates a summary value of the encrypted shared data stored in the first data storage unit;
  • the location of the encrypted shared data in the second data storage unit is identified by referring to the information managed by the shared data management unit using and the second update data is overwritten on the location.
  • the second system is controlled.
  • information indicating the position in the second data storage unit is managed in association with the summary value of the encrypted shared data stored in the first data storage unit. Since the summary value of the encrypted shared data can reduce the data size, it can be managed with small data. In addition, since management is performed in association with the summary value of the encrypted shared data, if the encrypted shared data is falsified, a correct summary value cannot be obtained, and the position of the encrypted shared data cannot be specified. Thereby, unauthorized reading can be prevented.
  • the information processing apparatus further includes a second key that stores the first encryption key encrypted using the second encryption key as the second system key.
  • a storage unit and when the control unit is further instructed to update the encrypted shared data stored in the second data storage unit, the control unit encrypts the updated shared data with the second encryption key. Recording in the second data storage unit and decrypting the encrypted first encryption key using a second decryption key corresponding to the second encryption key to generate the first encryption key. Control the two systems, encrypt the updated shared data with the first encryption key generated in the second system and record the encrypted shared data in the first data storage unit, so as to update the encrypted shared data, The first system is controlled.
  • shared data can be synchronized with the second system.
  • the first data Control the first system to decrypt the encrypted shared data stored in the storage unit by using the first decryption key and update the decrypted shared data to the updated shared data It is.
  • shared data can be decrypted and updated.
  • shared data that changes cumulatively such as information indicating the number of times content is used, can be managed.
  • control unit updates the first system and the second after the encrypted shared data stored in the first data storage unit is updated.
  • the updated shared data is encrypted with the second encryption key generated by the first system and recorded in the second data storage unit.
  • the second system is controlled to update the encrypted shared data.
  • the shared data stored in the first data storage unit is updated and then the shared data is instructed to be synchronized between the first system and the second system.
  • the shared data of the second system is updated.
  • the shared data of the second system can be updated only when the shared data updated in the second system is needed, so that the number of times the update process is performed can be reduced.
  • the information processing apparatus further includes a hierarchy management unit that manages a key for the first system including the first decryption key in a hierarchical structure, and in each of the hierarchical structures, Keys encrypted so that each key can be decrypted are assigned to the lower order of the keys, and the hierarchy management unit corresponds to the lower order of the first decryption key with the encrypted second encryption key. It is attached and managed.
  • the first system can use a key database managed in a hierarchical structure such as a tree structure.
  • the information processing apparatus further includes an operation unit that operates software that uses data managed by the first system, and the control unit is stored in the data storage unit. An instruction to update the encrypted shared data is received from the software.
  • the first system can be used from an application.
  • the information processing apparatus further holds a key decrypted by the first system in association with information indicating that the key is for the first system
  • the second system Includes a holding unit that holds the decrypted key in association with information indicating that it is intended for the second system, and the first system is associated with information indicating that it is intended for the first system
  • Decryption is performed using a key
  • the second system performs encryption using a key associated with information indicating that the second system is intended for the second system
  • the control unit performs decryption using the first system
  • the information is rewritten with information indicating that it is intended for the second system. Is intended to perform the encryption of the updated shared data is using the second encryption key to said second system.
  • the control unit stores the information about the second encryption key held in the holding unit in association with information indicating that it is for the first system.
  • the second system is made to encrypt the updated shared data using the second encryption key. Therefore, it is possible to reduce the size of an area necessary for storing a key used for encryption / decryption.
  • the key used for encryption / decryption is kept in a decrypted state, the number of key decryption times can be reduced.
  • the holding unit is composed of a plurality of blocks having a predetermined capacity, and information indicating in which block each held key is stored. Is held in association with each of the held keys.
  • the area holding the key can be efficiently managed in block units.
  • the information processing apparatus further includes a holding unit that holds a key for the second system, and the second system holds the holding unit.
  • the control unit causes the second system to encrypt the updated shared data by holding the second encryption key in the holding unit, and 2
  • the holding unit if the holding unit has insufficient free space, it encrypts the key already held by the holding unit and saves it outside the holding unit, The second encryption key is overwritten in the area where the saved key is held, and after the generation of the second update data by the second system is completed, the saved key is decrypted and the second encryption key Overwrite the area where the It is.
  • the control unit when holding the second encryption key in the holding unit, the control unit encrypts the key already held by the holding unit if the holding unit has insufficient free space.
  • the second encryption key is overwritten on the area where the saved key is held, and after the generation of the second update data by the second system is completed, the saved The key is decrypted and overwritten in the area where the second encryption key is held. Therefore, shared data can be updated even when there is not enough free space in the holding unit.
  • the key since encryption is performed when the key is compared outside the holding unit, the key can be protected from an attack such as taking the key outside the holding unit.
  • An information processing method is an information processing method used in an information processing apparatus in which a first system and a second system operate, and the first system and the second system Is an independent system for encrypting and managing data, and the information processing apparatus is a key for the first system for shared data shared between the first system and the second system
  • a first data storage unit storing encrypted shared data encrypted with a first encryption key; and storing encrypted shared data obtained by encrypting the shared data with a second encryption key that is a key for the second system.
  • the information processing method comprises: a second data storage unit; and a first key storage unit that stores the second encryption key encrypted using the first encryption key as the first system key.
  • the first data When an instruction to update the encrypted shared data stored in the storage unit is given, the updated shared data is encrypted with the first encryption key and recorded in the first data storage unit, and the encrypted first data is stored.
  • the first system is controlled to generate the second encryption key by decrypting the two encryption keys using the first decryption key corresponding to the first encryption key, and the second generated by the first system
  • the second system is controlled to update the encrypted shared data by encrypting the updated shared data with an encryption key and recording the encrypted shared data in the second data storage unit.
  • An information processing program is an information processing program used in an information processing apparatus in which a first system and a second system operate, and the first system, the second system, Is an independent system for encrypting and managing data, and the information processing apparatus is a key for the first system for shared data shared between the first system and the second system
  • a first data storage unit storing encrypted shared data encrypted with a first encryption key; and storing encrypted shared data obtained by encrypting the shared data with a second encryption key that is a key for the second system.
  • the information processing program comprising: a second data storage unit; and a first key storage unit that stores the second encryption key encrypted using the first encryption key as a key for the first system
  • the updated shared data is encrypted with the first encryption key and recorded in the first data storage unit, Controlling the first system to generate the second encryption key by decrypting the encrypted second encryption key using a first decryption key corresponding to the first encryption key;
  • the second system is controlled to update the encrypted shared data by encrypting the updated shared data with the generated second encryption key and recording it in the second data storage unit.
  • the information processing program according to the sixteenth aspect of the present invention is recorded on a computer-readable recording medium.
  • An information processing integrated circuit is an integrated circuit used in an information processing apparatus in which a first system and a second system operate, wherein the first system and the second system are:
  • the information processing apparatus is an independent system for encrypting and managing data, wherein the information processing apparatus is a first key for shared data shared between the first system and the second system.
  • a first data storage unit storing encrypted shared data encrypted with an encryption key; and a second data storing encrypted shared data obtained by encrypting the shared data with a second encryption key that is a key for the second system.
  • the updated shared data is encrypted with the first encryption key, recorded in the first data storage unit, and the encrypted second encryption key is stored.
  • Controlling the first system to generate the second encryption key by decrypting using the first decryption key corresponding to the first encryption key, and using the second encryption key generated by the first system
  • the second system is controlled to update the encrypted shared data by encrypting the updated shared data and recording it in the second data storage unit.
  • An information processing apparatus is an information processing apparatus on which a first system and a second system operate, and is shared between the first system and the second system.
  • a first data storage unit that stores encrypted shared data obtained by encrypting shared data with a first encryption key that is a key for the first system, and a second encryption that is a key for the second system.
  • a second data storage unit for storing encrypted shared data encrypted with a key; and a first data key for storing the second encryption key encrypted using the first encryption key as a key for the first system.
  • the first system is controlled so as to be generated, and the updated shared data is encrypted with the second encryption key generated by the first system and recorded in the second data storage unit.
  • the information processing apparatus encrypts the updated shared data with the first encryption key, records the encrypted shared data in the first data storage unit, and stores the encrypted second encryption key in the first encryption key. Controlling the first system to generate the second encryption key by decrypting using the first decryption key corresponding to the first encryption key, and updating the second encryption key generated by the first system; The shared data is encrypted and recorded in the second data storage unit.
  • the information processing apparatus can directly decrypt the second encryption key of the second system from the first system. Thereby, the trouble of acquiring the second encryption key in the second system can be saved, and the updated data can be synchronized at high speed.
  • the components described in the above embodiments may be configured by one system LSI (Large Scale Integration).
  • the system LSI is a super multifunctional LSI manufactured by integrating a plurality of components on one chip, and specifically, a computer system including a microprocessor, a ROM, a RAM, and the like. .
  • a computer program is stored in the RAM.
  • the system LSI achieves its functions by the microprocessor operating according to the computer program.
  • each part of the constituent elements constituting each of the above devices may be individually made into one chip, or may be made into one chip so as to include a part or all of them. In this case, it is possible to speed up the processing as compared with the case where the above components are implemented by software.
  • the system LSI may be referred to as IC, LSI, super LSI, or ultra LSI depending on the degree of integration, but the case where the system LSI is realized at any of the above integration levels is also included in the present invention. Needless to say. Further, an FPGA (Field Programmable Gate Array) that can be programmed after manufacturing the LSI, or a reconfigurable processor that can reconfigure the connection and setting of circuit cells inside the LSI may be used.
  • FPGA Field Programmable Gate Array
  • a part or all of the constituent elements constituting each of the above devices may be constituted by an IC card or a single module that can be attached to and detached from each device.
  • the IC card or the module is a computer system including a microprocessor, a ROM, a RAM, and the like.
  • the IC card or the module may include the super multifunctional LSI described above.
  • the IC card or the module achieves its function by the microprocessor operating according to the computer program. This IC card or this module may have tamper resistance.
  • the present invention also relates to a recording medium capable of reading the computer program or the digital signal, such as a flexible disk, a hard disk, a CD-ROM, an MO, a DVD, a DVD-ROM, a DVD-RAM, a BD (Blu -RayDisc), or recorded in a semiconductor memory or the like.
  • the digital signal may be recorded on these recording media.
  • the computer program or the digital signal may be transmitted via an electric communication line, a wireless or wired communication line, a network represented by the Internet, a data broadcast, or the like.
  • the present invention may be a computer system including a microprocessor and a memory, the memory storing the computer program, and the microprocessor operating according to the computer program.
  • the program or the digital signal is recorded on the recording medium and transferred, or the program or the digital signal is transferred via the network or the like, and executed by another independent computer system. It is good.
  • the method of speeding up the key use is to synchronize the same data using the two key databases. Since the data managed in the separate database is updated using the key of the separate key database set in advance, the number of key decryption times can be reduced. Therefore, it is particularly effective in the field of equipment that performs high-speed data synchronization.
  • Information processing device 111 CPU 112 First storage unit 113 Second storage unit 114 Encryption / decryption processing unit 115 Bus 116 Key management software 117 Application program A 118 Application program B 119 Data access unit 120 Key database A 121 Key database B 122 encrypted data storage unit 123 non-volatile memory unit 124 encryption / decryption engine unit 125 key database B key storage unit 126 key database A key storage unit 201 usage database determination unit 202 plaintext data extraction unit 203 hash value generation unit 204 hash value Determination unit 205 Handler value determination unit 206 Key acquisition unit 207 Management table storage unit 208 Management table update unit

Abstract

 複数の鍵データベースを用いて同一のデータを同期する際に、あらかじめ設定された別鍵データベースの鍵を利用して、別データベースで管理するデータを更新するため、鍵の復号回数を削減することによって、高速なデータ同期処理を提供することを目的とする。木構造の鍵データベースA120と鍵データベースB121を管理する鍵管理ソフトウェア116が、上位アプリからのデータの暗号化要求の際に、同期すべきか否かを判定し、あらかじめ設定された別鍵データベースの鍵を利用し、暗号化データの同期を行う。これにより、暗復号処理部114へ暗号化された鍵のロード回数を削除し、高速なデータの暗復号を行う。

Description

情報処理装置、方法、プログラム及び集積回路
 本発明は、複数の暗復号システムにおいてデータを共有する技術に関する。
 近年、Personal Computer(PC)や携帯電話などの情報処理装置に格納された個人情報などのデータの盗難が問題となっている。
 このようなデータの盗難は、コンピュータウイルスなどの悪意のあるプログラムによって行われることがある。悪意のあるプログラムは、対象とする情報処理装置で動作する他のプログラムの不具合などを利用して、当該情報処理装置に入り込んで不正に動作し、当該情報処理装置の記憶部に格納されているデータを読み取り、ネットワークを介して、読み取ったデータを攻撃者などに送付する。
 このようなデータの盗難を防ぐために、データを暗号化することによってデータを保護することができる。データ暗号化技術として、ファイルシステムを用いた暗号処理によって実現する技術や、ファイルシステムに依存しない技術が存在する。
 特許文献1には、ファイルに対応するファイル鍵を用いて、ファイルを暗号化する技術が開示されている。これにより、ファイルごとに異なる鍵で暗号化を行うことが可能である。
 また、非特許文献1には、ファイルシステムに依存しない技術として、Trusted Computing Gruop(TCG)において、データの暗号化を行うProtected Storageという仕様が公開されている。以下に、非特許文献1において開示されている暗復号処理モジュールについて説明する。
 この暗復号処理モジュールを実現するための鍵管理ソフトウェアは、鍵データベースを有し、鍵データベースは、この暗復号処理モジュールで用いられる鍵を木構造により管理する。鍵データベースは、暗復号処理モジュールの外部の記憶装置に存在する。鍵データベースの木構造は、説明を簡単にするために、3階層から構成され、1個のルート、2個の中間ノード、4個のリーフから構成されるとする。前記ルートの直下には、2個の中間ノードが接続し、2個の中間ノードの直下には、それぞれ、2個のリーフが接続している。ルートには、ルート鍵が割り当てられる。第1及び第2の中間ノードには、それぞれ、ルート鍵を用いて暗号化された鍵A及びルート鍵を用いて暗号化された鍵Bが格納される。第1の中間ノードの直下に接続する2個のリーフには、それぞれ、第1の中間ノードの鍵Aを用いて暗号化された鍵C及び暗号化された鍵Dが格納される。第2の中間ノードの直下に接続する2個のリーフには、それぞれ、第2の中間ノードの鍵Bを用いて暗号化された鍵E及び暗号化された鍵Fが格納される。ここで、鍵C、鍵D、鍵E及び鍵Fは、それぞれ、データを暗号化又は復号するために使用される鍵である。
 前記暗復号処理モジュールは、不揮発性メモリ、暗復号エンジン及び鍵格納部から構成されている。また、前記暗復号処理モジュールは、外部からの処理データの盗み取り及び改竄ができないように耐タンパ化されている。不揮発性メモリは、前記ルート鍵を格納している。ルート鍵は、公開鍵暗号方式の秘密鍵(私有鍵)や、共通鍵暗号方式の秘密鍵である。暗復号エンジンは、暗号化された鍵の復号、鍵の暗号化、暗号化されたデータの復号及びデータの暗号化を行う。鍵格納部は、暗復号エンジンが使用する鍵を格納する。
 このように、ルート鍵は、耐タンパ化された暗復号処理モジュールの内部に格納されることにより、保護されている。一方、その他の鍵A、鍵B、鍵C、鍵D、鍵E及び鍵Fは、暗復号処理モジュールの外部の記憶装置において、暗号化されることにより、保護されている。
 鍵管理ソフトウェアは、暗復号処理モジュールの外部のアプリケーションプログラムから鍵Cの取得を要求されると、鍵Cに対応するリーフの親である中間ノードに格納された暗号化鍵Bを鍵管理データベースから取得し、暗号化鍵Bを暗復号処理モジュールへ出力する。暗復号処理モジュールは、暗復号エンジンにより、暗号化鍵Bをルート鍵を用いて復号して鍵Bを生成する。次に、鍵管理ソフトウェアは、鍵Cに対応するリーフに格納された暗号化鍵Cを鍵管理データベースから取得し、暗号化鍵Cを暗復号処理モジュールへ出力する。暗復号処理モジュールは、暗復号エンジンにより、暗号化鍵Cを鍵Bを用いて復号し、復号して得られた鍵Cを鍵格納部に格納する。次に、鍵管理ソフトウェアは、暗復号処理モジュールから鍵のロード終了を示す通知を受け取る。これで鍵の暗復号処理モジュールへのロード処理が終了する。
 暗復号処理モジュールの鍵格納部に鍵Cが格納された後に、鍵管理ソフトウェアは、アプリケーションプログラムからデータの暗号化又は復号を要求され、鍵管理ソフトウェアは、アプリケーションプログラムから受け取ったデータを、暗復号処理モジュールへ出力し、鍵Cを用いて暗号化又は復号を行うように、暗復号処理モジュールに依頼する。暗復号処理モジュールは、受け取ったデータを、暗復号エンジンにより、鍵格納部に格納された鍵Cを用いて、暗号化又は復号し、暗号文又は復号文を出力する。鍵管理ソフトウェアは、暗復号処理モジュールから受け取った暗号文又は復号文を、アプリケーションプログラムに出力する。これで、暗復号処理が終了する。
 以上説明したように、鍵データベース及び暗復号処理モジュールを用いることで、平文の鍵(ルート鍵)は、常に耐タンパ化された暗復号処理モジュールの内部に格納されて使用することが可能となる。そのため、平文の鍵の盗み取りを防ぐ事が可能となる。
日本国特表2006-510958号公報
TCG Specification Architecture Overview Specification Revision 1.3 28th March 2007
 ここで、非特許文献1により開示された方法により、1個の暗復号処理モジュールと、異なる木構造により構成された2個の鍵データベースとを用いる場合を想定する。
 例えば、情報処理装置が、音楽を配信する音楽配信システム及び映画を配信する映画配信システムを利用して、音楽及び映画の供給を受ける場合に、音楽配信システムと、映画配信システムとは、異なる音楽配信業者と映画配信業者とにより運営されているので、それぞれのシステムで用いられる鍵データベースが異なるものとなることは多い。
 このような場合において、それぞれの鍵データベースにより、1個の共有データを暗号化した暗号化共有データを保持しているとする。
 このとき、共有データの更新が発生すると、まず、第1の鍵データベースにおいて、ルート鍵を用いて、中間ノードの暗号化鍵を復号し、得られた鍵を用いて、リーフの暗号化鍵を復号し、得られた鍵を用いて、更新された共有データを暗号化して、保持する。次に、第1の鍵データベースの場合と同様に、第2の鍵データベースにおいて、ルート鍵を用いて、中間ノードの暗号化鍵を復号し、得られた鍵を用いて、リーフの暗号化鍵を復号し、得られた鍵を用いて、更新された共有データを暗号化して、保持する。
 このように、異なる木構造の2個の鍵データベースを用いて、1個の共有データを暗号化して保持する場合には、それぞれの鍵データベースにおいて、ルートからリーフへの方向の鍵の復号処理が発生する。このため、情報処理装置の負荷が大きくなるという問題がある。
 上記の問題を解決するために、本発明は、複数の暗復号システムにおいて同一のデータをそれぞれ暗号化して保持する場合において、処理の負荷が大きくならないようにすることができる情報処理装置、方法、プログラム及び集積回路を提供することを目的とする。
 上記目的を達成するために、本発明の一実施態様である情報処理装置は、それぞれデータを暗号化して保管する複数の暗復号システムを有する情報処理装置であって、一の暗復号システムにおける暗号化の対象データを取得するデータ取得手段と、前記対象データが、他の暗復号システムにおいて暗号化されて保管されているか否かを判断する判断手段と、保管されていると判断する場合に、他の暗復号システムにおいて保管されている暗号化データの鍵を取得する鍵取得手段と、前記一の暗復号システムにおいて用いられる鍵記憶手段と、前記一の暗復号システムにおいて、前記対象データに対応付けて、取得した前記鍵を前記鍵記憶手段に書き込む鍵書込手段とを備えることを特徴とする。
 このように構成されているので、他の暗復号システムの鍵を、一の暗復号システムから直接復号することができる。これにより、他の暗復号システムにおいて前記鍵を取得する手間が省け、情報処理装置の負荷が大きくならないようにすることができる。
本発明の実施の形態1の情報処理装置10のハードウェア構成を示すブロック図である。 情報処理装置10のソフトウェア構成を示すブロック図である。 鍵データベースA120及び鍵データベースB121の木構造を示す。 ノード情報構造体150のデータ構造の一例を示す。 ノード情報構造体160のデータ構造の一例を示す。 管理テーブル220のデータ構造の一例を示す。 暗復号処理部114への鍵のロードの動作を示すフローチャートである。 データの暗復号の動作を示すフローチャートである。 共有しているデータBを同期して更新する動作を示すフローチャートである。 管理テーブル220の更新の動作を示すフローチャートである。図11へ続く。 管理テーブル220の更新の動作を示すフローチャートである。図12へ続く。 管理テーブル220の更新の動作を示すフローチャートである。図11から続く。 鍵の取得の動作を示すフローチャートである。 共有データの更新の動作を示すフローチャートである。 本発明の実施の形態2の情報処理装置10が備える暗復号処理部260の構成を示すブロック図である。 本発明の実施の形態3の情報処理装置10が備える暗復号処理部270の構成を示すブロック図である。 鍵テーブル274のデータ構造の一例を示す。 鍵テーブル274の別のデータ構造の一例を示す。 鍵格納部330のデータ構造の一例を示す。 ブロック管理テーブル331のデータ構造の一例を示す。 変形例としての鍵データベースA283及び鍵データベースB284の木構造の一例を示す。 変形例としての管理テーブルの管理情報300のデータ構造の一例を示す。 変形例としての鍵管理ソフトウェアによる管理テーブルの更新処理を示すフローチャートである。 変形例としての、暗号化データのハッシュ値を用いる場合の管理テーブル320の一例を示す。 変形例として同期すべきデータの鍵の取得を示すフローチャートである。 変形例として共有データを同期するよう指示された場合に、他の暗復号システムが管理する共有データの更新処理を示すフローチャートである。 変形例として、暗号化された共有データの更新の指示が外部から供給される情報処理装置のソフトウェア構成を示す。 変形例として、暗号化された共有データの更新の指示が外部から供給された際のデータ同期処理を示すフローチャートである。
 請求項1に記載の態様である情報処理装置は、それぞれデータを暗号化して保管する複数の暗復号システムを有する情報処理装置であって、一の暗復号システムにおける暗号化の対象データを取得するデータ取得手段と、前記対象データが、他の暗復号システムにおいて暗号化されて保管されているか否かを判断する判断手段と、保管されていると判断する場合に、他の暗復号システムにおいて保管されている暗号化データの鍵を取得する鍵取得手段と、前記一の暗復号システムにおいて用いられる鍵記憶手段と、前記一の暗復号システムにおいて、前記対象データに対応付けて、取得した前記鍵を前記鍵記憶手段に書き込む鍵書込手段とを備えることを特徴とする。
 また、請求項2に記載の態様である情報処理装置は、それぞれデータを暗号化して記憶する第1暗復号システム及び第2暗復号システムを有する情報処理装置であって、前記第1暗復号システムにおける暗号化の対象データを取得するデータ取得手段と、前記対象データを暗号化して生成した暗号化データが、前記第2暗復号システムにおいて記憶されているか否かを判断する判断手段と、記憶されていると判断する場合に、前記第2暗復号システムにおいて前記暗号化データを暗号化するために用いられる第2鍵を取得する鍵取得手段と、前記第1暗復号システムにおいて用いられる第1鍵記憶手段と、前記第1暗復号システムにおいて、前記対象データを暗号化するために用いられる第1鍵を用いて、取得した前記第2鍵を暗号化して暗号化第2鍵を生成する暗復号化手段と、前記第1暗復号システムにおいて、前記対象データに対応付けて、生成した前記暗号化第2鍵を前記第1鍵記憶手段に書き込む鍵書込手段とを備えることを特徴とする。
 また、請求項3に記載の態様の前記情報処理装置は、さらに、前記第2暗復号システムにおいて、前記暗号化データとして、前記第2鍵を用いて前記対象データを暗号化して生成した第2暗号化対象データを記憶している第2データ格納手段を備え、前記判断手段は、前記暗号化データとしての前記第2暗号化対象データが、前記第2データ格納手段に記憶されているか否かを判断する。
 また、請求項4に記載の態様の前記情報処理装置において、前記暗復号化手段は、さらに、前記第1暗復号システムにおいて、前記第1鍵を用いて前記対象データを暗号化して第1暗号化対象データを生成し、前記情報処理装置は、さらに、前記第1暗復号システムにおける第1データ格納手段と、生成した前記第1暗号化対象データを前記第1データ格納手段に書き込むデータ書込手段とを備える。
 また、請求項5に記載の態様の前記情報処理装置は、さらに、前記対象データに対応付けて、前記第2暗復号システムにおいて前記暗号化データが記憶されている位置を示す位置情報を含む管理テーブルを記憶しているテーブル記憶手段を備え、前記判断手段は、前記対象データに対応する位置情報が前記管理テーブルに記憶されているか否かを判断することにより、前記暗号化データが前記第2暗号化手段において記憶されているか否かを判断する。
 また、請求項6に記載の態様の前記情報処理装置において、前記データ取得手段は、さらに、前記対象データの更新の指示を取得し、前記判断手段は、さらに、前記指示に係る前記対象データを暗号化して生成した暗号化データが、前記第2暗復号システムにおいて記憶されているか否かを判断し、前記鍵取得手段は、さらに、記憶されていると判断する場合に、前記第1鍵記憶手段から前記暗号化第2鍵を取得し、前記暗復号化手段は、さらに、取得した前記暗号化第2鍵を復号して第2鍵を生成し、生成した第2鍵を用いて、前記対象データの更新により得られた更新データを暗号化して第2暗号化更新データを生成し、前記データ書込手段は、さらに、生成した前記第2暗号化更新データを、前記第2データ格納手段に記憶されている前記第2暗号化対象データに上書きする。
 また、請求項7に記載の態様の前記情報処理装置において、前記暗復号化手段は、前記第1鍵に対応する復号鍵を用いて、前記暗号化第2鍵を復号する。
 また、請求項8に記載の態様の前記情報処理装置において、前記管理テーブルは、前記対象データに対応付けて、さらに、前記第1鍵に対応する復号鍵が記憶されている位置を示す鍵位置情報を含み、前記暗復号手段は、前記鍵位置情報により示される位置から取得した前記復号鍵を用いる。
 また、請求項9に記載の態様の前記情報処理装置において、前記暗復号化手段は、さらに、前記第1鍵を用いて、前記更新データを暗号化して第1暗号化更新データを生成し、前記データ書込手段は、さらに、生成した前記第1暗号化更新データを、前記第1データ格納手段に記憶されている前記第1暗号化対象データに上書きする。
 また、請求項10に記載の態様の前記情報処理装置において、前記データ書込手段は、前記第1暗号化更新データを前記第1データ格納手段に記憶されている前記第1暗号化対象データに上書きした後、同期指示を受け取った場合に、前記第2暗号化更新データを、前記第2データ格納手段に記憶されている前記第2暗号化対象データに上書きする。
 また、請求項11に記載の態様の前記情報処理装置において、前記管理テーブルに含まれる前記位置情報は、前記第2データ格納手段において前記第2暗号化対象データが記憶されている位置を示し、前記データ書込手段は、前記位置情報により示される位置において、前記第2暗号化更新データを書き込む。
 また、請求項12に記載の態様の前記情報処理装置において、前記暗復号化手段は、さらに、前記第1データ格納手段に記憶されている前記第1暗号化対象データを復号して、対象データを生成し、生成した対象データを基にして得られた更新データを暗号化する。
 また、請求項13に記載の態様の前記情報処理装置において、前記管理テーブルは、前記対象データの要約値と前記位置情報とを対応付けて含み、前記判断手段は、前記対象データからその要約値を算出し、得られた要約値に対応する前記位置情報が前記管理テーブルに記憶されているか否かを判断する。
 また、請求項14に記載の態様の前記情報処理装置において、前記管理テーブルは、前記第1暗号化対象データの要約値と前記位置情報とを対応付けて含み、前記判断手段は、第1データ格納手段に記憶されている前記第1暗号化対象データからその要約値を算出し、得られた要約値に対応する前記位置情報が前記管理テーブルに記憶されているか否かを判断する。
 また、請求項15に記載の態様の前記情報処理装置において、前記情報処理装置は、さらに、前記第2暗復号システムにおいて用いられる第2鍵記憶手段を備え、前記データ取得手段は、さらに、前記第2暗復号システムにおける暗号化の対象データを取得し、前記判断手段は、さらに、前記対象データを暗号化して生成した暗号化データが、前記第1暗復号システムにおいて記憶されているか否かを判断し、前記鍵取得手段は、さらに、記憶されていると判断する場合に、前記第1暗復号システムにおいて前記暗号化データを暗号化するために用いられる第1鍵を取得し、前記暗復号化手段は、さらに、前記第2暗復号システムにおいて、前記対象データを暗号化するために用いられる第2鍵を用いて、取得した前記第1鍵を暗号化して暗号化第1鍵を生成し、前記鍵書込手段は、さらに、前記第2暗復号システムにおいて、前記対象データに対応付けて、生成した前記暗号化第1鍵を前記第2鍵記憶手段に書き込む。
 また、請求項16に記載の態様の前記情報処理装置において、前記暗復号化手段は、さらに、前記第2暗復号システムにおいて、前記第2鍵を用いて前記対象データを暗号化して第2暗号化対象データを生成し、前記情報処理装置は、さらに、前記第2暗復号システムにおける第2データ格納手段と、生成した前記第2暗号化対象データを前記第2データ格納手段に書き込むデータ書込手段とを備える。
 また、請求項17に記載の態様の前記情報処理装置において、前記データ取得手段は、さらに、前記対象データの更新の指示を取得し、前記判断手段は、さらに、前記指示に係る前記対象データを暗号化して生成した暗号化データが、前記第1暗復号システムにおいて記憶されているか否かを判断し、前記鍵取得手段は、さらに、記憶されていると判断する場合に、前記第2鍵記憶手段から前記暗号化第1鍵を取得し、前記暗復号化手段は、さらに、取得した前記暗号化第1鍵を復号して第1鍵を生成し、生成した第1鍵を用いて、前記対象データの更新により得られた更新データを暗号化して第1暗号化更新データを生成し、前記データ書込手段は、さらに、生成した前記第1暗号化更新データを、前記第1データ格納手段に記憶されている前記第1暗号化対象データに上書きする。
 また、請求項18に記載の態様の前記情報処理装置において、前記第1鍵記憶手段は、第1暗復号システムにおいて、鍵を階層構造により管理し、階層構造の各鍵の下位には、当該鍵を用いて復号できるように暗号化された鍵が割り当てられており、鍵書込手段は、前記暗号化第2鍵を、前記第2鍵の下位に割り当てて書き込む。
 また、請求項19に記載の態様の前記情報処理装置において、前記情報処理装置は、さらに、第1暗復号システムにおける暗号化データを利用するアプリケーションプログラムに従って動作するプロセッサを備えており、前記アプリケーションプログラムは、暗号化の対象データを出力する命令を含み、前記プロセッサは、前記データ取得手段に対して、暗号化の対象データを出力する。
 また、請求項20に記載の態様の前記情報処理装置において、前記情報処理装置は、さらに、前記第1暗復号システムにおいて復号された鍵を、前記第1暗復号システム用であることを示す第1タイプ情報と対応付けて保持し、前記第2暗復号システムにおいて復号された鍵を、前記第2暗復号システム用であることを示す第2タイプ情報と対応付けて保持する鍵格納手段を備え、前記暗復号化手段は、前記第1暗復号システムにおいては、前記第1タイプ情報と対応付けられた鍵を用いて復号を行い、前記暗復号化手段は、前記第2暗復号システムにおいては、前記第2タイプ情報と対応付けられた鍵を用いて暗号化を行い、前記情報処理装置は、さらに、前記第1暗復号システムにおける復号の結果、前記第1タイプ情報と対応付けられて前記鍵格納手段に保持された鍵について、前記第1タイプ情報を前記第2暗復号システム用であることを示す前記第2タイプ情報に書き換えることで、前記鍵を用いた前記更新データの暗号化を前記第2暗復号システムにおいて行わせる制御手段を備える。
 また、請求項21に記載の態様の前記情報処理装置において、前記鍵格納手段は、所定の容量を持つ複数のブロックから構成されており、保持する鍵それぞれがどのブロックに格納されているかを示すブロック情報を、前記保持する鍵それぞれと対応付けて保持している。
 また、請求項22に記載の態様の前記情報処理装置において、前記暗復号化手段は、制御部と、前記第1暗復号システム用の前記第1鍵を保持する鍵格納部と、前記鍵格納部に保持されている前記第1鍵を用いて、暗号化する暗復号エンジン部とを備え、前記制御部は、前記第1鍵を取得して前記鍵格納部に保持させるにあたって、前記鍵格納部の空き領域が不足している場合に、前記鍵格納部が既に保持している一の鍵を、前記暗復号エンジン部により、暗号化して前記鍵格納部の外に退避し、前記鍵格納部において、退避対象の前記鍵が保持されていた領域に取得した前記第1鍵を上書きし、前記第1暗復号システムにおける前記第1鍵を用いた暗号化が完了した後、退避した前記暗号化鍵を、前記暗復号エンジン部により、復号して前記第1鍵が保持されている領域に上書きする。
 また、請求項23に記載の態様の方法は、それぞれデータを暗号化して記憶する第1暗復号システム及び第2暗復号システムを有し、前記第1暗復号システムにおいて用いられる第1鍵記憶手段を備える情報処理装置において用いられる方法であって、前記第1暗復号システムにおける暗号化の対象データを取得するデータ取得ステップと、前記対象データを暗号化して生成した暗号化データが、前記第2暗復号システムにおいて記憶されているか否かを判断する判断ステップと、記憶されていると判断する場合に、前記第2暗復号システムにおいて前記暗号化データを暗号化するために用いられる第2鍵を取得する鍵取得ステップと、前記第1暗復号システムにおいて、前記対象データを暗号化するために用いられる第1鍵を用いて、取得した前記第2鍵を暗号化して暗号化第2鍵を生成する暗復号化ステップと、前記第1暗復号システムにおいて、前記対象データに対応付けて、生成した前記暗号化第2鍵を前記第1鍵記憶手段に書き込む鍵書込ステップとを備えることを特徴とする。
 また、請求項24に記載の態様のコンピュータプログラムは、それぞれデータを暗号化して記憶する第1暗復号システム及び第2暗復号システムを有し、前記第1暗復号システムにおいて用いられる第1鍵記憶手段を備える情報処理装置において用いられるコンピュータプログラムであって、コンピュータである前記情報処理装置に、前記第1暗復号システムにおける暗号化の対象データを取得するデータ取得ステップと、前記対象データを暗号化して生成した暗号化データが、前記第2暗復号システムにおいて記憶されているか否かを判断する判断ステップと、記憶されていると判断する場合に、前記第2暗復号システムにおいて前記暗号化データを暗号化するために用いられる第2鍵を取得する鍵取得ステップと、前記第1暗復号システムにおいて、前記対象データを暗号化するために用いられる第1鍵を用いて、取得した前記第2鍵を暗号化して暗号化第2鍵を生成する暗復号化ステップと、前記第1暗復号システムにおいて、前記対象データに対応付けて、生成した前記暗号化第2鍵を前記第1鍵記憶手段に書き込む鍵書込ステップとを実行させるためのコンピュータプログラムであることを特徴とする。
 また、請求項25に記載の態様の前記コンピュータプログラムは、コンピュータ読み取り可能な記録媒体に記録されている。
 また、請求項26に記載の態様の集積回路は、それぞれデータを暗号化して記憶する第1暗復号システム及び第2暗復号システムを有する集積回路であって、前記第1暗復号システムにおける暗号化の対象データを取得するデータ取得手段と、前記対象データを暗号化して生成した暗号化データが、前記第2暗復号システムにおいて記憶されているか否かを判断する判断手段と、記憶されていると判断する場合に、前記第2暗復号システムにおいて前記暗号化データを暗号化するために用いられる第2鍵を取得する鍵取得手段と、前記第1暗復号システムにおいて用いられる第1鍵記憶手段と、前記第1暗復号システムにおいて、前記対象データを暗号化するために用いられる第1鍵を用いて、取得した前記第2鍵を暗号化して暗号化第2鍵を生成する暗復号化手段と、前記第1暗復号システムにおいて、前記対象データに対応付けて、生成した前記暗号化第2鍵を前記第1鍵記憶手段に書き込む鍵書込手段とを備えることを特徴とする。
 以下に、本発明の実施の形態について、図面を参照しながら説明を行う。
 1.実施の形態1
 本発明に係る1の実施の形態としての情報処理装置10について説明する。
 (情報処理装置10の概要)
 情報処理装置10においては、第1の暗復号システム及び第2の暗復号システムがそれぞれ独立して動作し、第1及び第2の暗復号システム間で、1個のデータを共有して利用する。第1及び第2の暗復号システムは、異なる暗復号システムであり、それぞれ、鍵データベース及び暗号化されたデータから構成される。
 一例として、情報処理装置10は、音楽を配信する音楽配信システム及び映画を配信する映画配信システムを利用し、音楽配信システムから音楽の供給を受け、映画配信システムから映画の供給を受ける。音楽配信システムと、映画配信システムとは、異なる音楽配信業者と映画配信業者とにより運営されている。第1の暗復号システムは、音楽配信システムのための暗復号システムであり、第2の暗復号システムは、映画配信システムのための暗復号システムである。第1及び第2の暗復号システムにおいて、共有するデータの一例は、情報処理装置10の利用者の住所である。
 (住所を共有する場合)
 ここでは、一例として、住所を共有する場合について説明する。
 なお、映画配信システムにおける第2の暗復号システムにおいて、既に利用者の暗号化された住所が保持されているものとする。具体的には、情報処理装置10は、第2の暗復号システムのためのサブ暗号化データ格納部を備えており、このサブ暗号化データ格納部は、第2の暗復号システムの第2鍵を用いて、対象データである住所を暗号化して生成した第2暗号化対象データつまり暗号化された住所を記憶しているものとする。しかし、第1の暗復号システムにおいては、まだ利用者の暗号化された住所を保持していないものとする。
 情報処理装置10は、音楽配信システムにおける第1の暗復号システムにおいて、利用者の住所を暗号化して保持するために、暗号化の対象データである利用者の住所を取得する。次に、対象データである住所を暗号化して生成した暗号化データ(暗号化された住所)が、第2の暗復号システムにおいて記憶されているか否かを判断する。具体的には、情報処理装置10は、第2暗号化対象データ(暗号化された住所)が、第2の暗復号システムのためサブ暗号化データ格納部に記憶されているか否かを判断する。次に、暗号化データ(暗号化された住所)が第2の暗復号システムにおいて記憶されていると判断する場合に、第2の暗復号システムにおいて前記暗号化データ(暗号化された住所)を暗号化するために用いられている第2鍵を、第2の暗復号システムから取得する。ここで、情報処理装置10は、第1の暗復号システムにおいて用いられる鍵データベースAを保持している。情報処理装置10は、第1の暗復号システムにおいて、前記対象データ(利用者の住所)を暗号化するために用いられる第1鍵を用いて、取得した前記第2鍵を暗号化して暗号化第2鍵を生成し、第1の暗復号システムの鍵データベースAにおいて、前記対象データ(利用者の住所)に対応付けて、生成した前記暗号化第2鍵を鍵データベースAに書き込む。
 また、情報処理装置10は、第1の暗復号システムにおいて、前記第1鍵を用いて前記対象データ(利用者の住所)を暗号化して第1暗号化対象データ(暗号化された住所)を生成する。情報処理装置10は、第1暗号化対象データ(暗号化された住所)を記憶するためのサブ暗号化データ格納部を備えており、第1の暗復号システムのためのサブ暗号化データ格納部に、生成した前記第1暗号化対象データ(暗号化された住所)を書き込む。
 以上により、第1の暗復号システムにおいて、暗号化された住所を保持することにより、第1の暗復号システムと第2の暗復号システムにおいて、住所を共有することになる。さらに、第1の暗復号システムにおいては、住所に対応付けて、第2の暗復号システムにおいて住所の暗号化に用いられた第2鍵を、第1の暗復号システムにおいて、暗号化して保持することとなる。
 (共有している住所を更新する場合)
 次に、一例として、情報処理装置10の利用者が、第1の暗復号システムと第2の暗復号システムにおいて、共有している対象データである住所を更新する場合について説明する。
 情報処理装置10は、第1の暗復号システムにおいて、対象データである住所の更新の指示を取得する。情報処理装置10は、上記と同様にして、さらに、前記指示に係る前記対象データ(旧住所)を暗号化して生成した暗号化データ(暗号化された旧住所)が、第2の暗復号システムにおいて記憶されているか否かを判断する。記憶されていると判断する場合に、鍵データベースAから前記暗号化第2鍵を取得し、取得した前記暗号化第2鍵を復号して第2鍵を生成し、生成した第2鍵を用いて、前記対象データ(旧住所)の更新により得られた更新データ(新住所)を暗号化して第2暗号化更新データ(暗号化された新住所)を生成し、生成した前記第2暗号化更新データ(暗号化された新住所)を、第2の暗号化システムのためのサブ暗号化データ格納部に記憶されている前記第2暗号化対象データ(暗号化された旧住所)に上書きする。
 また、情報処理装置10は、第1の暗復号システムにおいて、前記第1鍵を用いて、更新データ(新住所)を暗号化して第1暗号化更新データ(暗号化された新住所)を生成し、生成した前記第1暗号化更新データ(暗号化された新住所)を、第1の暗号化システムのためのサブ暗号化データ格納部に記憶されている前記第1暗号化対象データ(暗号化された旧住所)に上書きする。
 以上により、第2の暗復号システムに依存することなく、第1の暗復号システムのみで、第2の暗復号システムにおいて用いられている第2鍵を知ることができる。
 1.1 情報処理装置10のハードウェア構成
 情報処理装置10は、図1に示すように、CPU111、第1記憶部112、第2記憶部113、暗復号処理部114、バス115及び入出力部(図示していない)から構成される。CPU111、第1記憶部112、第2記憶部113、暗復号処理部114及び入出力部は、バス115を介して互いに接続されている。
 以下、情報処理装置10の各構成要素の詳細について説明する。
 CPU111は、マイクロプロセッサであって、第1記憶部112に格納されているプログラム等に含まれる命令コードを読み出し、解読し、実行することにより、情報処理装置10全体の動作を制御する。
 第1記憶部112は、揮発性の半導体メモリにより構成され、鍵管理ソフトウェア116、アプリケーションプログラムA117、アプリケーションプログラムB118、データアクセス部119、鍵データベースA120及び鍵データベースB121を格納している。
 第2記憶部113は、ハードディスクユニットから構成され、暗号化データ格納部122を有している。暗号化データ格納部122は、サブ暗号化データ格納部122a及びサブ暗号化データ格納部122bから構成されている。暗号化データ格納部122は、アプリケーションプログラムA117やアプリケーションプログラムB118などで使用する暗号化されたデータを格納する。サブ暗号化データ格納部122aは、アプリケーションプログラムA117で使用する暗号化されたデータを格納する。サブ暗号化データ格納部122bは、アプリケーションプログラムB118で使用する暗号化されたデータを格納する。
 暗復号処理部114は、不揮発性メモリ部123、暗復号エンジン部124、鍵データベースB用鍵格納部125及び鍵データベースA用鍵格納部126から構成されており、暗復号処理部114は、暗復号処理部114の外部からの処理データの盗み取り及び改竄ができないように耐タンパ化されている。
 不揮発性メモリ部123は、外部電源から電力が供給されない場合でも、記憶しているデータが失われない不揮発性の半導体メモリから構成されている。不揮発性メモリ部123は、鍵データベースA用のルート鍵127と鍵データベースB用のルート鍵128を格納している。
 鍵データベースA用のルート鍵127及び鍵データベースB用のルート鍵128は、公開鍵暗号方式(public key cryptosystem、非対称暗号方式asymmetric key cryptosystemとも呼ぶ。)の秘密鍵(私有鍵)や、共通鍵暗号方式(secret key cryptosystem、対称暗号方式symmetric key cryptosystemとも呼ぶ)の秘密鍵である。また、鍵データベースA用のルート鍵127及び鍵データベースB用のルート鍵128は、それぞれ、鍵データベースA及び鍵データベースBのルートに対応する鍵である。鍵データベースA用のルート鍵127及び鍵データベースB用のルート鍵128は、鍵データベースA及び鍵データベースBの他のすべてのノードの鍵の復号に用いる鍵であるので、第1記憶部112上の鍵データベースA120や鍵データベースB121ではなく、耐タンパ化された暗復号処理部114により管理され、保持されている。なお、鍵データベースA120及び鍵データベースB121に含まれる鍵の全てを耐タンパ化された暗復号処理部114の不揮発性メモリ部123に記録すると、暗復号処理部114に求められる記録容量が大きくなってしまうため、他の全てのノードの鍵を復号する際に必要となるルート鍵だけを耐タンパ化された暗復号処理部114の不揮発性メモリ部123において保護している。
 暗復号エンジン部124は、暗号化された鍵の復号、鍵の暗号化、暗号化されたデータの復号及びデータの暗号化を行う。暗復号においては、公開鍵暗号方式であるRSA暗号や共通鍵暗号方式であるAES暗号などの暗号アルゴリズムなどを用いる。
 鍵データベースB用鍵格納部125は、暗復号エンジン部124を利用する際に、鍵データベースB121で管理された鍵を格納する。
 鍵データベースA用鍵格納部126は、暗復号エンジン部124を利用する際に、鍵データベースA120で管理された鍵を格納する。
 なお、鍵データベースA120、鍵データベースA用鍵格納部126、鍵データベースA用のルート鍵127及びサブ暗号化データ格納部122aは、第1の暗復号システムを構成し、鍵データベースB121、鍵データベースA用鍵格納部125、鍵データベースB用のルート鍵128及びサブ暗号化データ格納部122bは、第2の暗復号システムを構成している。
 1.2 情報処理装置10のソフトウェア構成
 情報処理装置10のソフトウェア構成について、図2を用いて説明する。
 情報処理装置10では、アプリケーションプログラムA117及びアプリケーションプログラムB118は、それぞれ、鍵管理ソフトウェア116を介して、鍵データベースA120及び鍵データベースB121にアクセスし、データアクセス部119を介して、暗号化データ格納部122にアクセスする。なお、情報処理装置10においては、図示していないOS、デバイスドライバ、そのほかのアプリケーションプログラムも動作する。
 なお、以下に説明するように、アプリケーションプログラムA117とアプリケーションプログラムB118とは、データBを共有している。
 (1)鍵データベースA120及び鍵データベースB121
 ここでは、鍵データベースA120及び鍵データベースB121について説明する。
(鍵データベースA120)
 鍵データベースA120は、n分木である木構造を用いて、鍵を管理するデータベースであり、アプリケーションプログラムA117により利用される。鍵データベースA120により用いる木構造の一例を図3に示す。
 鍵データベースA120の木構造は、一例として、図3に示すように、4階層から構成され、1個のルート132、2個の中間ノード133及び134、4個のリーフ135~138及び1個のリーフ239から構成されている。ルート132の直下には、2個の中間ノード133及び134が接続し、中間ノード133の直下には、2個のリーフ135及び136が接続し、中間ノード134の直下には、2個のリーフ137及び138が接続している。また、リーフ138の直下には、1個のリーフ239が接続している。
 ルート132には、鍵データベースA用のルート鍵127が割り当てられている。上述したように、ルート鍵127は、鍵データベースA120内ではなく、暗復号処理部114の不揮発性メモリ部123に格納されている。
 中間ノード133及び134には、それぞれ、鍵A及び鍵Bが割り当てられ、リーフ135、136、137、138、239には、それぞれ、鍵C、鍵D、鍵E、鍵F及び鍵Iが割り当てられている。
 中間ノード133には、ルート鍵127を用いて暗号化された鍵Aが格納され、中間ノード134には、ルート鍵127を用いて暗号化された鍵Bが格納される。リーフ135には、中間ノード133の鍵Aを用いて暗号化された鍵Cが格納され、リーフ136には、中間ノード133の鍵Aを用いて暗号化された鍵Dが格納され、リーフ137には、中間ノード134の鍵Bを用いて暗号化された鍵Eが格納され、リーフ138には、中間ノード134の鍵Bを用いて暗号化された鍵Fが格納されている。ここで、鍵C、鍵D、鍵E及び鍵Fは、それぞれ、データを暗号化又は復号するために使用される鍵である。
 リーフ239には、後述する鍵データベースB121のリーフ142の鍵Iが暗号化されて格納されている。ここで、リーフ239に格納されている暗号化された鍵Iは、リーフ138の鍵Fを用いて暗号化されたものである。
 なお、一例として、図3に示すように、暗号化されたデータA(146)は、リーフ136に割り当てられた鍵Dを用いて、データAを暗号化して生成したものであり、暗号化されたデータB(147)は、データBをリーフ138に割り当てられた鍵Fを用いて暗号化して生成したものである。
 鍵データベースA120は、第1記憶部112において、複数のノード情報構造体を記憶しており、これらの複数のノード情報構造体により木構造を構成している。複数のノード情報構造体は、鍵データベースA120のルート、複数の中間ノード及び複数のリーフのそれぞれに対応しており、鍵データベースA120において鍵を管理するために使用される。図4に、鍵データベースA120のノード情報構造体150のデータ構造の一例を示す。
 ノード情報構造体150は、図4に示すように、鍵長151、鍵152、親ノード識別子153、鍵ハンドラ値154、データハンドラ値155、データ156及びその他の付属情報157から構成される。
 鍵長151のフィールドには、暗復号を行う場合に使用する鍵の長さが格納される。格納される値はビット長やバイト長などの数値でもよい。さらに、予め決められている鍵の長さに対応する識別子でもよい。
 鍵152のフィールドには、暗復号を行う場合に使用する鍵を暗号化して生成した暗号化鍵が格納される。また、鍵152のフィールドには、暗号化鍵の存在する位置を示す位置情報が格納されてもよい。ただし、ルートに対応する鍵は、ノード情報構造体の鍵152のフィールドには格納されない。また、鍵152のフィールドに格納される暗号化鍵は、親ノード識別子153で指定されているノード番号により定まる中間ノード又はルートの鍵(各ノードの親ノードの鍵)を使用して暗号化されたものである。
 親ノード識別子153のフィールドには、当該ノード情報構造体150に対応するノードの親ノードを指定する識別子が格納される。また、親ノード識別子153のフィールドには、親ノードの位置を示す位置情報が格納されるとしてもよい。さらに、予め決められている識別子や動的に生成した識別子を格納してもよい。これらの識別子は、親ノードを指定する。
 鍵ハンドラ値154のフィールドには、当該ノードに割り当てられた暗号化鍵が存在する位置を示す位置情報が格納される。暗号化鍵が存在しない場合には、NULLが格納される。
 データハンドラ値155のフィールドには、当該ノード情報構造体150に対応する鍵を用いて暗号化されたデータが存在する場合に、当該暗号化データの生成の基になった平文データの存在する位置を示す位置情報が格納される。このような暗号化データが存在しない場合には、NULLが格納される。
 データ156のフィールドには、ノード情報構造体150を用いてデータを格納する際に、暗号化されたデータが格納される。
 その他の付属情報157は、他に各ノードが必要とする情報を格納するフィールドである。
 一例として、リーフ239のノード情報構造体の鍵のフィールドには、後述する鍵データベースB121のリーフ142に対応する鍵Iが暗号化されて格納されており、リーフ239のノード情報構造体の親ノード識別子には、リーフ138を識別する識別子(ノード番号)が格納されている。なお、リーフ142は、鍵データベースB121において、データBを暗号化する鍵を格納するリーフである。
 以上説明したように、鍵データベースAは、第1の暗復号システムにおいて、鍵を階層構造により管理している。階層構造の各鍵の下位には、当該鍵を用いて復号できるように暗号化された鍵が割り当てられている。
(鍵データベースB121)
 鍵データベースB121は、n分木である木構造を用いて、鍵を管理するデータベースであり、アプリケーションプログラムB118により利用される。鍵データベースB121により用いる木構造の一例を図3に示す。
 鍵データベースB121の木構造は、一例として、図3に示すように、4階層から構成され、1個のルート139、2個の中間ノード140及び141、4個のリーフ142~145、及び1個のリーフ247から構成されている。ルート139の直下には、2個の中間ノード140及び141が接続し、中間ノード140の直下には、2個のリーフ142及び143が接続し、中間ノード141の直下には、2個のリーフ144及び145が接続している。また、リーフ142の直下には、リーフ247が接続している。
 ルート139には、鍵データベースB用のルート鍵128が割り当てられている。上述したように、ルート鍵128は、鍵データベースB121内ではなく、暗復号処理部114の不揮発性メモリ部123に格納されている。
 中間ノード140及び141には、それぞれ、鍵G及び鍵Hが割り当てられ、リーフ142、143、144、145、247には、それぞれ、鍵I、鍵J、鍵K、鍵L及び鍵Fが割り当てられている。
 中間ノード140には、ルート鍵128を用いて暗号化された鍵Gが格納され、中間ノード141には、ルート鍵128を用いて暗号化された鍵Hが格納される。リーフ142には、中間ノード140の鍵Gを用いて暗号化された鍵Iが格納され、リーフ143には、中間ノード140の鍵Gを用いて暗号化された鍵Jが格納され、リーフ144には、中間ノード141の鍵Hを用いて暗号化された鍵Kが格納され、リーフ145には、中間ノード141の鍵Hを用いて暗号化された鍵Lが格納されている。ここで、鍵I、鍵J、鍵K及び鍵Lは、それぞれ、データを暗号化又は復号するために使用される鍵である。
 リーフ247には、鍵データベースA120のリーフ138の鍵Fが暗号化されて格納されている。ここで、リーフ247に格納されている暗号化された鍵Fは、リーフ142の鍵Iを用いて暗号化されたものである。
 なお、一例として、図3に示すように、暗号化されたデータB(148)は、リーフ142に割り当てられた鍵Iを用いて、データBを暗号化して生成したものである。
 ここで、図3に示す暗号化されたデータB(147)と、暗号化されたデータB(148)とは、暗号化の基になるデータBが共通している。つまり、アプリケーションプログラムA117とアプリケーションプログラムB118とは、データBを共有している。
 鍵データベースB121は、第1記憶部112において、複数のノード情報構造体を記憶しており、これらの複数のノード情報構造体により木構造を構成している。複数のノード情報構造体は、鍵データベースB121のルート、複数の中間ノード及び複数のリーフのそれぞれに対応しており、鍵データベースB121において鍵を管理するために使用される。図5に、鍵データベースB121のノード情報構造体160のデータ構造の一例を示す。
 ノード情報構造体160は、図5に示すように、暗号種別161、鍵長162、鍵やデータを格納した場所のリンク先情報163、親ノード識別子164、鍵ハンドラ値165、データハンドラ値及びその他の付属情報167から構成される。
 図5に示すノード情報構造体160は、図4に示すノード情報構造体150に含まれる鍵152及びデータ156に代えて、暗号種別161及びリンク先情報163を含む。その他の構成要素については、ここでは、説明を省略する。
 暗号種別161のフィールドには、RSA暗号や楕円暗号などの公開鍵暗号方式や、AES暗号や3DES暗号などの共通鍵暗号方式の暗号アルゴリズムの名称や、前述の暗号アルゴリズムに対応する識別子が格納される。なお、公開鍵方式の場合には、本フィールドには、親ノードに割り当てられた公開鍵で暗号化された秘密鍵と、公開鍵が格納される。
 リンク先情報163のフィールドには、暗復号に利用する鍵のファイルや、暗号化されたデータのファイルが存在する場所を指し示す情報が格納される。
 一例として、リーフ247のノード情報構造体のリンク先情報により示される位置には、鍵データベースA120のリーフ138に割り当てられた鍵Fが暗号化されて格納されており、リーフ247のノード情報構造体の親ノード識別子には、リーフ142を識別する識別子(ノード番号)が格納されている。なお、リーフ138は、鍵データベースA120において、データBを暗号化する鍵を格納するリーフである。
 以上説明したように、鍵データベースBは、第2の暗復号システムにおいて、鍵を階層構造により管理している。階層構造の各鍵の下位には、当該鍵を用いて復号できるように暗号化された鍵が割り当てられている。
 (2)暗号化データ格納部122
 暗号化データ格納部122は、暗号化されたデータを格納する。暗号化データ格納部122は、サブ暗号化データ格納部122a及びサブ暗号化データ格納部122bから構成されている。
 サブ暗号化データ格納部122aは、一例として、リーフ136の鍵Dを用いて暗号化されたデータA(146)及びリーフ138の鍵Fを用いて暗号化されたデータB(147)を格納している。また、サブ暗号化データ格納部122bは、リーフ142の鍵Iを用いて暗号化されたデータB(148)を格納している。
 ここで、図3に示す暗号化されたデータB(147)と、暗号化されたデータB(148)とは、暗号化の基になるデータBが共通している。つまり、アプリケーションプログラムA117とアプリケーションプログラムB118とは、データBを共有している。
 (3)アプリケーションプログラムA117、アプリケーションプログラムB118及びデータアクセス部119
 アプリケーションプログラムA117は、鍵データベースA120によって管理された鍵を用いて、暗号化データ格納部122に格納される暗号化データを利用するソフトウェアである。アプリケーションプログラムA117は、第1の暗復号システムに対するデータ処理を要求するコンピュータ命令を含んでいる。例えば、第1の暗復号システムに対するデータの新規の登録(暗号化して記憶)、参照(復号して参照)、更新(復号して更新し、再度暗号化して記憶)、削除などである。また、暗号化の対象データを出力する命令を含む。
 アプリケーションプログラムB118は、鍵データベースB121によって管理された鍵を用いて、暗号化データ格納部122に格納される暗号化データを利用するソフトウェアである。アプリケーションプログラムB118は、第2の暗復号システムに対するデータ処理を要求するコンピュータ命令を含んでいる。例えば、第2の暗復号システムに対するデータの新規の登録(暗号化して記憶)、参照(復号して参照)、更新(復号して更新し、再度暗号化して記憶)、削除などである。また、暗号化の対象データを出力する命令を含む。
 データアクセス部119は、暗号化データ格納部122にアクセスし、暗号化データを読み出し、更新し、又は書き込むためのソフトウェアである。
 (4)鍵管理ソフトウェア116
 鍵管理ソフトウェア116は、図2に示すように、利用データベース判定部201、平文データ抽出部202、ハッシュ値生成部203、ハッシュ値判定部204、ハンドラ値判定部205、鍵取得部206、管理テーブル格納部207、管理テーブル更新部208及び鍵書込部209から構成されている。ここで、ハッシュ値生成部203、ハッシュ値判定部204及び管理テーブル格納部207は、一の暗復号システムにおける暗号化の対象データが、他の暗復号システムにおいて暗号化されて保管されているか否かを判断する判断部を構成している。鍵取得部206は、この判断部により、保管されていると判断する場合に、他の暗復号システムにおいて保管されている暗号化データの鍵を取得する。鍵書込部209は、前記一の暗復号システムにおいて、前記対象データに対応付けて、取得した前記鍵を鍵データベースA120(又は鍵データベースB121)に書き込む。
(管理テーブル格納部207)
 管理テーブル格納部207は、図6に示す管理テーブル220を保持している。
 管理テーブル220は、暗号化データ格納部122に存在する複数の暗号化データのそれぞれが、鍵データベースA120と鍵データベースB121の鍵を用いて、どのように管理されているかを示す。管理テーブル220は、暗号化されたデータで管理するデータから生成したハッシュ値をエントリとして構成される。
 管理テーブル220は、図6に示すように、複数の管理情報から構成されている。複数の管理情報は、それぞれ、暗号化データ格納部122に格納されている複数の暗号化データに対応している。各管理情報は、ハッシュ値、第1データハンドラ値、第2データハンドラ値、第1鍵ハンドラ値及び第2鍵ハンドラ値から構成されている。
 ハッシュ値は、対応する暗号化データの基になった平文データから生成されたハッシュ値である。
 第1データハンドラ値は、当該管理情報のハッシュ値の生成の基になった平文データであって、鍵データベースAのリーフに割り当てられた暗号化データの基になった平文データのデータハンドラ値である。平文データのデータハンドラ値は、当該平文データが存在する位置を示す位置情報である。この第1データハンドラ値は、図4のノード情報構造体150のデータハンドラ値155に対応する。平文データが、鍵データベースA120により管理されていない場合には、第1データハンドラ値は、NULL値である。
 第2データハンドラ値は、当該管理情報のハッシュ値の生成の基になった平文データであって、鍵データベースBのリーフに割り当てられた暗号化データの基になった平文データのデータハンドラ値である。平文データのデータハンドラ値は、当該平文データが存在する位置を示す位置情報である。この第2データハンドラ値は、図5のノード情報構造体160のデータハンドラ値166に対応する。平文データが、鍵データベースB121により管理されていない場合には、第2データハンドラ値は、NULL値である。
 第1鍵ハンドラ値は、当該管理情報のハッシュ値の生成の基になった平文データを暗号化する鍵のハンドラ値である。言い換えると、対応する暗号化データが、鍵データベースA120により管理されている場合において、当該暗号化データを暗号化するために用いられた鍵を暗号化して生成した暗号化鍵が、鍵データベースA120のどこに存在しているかを示す位置データである。対応する暗号化データが、鍵データベースA120により管理されていない場合には、第1鍵ハンドラ値は、NULL値である。この第1鍵ハンドラ値は、図4のノード情報構造体の鍵ハンドラ値154に対応する。
 第2鍵ハンドラ値は、当該管理情報のハッシュ値の生成の基になった平文データを暗号化する鍵のハンドラ値である。言い換えると、対応する暗号化データが、鍵データベースB121により管理されている場合において、当該暗号化データを暗号化するために用いられた鍵を暗号化して生成した暗号化鍵が、鍵データベースB121のどこに存在しているかを示す位置データである。対応する暗号化データが、鍵データベースB121により管理されていない場合には、第2鍵ハンドラ値は、NULL値である。この第2鍵ハンドラ値は、図5のノード情報構造体160の鍵ハンドラ値165に対応する。
(鍵管理ソフトウェア116のその他の構成要素)
 利用データベース判定部201は、要求元のアプリケーションプログラムから、ノード情報構造体を受け取り、受け取ったノード情報構造体を用いて、要求元のアプリケーションプログラムが、鍵データベースA120又は鍵データベースB121のどちらかを利用するかを判断する。受け取ったノード情報構造体が図4に示すノード情報構造体150である場合には、鍵データベースA120を利用すると決定する。受け取ったノード情報構造体が図5に示すノード情報構造体160である場合には、鍵データベースB121を利用すると決定する。次に、データベースの判定結果をハンドラ値判定部205へ出力する。
 平文データ抽出部202は、要求元のアプリケーションプログラムからノード情報構造体を取得し、取得したノード情報構造体からデータハンドラ値を抽出し、抽出したデータハンドラ値がNULLでない場合には、抽出したデータハンドラ値により示される位置から平文データを取得し、取得した平文データをハッシュ値生成部203へ出力する。このように、平文データ抽出部202は、一の暗復号システムにおける暗号化の対象データを取得するデータ取得部である。
 ハッシュ値生成部203は、平文データ抽出部202から平文データを受け取り、受け取った平文データから、一意のハッシュ値(要約値)を生成する。たとえば、一方向性関数(SHA1アルゴリズムなど)を利用して、一意なハッシュ値を生成し、生成したハッシュ値をハッシュ値判定部204へ出力する。
 ハッシュ値判定部204は、ハッシュ値生成部203からハッシュ値を受け取り、管理テーブル格納部207が管理している管理テーブル220に格納されているハッシュ値を参照し、管理テーブル220にハッシュ値生成部203により生成されたハッシュ値と一致するハッシュ値が存在するか否かを判定する。判定結果をハンドラ値判定部205へ出力する。また、一致するハッシュ値が存在する場合に、そのハッシュ値を含む管理情報を管理テーブル220から読み出し、読み出した管理情報をハンドラ値判定部205へ出力する。
  ハンドラ値判定部205は、利用データベース判定部201からデータベースの判定結果を受け取る。また、ハッシュ値判定部204から判定結果を受け取る。一致するハッシュ値が存在する場合に、そのハッシュ値を含む管理情報を受け取る。受け取った判定結果が一致するハッシュ値が存在することを示す場合に、受け取った管理情報に含まれる管理情報に含まれる第1鍵ハンドラ値又は第2鍵ハンドラ値がNULLか否か判定する。
 第1鍵ハンドラ値及び第2鍵ハンドラ値のうちのどちらについて判定するかについては、利用データベース判定部201から受け取ったデータベースの判定結果を用いる。つまり、データベースの判定結果が、鍵データベースAの利用を示す場合には、鍵データベースAのリーフの鍵ハンドラ値である第1鍵ハンドラ値について判定する。一方、データベースの判定結果が、鍵データベースBの利用を示す場合には、鍵データベースBのリーフの鍵ハンドラ値である第2鍵ハンドラ値について判定する。次に、その判定結果を鍵取得部206へ出力する。判定結果がNULLでないことを示す場合に、さらに、データベースの判定結果が、鍵データベースAの利用を示す場合には、第1鍵ハンドラ値を鍵取得部206へ出力する。データベースの判定結果が、鍵データベースBの利用を示す場合には、第2鍵ハンドラ値を鍵取得部206へ出力する。
 鍵取得部206は、ハンドラ値判定部205から判定結果を受け取る。受け取った判定結果がNULLでないことを示す場合には、さらに、鍵ハンドラ値を受け取る。次に、迂路取った鍵ハンドラ値により示される位置から、暗号化鍵を取得し、取得した暗号化鍵を暗復号処理部114の暗復号エンジン部124へ出力する。
 鍵書込部209は、鍵データベースA120又は鍵データベースB121のノード情報構造体を更新する。また、新たにノード情報構造体を生成し、生成したノード情報構造体を鍵データベースA120又は鍵データベースB121に追加して書き込む。また、鍵書込部209は、暗号化鍵を、当該鍵の下位に割り当てて書き込む。
 管理テーブル更新部208は、管理テーブル格納部207が管理している管理テーブルを更新する。
 1.3 情報処理装置10の動作説明
 ここでは、情報処理装置10の動作について説明する。
 (1)暗復号処理部114への鍵のロードの動作及びデータの暗復号の動作
 (a)暗復号処理部114への鍵のロードの動作について、図7に示すフローチャートを用いて説明する。
 鍵管理ソフトウェア116は、一例として、アプリケーションプログラムA117から図3に示す鍵Aのロードを要求される(S400)。
 次に、鍵管理ソフトウェア116は、鍵データベースA120から、指定された鍵Aに対応するノードに格納されている暗号化鍵Aを取得し、取得した暗号化鍵Aを暗復号処理部114へ出力する(S401)。
 次に、暗復号処理部114は、鍵管理ソフトウェア116から暗号化鍵Aを受け取り、暗復号エンジン部124により、暗号化鍵Aを、不揮発性メモリ部123に格納されているルート鍵127を用いて復号し、得られた鍵Aを鍵データベースA用鍵格納部126に格納する(S402)。
 次に、鍵管理ソフトウェア116は、暗復号処理部114から鍵Aのロード終了を示す通知を受け取る(S403)。
 以上により、暗復号処理部114への鍵のロード処理が終了する。
 鍵C、鍵Dなどの暗復号処理部114へのロードについても上記と同様の動作により可能である。例えば、暗号化鍵Cを基にして鍵Cを暗復号処理部114へロードする場合には、上記のステップS400~S403に従って鍵Aをロードした後に、上記のステップS400~S403と同様の動作をさせる。その場合に、特に、上記ステップS401において、鍵管理ソフトウェア116は、鍵データベースA120から暗号化鍵Cを取得し、ステップS402において、暗復号処理部114は、鍵データベースA用鍵格納部126に格納されている鍵Aを用いて、暗号化鍵Cを復号すればよい。鍵Dのロード処理についても同様である。
 このように、図3に示す鍵Cを暗復号処理部114へロードするためには、次のようにすればよい。
 (i)上記のステップS400~S403に従って、鍵Aをロードする。
 (ii)鍵Aがロードされた後に、上記に説明したように、ステップS400~S403と同様にして、鍵Cをロードする。
 また、図3の鍵データベースA120のリーフ239の鍵Iを暗復号処理部114へロードするためには、次のようにすればよい。
 (i)上記のステップS400~S403と同様にして、鍵Bをロードする。
 (ii)鍵Bがロードされた後に、上記のステップS400~S403と同様にして、鍵Fをロードする。この場合、上記ステップS401において、鍵管理ソフトウェア116は、鍵データベースA120から暗号化鍵Fを取得し、ステップS402において、暗復号処理部114は、鍵データベースA用鍵格納部126に格納されている鍵Bを用いて、暗号化鍵Fを復号する。
 (iii)鍵Fがロードされた後に、上記のステップS400~S403と同様にして、鍵Iをロードする。この場合、上記ステップS401において、鍵管理ソフトウェア116は、鍵データベースA120から暗号化鍵Iを取得し、ステップS402において、暗復号処理部114は、鍵データベースA用鍵格納部126に格納されている鍵Fを用いて、暗号化鍵Iを復号する。
 また、アプリケーションプログラムB118から鍵のロードを要求される場合についても、上記と同様に動作させればよい。
 (b)次に、データの暗復号の動作について、図8に示すフローチャートを用いて説明する。ここでは、図3に示す暗号化されたデータB(147)を復号する場合を例として説明する。なお、鍵データベースA用鍵格納部126には、鍵Fが格納されているものとする。
 鍵Fが鍵データベースA用鍵格納部126に格納された後に、鍵管理ソフトウェア116は、アプリケーションプログラムA117から暗号化されたデータB(147)の復号処理を要求される(S410)。
 次に、鍵管理ソフトウェア116は、アプリケーションプログラムA117から暗号化されたデータB(147)を受け取り、暗号化されたデータB(147)を暗復号処理部114へ出力し、鍵Fを用いて復号を行うように、暗復号処理部114に依頼する(S411)。
 次に、暗復号処理部114は、暗号化されたデータB(147)を受け取り、受け取った暗号化されたデータB(147)を、暗復号エンジン部124により、鍵データベースA用鍵格納部126に格納された鍵Fを用いて復号し、データBを出力する(S412)。
 次に、鍵管理ソフトウェア116は、暗復号処理部114からデータBを受け取り、データBをアプリケーションプログラムA117へ出力し、復号の完了をアプリケーションプログラムA117に通知する(S413)。
 以上により、復号処理を終了する。
 なお、データを暗号化する場合にも、上記と同様にすればよい。この場合、ステップ412において、暗復号エンジン部124は、鍵格納部に格納された鍵を用いてデータを暗号化すればよい。
 (2)データの同期更新処理
 上述したように、アプリケーションプログラムA117とアプリケーションプログラムB118とは、データBを共有している。ここでは、共有しているデータBを同期して更新する際の情報処理装置10の動作について、図9に示すフローチャートを用いて説明する。
 アプリケーションプログラムA117が、アプリケーションプログラムB118と共有しているデータBを更新する際に、情報処理装置10は、次のように動作する。
 アプリケーションプログラムA117は、上述したように、鍵管理ソフトウェア116と鍵データベースA120を用いて、鍵データベースA120のルートからデータBに対応するリーフ138までのそれぞれのノードに格納された暗号化鍵を順番に復号させる(S201)。
 次に、アプリケーションプログラムA117は、更新されたデータBを、ステップS201で取得した鍵Fで暗号化するように、鍵管理ソフトウェア116に依頼し、鍵管理ソフトウェア116は、管理テーブル220を更新する(S202)。なお、このステップのさらに詳細な内容については、図10~図12を用いて後述する。
 次に、鍵管理ソフトウェア116は、管理テーブル220を用いて、暗号化の対象のデータ(更新する前のデータB)が、鍵データベースA120と鍵データベースB121とで共有しているデータであるか否かを判断する(S203)。共有しているデータであるか否かは、次のようにして行う。つまり、鍵管理ソフトウェア116は、更新する前のデータBのハッシュ値をハッシュ値生成部203に生成させ、ハッシュ値判定部204に生成したハッシュ値と同じハッシュ値を含む管理情報が管理テーブル220に存在するか否かを判定させ、存在する場合に、ハンドラ値判定部205による判定は、次の通りとなる。
 ハンドラ値判定部205は、この管理情報に含まれる第1鍵ハンドラ値及び第2鍵ハンドラ値のうち、指定された側の暗復号システムとは異なるもう一方の側の暗復号システムの鍵ハンドラ値が、NULLでない場合には、第1の暗復号システム及び第2の暗復号システムにおいて、共有していると決定する。この場合、ステップS204へ制御を移す。
 一方、ハンドラ値判定部205は、この管理情報に含まれる第1鍵ハンドラ値及び第2鍵ハンドラ値のうち、指定された側の暗復号システムとは異なるもう一方の側の暗復号システムの鍵ハンドラ値が、NULLである場合には、第1の暗復号システム及び第2の暗復号システムにおいて、共有していないと決定する。この場合、ステップS206へ制御を移す。
 次に、鍵管理ソフトウェア116は、データBの同期処理で利用する鍵を取得する。つまり、相手側の鍵を取得する(S204)。なお、このステップの詳細な内容については、図13を用いて後述する。
 次に、鍵管理ソフトウェア116は、相手側の共有するデータを同期して更新する(S205)。なお、このステップの詳細な内容については、図14を用いて後述する。
 次に、鍵管理ソフトウェア116は、上記に述べたようにして、自身の更新されたデータBを暗号化し、暗号化された更新データBをサブ暗号化データ格納部122aに上書きで書き込む(ステップS206)。次に、処理を終了する。
 なお、上記の説明では、アプリケーションプログラムA117が、共有データを更新することとして説明を行ったが、アプリケーションプログラムB118も、同様な方法で、共有データを更新することができる。
 ここで、ステップS203における判定結果及びその後の処理を整理すると次のようになる。なお、ここでは、第1鍵ハンドラ値は、指定された側の暗復号システムの鍵ハンドラ値であり、第2鍵ハンドラ値は、もう一方の側の暗復号システムの鍵ハンドラ値であるとしている。
 (i)ステップS203において、第1鍵ハンドラ値と第2鍵ハンドラ値の両方が、NULLでない場合と判断された場合
 この場合には、第1の暗復号システム及び第2の暗復号システムの両方が、対象のデータを有している。
 第2の暗復号システムにおける暗号化データの鍵を取得し、取得した鍵を第1の暗復号システムで暗号化し、第1の暗復号システムで暗号化鍵を記憶する。また、第2の暗復号システムにおいて、更新データを暗号化して暗号化更新データを生成し、生成した暗号化更新データにより暗号化データを上書きする。さらに、第1の暗復号システムにおいて、更新データを暗号化して暗号化更新データを生成し、生成した暗号化更新データにより暗号化データを上書きする。
 (ii)ステップS203において、第1鍵ハンドラ値がNULLであり、第2鍵ハンドラ値がNULLでないと判断された場合
 この場合には、第1の暗復号システムは、対象のデータを有しておらず、第2の暗復号システムは、対象のデータを有している。
 第2の暗復号システムにおける暗号化データの鍵を取得し、取得した鍵を第1の暗復号システムで暗号化し、第1の暗復号システムで暗号化鍵を記憶する。また、第2の暗復号システムにおいて、更新データを暗号化して暗号化更新データを生成し、生成した暗号化更新データにより暗号化データを上書きする。さらに、第1の暗復号システムにおいて、更新データを暗号化して暗号化更新データを生成し、生成した暗号化更新データを書き込む。
 (iii)ステップS203において、第1鍵ハンドラ値がNULLでなく、第2鍵ハンドラ値がNULLであると判断された場合
 この場合には、第1の暗復号システムは、対象のデータを有しており、第2の暗復号システムは、対象のデータを有していない。
 第1の暗復号システムにおいて、更新データを暗号化して暗号化更新データを生成し、生成した暗号化更新データにより暗号化データを上書きする。
 第2の暗復号システムにおける処理はない。
 (iv)ステップS203において、第1鍵ハンドラ値がNULLであり、第2鍵ハンドラ値もNULLであると判断された場合
 この場合には、第1の暗復号システムは、対象のデータを有しておらず、第2の暗復号システムも、対象のデータを有していない。
 第1の暗復号システムにおいて、更新データを暗号化して暗号化更新データを生成し、生成した暗号化更新データを書き込む。
 このケースでは、データの更新ではなく、新規のデータの書き込みである。
 第2の暗復号システムにおける処理はない。
(3)管理テーブル220の更新
 ここでは、管理テーブル220の更新の動作について、図10~図12に示すフローチャートを用いて説明する。なお、ここで説明する管理テーブル220の更新の動作は、図9のステップS202の詳細である。
 利用データベース判定部201は、アプリケーションプログラム(アプリケーションプログラムA117又はアプリケーションプログラムB118)から入力されたコマンドを用いて、入力されたデータ(ノード情報構造体)が、鍵データベースA用であるのか、又は鍵データベースB用であるのかを判定する(S211)。アプリケーションプログラムは、鍵データベースA120で管理された鍵やデータを利用する場合には、鍵データベースA120用のコマンドとノード情報構造体150を利用し、鍵データベースB121で管理され鍵やデータを利用する場合には、鍵データベースB121用のコマンドとノード情報構造体160を利用する。そのため、利用データベース判定部201は、アプリケーションプログラムから入力されたコマンドを参照して、入力されたデータつまりノード情報構造体がノード情報構造体150であるか、又はノード情報構造体160であるかを判定することにより、鍵データベースA120用であるのか、又は鍵データベースB121用であるのかを判定することが可能である。
 鍵データベースA120用である場合、平文データ抽出部202は、ノード情報構造体150から平文データとデータハンドラ値とを抽出する(S212)。また、鍵データベースB121用である場合、平文データ抽出部202は、ノード情報構造体160からデータハンドラ値を抽出し、ノード情報構造体160のリンク先情報により定まる位置から平文データを抽出する(S213)。
 次に、ハッシュ値生成部203は、抽出された平文データからハッシュ値を生成する(S214)。
 次に、ハッシュ値判定部204は、管理テーブル220に格納された管理情報に含まれる平文データのハッシュ値のうち、ステップS214で生成されたハッシュ値とが一致するものが存在するか否かを判断する。具体的には、次のようにする。
 ハッシュ値判定部204は、管理テーブル220内で管理情報のエントリ番号を示す変数Nに初期値0を代入する(S215)。ここで、管理テーブル220のエントリ番号とは、管理テーブル220に含まれる管理情報を一意に識別する識別情報である。
 次に、ハッシュ値判定部204は、N番目の管理情報内のハッシュ値が、ステップS214で生成したハッシュ値と一致するか否かを確認する(S216)。一致しない場合(S216でNO)、Nが管理テーブル220の終端の管理情報のエントリ番号でなければ(S218でNO)、Nに1を加算し(S220)、ステップS216へ戻る。
 Nが管理テーブル220の終端の管理情報のエントリ番号であれば(S218でYES)、S219へ制御を移す。
 N番目の管理情報内のハッシュ値が、ステップS214で生成したハッシュ値と一致すれば(S216でYES)、管理テーブル220の同一の管理情報内の一方のデータハンドラ値がNULLか否かを判断する(S217)。具体的には、ハンドラ値判定部205は、ステップS214で生成したハッシュ値と一致する値が格納されている管理テーブル220の管理情報を参照し、その管理情報内の第1及び第2データハンドラ値を参照する。もし、第1及び第2データハンドラ値のうち、アプリケーションプログラムにより指定された鍵データベースとは異なるもう一方の鍵データベース用のデータハンドラ値がNULL(空)ならば、もう一方の鍵データベースでは、他のアプリケーションプログラムから暗号化依頼されているデータを共有していないということを示す。また、もし、アプリケーションプログラムにより指定された鍵データベースとは異なるもう一方の鍵データベース用のデータハンドラ値がNULL(空)でないならば、他のアプリケーションプログラムから暗号化依頼されているデータを共有していることを示す。したがって、一方のデータハンドラ値がNULL(空)ならば、ステップS219に制御を移す(S217でYES)。また、一方のデータハンドラ値のフィールドがNULL(空)でないならば、ステップS221に制御を移す(S217でNO)。
 ハッシュ値判定部204が、管理テーブルに、ステップS214で生成したハッシュ値が存在しないと判定した場合には(S218でYES)、又は、管理テーブル220の同一の管理情報内の一方のデータハンドラ値がNULLであると判断した場合(S217でYES)、管理テーブル更新部208は、管理テーブル220に新たな管理情報を追加し、その管理情報の各フィールドに、ステップS214で生成したハッシュ値及びノード情報構造体のデータハンドラ値を格納する(S219)。次に、当該処理は終了する。
 次に、管理テーブル更新部208は、管理テーブル220の管理情報において、指定された鍵データベースに対応するデータハンドラ値のフィールドに、アプリケーションプログラムから受け取ったノード情報構造体から抽出したデータハンドラ値を格納する(S221)。たとえば、アプリケーションプログラムA117が、鍵データベースA120を用いて、暗号化処理を要求した場合には、アプリケーションプログラムA117から受け取ったノード情報構造体から抽出したデータハンドラ値が、管理テーブル220の管理情報内の鍵データベースAに対応するデータハンドラ値のフィールドに格納される。
 次に、鍵取得部206は、アプリケーションプログラムから受け取ったノード情報構造体により示され、データハンドラ値に対応するデータを暗号化するように指定された鍵を、異なる鍵データベース用鍵格納部に転送する(S222)。例えば、アプリケーションプログラムA117から指示された場合には、指定された鍵を鍵データベースB用鍵格納部125に転送する。また、アプリケーションプログラムB118から指示された場合には、指定された鍵を鍵データベースA用鍵格納部126に転送する。
 次に、鍵取得部206は、指定された鍵データベースとは異なる鍵データベース用の鍵格納部に、データBの親ノードに対応する鍵ハンドラにより示される鍵がロードされているか否か確認する(S223)。例えば、アプリケーションプログラムA117から指示された場合には、データBの親ノードに対応する鍵ハンドラにより示される鍵が鍵データベースB用鍵格納部125にロードされているか否かを確認する。また、アプリケーションプログラムB118から指示された場合には、データBの親ノードに対応する鍵ハンドラにより示される鍵が鍵データベースA用鍵格納部126にロードされているか否かを確認する。
 もし、対応する鍵がロードされているならば(S223でYES)、改めてロードする必要がないため、ステップS225へ制御を移す。もし、対応する鍵がロードされていないならば(S223でNO)、鍵取得部206は、異なる鍵データベースのルートからデータBの親ノードまでの暗号化鍵を取得し、暗号化鍵の復号化を繰り返して、データBを暗号化する鍵を取得する(S224)。
 次に、鍵取得部206は、データBの暗号化のために取得した鍵を、データハンドラ値に対応するデータを暗号化するように指定された鍵を用いて、つまり、ステップS222で転送した鍵を用いて暗号化して暗号化鍵を生成する。次に、指定された鍵データベースが鍵データベースAの場合には、生成した暗号化鍵を、データBのノード情報構造体150の鍵のフィールドに格納することにより、鍵データベースAを更新する。また、指定された鍵データベースが鍵データベースBの場合には、生成した暗号化鍵を、データBのノード情報構造体160のリンク先情報のフィールドに、暗号化鍵が格納された位置を示す情報を格納することにより、鍵データベースBを更新する(S225)。次に、処理を終了する。
 このような操作によって、データBと、データBのノードに対応する鍵ハンドラの鍵とが、同じノード(リーフ)で管理されることになる。
 (4)鍵の取得の動作
 鍵の取得の動作について、図13に示すフローチャートを用いて説明する。なお、ここで説明する鍵の取得の動作は、図9のステップS204の詳細である。
 ハッシュ値生成部203は、抽出された平文データからハッシュ値を生成する(S231)。
 次に、ハッシュ値判定部204は、管理テーブル220に格納されている管理情報内のハッシュ値と、ステップS231で生成されたハッシュ値とが一致するものが存在するか否かを判断する。具体的には、次のようにして行う。
 ハッシュ値判定部204は、管理テーブル220内で管理情報のエントリ番号を示す変数Nに初期値0を代入する(S232)。次に、N番目の管理情報のハッシュ値が、ステップS231で生成したハッシュ値と一致するか否かを確認する(S233)。一致しない場合(S233でNO)、Nが管理テーブル220の終端の管理情報のエントリ番号でなければ(S238でNO)、Nに1を加算し(S239)、ステップS233へ戻る。
 Nが管理テーブル220の終端の管理情報のエントリ番号であれば(S238でYES)、処理を終了する。
 一致する場合(S233でYES)、ハンドラ値判定部205は、ステップS231で生成したハッシュ値と一致する値が格納されている管理テーブル220の管理情報を参照し、その管理情報内の第1データハンドラ値及び第2データハンドラ値を参照する。すなわち、鍵データベースAのリーフのデータハンドラ値と、鍵データベースBのリーフのデータハンドラ値とを参照する。もし、第1及び第2データハンドラ値が全てNULL(空)でないならば、もう一方の鍵データベースでも、アプリケーションプログラムから暗号化依頼されているデータを共有していることを示す。また、もし、第1及び第2データハンドラ値の少なくとも一方がNULL(空)ならば、もう一方の鍵データベースでは、アプリケーションプログラムから暗号化依頼されているデータを共有していないことを示す。したがって、第1及び第2データハンドラ値の少なくとも一方がNULL(空)ならば(S234でNO)、処理を終了する。
 また、第1及び第2データハンドラ値のフィールドが全てNULL(空)でないならば(S234でYES)、ハンドラ値判定部205は、管理テーブル220の前記管理情報から、指定された鍵管理データベースに対応する鍵ハンドラ値を取得する(S235)。
 次に、鍵取得部206は、ステップS235で取得した鍵ハンドラ値に対応する暗号化された鍵を取得し、暗号化鍵を暗復号処理部114を用いて復号し、取得した鍵を暗復号処理部114の鍵データベースA用鍵格納部126に鍵をロードする(S236)。また、ステップS236における復号処理で用いる鍵は、共有データの暗号化の際に利用する鍵と同一のため、ステップS236を行う時点で、暗復号処理部114にロードされている。
 次に、処理を終了する。
 (5)共有データの更新の動作
 共有データの更新の動作について、図14に示すフローチャートを用いて説明する。なお、ここで説明する共有データの更新の動作は、図9のステップS205の詳細である。
 データアクセス部119は、図13に示す鍵の取得の動作において取得した鍵を、異なる鍵データベース用鍵格納部に転送する(S241)。
 次に、データアクセス部119は、異なる鍵データベース用のノード情報構造体を生成し、生成したノード情報構造体の各フィールドに値を格納し、修正されたデータを異なる鍵データベースに格納する(S242)。
 次に、暗復号エンジン部124は、データアクセス部119の指示により、ステップS241で転送した鍵を用いて、更新データを暗号化する(S243)。
 そして、共有データのハッシュ値を参照して、管理テーブル220の対応する管理情報を抽出し、抽出した管理情報において、異なる鍵データベースのデータハンドラ値に格納されている値を参照して、共有データのノードを特定する。次に、異なる鍵データベースで管理されている共有データのノードの暗号化データを、暗号化された更新データにより、上書きすることによって、リンクを更新する(S244)。次に、処理を終了する。
 なお、共有データのハッシュ値はステップS212やS213ですでに生成した値を利用してもよいし、新たに生成してもよい。また、別の更新方法として、鍵データベース及び暗号化されたデータの各ノードの位置情報を管理する情報が存在するならば、その位置情報を新たなノード情報構造が格納されている位置を指し示すように変更することでもよい。
 以上により、本実施の形態の情報処理装置10は、鍵データベースB側が格納している鍵を、鍵データベースAを含む暗復号システムから直接復号することができる。これにより、鍵を鍵データベースBの木構造をたどって取得する手間が省け、更新されたデータを高速に同期させることができる。
 また、同様の態様にすることより、本実施の形態の情報処理装置は、鍵データベースA側が格納している鍵を、鍵データベースBを含む暗復号システムから直接復号することができる。これにより、鍵を鍵データベースAの木構造をたどって取得する手間が省け、更新されたデータを高速に同期させることができる。
 また、本実施の形態の情報処理装置は、共有データの更新時には、共有データノードを特定してそのノードを更新する。そのため、共有データの更新を行う際に、誤って異なるノードのデータを破壊することを防げる。また、共有データを特定された位置に上書きするため、古い共有データを確実に破棄することができる。
 2.実施の形態2
 本発明に係る別の実施の形態としての情報処理装置10が備える暗復号処理部260について説明する。
 実施の形態2の情報処理装置10は、実施の形態1の情報処理装置10が備える暗復号処理部114に代えて、図15に示す暗復号処理部260を備えている。暗復号処理部260は、実施の形態1の暗復号処理部114と類似する構成を有している。ここでは、暗復号処理部114との相違点を中心として説明する。
 暗復号処理部260は、実施の形態1の暗復号処理部114が有する不揮発性メモリ部123、暗復号エンジン部124、鍵データベースB用鍵格納部125及び鍵データベースA用鍵格納部126に加えて、さらに、同期専用鍵格納部265を備えている。
 また、実施の形態2では、実施の形態1のステップS222とS241において、鍵データベースB用鍵格納部125又は鍵データベースA用鍵格納部126への転送に代えて、鍵を同期専用鍵格納部265に転送して利用する。
 すなわち、鍵取得部206は、アプリケーションプログラムから受け取ったノード情報構造体により示され、データハンドラ値に対応するデータを暗号化するように指定された鍵を、同期専用鍵格納部265に転送する(S222)。
 また、データアクセス部119は、図13に示す鍵の取得の動作において取得した鍵を、同期専用鍵格納部265に転送する(S241)。
 このように、同期専用鍵格納部265を備えることによって、データ同期処理において、実施の形態1の鍵データベースA用鍵格納部126及び鍵データベースB用鍵格納部125を利用する必要がない。したがって、データ同期処理時に、鍵データベースA用鍵格納部126や鍵データベースB用鍵格納部125に格納されている鍵を破棄する必要がない。
 3.実施の形態3
 本発明に係る別の実施の形態としての情報処理装置10が備える暗復号処理部270について説明する。
 実施の形態3の情報処理装置10は、実施の形態1の情報処理装置10が備える暗復号処理部114に代えて、図16に示す暗復号処理部270を備えている。暗復号処理部270は、実施の形態1の暗復号処理部114と類似する構成を有している。ここでは、暗復号処理部114との相違点を中心として説明する。
 暗復号処理部270は、実施の形態1の暗復号処理部114が有する不揮発性メモリ部123及び暗復号エンジン部124に加えて、さらに、共用鍵格納部273を備えている。暗復号処理部270は、鍵データベースA用鍵格納部126及び鍵データベースB用鍵格納部125を備えていない。共用鍵格納部273は、鍵データベースA用鍵格納部126及び鍵データベースB用鍵格納部125に相当する。
 共用鍵格納部273は、図16に示すように、鍵テーブル274を格納している。
 鍵テーブル274は、図17に示すように、複数の鍵情報を含む。各鍵情報は、タイプ及び鍵から構成されている。タイプは、利用する鍵データベースを示す。つまり、鍵データベースA用であるか又は鍵データベースB用であるかを示す。鍵のフィールドには、上述した鍵が格納される。
 実施の形態3の情報処理装置10では、実施の形態1のステップS222とS241において、鍵を転送する代わりに、鍵テーブル274において、利用するデータベースのタイプを変更する。
 データベースのタイプの変更の一例を、図17及び図18を用いて説明する。ここで、図17に示す例では、鍵データベースBにおいて、共有データは、鍵データベースBの鍵である“0xAA 0xBB … 0x11”で暗号化されているものとする。
 まず、実施の形態1で説明した方法を用いて、鍵データベースAで管理されている、鍵データベースBの鍵“0xAA 0xBB … 0x11”を、共用鍵格納部273にロードする。この時点では、鍵データベースBの鍵“0xAA 0xBB … 0x11”は、鍵データベースAで管理されているため、図17の鍵テーブル274において、データベースのタイプは、“データベースA用”275である。
 次に、鍵管理ソフトウェア116が、暗復号処理部270に対して、ロードした鍵“0xAA 0xBB … 0x11”を、鍵データベースB用に変更するよう指定する。暗復号処理部270は、共用鍵格納部273の鍵テーブル274において、ロードした鍵“0xAA 0xBB … 0x11”を、鍵データベースB用に変更する(図18)。図18の鍵テーブル274において、データベースのタイプは、“データベースB用”276となる。
 そして、鍵管理ソフトウェア116は、実施の形態1で説明した方法を用いて、共有データを更新(同期)する。
 その後、鍵管理ソフトウェア116が、暗復号処理部270に対して、ロードした鍵“0xAA 0xBB … 0x11”を、鍵データベースA用に変更するよう指定する。暗復号処理部270は、共用鍵格納部273の鍵テーブル274において、ロードした鍵“0xAA 0xBB … 0x11”を、鍵データベースA用に変更する(図17)。図17の鍵テーブル274において、データベースのタイプは、“データベースA用”275となる。
 このように、共用鍵格納部273を備え、鍵テーブル274を用いることによって、データ同期処理において、鍵の転送が不要になる。また、鍵データベースAと鍵データベースBとで鍵を共用するので鍵の格納に必要な領域のサイズを小さくすることができる。
 なお、共有データの更新(同期)の後に、鍵データベースのタイプを変更するように指定しないでもよい。
 また、共有データの更新(同期)の後に、暗復号処理部270は、利用した鍵を破棄してもよい。
 4.その他変形例
 (1)上記の各実施の形態では、鍵データベースA120及び鍵データベースB121は、半導体メモリである第1記憶部112に格納されているが、ハードディスクユニットから構成される第2記憶部113に格納されているとしてもよい。
 (2)上記の各実施の形態では、暗復号処理部114を、ハードウェア装置で実現していたが、ソフトウェアで実現してもよい。さらに、暗復号処理部114を実現するソフトウェアは、安全なソフトウェア実行環境で実行されてもよい。
 (3)上記の各実施の形態において、ステップS222とステップS241において、鍵転送された後に、各鍵格納部から破棄すべき鍵を、ルート鍵で暗号化して、一時的に暗復号処理部の不揮発性メモリに格納し、同期処理終了後に、再度、暗復号処理部内部の揮発性メモリにロードしてもよい。なお、同期処理の間は、暗復号処理部に対する、新たな処理要求を受け付けないことで、各鍵格納部内部の場所などの情報を変更しないこととする。
 この場合に、暗復号化処理部は、制御部と、第1の暗復号システム用の前記第1鍵を保持する第1鍵格納部と、第2の暗復号システム用の前記第2鍵を保持する第1鍵格納部と、前記第1及び第2鍵格納部に保持されている前記第1鍵及び第2鍵を用いて、暗号化する暗復号エンジン部とを備える。前記制御部は、前記第1鍵を取得して前記第1鍵格納部に保持させるにあたって、前記第1鍵格納部の空き領域が不足しているか否かを判断し、前記第1鍵格納部の空き領域が不足している場合に、前記第1鍵格納部が既に保持している一の鍵を、前記暗復号エンジン部により、暗号化して前記第1鍵格納部の外に退避し、前記第1鍵格納部において、退避対象の前記鍵が保持されていた領域に、取得した前記第1鍵を上書きし、前記第1暗復号システムにおける前記第1鍵を用いた暗号化が完了した後、退避した前記暗号化鍵を、前記暗復号エンジン部により、復号して前記第1鍵が保持されている領域に上書きする。
 (4)上記の各実施の形態において、各鍵格納部を固定長サイズのブロック単位で管理し、鍵の長さに応じて、複数ブロックを用いて鍵を格納してもよい。その場合には、ブロック管理用のブロック管理テーブルを用いて、各鍵格納部を管理してもよい。
 各鍵格納部を固定長サイズのブロック単位で管理する場合の一例を図19に示す。図19に示す鍵格納部330は、固定長サイズの10個のブロックから構成されており、鍵は、ブロック単位で管理される。
 鍵格納部を固定長サイズのブロック単位で管理する場合のブロック管理テーブルの一例を図20に示す。図20に示すブロック管理テーブル331は、鍵格納部330のどのブロックが、どの鍵データベースの鍵を格納するため利用されているかを示す。ブロック管理テーブル331は、鍵データベースのタイプ及び利用するブロック番号からなる組を複数個含んで構成されており、データベースのタイプと利用するブロック番号の対応関係の表を構成している。
 ブロック管理テーブル331は、鍵格納部330のブロック#1及びブロック#2に格納された2個のデータを連結してできた連結体が鍵データベースA用の一つの鍵であり、ブロック#3及びブロック#4に格納された2個のデータを連結してできた連結体が鍵データベースA用の一つの鍵であり、ブロック#5、ブロック#6、ブロック#7及びブロック#8に格納された4個のデータを連結してできた連結体が鍵データベースB用の一つの鍵であり、ブロック#9に格納されたデータが鍵データベースB用の一つの鍵であり、ブロック#10に格納されたデータが鍵データベースB用の一つの鍵であることを示す。
 この構成によると、鍵を保持する領域をブロック単位で効率的に管理することができる。
 以上説明したように、情報処理装置は、第1の暗復号システムにおいて復号された鍵を、第1の暗復号システム用であることを示す第1タイプ情報と対応付けて保持し、第2の暗復号システムにおいて復号された鍵を、第2の暗復号システム用であることを示す第2タイプ情報と対応付けて保持する鍵格納部(図19に示す)を備えている。
 暗復号化処理部は、第1の暗復号システムにおいては、前記第1タイプ情報と対応付けられた鍵を用いて復号を行い、第2の暗復号システムにおいては、前記第2タイプ情報と対応付けられた鍵を用いて暗号化を行う。
 情報処理装置は、さらに、第1の暗復号システムにおける復号の結果、第1タイプ情報と対応付けられて、鍵格納部に保持された鍵について、第1タイプ情報を第2の暗復号システム用であることを示す第2タイプ情報に書き換えることで、前記鍵を用いた前記更新データの暗号化を第2の暗復号システムにおいて行わせる制御手段を備える。
 また、鍵格納部は、所定の容量を持つ複数のブロックから構成されており、保持する鍵それぞれがどのブロックに格納されているかを示すブロック情報を、前記保持する鍵それぞれと対応付けて保持している。
 (5)上記の各実施の形態において、管理テーブルの各管理情報を、当該管理情報に対応するリーフの鍵で暗号化して保持してもよい。その場合には、管理テーブルは、管理情報ごとに分割され、各管理情報は、リーフにより管理される。
 管理テーブルを、管理情報ごとに分割してリーフで管理する場合の一例を図21に示す。アプリケーションプログラムA280、アプリケーションプログラムB281、鍵データベースA283及び鍵データベースB284は、実施の形態1のアプリケーションプログラムA117、アプリケーションプログラムB118、鍵データベースA120及び鍵データベースB121と同一である。鍵管理ソフトウェア282は、鍵データベースA283及び鍵データベースB284を用いて、後述の方法を用いて、管理する。
 管理テーブルの各管理情報は、当該管理情報に対応するデータを暗号化する鍵が割り当てられているノードの鍵で暗号化される。図21に示す一例では、共有されるデータBについては、鍵データベースA283において、データBを暗号化する鍵が割り当てられているノード287(リーフ-4)の鍵を用いて、データBに対応する管理情報が暗号化されて、格納される(289)。同様に、共有されるデータBについては、鍵データベースB284において、データBを暗号化する鍵が割り当てられているノード293(リーフ-5)の鍵で、データBに対応する管理情報が暗号化されて、格納される(295)。
 図21のデータBに対応する管理テーブルの管理情報300を図22に一例として示す。管理情報300を構成する要素は、図6に示す管理テーブル220の管理情報を構成する要素と同一である。
 共有データを暗号化するためのリーフの鍵は、共有データの更新時に必ず探索される。管理テーブルには、他の鍵データベースで管理されているリーフの鍵によって暗号化された共有データの位置が記録される。そのため、この管理テーブルにそのようなリーフの鍵を対応付けることで、同期処理時に更新すべき共有データの位置の探索を簡便化することができる。
 以上説明したように、管理テーブルは、暗号化データの要約値と各ハンドラ値(位置情報)とを対応付けて含む。判断部は、暗号化データ格納部に記憶されている暗号化データからその要約値を算出し、得られた要約値に対応する各ハンドラ値(位置情報)が管理テーブルに記憶されているか否かを判断する。
 (6)上記の各実施の形態において、管理テーブルの各管理情報を、暗復号処理部に格納されているルート鍵を用いて暗号化して保持してもよい。
 (7)上記の各実施の形態では、アプリケーションプログラムが、データを暗号化する際に、鍵管理ソフトウェアが管理テーブルを更新しているが、鍵管理ソフトウェアは、それ以外のタイミングで管理テーブルを更新してもよい。
 図23は、アプリケーションプログラム(アプリケーションプログラムA又はアプリケーションプログラムB)がデータを復号する際に、鍵管理ソフトウェアによる管理テーブルの更新処理を示すフローチャートである。
 アプリケーションプログラム(ここでは、一例として、アプリケーションプログラムA)は、データBを復号するように、鍵管理ソフトウェアに要求する(S500)。
 次に、鍵管理ソフトウェアは、復号を要求されたデータBを格納しているノード情報構造体から平文データを取得する(S501)。
 鍵管理ソフトウェアは、アプリケーションプログラムから使用するように指定された鍵データベースとは異なる鍵データベース用のノード情報構造体に、取得した平文データを格納する(S502)。
 鍵管理ソフトウェアは、暗復号エンジン部に対して、ステップS502で平文データを格納したノード情報構造体を、アプリケーションプログラムから使用するように指定された鍵データベースとは異なる鍵データベースの全てのリーフの鍵で暗号化するように指示し、暗復号エンジン部は、平文データを格納したノード情報構造体を暗号化する(S503)。
 鍵管理ソフトウェアは、ステップS503で暗号化したノード情報構造体を、アプリケーションプログラムから使用するように指定された鍵データベースとは異なる鍵データベースで暗号化されて管理されているデータと一致するか否かを判断する(S504)。一致するならば(S504でYES)、そのデータは共有データであると判断し、管理テーブルを更新し(S505)、管理テーブルの更新を終了する。
 また、ステップS504で一致しないと判断された場合には(S503でNO)、管理テーブルの更新を終了する。
 なお、ステップS504における一致するか否かを判断する際には、暗号化データのハッシュ値を用いて比較してもよい。また、暗号化データのハッシュ値を管理テーブルの平文データのハッシュ値のフィールドに格納してもよい。
 図24に、共有データの特定の際に、暗号化データのハッシュ値を用いる場合の管理テーブル320の一例を示す。図24の管理テーブル320と図6の管理テーブル220との違いは、ハッシュ値を生成する対象が、管理テーブル320では暗号化データであるのに対して、管理テーブル220では平文データであることである。それ以外の管理テーブルのフィールドは、同一である。
 図25に、図24に示す管理テーブル320を用いて、共有データを特定し、同期すべきデータの鍵を取得するフローチャートを示す。
 図25に示すフローチャートと、実施の形態1で説明した鍵取得のフローチャート(図13)との違いは、実施の形態1の鍵取得では、ステップS231において平文データからハッシュ値を生成していることに対して、図25のフローチャートでは、ステップS231aにおいて暗号化データからハッシュ値を生成することである。
 図25のステップS232以降の処理は、図13のステップS232以降の処理と同一である。
 (8)上記の各実施の形態において、鍵管理ソフトウェアや管理テーブルを、安全なソフトウェア実行環境で実行及び管理してもよい。安全なソフトウェア実行環境を実現する技術として、正当なソフトウェアのみを起動する技術であるセキュアブートを用いてもよい。さらに、別の方法で安全なソフトウェア実行環境を構築してもよい。
 (9)上記の各実施の形態では、ノード情報構造体に含まれる暗号種別として、楕円曲線暗号方式やNTRU暗号方式を指定してもよい。さらに、ノード情報構造体に含まれる鍵長として、鍵のビット長の指定以外に、あらかじめ定義された定義情報で、鍵長を指定してもよい。また、暗復号エンジン部は、楕円曲線暗号方式やNTRU暗号方式の暗復号を実現してもよい。
 (10)上記の各実施の形態では、ノード情報構造体において、鍵ハンドラ値のフィールドとデータハンドラ値のフィールドとを異なるフィールドを用いて実現したが、同一のフィールドを用いて実現してもよい。
 例えば、対応する鍵とデータとが存在する位置を示すために、同一の番号を用い、ノード情報構造体において、当該番号を格納する1個のフィールドのみを設けてもよい。この番号の一例は、鍵データベースの木構造のノードを識別する識別情報である。
 この場合に、各鍵データベースにおいて、領域を確保し、この領域に鍵ハンドラ値とデータハンドラ値とを組にして格納する。この領域において、この組の記憶されている位置を前記の番号により識別するようにする。
 また、この場合に、各鍵データベースにおいて、鍵ハンドラ値領域を確保し、この鍵ハンドラ値領域に鍵ハンドラ値を格納する。この鍵ハンドラ値領域において、この鍵ハンドラ値が記憶されている位置を前記の番号により識別するようにする。また、各鍵データベースにおいて、データハンドラ値領域を確保し、このデータハンドラ値領域にデータハンドラ値を格納する。このデータハンドラ値領域において、このデータハンドラ値が記憶されている位置を前記の番号により識別するようにする。
 (11)上記の各実施の形態では、ハッシュ値をSHA-1アルゴリズムを用いて生成するとしたが、それ以外の方法を用いてもよい。たとえば、SHA-2(SHA-224、SHA-256、SHA-384、SHA-512)アルゴリズムやMD5(Message Digest 5)アルゴリズムなどでもよい。
 (12)上記の各実施の形態では、情報処理装置は、一方の暗復号システムが管理する共有データが更新されると、そのたびに他の暗復号システムが管理する共有データを更新している。しかし、これに限られるものではなく、共有データを同期するよう指示された場合に、他の暗復号システムが管理する共有データを更新するとしてもよい。これにより、他の暗復号システム側で共有データが必要になった時にだけ、その共有データを更新することができるので、更新処理を行う回数を少なくすることができる。
 図26に、共有データを同期するよう指示された場合に、他の暗復号システムが管理する共有データの更新処理のフローチャートを示す。
 図26に示すフローチャートと、実施の形態1で説明したデータ同期のフローチャート(図9)との違いは、図26で示すフローチャートにおいて、ステップS511において、同期指示があるか否かを判断する判断ステップが追加されたことである。
 ステップS511において、同期指示がある場合には、ステップS201に制御を移す。ステップS201以降の処理は、図9のステップS201以降の処理と同一である。
 また、ステップS511において、同期指示が無い場合には、ステップS206に制御を移し、ステップS206において、自身の更新データBを暗号化し、次に、処理を終了する。
 また、ステップS511における同期指示の判断では、鍵管理ソフトウェアで管理するフラグの値や、鍵管理ソフトウェアへのデータ暗復号回数や、鍵管理ソフトウェアの利用時間などを用いて判断してもよい。
 また、データアクセス部119は、第1の暗復号システムにおいて暗号された更新データを、サブ暗号化データ格納部122aに記憶されている暗号化データに上書きする。その後、同期指示を受け取った場合に、データアクセス部119は、第2の暗復号システムにおいて暗号化された更新データを、サブ暗号化データ格納部122bに記憶されている暗号化データに上書きする。
 (13)上記の各実施の形態では、情報処理装置における共有データの更新の詳細については触れていないが、共有データの更新を、暗号化された共有データを復号してから行うとしてもよい。例えば、コンテンツの利用回数を示す情報のような累積的に変化するような共有データを管理することができる。利用回数が暗号化されて第1の暗復号システム及び第2の暗復号システムにおいて保持されている。第1の暗復号システムにおいてコンテンツを利用する際に、暗号化された利用回数を復号し、利用回数を得、得られ利用回数から「1」を減じる。次に、「1」を減じた利用回数を再度暗号化する。このとき、第2の暗復号システムにおいて保持されている暗号化利用回数に、新たな暗号化利用回数を上書きする。
 また、暗号化された共有データの更新の指示が外部から供給されるとしてもよい。つまり、共有データを更新して得られた更新データが、外部から供給されるとしてもよい。この場合、第1の暗復号システムにおいて、更新データを暗号化して、暗号化更新データを保持し、第2の暗復号システムにおいても、更新データを暗号化して、暗号化更新データを保持する。
 暗号化された共有データの更新の指示が外部から供給される情報処理装置のソフトウェア構成を図27に示す。
 アプリケーションプログラムA117、アプリケーションプログラムB118、鍵データベースA120、鍵データベースB121及び暗号化データ格納部122は、実施の形態1のアプリケーションプログラムA117、アプリケーションプログラムB118、鍵データベースA120、鍵データベースB121及び暗号化データ格納部122と同一である。
 鍵管理ソフトウェア116aは、図27に示すように、鍵管理ソフトウェア116が有する利用データベース判定部201、平文データ抽出部202、ハッシュ値生成部203、ハッシュ値判定部204、ハンドラ値判定部205、鍵取得部206、管理テーブル格納部207、管理テーブル更新部208及び鍵書込部209に加えて、さらに、データ状態変更部324を含む。
 データ状態変更部324は、暗号化データ格納部122に格納されているデータの状態を管理及び変更する。
 暗号化された共有データの更新の指示が外部から供給された際のデータ同期処理について、図28に示すフローチャートを用いて説明する。
 鍵管理ソフトウェア116aのデータ状態変更部324は、暗号化データ格納部122に格納されている暗号化データBを復号して、平文データを取得し、アプリケーションプログラムA117から指定された変更を平文データに反映して、更新データBを作成する(S521)。
 例えば、アプリケーションプログラムA117は、鍵データベースA120のリーフに割り当てられた鍵で暗号化されているデータBに対して、累積的な変更として、1を減算するように、鍵管理ソフトウェア116aに指示した場合、データ状態変更部324は、鍵データベースA120を用いて、暗号化データBを復号して平文データを取得し、平文データから1を減算する。そして、減算された結果のデータを更新データBとする。
 ステップS201以降の処理は、図9のステップS201以降の処理と同一である。
 なお、図28のステップS205において、鍵管理ソフトウェア116aは、暗号化された更新データBにより、相手側の暗号化データBを更新する。
 (14)上記の実施の形態で述べた構成要素については、その一部または全てを実現可能な範囲でソフトウェアとして実装してもよい。この場合、集積回路上に乗せなくてはならないハードウェアの量を抑えることができるので、より集積度を向上させることができる。
 (15)上記の各実施の形態では、アプリケーションプログラムAが鍵データベースAを用い、アプリケーションプログラムBが鍵データベースBを用い、また、不揮発性メモリ部123には、鍵データベースA用のルート鍵及び鍵データベースB用のルート鍵が記憶され、暗復号処理部には、鍵データベースA用鍵格納部及び鍵データベースB用鍵格納部が存在するとしているが、これには限定されない。
 情報処理装置には、n(nは、3以上の正整数)個のアプリケーションプログラムが記憶され、n個の鍵データベースが保持され、n個のアプリケーションプログラムは、それぞれ、n個の鍵データベースに対応し、アプリケーションプログラムは、対応する鍵データベースを用い、不揮発性メモリ部123には、n個の鍵データベース用のルート鍵が記憶され、暗復号処理部には、n個の鍵データベース用の鍵格納部が存在し、暗号化データ格納部は、n個のサブ暗号化データ格納部を備えるとしてもよい。
 この場合に、情報処理装置は、それぞれデータを暗号化して保管するn個の暗復号システムを有し、この情報処理装置は、n個の暗復号システムのうちのいずれか一の暗復号システムにおける暗号化の対象データを取得するデータ取得部と、前記対象データが、他の暗復号システムにおいて暗号化されて保管されているか否かを判断する判断部と、保管されていると判断する場合に、他の暗復号システムにおいて保管されている暗号化データの鍵を取得する鍵取得部と、前記一の暗復号システムにおいて用いられる鍵データベース(鍵記憶手段)と、前記一の暗復号システムにおいて、前記対象データに対応付けて、取得した前記鍵を前記鍵データベースに書き込む鍵書込部とを備えるとしてもよい。
 (16)本発明の第1の態様に係る情報処理装置は、第1システムと第2システムとが動作する情報処理装置であって、前記第1システムと前記第2システムとは、データを暗号化して管理する互いに独立したシステムであり、前記情報処理装置は、前記第1システムと前記第2システムとの間で共有される共有データを前記第1システム用の鍵である第1暗号鍵で暗号化した暗号化共有データを格納する第1データ格納部と、前記共有データを前記第2システム用の鍵である第2暗号鍵で暗号化した暗号化共有データを格納する第2データ格納部と、前記第1システム用の鍵として、前記第1暗号鍵を用いて暗号化された前記第2暗号鍵を格納する第1鍵格納部と、前記第1システムと前記第2システムとを制御する制御部とを備え、前記制御部は、前記第1データ格納部に格納されている暗号化共有データの更新が指示されると、更新された共有データを前記第1暗号鍵で暗号化して前記第1データ格納部に記録し、前記暗号化された第2暗号鍵を前記第1暗号鍵に対応する第1復号鍵を用いて復号して前記第2暗号鍵を生成するよう、前記第1システムを制御し、前記第1システムで生成された第2暗号鍵で前記更新された共有データを暗号化して前記第2データ格納部に記録することで前記暗号化共有データを更新するよう、前記第2システムを制御するものである。
 これによると、本態様の情報処理装置は、更新された共有データを前記第1暗号鍵で暗号化して前記第1データ格納部に記録し、前記暗号化された第2暗号鍵を前記第1暗号鍵に対応する第1復号鍵を用いて復号して前記第2暗号鍵を生成するよう、前記第1システムを制御し、前記第1システムで生成された第2暗号鍵で前記更新された共有データを暗号化して前記第2データ格納部に記録する。これにより、本態様の情報処理装置は、第2のシステムの持つ第2暗号鍵を、第1のシステムから直接復号することができる。これにより、第2のシステムに第2暗号鍵を取得する手間が省け、更新されたデータを高速に同期させることができる。
 また、本発明の第2の態様に係る情報処理装置において、前記制御部は、更に、前記第2データ格納部における前記暗号化共有データの位置を特定し、前記第2暗号鍵で前記更新された共有データを前記特定された位置に上書きするよう前記第2システムを制御するものである。
 これによると、暗号化共有データの位置を特定するため、暗号化共有データの更新を行う際に、誤って異なるデータを破壊することを防げる。また、共有データを特定された位置に上書きするため、古い共有データを確実に破棄することができる。
 また、本発明の第3の態様に係る情報処理装置は、さらに、暗号化された前記共有データの前記第2データ格納部における位置を示す情報を、前記第1復号鍵と対応付けて管理する共有データ管理部を備え、前記制御部は、前記第1復号鍵に対応付けられた前記情報を基に、前記第2データ格納部における前記暗号化共有データの所在を特定し、前記位置に前記第2更新データを上書きするよう、前記第2システムを制御するものである。
 これによると、共有データの第2データ格納部における位置を示す情報を、第1復号鍵と対応付けて管理する。第1復号鍵は、共有データの更新時に必ず探索される情報である。本態様では、暗号化共有データの位置、すなわち、更新すべき共有データの位置をそのような第1復号鍵に対応付けているため、共有データの位置の探索を簡便化することができる。
 また、本発明の第4の態様に係る情報処理装置は、さらに、暗号化された前記共有データの前記第2データ格納部における位置を示す情報を、前記共有データの要約値と対応付けて管理する共有データ管理部を備え、前記制御部は、前記第1データ格納部に格納されている暗号化共有データを前記第1復号鍵を用いて復号し、復号により得た共有データについての要約値を計算し、前記要約値を用いて前記共有データ管理部の管理する情報を参照することで、前記第2データ格納部における前記暗号化共有データの位置を特定し、前記位置に前記第2更新データを上書きするよう、前記第2システムを制御するものである。
 これによると、第2データ格納部における位置を示す情報を、前記共有データの要約値として対応づけて管理する。共有データの要約値はデータサイズを小さくすることができるため、小さなサイズのデータで管理することができる。また、共有データの要約値と対応付けて管理するため、共有データが改竄されている場合は正しい要約値が得られなくなり、共有データの位置も特定できない。これにより、不正な読み出しを防止することができる。
 また、本発明の第5の態様に係る情報処理装置は、さらに、暗号化された前記共有データの前記第2データ格納部における位置を示す情報を、前記第1データ格納部に格納されている暗号化共有データの要約値と対応付けて管理する共有データ管理部を備え、制御部は、前記第1データ格納部に格納されている前記暗号化共有データの要約値を計算し、前記要約値を用いて前記共有データ管理部の管理する情報を参照することで、前記第2データ格納部における前記暗号化共有データの位置を特定し、前記位置に前記第2更新データを上書きするよう、前記第2システムを制御するものである。
 これによると、第2データ格納部における位置を示す情報を、前記第1データ格納部に格納されている暗号化共有データの要約値として対応づけて管理する。暗号化共有データの要約値はデータサイズを小さくすることができるため、小さなサイズのデータで管理することができる。また、暗号化共有データの要約値と対応付けて管理するため、暗号化共有データが改竄されている場合は正しい要約値が得られなくなり、暗号化共有データの位置を特定できない。これにより、不正な読み出しを防止することができる。
 また、本発明の第6の態様に係る情報処理装置は、更に、前記第2システム用の鍵として、前記第2暗号鍵を用いて暗号化された前記第1暗号鍵を格納する第2鍵格納部を備え、前記制御部は、更に、前記第2データ格納部に格納されている暗号化共有データの更新が指示されると、更新された共有データを前記第2暗号鍵で暗号化して前記第2データ格納部に記録し、前記暗号化された第1暗号鍵を前記第2暗号鍵に対応する第2復号鍵を用いて復号して前記第1暗号鍵を生成するよう、前記第2システムを制御し、前記第2システムで生成された第1暗号鍵で前記更新された共有データを暗号化して前記第1データ格納部に記録することで前記暗号化共有データを更新するよう、前記第1システムを制御するものである。
 これによると、第2システムに対しても、共有データの同期を行うことができる。
 また、本発明の第7の態様に係る情報処理装置において、前記制御部は、前記第1データ格納部に格納されている暗号化共有データの更新が指示されると、さらに、前記第1データ格納部に格納されている暗号化共有データを、前記第1復号鍵を用いて復号し、前記復号された共有データを前記更新された共有データに更新するよう、前記第1システムを制御するものである。
 これによると、共有データを復号してから更新することができる。これにより、例えば、コンテンツの利用回数を示す情報のような累積的に変化するような共有データを管理することができる。
 また、本発明の第8の態様に係る情報処理装置において、前記制御部は、前記第1データ格納部に格納されている暗号化共有データが更新された後、前記第1システムと前記第2システムとの間で前記共有データを同期するよう指示された場合に、前記第1システムで生成された第2暗号鍵で前記更新された共有データを暗号化して前記第2データ格納部に記録し、前記暗号化共有データを更新するよう、前記第2システムを制御するものである。
 これによると、前記第1データ格納部に格納されている暗号化共有データが更新された後、前記第1システムと前記第2システムとの間で前記共有データを同期するよう指示された場合に、第2システムの共有データを更新する。これにより、第2システムで更新された共有データが必要になった時にだけ、第2システムの共有データを更新することができるので、更新処理を行う回数を削減することができる。
 また、本発明の第9の態様に係る情報処理装置は、更に、前記第1復号鍵を含む前記第1システム用の鍵を階層構造で管理する階層管理部を備え、前記階層構造において、各鍵の下位には前記各鍵を用いて復号できるよう暗号化された鍵が割り当てられており、前記階層管理部は、暗号化された前記第2暗号鍵を前記第1復号鍵の下位に対応付けて管理するものである。
 これによると、第1システムは、木構造等の階層構造で管理された鍵データベースを利用することができる。
 また、本発明の第10の態様に係る情報処理装置は、さらに、前記第1システムが管理するデータを利用するソフトウェアを動作させる動作部を備え、前記制御部は、前記データ格納部に格納されている暗号化共有データの更新の指示を前記ソフトウェアから受け付けるものである。
 これによると、第1システムをアプリケーションから利用することができる。
 また、本発明の第11の態様に係る情報処理装置は、更に、前記第1システムが復号した鍵を、前記第1システム向けであることを示す情報と対応付けて保持し、前記第2システムが復号した鍵を、前記第2システム向けであることを示す情報と対応付けて保持する保持部を備え、前記第1システムは、前記第1システム向けであることを示す情報と対応付けられた鍵を用いて復号を行い、前記第2システムは、前記第2システム向けであることを示す情報と対応付けられた鍵を用いて暗号化を行い、前記制御部は、前記第1システムによる復号の結果、前記第1システム向けであることを示す情報と対応付けられて前記保持手段に保持された第2暗号鍵について、前記情報を前記第2システム向けであることを示す情報に書き換えることで、前記第2暗号鍵を用いた前記更新された共有データの暗号化を前記第2システムに行わせるものである。
 これによると、制御部は、前記第1システムによる復号の結果、前記第1システム向けであることを示す情報と対応付けられて前記保持手段に保持された第2暗号鍵について、前記情報を前記第2システム向けであることを示す情報に書き換えることで、前記第2暗号鍵を用いた前記更新された共有データの暗号化を前記第2システムに行わせる。したがって、暗復号に用いる鍵の格納に必要な領域のサイズを小さくすることができる。また、暗復号に用いる鍵を復号化した状態で保持しつづけるため、鍵の復号回数を削減することができる。
 また、本発明の第12の態様に係る情報処理装置において、前記保持部は、所定の容量を持つ複数のブロックから構成されており、保持する鍵それぞれがどのブロックに格納されているかを示す情報を、前記保持する鍵それぞれと対応付けて保持するものである。
 この構成によると、鍵を保持する領域をブロック単位で効率的に管理することができる。
 また、本発明の第13の態様に係る情報処理装置において、前記情報処理装置は、更に、前記第2システム向けの鍵を保持する保持部を備え、前記第2システムは、前記保持部の保持する鍵を用いて暗号化を行い、前記制御部は、前記第2暗号鍵を前記保持部に保持させることで、前記第2システムに前記更新後の共有データの暗号化を行わせ、前記第2暗号鍵を前記保持部に保持させるにあたって、前記保持部の空き領域が不足している場合には、前記保持部が既に保持している鍵を暗号化して前記保持部の外に退避し、退避した前記鍵が保持されていた領域に前記第2暗号鍵を上書きし、前記第2システムによる前記第2更新データの生成が完了した後、退避した前記鍵を復号して前記第2暗号鍵が保持されている領域に上書きするものである。
 この構成によると、制御部は、第2暗号鍵を前記保持部に保持させるにあたって、前記保持部の空き領域が不足している場合には、前記保持部が既に保持している鍵を暗号化して前記保持部の外に退避し、退避した前記鍵が保持されていた領域に前記第2暗号鍵を上
書きし、前記第2システムによる前記第2更新データの生成が完了した後、退避した前記鍵を復号して前記第2暗号鍵が保持されている領域に上書きする。したがって、保持部に十分な空き領域がない場合であっても、共有データの更新ができる。また、保持部外に鍵を対比する際には暗号化を行うので、保持部の外で鍵を奪うなどの攻撃から鍵を保護することができる。
 また、本発明の第14の態様に係る情報処理方法は、第1システムと第2システムとが動作する情報処理装置で用いられる情報処理方法であって、前記第1システムと前記第2システムとは、データを暗号化して管理する互いに独立したシステムであり、前記情報処理装置は、前記第1システムと前記第2システムとの間で共有される共有データを前記第1システム用の鍵である第1暗号鍵で暗号化した暗号化共有データを格納する第1データ格納部と、前記共有データを前記第2システム用の鍵である第2暗号鍵で暗号化した暗号化共有データを格納する第2データ格納部と、前記第1システム用の鍵として、前記第1暗号鍵を用いて暗号化された前記第2暗号鍵を格納する第1鍵格納部とを備え、前記情報処理方法は、前記第1データ格納部に格納されている暗号化共有データの更新が指示されると、更新された共有データを前記第1暗号鍵で暗号化して前記第1データ格納部に記録し、前記暗号化された第2暗号鍵を前記第1暗号鍵に対応する第1復号鍵を用いて復号して前記第2暗号鍵を生成するよう、前記第1システムを制御し、前記第1システムで生成された第2暗号鍵で前記更新された共有データを暗号化して前記第2データ格納部に記録することで前記暗号化共有データを更新するよう、前記第2システムを制御するものである。
 また、本発明の第15の態様に係る情報処理プログラムは、第1システムと第2システムとが動作する情報処理装置で用いられる情報処理プログラムであって、前記第1システムと前記第2システムとは、データを暗号化して管理する互いに独立したシステムであり、前記情報処理装置は、前記第1システムと前記第2システムとの間で共有される共有データを前記第1システム用の鍵である第1暗号鍵で暗号化した暗号化共有データを格納する第1データ格納部と、前記共有データを前記第2システム用の鍵である第2暗号鍵で暗号化した暗号化共有データを格納する第2データ格納部と、前記第1システム用の鍵として、前記第1暗号鍵を用いて暗号化された前記第2暗号鍵を格納する第1鍵格納部とを備え、前記情報処理プログラムは、前記第1データ格納部に格納されている暗号化共有データの更新が指示されると、更新された共有データを前記第1暗号鍵で暗号化して前記第1データ格納部に記録し、前記暗号化された第2暗号鍵を前記第1暗号鍵に対応する第1復号鍵を用いて復号して前記第2暗号鍵を生成するよう、前記第1システムを制御し、前記第1システムで生成された第2暗号鍵で前記更新された共有データを暗号化して前記第2データ格納部に記録することで前記暗号化共有データを更新するよう、前記第2システムを制御するものである。
 本発明の第16の態様に係る情報処理プログラムは、コンピュータ読み取り可能な記録媒体に記録されているものである。
 本発明の第17の態様に係る情報処理集積回路は、第1システムと第2システムとが動作する情報処理装置で用いられる集積回路であって、前記第1システムと前記第2システムとは、データを暗号化して管理する互いに独立したシステムであり、前記情報処理装置は、前記第1システムと前記第2システムとの間で共有される共有データを前記第1システム用の鍵である第1暗号鍵で暗号化した暗号化共有データを格納する第1データ格納部と、前記共有データを前記第2システム用の鍵である第2暗号鍵で暗号化した暗号化共有データを格納する第2データ格納部と、前記第1システム用の鍵として、前記第1暗号鍵を用いて暗号化された前記第2暗号鍵を格納する第1鍵格納部とを備え、前記集積回路は、前記第1データ格納部に格納されている暗号化共有データの更新が指示されると、更新された共有データを前記第1暗号鍵で暗号化して前記第1データ格納部に記録し、前記暗
号化された第2暗号鍵を前記第1暗号鍵に対応する第1復号鍵を用いて復号して前記第2暗号鍵を生成するよう、前記第1システムを制御し、前記第1システムで生成された第2暗号鍵で前記更新された共有データを暗号化して前記第2データ格納部に記録することで前記暗号化共有データを更新するよう、前記第2システムを制御するものである。
 また、本発明の一の実施態様である情報処理装置は、第1システムと第2システムとが動作する情報処理装置であって、前記第1システムと前記第2システムとの間で共有される共有データを前記第1システム用の鍵である第1暗号鍵で暗号化した暗号化共有データを格納する第1データ格納部と、前記共有データを前記第2システム用の鍵である第2暗号鍵で暗号化した暗号化共有データを格納する第2データ格納部と、前記第1システム用の鍵として、前記第1暗号鍵を用いて暗号化された前記第2暗号鍵を格納する第1鍵格納部と、前記第1システムと前記第2システムとを制御する制御部とを備え、前記制御部は、前記第1データ格納部に格納されている暗号化共有データの更新が指示されると、更新された共有データを前記第1暗号鍵で暗号化して前記第1データ格納部に記録し、前記暗号化された第2暗号鍵を前記第1暗号鍵に対応する第1復号鍵を用いて復号して前記第2暗号鍵を生成するよう、前記第1システムを制御し、前記第1システムで生成された第2暗号鍵で前記更新された共有データを暗号化して前記第2データ格納部に記録することを特徴とする。
 このような構成により、本発明に関する情報処理装置は、更新された共有データを前記第1暗号鍵で暗号化して前記第1データ格納部に記録し、前記暗号化された第2暗号鍵を前記第1暗号鍵に対応する第1復号鍵を用いて復号して前記第2暗号鍵を生成するよう、前記第1システムを制御し、前記第1システムで生成された第2暗号鍵で前記更新された共有データを暗号化して前記第2データ格納部に記録する。この構成により、本発明に関する情報処理装置は、第2のシステムの持つ第2暗号鍵を、第1のシステムから直接復号することができる。これにより、第2のシステムに第2暗号鍵を取得する手間が省け、更新されたデータを高速に同期させることができる。
 (17)上記の実施の形態で述べた構成要素については、1個のシステムLSI(Large Scale Integration:大規模集積回路)から構成されているとしてもよい。システムLSIは、複数の構成部を1個のチップ上に集積して製造された超多機能LSIであり、具体的には、マイクロプロセッサ、ROM、RAMなどを含んで構成されるコンピュータシステムである。前記RAMには、コンピュータプログラムが記憶されている。前記マイクロプロセッサが、前記コンピュータプログラムにしたがって動作することにより、システムLSIは、その機能を達成する。
 また、上記の各装置を構成する構成要素の各部は、個別に1チップ化されていても良いし、一部又は全てを含むように1チップ化されてもよい。この場合、上記の構成要素をソフトウェアで実装するよりも処理を高速化することができる。
 (18)システムLSIは集積度の違いにより、IC、LSI、スーパーLSI、ウルトラLSIと呼称されることもあるが、システムLSIを上記のいずれの集積度で実現した場合も本発明に含まれることは言うまでもない。また、LSI製造後に、プログラムすることが可能なFPGA(Field Programmable Gate Array)や、LSI内部の回路セルの接続や設定を再構成可能なリコンフィギュラブル・プロセッサを利用しても良い。
 さらには、半導体技術の進歩または派生する別技術によりLSIに置き換わる集積回路化の技術が登場すれば、当然、その技術を用いて構成要素の集積化を行ってもよい。バイオ技術の適応等が可能性としてありえる。
 (19)上記の各装置を構成する構成要素の一部または全部は、各装置に脱着可能なICカードまたは単体のモジュールから構成されているとしてもよい。前記ICカードまたは前記モジュールは、マイクロプロセッサ、ROM、RAMなどから構成されるコンピュータシステムである。前記ICカードまたは前記モジュールは、上記の超多機能LSIを含むとしてもよい。マイクロプロセッサが、コンピュータプログラムにしたがって動作することにより、前記ICカードまたは前記モジュールは、その機能を達成する。このICカードまたはこのモジュールは、耐タンパ性を有するとしてもよい。
 (20)また、本発明は、前記コンピュータプログラムまたは前記デジタル信号をコンピュータ読み取り可能な記録媒体、例えば、フレキシブルディスク、ハードディスク、CD-ROM、MO、DVD、DVD-ROM、DVD-RAM、BD(Blu-rayDisc)、半導体メモリなどに記録したものとしてもよい。また、これらの記録媒体に
記録されている前記デジタル信号であるとしてもよい。
 また、本発明は、前記コンピュータプログラムまたは前記デジタル信号を、電気通信回線、無線または有線通信回線、インターネットを代表とするネットワーク、データ放送等を経由して伝送するものとしてもよい。
 また、本発明は、マイクロプロセッサとメモリを備えたコンピュータシステムであって、前記メモリは、上記コンピュータプログラムを記憶しており、前記マイクロプロセッサは、前記コンピュータプログラムにしたがって動作するとしてもよい。
 また、前記プログラムまたは前記デジタル信号を前記記録媒体に記録して移送することにより、または前記プログラムまたは前記デジタル信号を前記ネットワーク等を経由して移送することにより、独立した他のコンピュータシステムにより実施するとしてもよい。
 (21)これらの実施の形態および変形例の組合せであってもよい。
 本発明にかかる複数の木構造の鍵データベースの鍵で保護されたデータを管理する鍵管理ソフトウェアにおける、鍵使用の高速化手法は、2つの鍵データベースを用いて同一のデータを同期する際に、あらかじめ設定された別鍵データベースの鍵を利用して、別データベースで管理するデータを更新するため、鍵の復号回数を削減するという効果を有する。そのため、高速なデータ同期を行う機器等の分野で特に有効である。
   10  情報処理装置
  111  CPU
  112  第1記憶部
  113  第2記憶部
  114  暗復号処理部
  115  バス
  116  鍵管理ソフトウェア
  117  アプリケーションプログラムA
  118  アプリケーションプログラムB
  119  データアクセス部
  120  鍵データベースA
  121  鍵データベースB
  122  暗号化データ格納部
  123  不揮発性メモリ部
  124  暗復号エンジン部
  125  鍵データベースB用鍵格納部
  126  鍵データベースA用鍵格納部
  201  利用データベース判定部
  202  平文データ抽出部
  203  ハッシュ値生成部
  204  ハッシュ値判定部
  205  ハンドラ値判定部
  206  鍵取得部
  207  管理テーブル格納部
  208  管理テーブル更新部

Claims (26)

  1.  それぞれデータを暗号化して保管する複数の暗復号システムを有する情報処理装置であって、
     一の暗復号システムにおける暗号化の対象データを取得するデータ取得手段と、
     前記対象データが、他の暗復号システムにおいて暗号化されて保管されているか否かを判断する判断手段と、
     保管されていると判断する場合に、他の暗復号システムにおいて保管されている暗号化データの鍵を取得する鍵取得手段と、
     前記一の暗復号システムにおいて用いられる鍵記憶手段と、
     前記一の暗復号システムにおいて、前記対象データに対応付けて、取得した前記鍵を前記鍵記憶手段に書き込む鍵書込手段と
     を備えることを特徴とする情報処理装置。
  2.  それぞれデータを暗号化して記憶する第1暗復号システム及び第2暗復号システムを有する情報処理装置であって、
     前記第1暗復号システムにおける暗号化の対象データを取得するデータ取得手段と、
     前記対象データを暗号化して生成した暗号化データが、前記第2暗復号システムにおいて記憶されているか否かを判断する判断手段と、
     記憶されていると判断する場合に、前記第2暗復号システムにおいて前記暗号化データを暗号化するために用いられる第2鍵を取得する鍵取得手段と、
     前記第1暗復号システムにおいて用いられる第1鍵記憶手段と、
     前記第1暗復号システムにおいて、前記対象データを暗号化するために用いられる第1鍵を用いて、取得した前記第2鍵を暗号化して暗号化第2鍵を生成する暗復号化手段と、
     前記第1暗復号システムにおいて、前記対象データに対応付けて、生成した前記暗号化第2鍵を前記第1鍵記憶手段に書き込む鍵書込手段と
     を備えることを特徴とする情報処理装置。
  3.  前記情報処理装置は、さらに、前記第2暗復号システムにおいて、前記暗号化データとして、前記第2鍵を用いて前記対象データを暗号化して生成した第2暗号化対象データを記憶している第2データ格納手段を備え、
     前記判断手段は、前記暗号化データとしての前記第2暗号化対象データが、前記第2データ格納手段に記憶されているか否かを判断する
     ことを特徴とする請求項2に記載の情報処理装置。
  4.  前記暗復号化手段は、さらに、前記第1暗復号システムにおいて、前記第1鍵を用いて前記対象データを暗号化して第1暗号化対象データを生成し、
     前記情報処理装置は、さらに、
     前記第1暗復号システムにおける第1データ格納手段と、
     生成した前記第1暗号化対象データを前記第1データ格納手段に書き込むデータ書込手段と
     を備えることを特徴とする請求項3に記載の情報処理装置。
  5.  前記情報処理装置は、さらに、
     前記対象データに対応付けて、前記第2暗復号システムにおいて前記暗号化データが記憶されている位置を示す位置情報を含む管理テーブルを記憶しているテーブル記憶手段を備え、
     前記判断手段は、前記対象データに対応する位置情報が前記管理テーブルに記憶されているか否かを判断することにより、前記暗号化データが前記第2暗号化手段において記憶されているか否かを判断する
     ことを特徴とする請求項4に記載の情報処理装置。
  6.  前記データ取得手段は、さらに、前記対象データの更新の指示を取得し、
     前記判断手段は、さらに、前記指示に係る前記対象データを暗号化して生成した暗号化データが、前記第2暗復号システムにおいて記憶されているか否かを判断し、
     前記鍵取得手段は、さらに、記憶されていると判断する場合に、前記第1鍵記憶手段から前記暗号化第2鍵を取得し、
     前記暗復号化手段は、さらに、取得した前記暗号化第2鍵を復号して第2鍵を生成し、生成した第2鍵を用いて、前記対象データの更新により得られた更新データを暗号化して第2暗号化更新データを生成し、
     前記データ書込手段は、さらに、生成した前記第2暗号化更新データを、前記第2データ格納手段に記憶されている前記第2暗号化対象データに上書きする
     ことを特徴とする請求項5に記載の情報処理装置。
  7.  前記暗復号化手段は、前記第1鍵に対応する復号鍵を用いて、前記暗号化第2鍵を復号する
     ことを特徴とする請求項6に記載の情報処理装置。
  8.  前記管理テーブルは、前記対象データに対応付けて、さらに、前記第1鍵に対応する復号鍵が記憶されている位置を示す鍵位置情報を含み、
     前記暗復号手段は、前記鍵位置情報により示される位置から取得した前記復号鍵を用いる
     ことを特徴とする請求項7に記載の情報処理装置。
  9.  前記暗復号化手段は、さらに、前記第1鍵を用いて、前記更新データを暗号化して第1暗号化更新データを生成し、
     前記データ書込手段は、さらに、生成した前記第1暗号化更新データを、前記第1データ格納手段に記憶されている前記第1暗号化対象データに上書きする
     ことを特徴とする請求項6に記載の情報処理装置。
  10.  前記データ書込手段は、前記第1暗号化更新データを前記第1データ格納手段に記憶されている前記第1暗号化対象データに上書きした後、同期指示を受け取った場合に、前記第2暗号化更新データを、前記第2データ格納手段に記憶されている前記第2暗号化対象データに上書きする
     ことを特徴とする請求項9に記載の情報処理装置。
  11.  前記管理テーブルに含まれる前記位置情報は、前記第2データ格納手段において前記第2暗号化対象データが記憶されている位置を示し、
     前記データ書込手段は、前記位置情報により示される位置において、前記第2暗号化更新データを書き込む
     ことを特徴とする請求項9に記載の情報処理装置。
  12.  前記暗復号化手段は、さらに、前記第1データ格納手段に記憶されている前記第1暗号化対象データを復号して、対象データを生成し、生成した対象データを基にして得られた更新データを暗号化する
     ことを特徴とする請求項6に記載の情報処理装置。
  13.  前記管理テーブルは、前記対象データの要約値と前記位置情報とを対応付けて含み、
     前記判断手段は、前記対象データからその要約値を算出し、得られた要約値に対応する前記位置情報が前記管理テーブルに記憶されているか否かを判断する
     ことを特徴とする請求項5に記載の情報処理装置。
  14.  前記管理テーブルは、前記第1暗号化対象データの要約値と前記位置情報とを対応付けて含み、
     前記判断手段は、第1データ格納手段に記憶されている前記第1暗号化対象データからその要約値を算出し、得られた要約値に対応する前記位置情報が前記管理テーブルに記憶されているか否かを判断する
     ことを特徴とする請求項5に記載の情報処理装置。
  15.  前記情報処理装置は、さらに、前記第2暗復号システムにおいて用いられる第2鍵記憶手段を備え、
     前記データ取得手段は、さらに、前記第2暗復号システムにおける暗号化の対象データを取得し、
     前記判断手段は、さらに、前記対象データを暗号化して生成した暗号化データが、前記第1暗復号システムにおいて記憶されているか否かを判断し、
     前記鍵取得手段は、さらに、記憶されていると判断する場合に、前記第1暗復号システムにおいて前記暗号化データを暗号化するために用いられる第1鍵を取得し、
     前記暗復号化手段は、さらに、前記第2暗復号システムにおいて、前記対象データを暗号化するために用いられる第2鍵を用いて、取得した前記第1鍵を暗号化して暗号化第1鍵を生成し、
     前記鍵書込手段は、さらに、前記第2暗復号システムにおいて、前記対象データに対応付けて、生成した前記暗号化第1鍵を前記第2鍵記憶手段に書き込む
     ことを特徴とする請求項2に記載の情報処理装置。
  16.  前記暗復号化手段は、さらに、前記第2暗復号システムにおいて、前記第2鍵を用いて前記対象データを暗号化して第2暗号化対象データを生成し、
     前記情報処理装置は、さらに、
     前記第2暗復号システムにおける第2データ格納手段と、
     生成した前記第2暗号化対象データを前記第2データ格納手段に書き込むデータ書込手段と
     を備えることを特徴とする請求項15に記載の情報処理装置。
  17.  前記データ取得手段は、さらに、前記対象データの更新の指示を取得し、
     前記判断手段は、さらに、前記指示に係る前記対象データを暗号化して生成した暗号化データが、前記第1暗復号システムにおいて記憶されているか否かを判断し、
     前記鍵取得手段は、さらに、記憶されていると判断する場合に、前記第2鍵記憶手段から前記暗号化第1鍵を取得し、
     前記暗復号化手段は、さらに、取得した前記暗号化第1鍵を復号して第1鍵を生成し、生成した第1鍵を用いて、前記対象データの更新により得られた更新データを暗号化して第1暗号化更新データを生成し、
     前記データ書込手段は、さらに、生成した前記第1暗号化更新データを、前記第1データ格納手段に記憶されている前記第1暗号化対象データに上書きする
     ことを特徴とする請求項16に記載の情報処理装置。
  18.  前記第1鍵記憶手段は、第1暗復号システムにおいて、鍵を階層構造により管理し、階層構造の各鍵の下位には、当該鍵を用いて復号できるように暗号化された鍵が割り当てられており、
     鍵書込手段は、前記暗号化第2鍵を、前記第2鍵の下位に割り当てて書き込む
     ことを特徴とする請求項2に記載の情報処理装置。
  19.  前記情報処理装置は、さらに、第1暗復号システムにおける暗号化データを利用するアプリケーションプログラムに従って動作するプロセッサを備えており、
     前記アプリケーションプログラムは、暗号化の対象データを出力する命令を含み、
     前記プロセッサは、前記データ取得手段に対して、暗号化の対象データを出力する
     ことを特徴とする請求項2に記載の情報処理装置。
  20.  前記情報処理装置は、さらに、前記第1暗復号システムにおいて復号された鍵を、前記第1暗復号システム用であることを示す第1タイプ情報と対応付けて保持し、前記第2暗復号システムにおいて復号された鍵を、前記第2暗復号システム用であることを示す第2タイプ情報と対応付けて保持する鍵格納手段を備え、
     前記暗復号化手段は、前記第1暗復号システムにおいては、前記第1タイプ情報と対応付けられた鍵を用いて復号を行い、
     前記暗復号化手段は、前記第2暗復号システムにおいては、前記第2タイプ情報と対応付けられた鍵を用いて暗号化を行い、
     前記情報処理装置は、さらに、前記第1暗復号システムにおける復号の結果、前記第1タイプ情報と対応付けられて前記鍵格納手段に保持された鍵について、前記第1タイプ情報を前記第2暗復号システム用であることを示す前記第2タイプ情報に書き換えることで、前記鍵を用いた前記更新データの暗号化を前記第2暗復号システムにおいて行わせる制御手段を備える
     ことを特徴とする請求項2に記載の情報処理装置。
  21.  前記鍵格納手段は、所定の容量を持つ複数のブロックから構成されており、保持する鍵それぞれがどのブロックに格納されているかを示すブロック情報を、前記保持する鍵それぞれと対応付けて保持している
     ことを特徴とする請求項20に記載の情報処理装置。
  22.  前記暗復号化手段は、
     制御部と、
     前記第1暗復号システム用の前記第1鍵を保持する鍵格納部と、
     前記鍵格納部に保持されている前記第1鍵を用いて、暗号化する暗復号エンジン部とを備え、
     前記制御部は、前記第1鍵を取得して前記鍵格納部に保持させるにあたって、前記鍵格納部の空き領域が不足している場合に、前記鍵格納部が既に保持している一の鍵を、前記暗復号エンジン部により、暗号化して前記鍵格納部の外に退避し、前記鍵格納部において、退避対象の前記鍵が保持されていた領域に取得した前記第1鍵を上書きし、前記第1暗復号システムにおける前記第1鍵を用いた暗号化が完了した後、退避した前記暗号化鍵を、前記暗復号エンジン部により、復号して前記第1鍵が保持されている領域に上書きする
     ことを特徴とする請求項2に記載の情報処理装置。
  23.  それぞれデータを暗号化して記憶する第1暗復号システム及び第2暗復号システムを有し、前記第1暗復号システムにおいて用いられる第1鍵記憶手段を備える情報処理装置において用いられる方法であって、
     前記第1暗復号システムにおける暗号化の対象データを取得するデータ取得ステップと、
     前記対象データを暗号化して生成した暗号化データが、前記第2暗復号システムにおいて記憶されているか否かを判断する判断ステップと、
     記憶されていると判断する場合に、前記第2暗復号システムにおいて前記暗号化データを暗号化するために用いられる第2鍵を取得する鍵取得ステップと、
     前記第1暗復号システムにおいて、前記対象データを暗号化するために用いられる第1鍵を用いて、取得した前記第2鍵を暗号化して暗号化第2鍵を生成する暗復号化ステップと、
     前記第1暗復号システムにおいて、前記対象データに対応付けて、生成した前記暗号化第2鍵を前記第1鍵記憶手段に書き込む鍵書込ステップと
     を備えることを特徴とする方法。
  24.  それぞれデータを暗号化して記憶する第1暗復号システム及び第2暗復号システムを有し、前記第1暗復号システムにおいて用いられる第1鍵記憶手段を備える情報処理装置において用いられるコンピュータプログラムであって、
     コンピュータである前記情報処理装置に、
     前記第1暗復号システムにおける暗号化の対象データを取得するデータ取得ステップと、
     前記対象データを暗号化して生成した暗号化データが、前記第2暗復号システムにおいて記憶されているか否かを判断する判断ステップと、
     記憶されていると判断する場合に、前記第2暗復号システムにおいて前記暗号化データを暗号化するために用いられる第2鍵を取得する鍵取得ステップと、
     前記第1暗復号システムにおいて、前記対象データを暗号化するために用いられる第1鍵を用いて、取得した前記第2鍵を暗号化して暗号化第2鍵を生成する暗復号化ステップと、
     前記第1暗復号システムにおいて、前記対象データに対応付けて、生成した前記暗号化第2鍵を前記第1鍵記憶手段に書き込む鍵書込ステップと
     を実行させるためのコンピュータプログラム。
  25.  前記コンピュータプログラムは、コンピュータ読み取り可能な記録媒体に記録されていることを特徴とする請求項24に記載のコンピュータプログラム。
  26.  それぞれデータを暗号化して記憶する第1暗復号システム及び第2暗復号システムを有する集積回路であって、
     前記第1暗復号システムにおける暗号化の対象データを取得するデータ取得手段と、
     前記対象データを暗号化して生成した暗号化データが、前記第2暗復号システムにおいて記憶されているか否かを判断する判断手段と、
     記憶されていると判断する場合に、前記第2暗復号システムにおいて前記暗号化データを暗号化するために用いられる第2鍵を取得する鍵取得手段と、
     前記第1暗復号システムにおいて用いられる第1鍵記憶手段と、
     前記第1暗復号システムにおいて、前記対象データを暗号化するために用いられる第1鍵を用いて、取得した前記第2鍵を暗号化して暗号化第2鍵を生成する暗復号化手段と、
     前記第1暗復号システムにおいて、前記対象データに対応付けて、生成した前記暗号化第2鍵を前記第1鍵記憶手段に書き込む鍵書込手段と
     を備えることを特徴とする集積回路。
PCT/JP2009/005217 2008-10-10 2009-10-07 情報処理装置、方法、プログラム及び集積回路 WO2010041442A1 (ja)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2010532816A JPWO2010041442A1 (ja) 2008-10-10 2009-10-07 情報処理装置、方法、プログラム及び集積回路
EP09818982A EP2337262A1 (en) 2008-10-10 2009-10-07 Information processing device, method, program, and integrated circuit
US13/119,524 US20110173460A1 (en) 2008-10-10 2009-10-07 Information processing device, method, program, and integrated circuit
CN2009801388971A CN102171968A (zh) 2008-10-10 2009-10-07 信息处理装置、方法、程序及集成电路

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2008-263680 2008-10-10
JP2008263680 2008-10-10

Publications (1)

Publication Number Publication Date
WO2010041442A1 true WO2010041442A1 (ja) 2010-04-15

Family

ID=42100403

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2009/005217 WO2010041442A1 (ja) 2008-10-10 2009-10-07 情報処理装置、方法、プログラム及び集積回路

Country Status (5)

Country Link
US (1) US20110173460A1 (ja)
EP (1) EP2337262A1 (ja)
JP (1) JPWO2010041442A1 (ja)
CN (1) CN102171968A (ja)
WO (1) WO2010041442A1 (ja)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101977381A (zh) * 2010-11-18 2011-02-16 杭州华三通信技术有限公司 一种密钥表项的处理方法和设备
JP2013255010A (ja) * 2012-06-05 2013-12-19 Toppan Printing Co Ltd 情報処理装置、情報処理方法及び情報処理システム
JP2017158124A (ja) * 2016-03-04 2017-09-07 コニカミノルタ株式会社 通信処理システム、処理装置、およびコンピュータプログラム
JP2019500791A (ja) * 2015-12-18 2019-01-10 アマゾン・テクノロジーズ・インコーポレーテッド 出荷可能記憶装置のプロビジョニング及び出荷可能記憶装置からのデータの取り込み
US11514175B2 (en) 2015-12-18 2022-11-29 Amazon Technologies, Inc. Provisioning of a shippable storage device and ingesting data from the shippable storage device

Families Citing this family (155)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8171553B2 (en) 2004-04-01 2012-05-01 Fireeye, Inc. Heuristic based capture with replay to virtual machine
US8584239B2 (en) 2004-04-01 2013-11-12 Fireeye, Inc. Virtual machine with dynamic data flow analysis
US9106694B2 (en) 2004-04-01 2015-08-11 Fireeye, Inc. Electronic message analysis for malware detection
US8528086B1 (en) 2004-04-01 2013-09-03 Fireeye, Inc. System and method of detecting computer worms
US8549638B2 (en) 2004-06-14 2013-10-01 Fireeye, Inc. System and method of containing computer worms
US8793787B2 (en) 2004-04-01 2014-07-29 Fireeye, Inc. Detecting malicious network content using virtual environment components
US8898788B1 (en) 2004-04-01 2014-11-25 Fireeye, Inc. Systems and methods for malware attack prevention
US8881282B1 (en) 2004-04-01 2014-11-04 Fireeye, Inc. Systems and methods for malware attack detection and identification
US8566946B1 (en) 2006-04-20 2013-10-22 Fireeye, Inc. Malware containment on connection
US7587537B1 (en) 2007-11-30 2009-09-08 Altera Corporation Serializer-deserializer circuits formed from input-output circuit registers
US8997219B2 (en) 2008-11-03 2015-03-31 Fireeye, Inc. Systems and methods for detecting malicious PDF network content
US8832829B2 (en) 2009-09-30 2014-09-09 Fireeye, Inc. Network-based binary file extraction and analysis for malware detection
US8819452B2 (en) * 2009-11-25 2014-08-26 Cleversafe, Inc. Efficient storage of encrypted data in a dispersed storage network
US9672109B2 (en) * 2009-11-25 2017-06-06 International Business Machines Corporation Adaptive dispersed storage network (DSN) and system
US10353774B2 (en) * 2015-10-30 2019-07-16 International Business Machines Corporation Utilizing storage unit latency data in a dispersed storage network
JP5755970B2 (ja) * 2011-08-26 2015-07-29 株式会社東芝 演算装置
US9106405B1 (en) * 2012-06-25 2015-08-11 Amazon Technologies, Inc. Multi-user secret decay
US10572665B2 (en) 2012-12-28 2020-02-25 Fireeye, Inc. System and method to create a number of breakpoints in a virtual machine via virtual machine trapping events
US9176843B1 (en) 2013-02-23 2015-11-03 Fireeye, Inc. Framework for efficient security coverage of mobile software applications
US9195829B1 (en) 2013-02-23 2015-11-24 Fireeye, Inc. User interface with real-time visual playback along with synchronous textual analysis log display and event/time index for anomalous behavior detection in applications
US9009823B1 (en) 2013-02-23 2015-04-14 Fireeye, Inc. Framework for efficient security coverage of mobile software applications installed on mobile devices
US9367681B1 (en) 2013-02-23 2016-06-14 Fireeye, Inc. Framework for efficient security coverage of mobile software applications using symbolic execution to reach regions of interest within an application
US8990944B1 (en) 2013-02-23 2015-03-24 Fireeye, Inc. Systems and methods for automatically detecting backdoors
US9973478B2 (en) * 2013-03-07 2018-05-15 Telefonaktiebolaget L M Ericsson (Publ) Controlling write access to a resource in a reload network
US9626509B1 (en) 2013-03-13 2017-04-18 Fireeye, Inc. Malicious content analysis with multi-version application support within single operating environment
US9355247B1 (en) 2013-03-13 2016-05-31 Fireeye, Inc. File extraction from memory dump for malicious content analysis
US9104867B1 (en) 2013-03-13 2015-08-11 Fireeye, Inc. Malicious content analysis using simulated user interaction without user involvement
US9430646B1 (en) 2013-03-14 2016-08-30 Fireeye, Inc. Distributed systems and methods for automatically detecting unknown bots and botnets
US9311479B1 (en) 2013-03-14 2016-04-12 Fireeye, Inc. Correlation and consolidation of analytic data for holistic view of a malware attack
US9413781B2 (en) 2013-03-15 2016-08-09 Fireeye, Inc. System and method employing structured intelligence to verify and contain threats at endpoints
US10713358B2 (en) 2013-03-15 2020-07-14 Fireeye, Inc. System and method to extract and utilize disassembly features to classify software intent
US9495180B2 (en) 2013-05-10 2016-11-15 Fireeye, Inc. Optimized resource allocation for virtual machines within a malware content detection system
US9635039B1 (en) 2013-05-13 2017-04-25 Fireeye, Inc. Classifying sets of malicious indicators for detecting command and control communications associated with malware
US10133863B2 (en) 2013-06-24 2018-11-20 Fireeye, Inc. Zero-day discovery system
US9300686B2 (en) 2013-06-28 2016-03-29 Fireeye, Inc. System and method for detecting malicious links in electronic messages
CN103414555B (zh) * 2013-08-15 2016-08-10 成都卫士通信息产业股份有限公司 阵列基于io块加密的密钥管理方法
US9294501B2 (en) 2013-09-30 2016-03-22 Fireeye, Inc. Fuzzy hash of behavioral results
US10515214B1 (en) 2013-09-30 2019-12-24 Fireeye, Inc. System and method for classifying malware within content created during analysis of a specimen
US9171160B2 (en) 2013-09-30 2015-10-27 Fireeye, Inc. Dynamically adaptive framework and method for classifying malware using intelligent static, emulation, and dynamic analyses
US9690936B1 (en) 2013-09-30 2017-06-27 Fireeye, Inc. Multistage system and method for analyzing obfuscated content for malware
US9736179B2 (en) 2013-09-30 2017-08-15 Fireeye, Inc. System, apparatus and method for using malware analysis results to drive adaptive instrumentation of virtual machines to improve exploit detection
US9628507B2 (en) 2013-09-30 2017-04-18 Fireeye, Inc. Advanced persistent threat (APT) detection center
US9921978B1 (en) 2013-11-08 2018-03-20 Fireeye, Inc. System and method for enhanced security of storage devices
US9189627B1 (en) 2013-11-21 2015-11-17 Fireeye, Inc. System, apparatus and method for conducting on-the-fly decryption of encrypted objects for malware detection
US9747446B1 (en) 2013-12-26 2017-08-29 Fireeye, Inc. System and method for run-time object classification
US9756074B2 (en) 2013-12-26 2017-09-05 Fireeye, Inc. System and method for IPS and VM-based detection of suspicious objects
US9507935B2 (en) 2014-01-16 2016-11-29 Fireeye, Inc. Exploit detection system with threat-aware microvisor
US9262635B2 (en) 2014-02-05 2016-02-16 Fireeye, Inc. Detection efficacy of virtual machine-based analysis with application specific events
US9241010B1 (en) 2014-03-20 2016-01-19 Fireeye, Inc. System and method for network behavior detection
US10242185B1 (en) 2014-03-21 2019-03-26 Fireeye, Inc. Dynamic guest image creation and rollback
US9591015B1 (en) 2014-03-28 2017-03-07 Fireeye, Inc. System and method for offloading packet processing and static analysis operations
US9432389B1 (en) 2014-03-31 2016-08-30 Fireeye, Inc. System, apparatus and method for detecting a malicious attack based on static analysis of a multi-flow object
US9223972B1 (en) 2014-03-31 2015-12-29 Fireeye, Inc. Dynamically remote tuning of a malware content detection system
US9973531B1 (en) 2014-06-06 2018-05-15 Fireeye, Inc. Shellcode detection
US9438623B1 (en) 2014-06-06 2016-09-06 Fireeye, Inc. Computer exploit detection using heap spray pattern matching
US9594912B1 (en) 2014-06-06 2017-03-14 Fireeye, Inc. Return-oriented programming detection
US10084813B2 (en) 2014-06-24 2018-09-25 Fireeye, Inc. Intrusion prevention and remedy system
US10805340B1 (en) 2014-06-26 2020-10-13 Fireeye, Inc. Infection vector and malware tracking with an interactive user display
US9398028B1 (en) 2014-06-26 2016-07-19 Fireeye, Inc. System, device and method for detecting a malicious attack based on communcations between remotely hosted virtual machines and malicious web servers
US10002252B2 (en) 2014-07-01 2018-06-19 Fireeye, Inc. Verification of trusted threat-aware microvisor
US9363280B1 (en) 2014-08-22 2016-06-07 Fireeye, Inc. System and method of detecting delivery of malware using cross-customer data
US10671726B1 (en) 2014-09-22 2020-06-02 Fireeye Inc. System and method for malware analysis using thread-level event monitoring
US9747297B2 (en) * 2014-09-23 2017-08-29 Amazon Technologies, Inc. Synchronization of shared folders and files
CN105468659B (zh) * 2014-09-28 2019-01-04 阿里巴巴集团控股有限公司 一种数据同步方法及装置
US9773112B1 (en) 2014-09-29 2017-09-26 Fireeye, Inc. Exploit detection of malware and malware families
US10027689B1 (en) 2014-09-29 2018-07-17 Fireeye, Inc. Interactive infection visualization for improved exploit detection and signature generation for malware and malware families
US9690933B1 (en) 2014-12-22 2017-06-27 Fireeye, Inc. Framework for classifying an object as malicious with machine learning for deploying updated predictive models
US10075455B2 (en) 2014-12-26 2018-09-11 Fireeye, Inc. Zero-day rotating guest image profile
US9934376B1 (en) 2014-12-29 2018-04-03 Fireeye, Inc. Malware detection appliance architecture
US9838417B1 (en) 2014-12-30 2017-12-05 Fireeye, Inc. Intelligent context aware user interaction for malware detection
US10148693B2 (en) 2015-03-25 2018-12-04 Fireeye, Inc. Exploit detection system
US9690606B1 (en) 2015-03-25 2017-06-27 Fireeye, Inc. Selective system call monitoring
US9438613B1 (en) 2015-03-30 2016-09-06 Fireeye, Inc. Dynamic content activation for automated analysis of embedded objects
US9483644B1 (en) 2015-03-31 2016-11-01 Fireeye, Inc. Methods for detecting file altering malware in VM based analysis
US10417031B2 (en) 2015-03-31 2019-09-17 Fireeye, Inc. Selective virtualization for security threat detection
US10474813B1 (en) 2015-03-31 2019-11-12 Fireeye, Inc. Code injection technique for remediation at an endpoint of a network
US9654485B1 (en) 2015-04-13 2017-05-16 Fireeye, Inc. Analytics-based security monitoring system and method
US9594904B1 (en) 2015-04-23 2017-03-14 Fireeye, Inc. Detecting malware based on reflection
US9906361B1 (en) * 2015-06-26 2018-02-27 EMC IP Holding Company LLC Storage system with master key hierarchy configured for efficient shredding of stored encrypted data items
US11113086B1 (en) 2015-06-30 2021-09-07 Fireeye, Inc. Virtual system and method for securing external network connectivity
US10642753B1 (en) 2015-06-30 2020-05-05 Fireeye, Inc. System and method for protecting a software component running in virtual machine using a virtualization layer
US10726127B1 (en) 2015-06-30 2020-07-28 Fireeye, Inc. System and method for protecting a software component running in a virtual machine through virtual interrupts by the virtualization layer
US10454950B1 (en) 2015-06-30 2019-10-22 Fireeye, Inc. Centralized aggregation technique for detecting lateral movement of stealthy cyber-attacks
US10715542B1 (en) 2015-08-14 2020-07-14 Fireeye, Inc. Mobile application risk analysis
US10176321B2 (en) 2015-09-22 2019-01-08 Fireeye, Inc. Leveraging behavior-based rules for malware family classification
US10033747B1 (en) 2015-09-29 2018-07-24 Fireeye, Inc. System and method for detecting interpreter-based exploit attacks
US10210329B1 (en) 2015-09-30 2019-02-19 Fireeye, Inc. Method to detect application execution hijacking using memory protection
US10601865B1 (en) 2015-09-30 2020-03-24 Fireeye, Inc. Detection of credential spearphishing attacks using email analysis
US9825989B1 (en) 2015-09-30 2017-11-21 Fireeye, Inc. Cyber attack early warning system
US10706149B1 (en) 2015-09-30 2020-07-07 Fireeye, Inc. Detecting delayed activation malware using a primary controller and plural time controllers
US10817606B1 (en) 2015-09-30 2020-10-27 Fireeye, Inc. Detecting delayed activation malware using a run-time monitoring agent and time-dilation logic
US9825976B1 (en) 2015-09-30 2017-11-21 Fireeye, Inc. Detection and classification of exploit kits
US10284575B2 (en) 2015-11-10 2019-05-07 Fireeye, Inc. Launcher for setting analysis environment variations for malware detection
US10846117B1 (en) 2015-12-10 2020-11-24 Fireeye, Inc. Technique for establishing secure communication between host and guest processes of a virtualization architecture
US10447728B1 (en) 2015-12-10 2019-10-15 Fireeye, Inc. Technique for protecting guest processes using a layered virtualization architecture
US10108446B1 (en) 2015-12-11 2018-10-23 Fireeye, Inc. Late load technique for deploying a virtualization layer underneath a running operating system
US10621338B1 (en) 2015-12-30 2020-04-14 Fireeye, Inc. Method to detect forgery and exploits using last branch recording registers
US10133866B1 (en) 2015-12-30 2018-11-20 Fireeye, Inc. System and method for triggering analysis of an object for malware in response to modification of that object
US10565378B1 (en) 2015-12-30 2020-02-18 Fireeye, Inc. Exploit of privilege detection framework
US10050998B1 (en) 2015-12-30 2018-08-14 Fireeye, Inc. Malicious message analysis system
US20170192688A1 (en) * 2015-12-30 2017-07-06 International Business Machines Corporation Lazy deletion of vaults in packed slice storage (pss) and zone slice storage (zss)
US11552986B1 (en) 2015-12-31 2023-01-10 Fireeye Security Holdings Us Llc Cyber-security framework for application of virtual features
US10581874B1 (en) 2015-12-31 2020-03-03 Fireeye, Inc. Malware detection system with contextual analysis
US9824216B1 (en) 2015-12-31 2017-11-21 Fireeye, Inc. Susceptible environment detection system
US10671721B1 (en) 2016-03-25 2020-06-02 Fireeye, Inc. Timeout management services
US10616266B1 (en) 2016-03-25 2020-04-07 Fireeye, Inc. Distributed malware detection system and submission workflow thereof
US10785255B1 (en) 2016-03-25 2020-09-22 Fireeye, Inc. Cluster configuration within a scalable malware detection system
US10601863B1 (en) 2016-03-25 2020-03-24 Fireeye, Inc. System and method for managing sensor enrollment
US10893059B1 (en) 2016-03-31 2021-01-12 Fireeye, Inc. Verification and enhancement using detection systems located at the network periphery and endpoint devices
US10826933B1 (en) 2016-03-31 2020-11-03 Fireeye, Inc. Technique for verifying exploit/malware at malware detection appliance through correlation with endpoints
US10169585B1 (en) 2016-06-22 2019-01-01 Fireeye, Inc. System and methods for advanced malware detection through placement of transition events
US10462173B1 (en) 2016-06-30 2019-10-29 Fireeye, Inc. Malware detection verification and enhancement by coordinating endpoint and malware detection systems
US10592678B1 (en) 2016-09-09 2020-03-17 Fireeye, Inc. Secure communications between peers using a verified virtual trusted platform module
US10491627B1 (en) 2016-09-29 2019-11-26 Fireeye, Inc. Advanced malware detection using similarity analysis
US10795991B1 (en) 2016-11-08 2020-10-06 Fireeye, Inc. Enterprise search
US10587647B1 (en) 2016-11-22 2020-03-10 Fireeye, Inc. Technique for malware detection capability comparison of network security devices
US10552610B1 (en) 2016-12-22 2020-02-04 Fireeye, Inc. Adaptive virtual machine snapshot update framework for malware behavioral analysis
US10581879B1 (en) 2016-12-22 2020-03-03 Fireeye, Inc. Enhanced malware detection for generated objects
US10523609B1 (en) 2016-12-27 2019-12-31 Fireeye, Inc. Multi-vector malware detection and analysis
US10904286B1 (en) 2017-03-24 2021-01-26 Fireeye, Inc. Detection of phishing attacks using similarity analysis
US10848397B1 (en) 2017-03-30 2020-11-24 Fireeye, Inc. System and method for enforcing compliance with subscription requirements for cyber-attack detection service
US10902119B1 (en) 2017-03-30 2021-01-26 Fireeye, Inc. Data extraction system for malware analysis
US10791138B1 (en) 2017-03-30 2020-09-29 Fireeye, Inc. Subscription-based malware detection
US10798112B2 (en) 2017-03-30 2020-10-06 Fireeye, Inc. Attribute-controlled malware detection
US10601848B1 (en) 2017-06-29 2020-03-24 Fireeye, Inc. Cyber-security system and method for weak indicator detection and correlation to generate strong indicators
US10855700B1 (en) 2017-06-29 2020-12-01 Fireeye, Inc. Post-intrusion detection of cyber-attacks during lateral movement within networks
US10503904B1 (en) 2017-06-29 2019-12-10 Fireeye, Inc. Ransomware detection and mitigation
US10893068B1 (en) 2017-06-30 2021-01-12 Fireeye, Inc. Ransomware file modification prevention technique
JP2019029761A (ja) * 2017-07-27 2019-02-21 京セラドキュメントソリューションズ株式会社 情報処理装置および情報処理装置の制御方法
US10747872B1 (en) 2017-09-27 2020-08-18 Fireeye, Inc. System and method for preventing malware evasion
US10805346B2 (en) 2017-10-01 2020-10-13 Fireeye, Inc. Phishing attack detection
US11108809B2 (en) 2017-10-27 2021-08-31 Fireeye, Inc. System and method for analyzing binary code for malware classification using artificial neural network techniques
US11240275B1 (en) 2017-12-28 2022-02-01 Fireeye Security Holdings Us Llc Platform and method for performing cybersecurity analyses employing an intelligence hub with a modular architecture
US11271955B2 (en) 2017-12-28 2022-03-08 Fireeye Security Holdings Us Llc Platform and method for retroactive reclassification employing a cybersecurity-based global data store
US11005860B1 (en) 2017-12-28 2021-05-11 Fireeye, Inc. Method and system for efficient cybersecurity analysis of endpoint events
US10826931B1 (en) 2018-03-29 2020-11-03 Fireeye, Inc. System and method for predicting and mitigating cybersecurity system misconfigurations
US11558401B1 (en) 2018-03-30 2023-01-17 Fireeye Security Holdings Us Llc Multi-vector malware detection data sharing system for improved detection
US10956477B1 (en) 2018-03-30 2021-03-23 Fireeye, Inc. System and method for detecting malicious scripts through natural language processing modeling
US11003773B1 (en) 2018-03-30 2021-05-11 Fireeye, Inc. System and method for automatically generating malware detection rule recommendations
US11075930B1 (en) 2018-06-27 2021-07-27 Fireeye, Inc. System and method for detecting repetitive cybersecurity attacks constituting an email campaign
US11314859B1 (en) 2018-06-27 2022-04-26 FireEye Security Holdings, Inc. Cyber-security system and method for detecting escalation of privileges within an access token
US11228491B1 (en) 2018-06-28 2022-01-18 Fireeye Security Holdings Us Llc System and method for distributed cluster configuration monitoring and management
US11316900B1 (en) 2018-06-29 2022-04-26 FireEye Security Holdings Inc. System and method for automatically prioritizing rules for cyber-threat detection and mitigation
US11182473B1 (en) 2018-09-13 2021-11-23 Fireeye Security Holdings Us Llc System and method for mitigating cyberattacks against processor operability by a guest process
US11763004B1 (en) 2018-09-27 2023-09-19 Fireeye Security Holdings Us Llc System and method for bootkit detection
US11128460B2 (en) 2018-12-04 2021-09-21 EMC IP Holding Company LLC Client-side encryption supporting deduplication across single or multiple tenants in a storage system
US11368475B1 (en) 2018-12-21 2022-06-21 Fireeye Security Holdings Us Llc System and method for scanning remote services to locate stored objects with malware
US11258806B1 (en) 2019-06-24 2022-02-22 Mandiant, Inc. System and method for automatically associating cybersecurity intelligence to cyberthreat actors
US11556640B1 (en) 2019-06-27 2023-01-17 Mandiant, Inc. Systems and methods for automated cybersecurity analysis of extracted binary string sets
US11392700B1 (en) 2019-06-28 2022-07-19 Fireeye Security Holdings Us Llc System and method for supporting cross-platform data verification
US11886585B1 (en) 2019-09-27 2024-01-30 Musarubra Us Llc System and method for identifying and mitigating cyberattacks through malicious position-independent code execution
US11637862B1 (en) 2019-09-30 2023-04-25 Mandiant, Inc. System and method for surfacing cyber-security threats with a self-learning recommendation engine
JP7385436B2 (ja) * 2019-11-12 2023-11-22 株式会社野村総合研究所 管理システム
US11019033B1 (en) 2019-12-27 2021-05-25 EMC IP Holding Company LLC Trust domain secure enclaves in cloud infrastructure
JP2022114391A (ja) * 2021-01-26 2022-08-05 京セラドキュメントソリューションズ株式会社 電子機器

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000098885A (ja) * 1998-09-17 2000-04-07 Sony Corp コンテンツ管理方法及びコンテンツ記憶システム
JP2000305853A (ja) * 1999-04-22 2000-11-02 Victor Co Of Japan Ltd コンテンツ情報記録方法及びコンテンツ情報処理装置
JP2006155606A (ja) * 2004-11-30 2006-06-15 Microsoft Corp リモートファイルをローカルにキャッシュするための方法およびシステム
JP2006227839A (ja) * 2005-02-16 2006-08-31 Hitachi Ltd ストレージシステム、データ移動方法及び管理計算機

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4918728A (en) * 1989-08-30 1990-04-17 International Business Machines Corporation Data cryptography operations using control vectors
EP1279249B1 (en) * 2000-03-29 2007-08-01 Vadium Technology Inc. One-time-pad encryption with central key service and keyable characters
KR20030007773A (ko) * 2001-03-29 2003-01-23 소니 가부시끼 가이샤 정보 처리 장치
JP3803088B2 (ja) * 2001-04-18 2006-08-02 株式会社パンプキンハウス 暗号システムおよびその制御方法
JP4777651B2 (ja) * 2002-08-23 2011-09-21 イグジット−キューブ,インク. コンピュータシステム及びデータ保存方法
JP2004295373A (ja) * 2003-03-26 2004-10-21 Sony Corp 情報記録媒体、情報処理装置、情報記録媒体製造装置、および方法、並びにコンピュータ・プログラム
KR101081729B1 (ko) * 2003-07-07 2011-11-08 로비 솔루션스 코포레이션 저작권 침해를 제어하고 쌍방향 컨텐츠를 인에이블시키기 위한 재프로그램가능한 보안
CN1894884A (zh) * 2003-12-17 2007-01-10 松下电器产业株式会社 内容分发服务器、密钥分配方法、内容输出设备及密钥发布中心
JP4888057B2 (ja) * 2006-11-01 2012-02-29 富士通セミコンダクター株式会社 情報処理装置
JP4358239B2 (ja) * 2007-01-10 2009-11-04 株式会社東芝 コンテンツ提供システム、追跡システム、コンテンツ提供方法及び不正ユーザ特定方法
US8111828B2 (en) * 2007-07-31 2012-02-07 Hewlett-Packard Development Company, L.P. Management of cryptographic keys for securing stored data

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000098885A (ja) * 1998-09-17 2000-04-07 Sony Corp コンテンツ管理方法及びコンテンツ記憶システム
JP2000305853A (ja) * 1999-04-22 2000-11-02 Victor Co Of Japan Ltd コンテンツ情報記録方法及びコンテンツ情報処理装置
JP2006155606A (ja) * 2004-11-30 2006-06-15 Microsoft Corp リモートファイルをローカルにキャッシュするための方法およびシステム
JP2006227839A (ja) * 2005-02-16 2006-08-31 Hitachi Ltd ストレージシステム、データ移動方法及び管理計算機

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101977381A (zh) * 2010-11-18 2011-02-16 杭州华三通信技术有限公司 一种密钥表项的处理方法和设备
CN101977381B (zh) * 2010-11-18 2013-10-23 杭州华三通信技术有限公司 一种密钥表项的处理方法和设备
JP2013255010A (ja) * 2012-06-05 2013-12-19 Toppan Printing Co Ltd 情報処理装置、情報処理方法及び情報処理システム
JP2019500791A (ja) * 2015-12-18 2019-01-10 アマゾン・テクノロジーズ・インコーポレーテッド 出荷可能記憶装置のプロビジョニング及び出荷可能記憶装置からのデータの取り込み
JP2020080559A (ja) * 2015-12-18 2020-05-28 アマゾン・テクノロジーズ・インコーポレーテッド 出荷可能記憶装置のプロビジョニング及び出荷可能記憶装置からのデータの取り込み
JP2020080560A (ja) * 2015-12-18 2020-05-28 アマゾン・テクノロジーズ・インコーポレーテッド 出荷可能記憶装置のプロビジョニング及び出荷可能記憶装置からのデータの取り込み
JP2021193587A (ja) * 2015-12-18 2021-12-23 アマゾン・テクノロジーズ・インコーポレーテッド 出荷可能記憶装置のプロビジョニング及び出荷可能記憶装置からのデータの取り込み
US11514175B2 (en) 2015-12-18 2022-11-29 Amazon Technologies, Inc. Provisioning of a shippable storage device and ingesting data from the shippable storage device
JP7201761B2 (ja) 2015-12-18 2023-01-10 アマゾン・テクノロジーズ・インコーポレーテッド 出荷可能記憶装置のプロビジョニング及び出荷可能記憶装置からのデータの取り込み
US11921870B2 (en) 2015-12-18 2024-03-05 Amazon Technologies, Inc. Provisioning of a shippable storage device and ingesting data from the shippable storage device
JP2017158124A (ja) * 2016-03-04 2017-09-07 コニカミノルタ株式会社 通信処理システム、処理装置、およびコンピュータプログラム

Also Published As

Publication number Publication date
US20110173460A1 (en) 2011-07-14
JPWO2010041442A1 (ja) 2012-03-08
EP2337262A1 (en) 2011-06-22
CN102171968A (zh) 2011-08-31

Similar Documents

Publication Publication Date Title
WO2010041442A1 (ja) 情報処理装置、方法、プログラム及び集積回路
US9548866B2 (en) Deletion of content in digital storage systems
US9992014B2 (en) Methods for cryptographic delegation and enforcement of dynamic access to stored data
US9411749B2 (en) Chunk-level client side encryption in hierarchical content addressable storage systems
US8223972B2 (en) Method and device for speeding up key use in key management software with tree structure
US9122888B2 (en) System and method to create resilient site master-key for automated access
US7792300B1 (en) Method and apparatus for re-encrypting data in a transaction-based secure storage system
US9703981B1 (en) Mobile device data encryption
JP3810425B2 (ja) 改竄検出用データ生成方法、および改竄検出方法及び装置
US20040175000A1 (en) Method and apparatus for a transaction-based secure storage file system
US20110099362A1 (en) Information processing device, encryption key management method, computer program and integrated circuit
WO2020023132A1 (en) System and method to protect data privacy of lightweight devices using blockchain and multi-party computation
JPWO2009004732A1 (ja) 共有暗号ファイルの暗号化、復号処理方法
US20100268936A1 (en) Information security device and information security system
US20040064485A1 (en) File management apparatus and method
US20080212770A1 (en) Key Information Generating Method and Device, Key Information Updating Method, Tempering Detecting Method and Device, and Data Structure of Key Information
KR101761799B1 (ko) 단말의 보안 데이터 관리 장치 및 그 방법
JP2009516961A (ja) キー及び/又は権利オブジェクトを管理する方法及びシステム
Broz LUKS2 On-Disk Format Specification Version 1.0. 0
JP4864456B2 (ja) 改竄検出用データ生成方法
KR20150050899A (ko) 재암호화 기반 안전 저장 장치 및 방법
JP2019220871A (ja) 情報処理装置、情報処理プログラム、及び情報処理方法
Messmer CryFS: Design and implementation of a provably secure encrypted cloud filesyste
CN100571135C (zh) 窜改检测用数据的生成方法、窜改检测方法及装置
Broz LUKS2 On-Disk Format Specification version 1.1. 2, 2023-12-17

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 200980138897.1

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 09818982

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2009818982

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 13119524

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: 2010532816

Country of ref document: JP

NENP Non-entry into the national phase

Ref country code: DE