Information
-
Patent Application
-
20030061519
-
Publication Number
20030061519
-
Date Filed
September 06, 200123 years ago
-
Date Published
March 27, 200321 years ago
-
CPC
-
US Classifications
-
International Classifications
Abstract
An authentication communication system includes an storage medium having an area for storing digital information and an access device for reading/writing digital information from/into the area. The access device authenticates whether the storage medium is authorized according to a challenge-response authentication protocol in which scrambled access information generated by scrambling the access information which shows the area is used. The storage medium authenticates whether the access device is authorized. When the access device and the storage medium have authenticated each other as authorized devices, the access device reads/writes digital information from/into the area in the storage medium according to the access information separated from the scrambled access information by the access device.
Description
TECHNICAL FIELD
[0001] The present invention relates to a technique of mutual authentication between a device and a storage medium, before digital copyright works are transferred between them.
BACKGROUND ART
[0002] In recent years, as a result of progress in digital information compression techniques and widespread use of global communication infrastructures such as the Internet, copyright works such as music, images, video, and games are distributed via communication lines to households as digital copyright works.
[0003] In order to establish a distribution system which protects the rights of copyright holders of digital copyright works and the profits of distributors, it is critical to prevent dishonest acts such as acquisition of a digital copyright work by communication interception, wiretapping, impersonation, and duplication and tampering of data received and stored in a storage medium. Therefore, copyright protection techniques, such as encryption and authentication for authenticating whether a system is authorized and scrambling data, are needed.
[0004] A variety of copyright protection techniques have been conventionally used. A representative technique is a challenge-response mutual authentication technique. In this technique, when accessing a confidential data storage area storing confidential data which requires copyright protection, a random number and a response value are exchanged between devices to mutually authenticate whether the other of them is authorized. The access is permitted only when the authentication is successful.
[0005] After the mutual authentication has been carried out between the authorized devices, an unauthorized party may impersonate one of the authorized device and dishonestly acquire confidential data by accessing the confidential data storage area.
DISCLOSURE OF THE INVENTION
[0006] The present invention has been made in view of these problems. The object of the present invention is to provide an access device, a storage medium, an authentication communication system, an authentication communication method, and a storage medium storing an authentication communication program which prevent information for accessing a confidential data storage area from being leaked.
[0007] In order to achieve the above object, the present invention is an authentication communication system which is roughly composed of (a) a storage medium having an area for storing digital information and (b) an access device for reading/writing digital information from/into the area, the authentication communication system including: a first authentication phase in which the access device authenticates whether the storage medium is authorized according to a challenge-response authentication protocol by transmitting scrambled access information generated by scrambling access information which shows the area, to the storage medium; a second authentication phase in which the storage medium authenticates whether the access device is authorized; and a transfer phase in which, when the storage medium and the access device have authenticated each other as authorized devices, the storage medium extracts the access information from the scrambled access information, and the access device reads/writes digital information from/into the area shown by the access information.
[0008] Thereby, when mutual authentication is performed, information for accessing a confidential data storage area is scrambled and transferred. Accordingly, confidentiality of the information for accessing a confidential data storage area can be improved.
[0009] If the information for accessing a confidential data storage area is changed into different information and transferred by dishonest impersonation, mutual authentication is not successfully performed. Therefore, the confidential data storage area can be kept from being accessed.
BRIEF DESCRIPTION OF THE DRAWINGS
[0010]
FIG. 1 shows the external appearances of authentication communication systems 30 and 31 as specific example structures of an authentication communication system 100. FIG. 1(a) shows the external appearance of the authentication communication system 30 which is roughly composed of a personal computer and a memory card 20, and FIG. 1(b) shows the external appearance of the authentication communication system 31 which is roughly composed of a personal stereo, the memory card 20, and a headphone;
[0011]
FIG. 2 is a block diagram showing the constructions of a reader/writer apparatus 10 and the memory card 20 which is included in the authenticate communication system 100;
[0012]
FIG. 3 shows data structures of access information, a random number seed, and random number access information;
[0013]
FIG. 4 is a flowchart showing an operation of the authentication communication system 100 in particular assuming that information stored in a memory card is read, which is continued in FIG. 5;
[0014]
FIG. 5 is continuation of the flowchart in FIG. 4 showing the operation of the authentication communication system 100;
[0015]
FIG. 6 is a flowchart showing another operation of the authentication communication system 100 in particular assuming that the reader/writer apparatus 10 is an apparatus for writing information into a memory card;
[0016]
FIG. 7 is a block diagram of the construction of an authentication communication system 100a as another embodiment;
[0017]
FIG. 8 is a flowchart showing an operation which is unique to the authentication communication system 100a;
[0018]
FIG. 9 is a block diagram of the construction of an authentication communication system 100b as another embodiment;
[0019]
FIG. 10 is a flowchart showing an operation which is unique to the authentication communication system 100b;
BEST MODE FOR CARRYING OUT THE INVENTION
[0020] An authentication communication system 100 is explained below, as an embodiment of the present invention.
[0021] 1. External Appearance and Usage Pattern of the Authentication Communication System 100
[0022] The external appearances of authentication communication systems 30 and 31 as specific example constructions of the authentication communication system 100 are shown in FIG. 1(a) and FIG. 1(b).
[0023] As shown in FIG. 1(a), the authentication communication system 30 is roughly composed of a personal computer and a memory card 20. The personal computer includes a display unit, a keyboard, a speaker, a microprocessor, a RAM (Random Access Memory), a ROM (Read Only Memory), and a hard disc unit, and is connected to a network such as the Internet via a communication line. The memory card 20 is inserted into a memory card slot to be loaded into the personal computer.
[0024] As shown in FIG. 1(b), the authentication communication system 31 is roughly composed of a personal stereo, the memory card 20, and a headphone. The memory card 20 is inserted into a memory card slot to be loaded into the personal stereo. The personal stereo is provided with a plurality of operation buttons on the top face, and connected to the headphone on a side face.
[0025] A user loads the memory card 20 into the personal computer, obtains a digital copyright work such as music from an external Web server via the Internet, and writes the digital copyright work into the memory card 20. The user then loads the memory card 20 storing the digital copyright work into the personal stereo, and enjoys playing back the digital copyright work by the personal stereo.
[0026] Here, authentication according to a challenge-response authentication protocol is performed between the personal computer and the memory card 20, and between the personal stereo and the memory card 20. Only when the devices mutually authenticate each other, the digital copyright work is transferred between the devices.
[0027] 2. Construction of the Authentication Communication System 100
[0028] As shown in FIG. 2, the authentication communication system 100 is roughly composed of a reader/writer apparatus 10 and the memory card 20. Here, the reader/writer apparatus 10 corresponds to the personal computer or the personal stereo respectively shown in FIG. 1(a) and (b).
[0029] 2.1 Construction of the Reading/Writing Apparatus 10
[0030] The reader/writer apparatus 10 includes an access information storage unit 101, a random number seed storage unit 102, a combination unit 103, a public key storage unit 104, an encryption unit 105, a random number seed update unit 106, a mutual authentication unit 107, a temporary key generation unit 108, an encryption/decryption unit 109, a data storage unit 110, and an input/output unit 111.
[0031] The reader/writer apparatus 10 is equipped with a microprocessor, a RAM, a ROM, and the like. Computer programs are stored in the ROM or the like, and the microprocessor operates in accordance with the computer programs.
[0032] (1) Input/Output Unit 111
[0033] The input/output unit 111 accepts a user operation, and generates access information for accessing music information which is stored in a data storage unit 209 of the memory card 20. As shown in FIG. 3, the access information is 32 bits long, and is composed of address information showing an address of an area in the data storage unit 209 in the memory card 20 and size information showing a size of the area. The address information is 24 bits long, and the size information is 8 bits long.
[0034] The input/output unit 111 also reads music information CT from the data storage unit 110, converts the music information CT into an audio signal, and outputs the audio signal.
[0035] In addition, the input/output unit 111 accepts a user operation, obtains music information CT from outside, and writes the music information CT into the data storage unit 110.
[0036] (2) Access Information Storage Unit 101
[0037] The access information storage unit 101 is equipped with a semiconductor memory, and includes an area to store the access information.
[0038] (3) Random Number Seed Storage Unit 102
[0039] The random number seed storage unit 102 is equipped with a semiconductor memory, and prestores a 64-bit random number seed shown in FIG. 3. The random number seed is registered when the apparatus is manufactured.
[0040] The random number seed storage unit 102 does not allow direct access from outside. In other words, the random number seed storage unit is protected from outside access.
[0041] (4) Combination Unit 103
[0042] The combination unit 103 reads the access information from the access information storage unit 101 and the random number seed from the random number seed storage unit 102. Next, as shown in the FIG. 3, the combination unit 103 combines the access information and the lower 32 bits of the random number seed, to generate 64-bit random number access information. The combination unit 103 then outputs the random number access information to the encryption unit 105.
[0043] (5) Public Key Storage Unit 104
[0044] The public key storage unit 104 is equipped with a semiconductor memory, and includes an area to store a 56-bit public key UK. The reader/writer apparatus 10 secretly obtains a public key UK stored in a public key storage unit 201 from the memory card 20, and the public key storage unit 104 stores the public key UK.
[0045] The public key storage unit 104 does not allow direct access from outside. In other words, the public key storage unit 104 is protected from outside access.
[0046] (6) Encryption Unit 105
[0047] The encryption unit 105 reads the public key UK from the public key storage unit 104, and receives the random number access information from the combination unit 103. Next, the encryption unit 105 encrypts the random number access information according to an encryption algorithm El using the public key UK, to generate encrypted access information R1. Here, the encryption unit 105 uses DES (Data Encryption Standard) for the encryption algorithm E1.
[0048] The encryption unit 105 then outputs the encrypted access information R1 to the mutual authentication unit 107, the random number seed update unit 106, and the temporary key generation unit 108. The encryption unit 105 also outputs the encrypted access information R1 to a decryption unit 205, mutual authentication unit 207, and temporary key generation unit 208 in the memory card 20.
[0049] The encrypted access information R1 generated in this way is scrambled information which is obtained by scrambling the access information.
[0050] (7) Random Number Seed Update Unit 106
[0051] The random number seed update unit 106 receives the encrypted access information R1 from the encryption unit 105, and writes the encrypted access information R1 over the random number seed stored in the random number seed storage unit 102 as a new random number seed.
[0052] (8) Mutual Authentication Unit 107
[0053] The mutual authentication unit 107 receives the encrypted access information R1, reads the public key UK from the public key storage unit 104, and calculates a response value V2′ by evaluating Expression 1 using the encrypted access information R1 and the public key UK.
V2′=F1(R1,UK)=SHA(R1+UK) (Expression 1)
[0054] Here, the function F1(a,b) is, for example, a function which combines a and b, and subjects the result of the combination to SHA (Secure Hash Algorithm). Also, “+” is an operator denoting combination.
[0055] The mutual authentication unit 107 receives a response value V2 from the mutual authentication unit 207.
[0056] The mutual authentication unit 107 then judges whether the response values V2 and V2′ match. When they do not match, the mutual authentication unit 107 judges that the memory card 20 is an unauthorized device and prohibits the other construction elements from executing the subsequent operations. When they match, on the other hand, the mutual authentication unit 107 authenticates the memory card 20 as an authorized device and permits the other construction elements to execute the subsequent operations.
[0057] Also, the mutual authentication unit 107 receives a random number R2 from a random number generation unit 204, calculates a response value V1 by evaluating Expression 2 using the random number R2 and the public key UK, and outputs the response value V1 to the mutual authentication unit 207.
V1=F2(R2,UK)=SHA(R2+UK) (Expression 2)
[0058] (9) Temporary Key Generation Unit 108
[0059] The temporary key generation unit 108 receives, when the memory card 20 is authenticated as an authorized device and permitted to execute the operation, the encrypted access information R1 and the random number R2, and generates a temporary key VK by evaluating Expression 3 using the encrypted access information R1 and the random number R2.
VK=F3(R1,R2)=SHA(R1+R2) (Expression 3)
[0060] The temporary key generation unit 108 then outputs the temporary key VK to the encryption/decryption unit 109.
[0061] (10) Encryption/Decryption Unit 109
[0062] The encryption/decryption unit 109 receives the temporary key VK from the temporary key generation unit 108.
[0063] The encryption/decryption unit 109 receives encrypted music information EncCT from an encryption/decryption unit 210, decrypts the encrypted music information EncCT according to a decryption algorithm D3 using the temporary key VK to obtain music information CT, and writes the music information CT into the data storage unit 110.
[0064] Here, the encryption/decryption unit 109 uses DES for the decryption algorithm D3.
[0065] The encryption/decryption unit 109 also reads music information CT from the data storage unit 110, encrypts the music information CT according to an encryption algorithm E2 using the temporary key VK to generate encrypted music information EncCT, and outputs the encrypted music information EncCT to the encryption/decryption unit 210.
[0066] Here, the encryption/decryption unit 109 uses DES for the encryption algorithm E2.
[0067] (11) Data Storage Unit 110
[0068] The data storage unit 110 is equipped with a semiconductor memory, and includes an area to store music information CT.
[0069] 2.2 Memory Card 20
[0070] The memory card 20 includes the public key storage unit 201, a random number seed storage unit 202, a random number seed update unit 203, the random number generation unit 204, the decryption unit 205, a separation unit 206, the mutual authentication unit 207, the temporary key generation unit 208, a data storage unit 209, and the encryption/decryption unit 210.
[0071] (1) Public Key Storage Unit 201
[0072] The public key storage unit 201 is equipped with a semiconductor memory, and stores a 56-bit public key UK. The public key UK is registered when the memory card 20 is manufactured.
[0073] The public key storage unit 201 does not allow direct access from outside. Therefore, the public key storage unit 201 is protected from outside access.
[0074] (2) Random Number Seed Storage Unit 201
[0075] The random number seed storage unit 202 is equipped with a semiconductor memory, and prestores a 64-bit random number seed. The random number seed is registered when the memory card 20 is manufactured.
[0076] The random number seed storage unit 202 does not allow direct access from outside. In other words, the random number seed storage unit is protected from outside access.
[0077] (3) Random Number Generation Unit 204
[0078] The random number generation unit 204 reads the random number seed from the random number seed storage unit 202, generates a 64-bit random number R2 using the random number seed, outputs the random number R2 to the random number seed update unit 203, the mutual authentication unit 207, and the temporary key generation unit 208. The random number generation unit 204 also outputs the random number R2 to the mutual authentication unit 107 and temporary key generation unit 108 in the reader/writer apparatus 10.
[0079] (4) Random Number Seed Update Unit 203
[0080] The random number seed update unit 203 receives the random number R2 from the random number generation unit 204 and writes the random number R2 over the random number seed stored in the random number seed storage unit 202 as a new random number seed.
[0081] (5) Decryption Unit 205
[0082] The decryption unit 205 reads the public key UK from the public key storage unit 201, and receives the encrypted access information R1 from the encryption unit 105. Next, the decryption unit 205 decrypts the encrypted access information R1 according to a decryption algorithm D1 using the public key UK to obtain the random number access information, and outputs the random number access information to the separation unit 206.
[0083] Here, the decryption unit 205 uses DES for the decryption algorithm Dl. The decryption algorithm D1 decrypts a cryptogram which is generated by the encryption algorithm E1.
[0084] (6) Separation Unit 206
[0085] The separation unit 206 receives the random number access information from the decryption unit 205, separates the upper 32 bits of data from the random number access information as the access information, and outputs the access information to the data storage unit 209.
[0086] (7) Mutual Authentication Unit 207
[0087] The mutual authentication unit 207 reads the public key UK from the public key storage unit 201, receives the encrypted access information R1, calculates the response value V2 by evaluating Expression 4 using the encrypted access information R1 and the public key UK, and outputs the response value V2 to the mutual authentication unit 107 in the reader/writer apparatus.
V2=F1(R1,UK)=SHA(R1+UK) (Expression 4)
[0088] Here, this function F1 is equal to the function F1 in Expression 1.
[0089] Also, the mutual authentication unit 207 receives the random number R2 from the random number generation unit 204 and calculates the response value V1 by evaluating Expression 5 using the random number R2 and the public key UK.
V1′=F2(R2,UK)=SHA(R2+UK) (Expression 5)
[0090] Here, this function F2 is equal to the function F2 in Expression 2.
[0091] Next, the mutual authentication unit 207 receives the response value V1 from the mutual authentication unit 107 and judges whether the response values V1 and V1′ match. When they do not match, the mutual authentication unit 207 judges that the reader/writer apparatus 10 is an unauthorized device and prohibits the other construction elements from executing the subsequent operations. When they match, the mutual authentication unit 207 authenticates the reader/writer apparatus 10 as an authorized device and permits the construction elements to execute the subsequent operations.
[0092] (8) Temporary Key Generation Unit 208
[0093] The temporary key generation unit 208 receives, when the reader/writer apparatus 10 is authenticated as an authorized device and permitted to execute the operation, the encrypted access information R1 and the random number R2, and generates a temporary key VK by evaluating Expression 6 using the encrypted access information R1 and the random number R2.
VK=F3(R1,R2)=SHA(R1+R2) (Expression 6)
[0094] Here, this function F3 is equal to the function F3 in Expression 3.
[0095] The temporary key generation unit 208 then outputs the temporary key VK to the encryption/decryption unit 210.
[0096] (9) Data Storage Unit 209
[0097] The data storage unit 209 is equipped with a semiconductor memory, and includes an area to store music information CT.
[0098] (10) Encryption/Decryption Unit 210
[0099] The encryption/decryption unit 210 receives the temporary key VK from the temporary key generation unit 208.
[0100] The encryption/decryption unit 210 receives the encrypted music information EncCT from the encryption/decryption unit 109, decrypts the encrypted music information EncCT according to a decryption algorithm D2 using the temporary key VK to obtain the music information CT, and writes the music information CT into the area in the data storage unit 209 shown by the access information.
[0101] Here, the encryption/decryption unit 210 uses DES for the decryption algorithm D2. The decryption algorithm D2 decrypts a cryptogram which is generated by the encryption algorithm E2.
[0102] Also, the encryption/decryption unit 210 reads music information CT from the area in the data storage unit 209 shown by the access information, encrypts the music information CT according to an encryption algorithm E3 to generate the encrypted music information EncCT, and outputs the encrypted music information EncCT to the encryption/decryption unit 109.
[0103] Here, the encryption/decryption unit 210 uses DES for the encryption algorithm E3. The decryption algorithm D3 decrypts a cryptogram which is generated by the encryption algorithm E3.
[0104] 3. Operation of the Authentication Communication System 100
[0105] (1) Reading Operation
[0106] An operation of the reader/writer apparatus 10 and the memory card 20 which are included in the authentication communication system 100 is explained with reference to FIGS. 4 and 5.
[0107] Here, it is assumed that the reader/writer apparatus 10 is, like the personal stereo shown in FIG. 1(b), an apparatus for reading information stored in a memory card.
[0108] The combination unit 103 reads a random number seed from the random number seed storage unit 102, reads access information from the access information storage unit 101, and combines the random number seed and the access information, to generate random number access information (Step S101). The encryption unit reads a public key from the public key storage unit 104, and encrypts the random number access information using the public key, to generate encrypted access information R1 (Step S102). The mutual authentication unit 107 calculates V2′=F1(R1) (Step S103). The random number update unit 106 writes the random number access information over the random number seed stored in the random number seed storage unit 102 as a new random number seed (Step S104).
[0109] The encryption unit 105 outputs the encrypted access information R1 to the memory card 20, and the mutual 110 authentication unit 207 in the memory card 20 receives the encrypted access information R1 (Step S105).
[0110] The mutual authentication unit 207 calculates V2=F1(R1) (Step S106), and outputs the response value V2 to the mutual authentication unit 107 in the reader/writer apparatus 10 (Step S107).
[0111] The mutual authentication unit 107 judges whether the response values V2 and V2′ match. When they do not match (Step S108), the mutual authentication unit 107 judges that the memory card 20 is an unauthorized device and cancels the subsequent operations.
[0112] When they match (Step S108), the mutual authentication unit 107 authenticates the memory card 20 as an authorized device. After that, the random number generation unit 204 in the memory card 20 reads a random number seed from the random number seed storage unit 202 and generates a random number R2 using the random number seed (Step S109). The mutual authentication unit 207 calculates V1′=F2(R2) (Step S110). The random number seed update unit 203 writes the random number R2 over the random number seed stored in the random number seed storage unit 202 as a new random number seed (Step Sill). Next, the random number generation unit 204 outputs the random number R2 to the mutual authentication unit 107 in the reader/writer apparatus 10, and the mutual authentication unit 107 receives the random number R2 (Step S112). The mutual authentication unit 107 generates V1=F2(R2) (Step S113) and outputs the response value V1 to the mutual authentication unit 207 of the memory card 20, and the mutual authentication unit 207 receives the response value V1 (Step S114).
[0113] Next, the mutual authentication unit 207 judges whether the response values V1 and V1′ match. When they do not match (Step S115), the mutual authentication unit 207 judges that the reader/writer apparatus 10 is an unauthorized device and cancels the subsequent operations.
[0114] When they match (Step S115), the mutual authentication unit 207 authenticates the reader/writer apparatus as an authorized device. After that, the temporary key generation unit 108 in the reader/writer apparatus 10 generates a temporary key VK using the encrypted access information R1 and the random number R2 (Step S121). The decryption unit 205 in the memory card 20 reads a public key UK from the public key storage unit 201 and decrypts the encrypted access information R1 using the public key UK to obtain the random number access information (Step S122). The separation unit 206 separates the access information from the random number access information (Step S123). The temporary key generation unit 208 generates a temporary key VK using the encrypted access information R1 and the random number R2 (Step S124). The encryption/decryption unit 210 reads music information CT from the area in the data storage unit 209 shown by the access information (Step S125). The encryption/decryption unit 210 encrypts the music information CT using the temporary key VK to generate encrypted music information EncCT (Step S126), and outputs the generated encrypted music information EncCT to the encryption/decryption unit 109 in the reader/writer apparatus 10 (Step S127).
[0115] The encryption/decryption unit 109 decrypts the encrypted music information EncCT using the temporary key VK to obtain the music information CT, and writes it into the data storage unit 110 (Step S128). The input/output unit 111 reads the music information CT, converts the read music information CT into an audio signal, and outputs it (Step S129).
[0116] (2) Writing Operation
[0117] Another operation of the reader/writer apparatus 10 and the memory card 20 which are included in the authentication communication system 100 is explained with reference to FIG. 6.
[0118] Here, the explanation is given assuming that the reader/writer apparatus 10 is, like the personal computer shown in FIG. 1(a), an apparatus for writing information into a memory card. Since the reading operation and the writing operation are similar, only the differences are explained.
[0119] A flowchart obtained by replacing Steps S125 to S129 in the flowchart shown in FIGS. 4 and 5 with steps shown in FIG. 6 illustrates the writing operation of the authentication communication system 100.
[0120] The encryption/decryption unit 109 reads music information CT from the data storage unit 110 (Step S131), encrypts the music information CT using the temporary key VK to generate encrypted music information CT (Step S132), and outputs the encrypted music information to the encryption/decryption unit 210 in the memory card 20, and the encryption/decryption unit 210 receives the encrypted music information CT (Step S133).
[0121] The encryption/decryption unit 210 decrypts the encrypted music information EncCT using the temporary key VK to obtain the music information CT (Step S134), and writes the obtained music information CT into the area in the data storage unit 209 shown by the access information (Step S135)
[0122] 4. Summary
[0123] As described above, when mutual authentication is performed, information for accessing a confidential data storage area storing confidential data is scrambled and transferred, so that confidentiality of the information for accessing confidential data storage area can be improved.
[0124] If the information for accessing a confidential data storage area is changed into different information and transferred by dishonest impersonation, mutual authentication is not successfully performed. Accordingly, this system can prevent the confidential data storage area from being accessed.
[0125] When a random number is updated, access information for accessing a confidential data storage area is not used. Therefore, periodicity of the random number can be improved.
[0126] 5. Authentication Communication System 100a
[0127] An authentication communication system 100a is explained below, as a modification of the authentication communication system 100.
[0128] 5.1 Construction of the Authentication Communication System 100
[0129] The authentication communication system 100a is, as shown in FIG. 7, roughly composed of a reader/writer apparatus 10a and the memory card 20.
[0130] The memory card 20 is the same as the memory card 20 shown in FIG. 2. So, the explanation of the memory card 20 is omitted here.
[0131] The reader/writer apparatus 10a includes an access information storage unit 101, a random number seed storage unit 102, a combination unit 103, a public key storage unit 104, an encryption unit 105, a random number seed update unit 106, a mutual authentication unit 107, a temporary key generation unit 108, an encryption/decryption unit 109, a data storage unit 110, an input/output unit 111, and a random number generation unit 112.
[0132] The following explanation focuses on the differences from the reader/writer apparatus 10. The other points are the same as those of the reader/writer apparatus 10. So, the explanation of them are omitted here.
[0133] (1) Random Number Generation Unit 112
[0134] The random number generation unit 112 reads a random number seed from the random number seed storage unit 102, generates a 64-bit random number using the random number seed, and outputs the random number to the combination unit 103 and the random number update unit 106.
[0135] (2) Random Number Seed Update Unit 106
[0136] The random number seed update unit 106 receives the random number from the random number generation unit 112, and writes the random number over the random number seed stored in the random number seed storage unit 102 as a new random number seed.
[0137] (3) Combination Unit 103
[0138] The combination unit 103 receives the random number from the random number generation unit 112, reads the access information from the access information storage unit 101, and combines the random number and the access information, to generate random number access information.
[0139] 5.2 Operation of the Authentication Communication System 100a
[0140] An operation of the authentication communication system 100a is explained with reference to FIG. 8.
[0141] The random number generation unit 112 reads a random number seed from the random number seed storage unit 102 (Step S201), and generates a 64-bit random number using the random number seed (Step S202). The random number seed update unit 106 receives the random number from the random number generation unit 112, and writes the random number over the random number seed stored in the random number seed storage unit 102 as a new random number seed (Step S203). Next, the combination unit 103 receives the random number from the random number generation unit 112, reads access information from the access information storage unit 101, and combines the random number and the access information, to generate random access information (Step S204).
[0142] It is then followed by Step S102 in FIG. 4. The subsequent steps are the same as those of the authentication communication system 100. So the explanation of them are omitted here.
[0143] 5.3 Summary
[0144] As described above, when the random number is updated, access information for accessing a confidential data storage area is not used. Therefore, periodicity of the random number can be improved.
[0145] 6. Authentication Communication System 100b
[0146] An authentication communication system 100b is explained below, as a modification of the authentication communication system 100a.
[0147] 6.1 Construction of the Authentication Communication System 100b
[0148] The authentication communication system 100b is, as shown in FIG. 9, roughly composed of a reader/writer apparatus 10b and a memory card 20b.
[0149] (1) Construction of the Reader/Writer Apparatus 10b
[0150] The reader/writer apparatus 10b includes an access information storage unit 101, a random number seed storage unit 102, a combination unit 103, a public key storage unit 104, an encryption unit 105, a random number seed update unit 106, a mutual authentication unit 107, a temporary key generation unit 108, a data storage unit 110, an input/output unit 111, a random number generation unit 112, a content key generation unit 113, an encryption unit 114, a content additional information storage unit 115, an encryption/decryption unit 116, and an encryption unit 117.
[0151] The following explanation focuses on the differences from the reader/writer apparatus 10a. The other points are the same as those of the reader/writer apparatus 10a. So, the explanation of them are omitted here.
[0152] (a) Input/Output Unit 111
[0153] The input/output unit 111 accepts input of content additional information by a user operation, and writes the content additional information into the content additional information storage unit 115.
[0154] Here, content additional information shows, for example, the number of times a content has been reproduced and length of time the content has been used. The content additional information is 8 bits long.
[0155] The input/output unit 111 also obtains content data CD according to a user operation, and writes the content data CD into the data storage unit 110.
[0156] Here, the content data CD is, for example, music content information.
[0157] (b) Random Number Generation Unit 112
[0158] The random number generation unit 112 outputs the random number R3 to the content key generation unit 113.
[0159] (c) Content Key Generation Unit 113
[0160] The content key generation unit 113 reads the content additional information from the content additional information storage unit 115, receives the random number R3 from the randomnumber generation unit 112, and generates a content key CK by evaluating Expression 7 using the random number R3 and the content additional information. Here, the content key CK is 64 bits long.
CK=F4(R3, content additional information)=content additional information (8 bits long)+the lower 56 bits of R3. (Expression 7)
[0161] Here, “+” is an operator denoting combination of data and data.
[0162] Next, the content key generation unit 113 outputs the content key CK to the encryption unit 114 and the encryption unit 117.
[0163] (d) Encryption Unit 114
[0164] The encryption unit 114 receives the content key CK from the content key generation unit 113, reads the public key UK from the public key storage unit 104, encrypts the content key CK according to an encryption algorithm E4 using the public key UK to generate an encrypted content key EncCK, and outputs the encrypted content key EncCK to the decryption unit 116.
[0165] Here, the encryption unit 114 uses DES for the encryption algorithm E4.
[0166] (e) Encryption/Decryption Unit 116
[0167] The encryption/decryption unit 116 receives the encrypted content key EncCK from the encryption unit 114, encrypts the encrypted content key EncCK according to an encryption algorithm E2 using the temporary key VK to generate a double-encrypted content key Enc(EncCK), and outputs the double-encrypted content key Enc (EncCK) to the encryption/decryption unit 211.
[0168] Here, the encryption/decryption unit 116 uses DES for the encryption algorithm E2.
[0169] (f) Encryption Unit 117
[0170] The encryption unit 117 reads the content data CD from the data storage unit 110 and encrypts the content data CD according to an encryption algorithm E5 using the content key CK to generate encrypted content data EncCD. Then, the encryption unit 117 outputs the encrypted content data EncCD to the data storage unit 213.
[0171] Here, the encryption unit 117 uses DES for the encryption algorithm E5.
[0172] (2) Construction of the Memory Card 20b
[0173] The memory card 20b includes a public key storage unit 201, a random number seed storage unit 202, a random number seed update unit 203, a random number generation unit 204, a decryption unit 205, a separation unit 206, a mutual authentication unit 207, a temporary key generation unit 208, an encryption/decryption unit 211, a key data storage unit 212, and a data storage unit 213.
[0174] The following explanation focuses on the differences from the memory card 20. The other points are the same as those of the memory card 20. So, the explanation of them are omitted.
[0175] (a) Temporary Key Generation Unit 208
[0176] The temporary key generation unit 208 outputs the temporary key VK to the encryption/decryption unit 211.
[0177] (b) Encryption/Decryption Unit 211 The encryption/decryption unit 211 receives the temporary key VK from the temporary key generation unit 208 and the double-encrypted content key Enc(EncCK) from the encryption/decryption unit 116.
[0178] Next, the encryption/decryption unit 211 decrypts the double-encrypted content key Enc(EncCK) according to a decryption algorithm D2 using the temporary key VK to obtain the encrypted content key EncCK and writes the encrypted content key EncCK into an area in the key data storage unit 212 shown by the access information.
[0179] (c) Key Data Storage Unit 212
[0180] The key data storage unit 212 includes an area to store encrypted content key EncCK.
[0181] (d) Data Storage Unit 213
[0182] The data storage unit 213 receives the encrypted content data EncCD and stores the encrypted content data EncCD.
[0183] 6.2 Operation of the Authentication Communication System 100b
[0184] An operation of the authentication communication system 100b is similar to that of the authentication communication system 100a. So, only the differences from the authentication communication system 100a are explained here.
[0185] The operation of the authentication communication system 100b is illustrated by a flowchart obtained by replacing steps S121 and onwards in the flowchart showing the operation of the authentication communication system 10a with the flowchart shown in FIG. 10.
[0186] The content key generation unit 113 reads content additional information from the content additional information storage unit 115 (Step S301). The random number generation unit 112 outputs the random number R3 to the content key generation unit 113. The content key generation unit 113 receives the random number R3 from the random number generation unit 112, generates a content key CK using the random number R3 and the content key CK, and outputs the content key CK to the encryption unit 114 and the encryption unit 117 (Step S302). The encryption unit 114 receives the content key CK from the content key generation unit 113, reads the public key UK from the public key storage unit 104, encrypts the content key CK according to an encryption algorithm E4 using the public key UK to generate encrypted content key EncCK, and outputs the encrypted content key EncCK to the encryption/decryption unit 116(Step S303). Next, the encryption/decryption unit 116 receives the encrypted content key EncCK, encrypts the encrypted content key EncCK according to an encryption algorithm E2 using the temporary key VK, to generate a double-encrypted content key Enc(EncCK) (Step S304). The encryption/decryption unit 116 then outputs the double-encrypted content key Enc(EncCK) to the encryption/decryption unit 211, and the encryption/decryption unit 211 receives the double-encrypted content key Enc(EncCK) (Step S305). The encryption/decryption unit 211 decrypts the double-encrypted content key Enc(EncCK) according to a decryption algorithm D2 using the temporary key VK to obtain the encrypted content key EncCK, and writes the encrypted content key EncCK into the area in the key data storage unit 212 shown by the access information (Step S306).
[0187] The encryption unit 117 reads content data CD from the data storage unit 110 (Step S307) and encrypts the content data CD according to an encryption algorithm E5 using the content key CK, to generate encrypted content data EncCD(Step S308). The encryption unit 117 outputs the encrypted content data EncCD to the data storage unit 213, and the data storage unit 213 receives the encrypted content data EncCD(Step S309). The data storage unit 213 stores the encrypted content data EncCD(Step S310).
[0188] 6.3 Summary
[0189] As described above, the authentication communication system 100b does not need another random number generation mechanism for generating a content key to encrypt content data. The random number generation mechanism used for combining access information can double as that for generating the content key.
[0190] 7. Other Modifications
[0191] Although the present invention has been described based on the above embodiments, the present invention is, of course, not limited to the above embodiments. The following cases are also included in the present invention.
[0192] (1) Although a digital copyright work is music information in the above embodiments, it may be character data, such as a novel and a thesis, computer program software for a computer game, compressed audio data represented by MP3 (Moving Picture experts group audio layer 3), a still picture of JPEG (Joint Photographic Experts Group) format or the like, or a moving picture of MPEG (Moving Picture Experts Group) format or the like.
[0193] Also, the reader/writer apparatus is not limited to a personal computer, and may be an output device for selling or distributing the above variety of digital copyright works. Additionally, the reader/writer apparatus is not limited to a personal stereo and may be a reproduction device for reproducing the digital copyright works. For example, it may be a computer game device, a belt-typed information terminal, a dedicated terminal, or a personal computer. The reader/writer apparatus may include both functions of the above output device and reproduction device.
[0194] (2) In the above embodiments, DES is used for the encryption/decryption algorithms. However, other ciphers may be used instead.
[0195] Also, SHA is used in the above embodiments. However, other one-way functions may be used instead.
[0196] Although a public key and a temporary key are 56 bits long, different length of keys may be used.
[0197] (3) Although the combination unit 103 combines access information and the lower 32 bits of random number seed to generate a 64-bit random access information in the above embodiment, it is not limited to this. It may be done as follows.
[0198] The combination unit 103 may combine 32-bit access information and the lower 32 bits of a random number seed so that each bit thereof is alternately arranged, to generate 64-bit random access information.
[0199] The combination unit 103 may also combine the 32-bit access information and the lower 32 bits of a random number seed so that groups of bits thereof are alternately arranged. In these cases, the separation unit 206 inversely performs the operation of the combination unit 103.
[0200] (4) Although the random number generation unit 204 in the memory card 20 generates a random number R2 using a random number seed stored in the random number seed storage unit 202 in the above embodiments, the random number generation unit 204 may generate the random number R2 as a random number seed.
[0201] Also, although the temporary key generation units 108 and 208 generate a temporary key using the encrypted access information R1 and the random number R2, they may use response values. They may use a public key UK, too.
[0202] (5) In the authentication communication system 100b, the encryption unit 117 writes encrypted content data EncCD into the data storage unit 213. However, the encryption unit 117 may treat the encrypted content data EncCD as confidential data and write it into an area shown by access information.
[0203] Also, the encryption unit 117 may write the encrypted content data EncCD into the data storage unit 213 without treating it as confidential data.
[0204] In addition, either of the encryption units 114 or 117 does not need to be provided, and the remained encryption unit may double as the other.
[0205] (6) The present invention may be the method shown in the above embodiments. Furthermore, the present invention may be a computer program which realizes this method on a computer, and may be a digital signal constituting the computer program.
[0206] Also, the present invention may be a computer-readable storage medium, for example, a floppy disk, a hard disc, a CD-ROM (Compact Disc-Read Only Memory), an MO (Magneto-Optical) disc, a DVD (Digital Versatile Disc), a DVD-ROM, a DVD-RAM, or a semiconductor memory, in which the computer program or the digital signal is stored. Conversely, the present invention may also be the computer program or the digital signal stored in these storage media.
[0207] Moreover, the present invention may be realized by transmitting the computer program or the digital signal via a network, such as an electric communication network, a wired or wireless communication network, or the Internet.
[0208] Furthermore, the present invention may be a computer system equipped with a microprocessor and a memory. The memory stores the computer program, and the microprocessor operates in accordance with the computer program.
[0209] The present invention may be implemented on another independent computer system by transferring the computer program or the digital signal stored in any of the storage media, or by transmitting the computer program or the digital signal via the network or the like.
[0210] (4) Various combinations of the above embodiments and the above modifications are possible.
INDUSTRIAL APPLICABILITY
[0211] The present invention can be used for mutual authentication between an output device which outputs digital copyright works and a semiconductor storage medium before duplicating a digital copyright work from the output device into the semiconductor storage medium. In addition, the present invention can be used for mutual authentication between a semiconductor storage medium which stores a digital copyright work and a reproduction device before reading the digital copyright work from the semiconductor storage medium and reproducing the digital copyright work.
Claims
- 1. An authentication communication system which includes (a) a storage medium having an area for storing digital information and (b) an access device for reading/writing digital information from/into the area, the authentication communication system comprising:
a first authentication phase in which the access device authenticates whether the storage medium is authorized according to a challenge-response authentication protocol by transmitting scrambled access information generated by scrambling access information which shows the area, to the storage medium; a second authentication phase in which the storage medium authenticates whether the access device is authorized; and a transfer phase in which, when the storage medium and the access device have authenticated each other as authorized devices, the storage medium extracts the access information from the scrambled access information, and the access device reads/writes digital information from/into the area shown by the access information.
- 2. The authentication communication system of claim 1,
wherein in the first authentication phase, the access device includes:
an access information acquisition unit for acquiring the access information which shows the area; a random number acquisition unit for acquiring a random number; a generation unit for generating random number access information by combining the access information and the random number; and an encryption unit for encrypting the random number access information according to an encryption algorithm, to generate the scrambled access information, the storage medium includes a response value generation unit for generating a response value from the scrambled access information, and the access device includes an authentication unit for authenticating whether the storage medium is authorized using the response value.
- 3. The authentication communication system of claim 2,
wherein in the transfer phase, the storage medium includes:
a decryption unit for decrypting the scrambled access information according to a decryption algorithm to obtain the random number access information; and a separation unit for separating the access information from the random number access information.
- 4. The authentication communication system of claim 3,
wherein in the first authentication phase, the access device further includes a random number seed storage unit for storing a random number seed, and the random number acquisition unit acquires the random number by reading the random number seed from the random number seed storage unit.
- 5. The authentication communication system of claim 4,
wherein in the first authentication phase, the access device further writes the scrambled access information over the random number seed stored in the random number seed storage unit, as a new random number seed.
- 6. The authentication communication system of claim 3,
wherein in the first authentication phase, the access device further includes a random number seed storage unit for storing a random number seed, and the random number acquisition unit acquires the random number, by reading the random number seed from the random number seed storage unit and generating the random number based on the random number seed.
- 7. The authentication communication system of claim 6,
wherein in the first authentication phase, the access device further writes the random number over the random number seed stored in the random number seed storage unit as a new random number seed.
- 8. The authentication communication system of claim 3,
wherein in the transfer phase, the storage medium, which stores digital information in the area, includes an encryption unit for reading the digital information from the area shown by the access information and encrypting the digital information according to an encryption algorithm to generate encrypted digital information, and the access device, which reads the digital information from the area, includes a decryption unit for decrypting the encrypted digital information according to a decryption algorithm to obtain the digital information, the decryption algorithm being an algorithm for decrypting a cryptogram generated according to the encryption algorithm.
- 9. The authentication communication system of claim 3,
wherein in the transfer phase, the access device, which writes digital information into the area, includes:
a digital information acquisition unit for acquiring the digital information; and an encryption unit for encrypting the digital information according to an encryption algorithm to generate encrypted digital information, and the storage medium includes a decryption unit for decrypting the encrypted digital information according to a decryption algorithm to obtain the digital information, and writing the digital information into the area shown by the access information, the decryption algorithm being an algorithm for decrypting a cryptogram generated according to the encryption algorithm.
- 10. The authentication communication system of claim 3,
wherein in the transfer phase, the access device, which writes digital information into the area, includes:
a digital information acquisition unit for acquiring the digital information; a content key acquisition unit for acquiring a content key; a first encryption unit for encrypting the acquired content key according to a first encryption algorithm to generate an encrypted content key; a second encryption unit for encrypting the encrypted content key according to a second encryption algorithm to generate a double-encrypted content key; and a third encryption unit for encrypting the digital information according to a second encryption algorithm using the content key, to generate encrypted digital information, the storage medium includes a decryption unit for decrypting the double-encrypted content key according to a first decryption algorithm to obtain the encrypted content key, and writing the encrypted content key into the area shown by the access information, and the storage medium further includes an area for storing the encrypted digital information.
- 11. An authentication communication method which includes (a) a storage medium having an area for storing digital information and (b) an access device for reading/writing digital information from/into the area, the authentication communication method comprising:
a first authentication step in which the access device authenticates whether the storage medium is authorized according to a challenge-response authentication protocol by transmitting scrambled access information generated by scrambling access information which shows the area, to the storage medium; a second authentication step in which the storage medium authenticates whether the access device is authorized; and a transfer step in which, when the storage medium and the access device have authenticated each other as authorized devices, the storage medium extracts the access information from the scrambled access information, and the access device reads/writes digital information from/into the area shown by the access information.
- 12. A computer-readable storage medium which stores an authentication communication program for use in an authentication communication system (a) which includes a storage medium having an area for storing digital information and an access device for reading/writing digital information from/into the area, and (b) in which the digital information is transferred after each of the storage medium and the access device authenticates each other as authorized devices, the authentication communication program comprising:
a first authentication step in which the access device authenticates whether the storage medium is authorized according to a challenge-response authentication protocol by transmitting scrambled access information generated by scrambling access information which shows the area, to the storage medium; a second authentication step in which the storage medium authenticates whether the access device is authorized; and a transfer step in which, when the storage medium and the access device have authenticated each other as authorized devices, the storage medium extracts the access information from the scrambled access information, and the access device reads/writes digital information from/into the area shown by the access information.
- 13. An access device which is included in the authentication communication system of claim 1.
- 14. An access device which is included in the authentication communication system of claim 2.
- 15. A storage medium which is included in the authentication communication system of claim 1.
- 16. A storage medium which is included in the authentication communication system of claim 3.
Priority Claims (2)
Number |
Date |
Country |
Kind |
2000-006989 |
Jan 2000 |
JP |
|
2000-041317 |
Feb 2000 |
JP |
|
PCT Information
Filing Document |
Filing Date |
Country |
Kind |
PCT/JP01/00159 |
1/12/2001 |
WO |
|