JP4346490B2 - ENCRYPTION DEVICE, INFORMATION REPRODUCTION DEVICE, ENCRYPTION METHOD, AND INFORMATION REPRODUCTION METHOD - Google Patents

ENCRYPTION DEVICE, INFORMATION REPRODUCTION DEVICE, ENCRYPTION METHOD, AND INFORMATION REPRODUCTION METHOD Download PDF

Info

Publication number
JP4346490B2
JP4346490B2 JP2004111524A JP2004111524A JP4346490B2 JP 4346490 B2 JP4346490 B2 JP 4346490B2 JP 2004111524 A JP2004111524 A JP 2004111524A JP 2004111524 A JP2004111524 A JP 2004111524A JP 4346490 B2 JP4346490 B2 JP 4346490B2
Authority
JP
Japan
Prior art keywords
key
encrypted
encryption
data
keys
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP2004111524A
Other languages
Japanese (ja)
Other versions
JP2004260844A (en
Inventor
岳久 加藤
直樹 遠藤
裕明 海野
正 小島
康一 平山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP2004111524A priority Critical patent/JP4346490B2/en
Publication of JP2004260844A publication Critical patent/JP2004260844A/en
Application granted granted Critical
Publication of JP4346490B2 publication Critical patent/JP4346490B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Storage Device Security (AREA)

Description

本発明は、ディジタル記録されたデータに対して記録媒体からのコピーを防止するための暗号化装置、情報再生装置、暗号化方法及び情報再生方法に関する。   The present invention relates to an encryption device, an information reproduction device, an encryption method, and an information reproduction method for preventing digitally recorded data from being copied from a recording medium.

従来、ディジタル化された情報(例えば、文書、音声、画像、プログラムなど)を記録する媒体として、音声や画像の記録媒体ではコンパクトディスクやレーザディスクがある。また、コンピュータなどのプログラムやデータの記録媒体には、フロッピーディスクやハードディスクがある。また、これら記録媒体に加えて、大容量記録媒体であるDVD(ディジタルビデオディスク)が開発されている。   Conventionally, as a medium for recording digitized information (for example, a document, sound, image, program, etc.), there are a compact disk and a laser disk as a sound and image recording medium. In addition, a program or data recording medium such as a computer includes a floppy disk and a hard disk. In addition to these recording media, DVDs (digital video discs), which are large-capacity recording media, have been developed.

上記のような種々のディジタル記録媒体において、記録するときにそのままのディジタルデータ(圧縮や符号化等されデコード可能なものも含む)を記録しているため、記録されたデータを他の媒体にコピーすることは、例えば音質や画質の損失なしに、かつ容易にコピーすることが可能であり、複製を大量に作り出すことができ、著作権の侵害など問題があった。   In various digital recording media as described above, digital data is recorded as it is (including those that can be decoded and compressed), so the recorded data can be copied to other media. To do so, for example, it is possible to easily copy without loss of sound quality and image quality, to make a large number of duplicates, and there has been a problem such as infringement of copyright.

上述したように、ディジタル記録媒体からコピーする場合、音質や画質の劣化がなく、マスターの音質や画質を保ったままコピーすることができる。このため、海賊版と呼ばれる不正なコピーにより、著作料を払うことなくメディアを販売する不法な行為が可能となるなどの問題があった。   As described above, when copying from a digital recording medium, there is no deterioration in sound quality and image quality, and copying can be performed while maintaining the sound quality and image quality of the master. For this reason, there has been a problem that an illegal act of selling media without paying a copyright fee can be performed by an illegal copy called a pirated version.

本発明は、上記事情を考慮してなされたもので、ディジタル記録された記録媒体からの不正なコピーを防止するための暗号化装置、情報再生装置、暗号化方法及び情報再生方法を提供することを目的とする。   The present invention has been made in view of the above circumstances, and provides an encryption device, an information reproduction device, an encryption method, and an information reproduction method for preventing unauthorized copying from a digitally recorded recording medium. With the goal.

本発明に係る暗号化装置は、第1の鍵でデータを暗号化する第1の暗号化手段と、前記第1の鍵を予め定められた複数の第2の鍵でそれぞれ暗号化する第2の暗号化手段と、前記第1の鍵を前記第1の鍵自身で暗号化する第3の暗号化手段と、前記第1の暗号化手段により生成された前記第1の鍵で暗号化されたデータと、前記第2の暗号化手段により生成された前記複数の第2の鍵でそれぞれ暗号化された複数の第1の鍵と、前記第3の暗号化手段により生成された前記第1の鍵自身で暗号化された第1の鍵とを記録媒体へ記録する記録手段とを備えたことを特徴とする。 The encryption device according to the present invention includes a first encryption unit that encrypts data with a first key, and a second encryption unit that encrypts the first key with a plurality of predetermined second keys. Encryption means, a third encryption means for encrypting the first key with the first key itself, and the first key generated by the first encryption means. Data, a plurality of first keys respectively encrypted with the plurality of second keys generated by the second encryption means, and the first key generated by the third encryption means. And a recording means for recording the first key encrypted with the key itself on a recording medium .

好ましくは、前記記録手段は、前記第1の鍵で暗号化されたデータを、前記記録媒体のデータエリア部に記録し、前記複数の第2の鍵でそれぞれ暗号化された複数の第1の鍵及び前記第1の鍵自身で暗号化された第1の鍵を前記記録媒体のリードインエリア部に記録するようにしてもよい。   Preferably, the recording means records data encrypted with the first key in a data area portion of the recording medium, and a plurality of first keys respectively encrypted with the plurality of second keys. The key and the first key encrypted with the first key itself may be recorded in the lead-in area portion of the recording medium.

本発明に係る暗号化装置は、第3の鍵でデータを暗号化する第1の暗号化手段と、第1の鍵で前記第3の鍵を暗号化する第2の暗号化手段と、前記第1の鍵を予め定められた複数の第2の鍵でそれぞれ暗号化する第3の暗号化手段と、前記第1の鍵を前記第1の鍵自身で暗号化する第4の暗号化手段と、前記第1の暗号化手段により生成された前記第3の鍵で暗号化されたデータと、前記第2の暗号化手段により生成された前記第1の鍵で暗号化された第3の鍵と、前記第3の暗号化手段により生成された前記複数の第2の鍵でそれぞれ暗号化された複数の第1の鍵と、前記第4の暗号化手段により生成された前記第1の鍵自身で暗号化された第1の鍵とを記録媒体へ記録する記録手段とを備えたことを特徴とする。 The encryption apparatus according to the present invention includes a first encryption unit that encrypts data with a third key, a second encryption unit that encrypts the third key with a first key, Third encryption means for encrypting the first key with a plurality of predetermined second keys, and fourth encryption means for encrypting the first key with the first key itself And data encrypted with the third key generated by the first encryption means, and third data encrypted with the first key generated by the second encryption means. A key, a plurality of first keys respectively encrypted with the plurality of second keys generated by the third encryption means, and the first key generated by the fourth encryption means Recording means for recording the first key encrypted with the key itself onto a recording medium is provided.

好ましくは、前記記録手段は、前記第3の鍵で暗号化されたデータを、前記記録媒体のデータエリア部に記録し、前記第1の鍵で暗号化された前記第3の鍵と、前記複数の第2の鍵でそれぞれ暗号化された複数の第1の鍵及び前記第1の鍵自身で暗号化された第1の鍵を前記記録媒体のリードインエリア部に記録するようにしてもよい。   Preferably, the recording means records the data encrypted with the third key in a data area part of the recording medium, and the third key encrypted with the first key; The plurality of first keys encrypted with the plurality of second keys and the first key encrypted with the first key itself may be recorded in the lead-in area portion of the recording medium. Good.

好ましくは、前記データは、映像又は音楽のコンテンツであり、前記記録媒体はDVDであるようにしてもよい。   Preferably, the data may be video or music content, and the recording medium may be a DVD.

また、本発明に係る情報再生装置は、第1の鍵で暗号化されたMPEG2データ並びに予め定められた2以上の第2の鍵でそれぞれ暗号化された第1の鍵及び第1の鍵自身で暗号化された第1の鍵が記録されたメディアから読み出された、該予め定められた2以上の第2の鍵でそれぞれ暗号化された第1の鍵及び該第1の鍵自身で暗号化された第1の鍵並びに自装置内に外部から取り出せないように記録されている第2の鍵を用いて、所定の方法で該第1の鍵を復号化する第1の復号化手段と、前記メディアから読み出された、前記第1の鍵で暗号化されたMPEG2データを、前記第1の復号化手段から入力される復号化された前記第1の鍵によって復号化する第2の復号化手段と、この第2の復号化手段により復号化された前記MPEG2データをデコードするMPEG2デコーダ手段とを備え、前記第1の復号化手段は、前記所定の方法で前記第1の鍵を復号化するにあたって、前記予め定められた2以上の第2の鍵でそれぞれ暗号化された第1の鍵の一つを、前記自装置内に外部から取り出せないように記録されている第2の鍵で復号化し、これにより得られる第1の鍵の候補と、前記第1の鍵自身で暗号化された第1の鍵のもととなった第1の鍵とが一致するか否かを判定することを、該判定において該一致が得られるまで、該第2の鍵で暗号化された第1の鍵を替えながら繰り返し行い、該判定において該一致が得られた場合に、該判定がなされた当該第1の鍵の候補、又は、前記第1の鍵自身で暗号化された第1の鍵を当該第1の鍵の候補で復号化して得られる第1の鍵を出力するものであり、
前記第1の復号化手段は、前記判定として、前記第1の鍵の候補の値と、前記第1の鍵自身で暗号化された第1の鍵を該第1の鍵の候補で復号化して得た値とが一致するか否かの判定、又は、該第1の鍵の候補を該第1の鍵の候補自身で暗号化して得た値と、前記第1の鍵自身で暗号化された第1の鍵の値とが一致するか否かの判定を行うものであることを特徴とする。
In addition, the information reproducing apparatus according to the present invention includes MPEG2 data encrypted with the first key, and the first key and the first key itself encrypted with two or more predetermined second keys, respectively. The first key encrypted with the predetermined two or more second keys read from the medium on which the first key encrypted with the first key is recorded, and the first key itself. First decryption means for decrypting the first key by a predetermined method using the encrypted first key and the second key recorded in the apparatus so as not to be taken out from the outside. And decrypting the MPEG2 data encrypted with the first key, read from the medium, with the decrypted first key inputted from the first decryption means. And the MPEG decoded by the second decoding means. Bei example the MPEG2 decoder means for decoding the data, the first decoding means, when decoding the first key in the predetermined manner, in the two or more second key predetermined Each of the encrypted first keys is decrypted with a second key recorded in the device so as not to be taken out from the outside, and a first key candidate obtained thereby, Determining whether or not the first key that is the source of the first key encrypted by the first key itself matches is determined until the second match is obtained in the determination. If the match is obtained in the determination, the first key candidate that has been determined, or the first key itself, is repeatedly performed while changing the first key encrypted with the key. The first key obtained by decrypting the first key encrypted in step 1 with the first key candidate is It is intended to force,
The first decryption means decrypts the first key candidate value and the first key encrypted with the first key itself as the determination by using the first key candidate. Whether or not the obtained value matches, or the value obtained by encrypting the first key candidate with the first key candidate and the first key itself is the value of the first key and wherein the this is performed to determine whether or not to match a.

また、本発明は、第1の暗号化手段、第2の暗号化手段第3の暗号化手段及び記録手段を備えた暗号化装置における暗号化方法であって、前記第1の暗号化手段により、第1の鍵でデータを暗号化する第1のステップと、前記第2の暗号化手段により、前記第1の鍵を予め定められた複数の第2の鍵でそれぞれ暗号化する第2のステップと、前記第3の暗号化手段により、前記第1の鍵を前記第1の鍵自身で暗号化する第3のステップと、前記記録手段により、前記第1のステップにおいて生成された前記第1の鍵で暗号化されたデータと、前記第2のステップにおいて生成された前記複数の第2の鍵でそれぞれ暗号化された複数の第1の鍵と、前記第3のステップにおいて生成された前記第1の鍵自身で暗号化された第1の鍵とを記録媒体へ記録する第4のステップとを有することを特徴とする暗号化方法。 The present invention also provides an encryption method in an encryption apparatus comprising a first encryption means, a second encryption means , a third encryption means, and a recording means , wherein the first encryption means Thus, a first step of encrypting data with a first key and a second step of encrypting the first key with a plurality of predetermined second keys by the second encryption means, respectively. The third step of encrypting the first key with the first key itself by the third encryption unit, and the step generated by the recording unit in the first step. Data encrypted with the first key, a plurality of first keys respectively encrypted with the plurality of second keys generated in the second step, and generated in the third step And a first key encrypted with the first key itself as a recording medium. Encryption method; and a fourth step of recording the.

好ましくは、前記第4のステップでは、前記記録手段は、前記第1の鍵で暗号化されたデータを、前記記録媒体のデータエリア部に記録し、前記複数の第2の鍵でそれぞれ暗号化された複数の第1の鍵及び前記第1の鍵自身で暗号化された第1の鍵を前記記録媒体のリードインエリア部に記録するようにしてもよい。   Preferably, in the fourth step, the recording means records the data encrypted with the first key in a data area portion of the recording medium and encrypts the data with the plurality of second keys. The plurality of first keys and the first key encrypted with the first key itself may be recorded in the lead-in area portion of the recording medium.

また、本発明は、第1の暗号化手段、第2の暗号化手段、第3の暗号化手段第4の暗号化手段及び記録手段を備えた暗号化装置における暗号化方法であって、前記第1の暗号化手段により、第3の鍵でデータを暗号化する第1のステップと、前記第2の暗号化手段により、第1の鍵で前記第3の鍵を暗号化する第2のステップと、前記第3の暗号化手段により、前記第1の鍵を予め定められた複数の第3の鍵でそれぞれ暗号化する第2のステップと、前記第4の暗号化手段により、前記第1の鍵を前記第1の鍵自身で暗号化する第4のステップと、前記記録手段により、前記第1のステップにおいて生成された前記第3の鍵で暗号化されたデータと、前記第2のステップにおいて生成された前記第1の鍵で暗号化された第3の鍵と、前記第3のステップにおいて生成された前記複数の第2の鍵でそれぞれ暗号化された複数の第1の鍵と、前記第4のステップにおいて生成された前記第1の鍵自身で暗号化された第1の鍵とを記録媒体へ記録する第5のステップとを有することを特徴とする暗号化方法。 Further, the present invention is an encryption method in an encryption apparatus comprising a first encryption means, a second encryption means, a third encryption means , a fourth encryption means, and a recording means , A first step of encrypting data with a third key by the first encryption means, and a second step of encrypting the third key with the first key by the second encryption means. The second step of encrypting the first key with a plurality of predetermined third keys by the third encryption unit, and the fourth encryption unit, A fourth step of encrypting the first key with the first key itself; data encrypted with the third key generated in the first step by the recording means; A third key encrypted with the first key generated in step 2, and the first key A plurality of first keys respectively encrypted with the plurality of second keys generated in the step, and a first key encrypted with the first key itself generated in the fourth step. And a fifth step of recording the key on the recording medium .

好ましくは、前記第5のステップでは、前記記録手段は、前記記録手段前記第3の鍵で暗号化されたデータを、前記記録媒体のデータエリア部に記録し、前記第1の鍵で暗号化された前記第3の鍵と、前記複数の第2の鍵でそれぞれ暗号化された複数の第1の鍵及び前記第1の鍵自身で暗号化された第1の鍵を前記記録媒体のリードインエリア部に記録するようにしてもよい。
好ましくは、前記データは、映像又は音楽のコンテンツであり、前記記録媒体はDVDであるようにしてもよい。
Preferably, in the fifth step, the recording means records the data encrypted by the recording means with the third key in a data area portion of the recording medium and encrypts the data with the first key. Read the third key, the plurality of first keys encrypted with the plurality of second keys, and the first key encrypted with the first key itself from the recording medium. You may make it record in an in-area part.
Preferably, the data may be video or music content, and the recording medium may be a DVD.

また、本発明は、第1の復号化手段、第2の復号化手段及びMPEG2デコーダ手段を備えた情報再生装置における情報再生方法であって、前記第1の復号化手段により、第1の鍵で暗号化されたMPEG2データ並びに予め定められた2以上の第2の鍵でそれぞれ暗号化された第1の鍵及び第1の鍵自身で暗号化された第1の鍵が記録されたメディアから読み出された、該予め定められた2以上の第2の鍵でそれぞれ暗号化された第1の鍵及び該第1の鍵自身で暗号化された第1の鍵並びに自装置内に外部から取り出せないように記録されている第2の鍵を用いて、所定の方法で該第1の鍵を復号化する第1のステップと、前記第2の復号化手段により、前記メディアから読み出された、前記第1の鍵で暗号化されたMPEG2データを、前記復号化手段から入力される復号化された前記第1の鍵によって復号化する第2のステップと、前記MPEG2デコーダ手段により、前記第2の復号化手段により復号化された前記MPEG2データをデコードする第3のステップとを有し、前記第1のステップでは、前記第1の復号化手段は、前記所定の方法で前記第1の鍵を復号化するにあたって、前記予め定められた2以上の第2の鍵でそれぞれ暗号化された第1の鍵の一つを、前記自装置内に外部から取り出せないように記録されている第2の鍵で復号化し、これにより得られる第1の鍵の候補と、前記第1の鍵自身で暗号化された第1の鍵のもととなった第1の鍵とが一致するか否かを判定することを、該判定において該一致が得られるまで、該第2の鍵で暗号化された第1の鍵を替えながら繰り返し行い、該判定において該一致が得られた場合に、該判定がなされた当該第1の鍵の候補、又は、前記第1の鍵自身で暗号化された第1の鍵を当該第1の鍵の候補で復号化して得られる第1の鍵を出力するものであり、前記第1のステップでは、前記第1の復号化手段は、前記判定として、前記第1の鍵の候補の値と、前記第1の鍵自身で暗号化された第1の鍵を該第1の鍵の候補で復号化して得た値とが一致するか否かの判定、又は、該第1の鍵の候補を該第1の鍵の候補自身で暗号化して得た値と、前記第1の鍵自身で暗号化された第1の鍵の値とが一致するか否かの判定を行うものであることを特徴とする。 The present invention also provides an information reproduction method in an information reproduction apparatus comprising a first decoding means, a second decoding means, and an MPEG2 decoder means, wherein the first decoding means uses a first key. From the medium on which the MPEG2 data encrypted with the first key encrypted with the two or more predetermined second keys and the first key encrypted with the first key itself are recorded. The read first key encrypted with the predetermined two or more second keys, the first key encrypted with the first key itself, and the device itself from the outside A first step of decrypting the first key by a predetermined method using the second key recorded so that it cannot be taken out, and the second key is read from the medium by the second decryption means. MPEG2 data encrypted with the first key is A second step of decrypting with the decrypted first key inputted from the decryption means, and the MPEG2 decoder means for decoding the MPEG2 data decrypted by the second decryption means And in the first step, the first decryption means decrypts the first key by the predetermined method in the two or more predetermined steps. The first key obtained by decrypting one of the first keys encrypted with the second key with the second key recorded in the device so as not to be taken out from the outside. Is determined in the determination to determine whether or not the candidate of the first key and the first key that is the source of the first key encrypted by the first key itself match. Until the first key encrypted with the second key If the match is obtained in the determination, the first key candidate for which the determination is made or the first key encrypted with the first key itself is A first key obtained by decrypting with one key candidate, and in the first step, the first decrypting means determines, as the determination, the first key candidate Whether or not a value matches a value obtained by decrypting the first key encrypted with the first key itself with the first key candidate, or the first key To determine whether the value obtained by encrypting the first key candidate with the first key candidate itself matches the value of the first key encrypted with the first key itself. and wherein and a call.

好ましくは、前記データは、鍵情報、文書、音声、画像およびプログラムのうちの少なくとも1つを含むものである。   Preferably, the data includes at least one of key information, a document, sound, an image, and a program.

記録媒体は、例えば、DVD、CD−ROM、フロッピーディスク、ハードディスクなど、種々のものに適用可能である。   The recording medium can be applied to various media such as a DVD, CD-ROM, floppy disk, and hard disk.

本発明によれば、複数の第2の鍵のうちの少なくとも1つを持つ正当なもののみが、第1の鍵を得ることができ、従って第1の鍵で暗号化されたデータのプレインデータを得ることができる。この結果、不正なコピーにより、メディアを販売する不法な行為を防止し、著作権を守ることができる。   According to the present invention, only a legitimate one having at least one of the plurality of second keys can obtain the first key, and hence the plain data of the data encrypted with the first key. Can be obtained. As a result, illegal copying of media can be prevented by illegal copying and copyright can be protected.

また、本発明によれば、例えば暗号化ユニットおよび復号化ユニット等を、ディジタル記録再生機器等の再生部分のコアとなる個所とは別に設計できるため、たとえ暗号が破られたとしても、例えば暗号化ユニットおよび復号化ユニット等を交換するだけで良い。   In addition, according to the present invention, for example, the encryption unit and the decryption unit can be designed separately from the core part of the reproduction part of a digital recording / reproduction device, etc. It is only necessary to exchange the encoding unit and the decoding unit.

なお、以上の装置に係る各発明は、それぞれ、方法に係る発明や記憶媒体に係る発明としても成立し、以上の方法に係る各発明は、それぞれ、装置に係る発明や記憶媒体に係る発明としても成立する。   Each of the inventions related to the above devices is also established as an invention related to a method and an invention related to a storage medium, and each invention related to the above method is an invention related to an apparatus and an invention related to a storage medium, respectively. Also holds.

また、本発明1は、所定の第1のセッションキーで暗号化されたデジタル・データと、予め定められたマスターキーで暗号化された第1のセッションキーとを記録した記録媒体から該デジタル・データの平文を得るための復号方法であって、復号化ユニットにて、所定の乱数をもとにして第2のセッションキーを生成し、生成された第2のセッションキーを前記マスターキーで復号し、復号化ユニットから暗号化ユニットへ、前記マスターキーで復号された第2のセッションキーを伝送し、暗号化ユニットにて、伝送された前記マスターキーで復号された第2のセッションキーを、前記マスターキーで暗号化して、前記第2のセッションキーを取り出し、暗号化ユニットにて、取り出された前記第2のセッションキーを用いて、前記記録媒体から読み出された前記マスターキーで暗号化された第1のセッションキーを暗号化し、暗号化ユニットから復号化ユニットへ、第2のセッションキーを用いて暗号化された、前記マスターキーで暗号化された第1のセッションキーを伝送し、復号化ユニットにて、伝送された前記第2のセッションキーを用いて暗号化された、前記マスターキーで暗号化された第1のセッションキーを、前記第2のセッションキーを用いて復号し、前記マスターキーで暗号化された第1のセッションキーを取り出し、さらに取り出された前記マスターキーで暗号化された第1のセッションキーを、前記マスターキーで復号して、前記第1のセッションキーを取り出し、取り出された前記第1のセッションキーを用いて、前記記録媒体から読み出された前記第1のセッションキーで暗号化されたデジタル・データを復号して、前記デジタル・データの平文を得ることを特徴とする。   The first aspect of the present invention also provides a digital recording medium that records digital data encrypted with a predetermined first session key and a first session key encrypted with a predetermined master key. A decryption method for obtaining plaintext of data, wherein a decryption unit generates a second session key based on a predetermined random number, and decrypts the generated second session key with the master key The second session key decrypted with the master key is transmitted from the decryption unit to the encryption unit, and the second session key decrypted with the transmitted master key is transmitted by the encryption unit, Encrypting with the master key, taking out the second session key, and using the second session key taken out by the encryption unit, the recording medium The first session key encrypted with the master key read out from the server is encrypted, and encrypted from the encryption unit to the decryption unit using the second session key, and encrypted with the master key. The first session key encrypted with the master key encrypted with the transmitted second session key at the decryption unit. Decrypting using the second session key, extracting the first session key encrypted with the master key, and further extracting the first session key encrypted with the extracted master key with the master key. Decrypting and taking out the first session key, and using the taken out first session key, the first session key read out from the recording medium It decodes the digital data encrypted with the session key, and wherein the obtaining the plaintext of the digital data.

本発明2は、所定の第1のセッションキーで暗号化されたデジタル・データと、予め定められた複数のマスターキーのうちの所定のマスターキーで暗号化された第1のセッションキーと、第1のセッションキー自身で暗号化された第1のセッションキーとを記録した記録媒体から該デジタル・データの平文を得るための復号方法であって、復号化ユニットにて、所定の乱数をもとにして第2のセッションキーを生成し、生成された第2のセッションキーを予め定められたマスターキーで復号し、復号化ユニットから暗号化ユニットへ、前記予め定められたマスターキーで復号された第2のセッションキーを伝送し、暗号化ユニットにて、伝送された前記予め定められたマスターキーで復号された第2のセッションキーを、前記予め定められたマスターキーで暗号化して、前記第2のセッションキーを取り出し、暗号化ユニットにて、取り出された前記第2のセッションキーを用いて、前記記録媒体から読み出された前記所定のマスターキーで暗号化された第1のセッションキーを暗号化するとともに、取り出された前記第2のセッションキーを用いて、前記記録媒体から読み出された前記第1のセッションキー自身で暗号化された第1のセッションキーを暗号化し、暗号化ユニットから復号化ユニットへ、第2のセッションキーを用いて暗号化された、前記所定のマスターキーで暗号化された第1のセッションキーを伝送するとともに、第2のセッションキーを用いて暗号化された、前記第1のセッションキー自身で暗号化された第1のセッションキーを伝送し、復号化ユニットにて、伝送された前記第2のセッションキーを用いて暗号化された、前記所定のマスターキーで暗号化された第1のセッションキーを、前記第2のセッションキーを用いて復号し、前記所定のマスターキーで暗号化された第1のセッションキーを取り出すとともに、伝送された前記第2のセッションキーを用いて暗号化された、前記第1のセッションキー自身で暗号化された第1のセッションキーを、前記第2のセッションキーを用いて復号し、前記第1のセッションキー自身で暗号化された第1のセッションキーを取り出し、復号化ユニットにて、取り出された前記所定のマスターキーで暗号化された第1のセッションキーを、予め定められた複数のマスターキーのうちのいずれかで復号した第1のセッションキー候補と、取り出された前記第1のセッションキー自身で暗号化された第1のセッションキーを、該第1のセッションキー候補で復号したものとが一致した場合に、該第1のセッションキー候補を前記所定の第1のセッションキーとし、得られた前記第1のセッションキーを用いて、前記記録媒体から読み出された前記第1のセッションキーで暗号化されたデジタル・データを復号して、前記デジタル・データの平文を得ることを特徴とする。   The present invention 2 includes digital data encrypted with a predetermined first session key, a first session key encrypted with a predetermined master key of a plurality of predetermined master keys, A decryption method for obtaining a plaintext of the digital data from a recording medium on which a first session key encrypted with one session key itself is recorded, wherein a decryption unit generates a predetermined random number To generate a second session key, decrypt the generated second session key with a predetermined master key, and decrypt it with the predetermined master key from the decryption unit to the encryption unit. The second session key is transmitted, and the second session key decrypted with the transmitted predetermined master key is transmitted by the encryption unit to the predetermined session key. The second session key is extracted by encrypting with a star key, and the encryption unit encrypts with the predetermined master key read from the recording medium using the second session key extracted. The encrypted first session key is encrypted, and the first session key itself read out from the recording medium is encrypted using the extracted second session key. Encrypting the session key, transmitting the first session key encrypted with the predetermined master key, encrypted with the second session key, from the encryption unit to the decryption unit; The first session key encrypted using the first session key and encrypted with the first session key itself is transmitted to the decryption unit. The first session key encrypted with the predetermined master key encrypted using the transmitted second session key is decrypted using the second session key, and the predetermined session key is decrypted. The first session key encrypted with the master key and the first session key encrypted with the transmitted first session key and encrypted with the transmitted second session key Is decrypted using the second session key, the first session key encrypted with the first session key itself is extracted, and the decryption unit encrypts it with the predetermined master key extracted. A first session key candidate obtained by decrypting the converted first session key with one of a plurality of predetermined master keys, and the extracted first session key When the first session key encrypted with one session key itself matches the one decrypted with the first session key candidate, the first session key candidate is designated as the predetermined first session. Using the obtained first session key as a key, the digital data encrypted with the first session key read from the recording medium is decrypted, and the plaintext of the digital data is obtained It is characterized by obtaining.

本発明3は、所定の第1のセッションキーで暗号化されたデジタル・データと、予め定められた複数のマスターキーで夫々暗号化された第1のセッションキーと、第1のセッションキー自身で暗号化された第1のセッションキーとを記録した記録媒体から該デジタル・データの平文を得るための復号方法であって、復号化ユニットにて、所定の乱数をもとにして第2のセッションキーを生成し、生成された第2のセッションキーを予め定められたマスターキーで復号し、復号化ユニットから暗号化ユニットへ、予め定められたマスターキーで復号された第2のセッションキーを伝送し、暗号化ユニットにて、伝送された予め定められたマスターキーで復号された第2のセッションキーを、予め定められたマスターキーで暗号化して、前記第2のセッションキーを取り出し、暗号化ユニットにて、取り出された前記第2のセッションキーを用いて、前記記録媒体から読み出された前記マスターキーで暗号化された第1のセッションキーを暗号化するとともに、取り出された前記第2のセッションキーを用いて、前記記録媒体から読み出された前記第1のセッションキー自身で暗号化された第1のセッションキーを暗号化し、暗号化ユニットから復号化ユニットへ、第2のセッションキーを用いて暗号化された、前記マスターキーで暗号化された第1のセッションキーを伝送するとともに、第2のセッションキーを用いて暗号化された、前記第1のセッションキー自身で暗号化された第1のセッションキーを伝送し、復号化ユニットにて、伝送された前記第2のセッションキーを用いて暗号化された、前記マスターキーで暗号化された第1のセッションキーを、前記第2のセッションキーを用いて復号し、前記マスターキーで暗号化された第1のセッションキーを取り出すとともに、伝送された前記第2のセッションキーを用いて暗号化された、前記第1のセッションキー自身で暗号化された第1のセッションキーを、前記第2のセッションキーを用いて復号し、前記第1のセッションキー自身で暗号化された第1のセッションキーを取り出し、復号化ユニットにて、取り出された前記マスターキーで暗号化された第1のセッションキーを、予め定められたマスターキーで復号した第1のセッションキー候補と、取り出された前記第1のセッションキー自身で暗号化された第1のセッションキーを、該第1のセッションキー候補で復号したものとが一致した場合に、該第1のセッションキー候補を前記所定の第1のセッションキーとし、得られた前記第1のセッションキーを用いて、前記記録媒体から読み出された前記第1のセッションキーで暗号化されたデジタル・データを復号して、前記デジタル・データの平文を得ることを特徴とする。   The third aspect of the present invention includes a digital data encrypted with a predetermined first session key, a first session key encrypted with a plurality of predetermined master keys, and the first session key itself. A decryption method for obtaining a plaintext of the digital data from a recording medium on which an encrypted first session key is recorded, wherein a second session based on a predetermined random number is performed in the decryption unit Generate a key, decrypt the generated second session key with a predetermined master key, and transmit the second session key decrypted with the predetermined master key from the decryption unit to the encryption unit And the encryption unit encrypts the second session key decrypted with the predetermined master key transmitted with the predetermined master key, and The session key is extracted, and the encryption unit encrypts the first session key encrypted with the master key read from the recording medium, using the extracted second session key. The first session key encrypted with the first session key read from the recording medium is encrypted using the extracted second session key, and the decryption unit is decrypted from the encryption unit. And transmitting the first session key encrypted with the master key, encrypted with the second session key, and encrypted with the second session key, The first session key encrypted with the session key itself is transmitted, and the decryption unit uses the transmitted second session key. The encrypted first session key encrypted with the master key is decrypted with the second session key, and the first session key encrypted with the master key is extracted and transmitted. The first session key encrypted with the first session key itself, decrypted with the second session key, and decrypted with the second session key, The first session key encrypted with the session key itself is extracted, and the decryption unit decrypts the first session key encrypted with the extracted master key with the predetermined master key. The first session key candidate and the first session key encrypted with the extracted first session key itself are used as the first session key candidate. When the first session key candidate is used as the predetermined first session key and the obtained first session key is used, the first session key candidate is read from the recording medium. The digital data encrypted with the first session key is decrypted to obtain a plaintext of the digital data.

本発明4は、所定の第1のセッションキーで暗号化されたデジタル・データと、予め定められた複数のマスターキーで夫々暗号化された第1のセッションキーと、第1のセッションキー自身で暗号化された第1のセッションキーとを記録した記録媒体から該デジタル・データの復号に用いる第1のセッションキーを得るための復号方法であって、前記マスターキーで暗号化された第1のセッションキーを、前記複数のマスターキーのうちの予め定められたものをで復号して第1のセッションキー候補を生成し、生成された前記第1のセッションキー候補を用いて、前記第1のセッションキー自身で暗号化された第1のセッションキーを復号し、前記第1のセッションキー候補と、該第1のセッションキー候補を用いて復号された、前記第1のセッションキー自身で暗号化された第1のセッションキーとを比較し、前記比較にて一致した場合に、前記第1のセッションキー候補を前記所定の第1のセッションキーとして決定することを特徴とする。   The present invention 4 includes digital data encrypted with a predetermined first session key, a first session key encrypted with a plurality of predetermined master keys, and the first session key itself. A decryption method for obtaining a first session key used for decrypting the digital data from a recording medium on which an encrypted first session key is recorded, wherein the first session key is encrypted with the master key. The session key is decrypted with a predetermined one of the plurality of master keys to generate a first session key candidate, and the generated first session key candidate is used to generate the first session key candidate. The first session key encrypted with the session key itself is decrypted, and the first session key candidate and the first session key candidate decrypted by using the first session key candidate The first session key encrypted with the session key itself is compared, and if they match in the comparison, the first session key candidate is determined as the predetermined first session key. .

本発明5は、上記発明1ないし3のいずれか1つの発明において、前記暗号化ユニットおよび前記復号化ユニットは、それぞれ、独立して形成された集積回路素子であることを特徴とする。   A fifth aspect of the present invention is characterized in that, in any one of the first to third aspects of the present invention, the encryption unit and the decryption unit are integrated circuit elements formed independently.

本発明6は、上記発明1ないし3のいずれか1つの発明において、前記暗号化ユニットと前記復号化ユニットとの間で行われる伝送は、CPU BUSを用いて行われることを特徴とする。   A sixth aspect of the present invention is characterized in that, in any one of the first to third aspects, transmission performed between the encryption unit and the decryption unit is performed using a CPU BUS.

本発明7は、上記発明1ないし3のいずれか1つの発明において、前記所定の乱数は、少なくとも前記記録媒体を再生する度に変化するものであることを特徴とする。   The present invention 7 is the invention according to any one of the above inventions 1 to 3, wherein the predetermined random number changes at least every time the recording medium is reproduced.

本発明8は、上記発明1ないし3のいずれか1つの発明において、前記所定の乱数は、所定のタイミングで得られる時間情報をもとにして生成されることを特徴とする。   The present invention 8 is characterized in that, in any one of the inventions 1 to 3, the predetermined random number is generated based on time information obtained at a predetermined timing.

所定のタイミングは、例えば、前記記録媒体がその駆動装置に装着されたタイミングである。   The predetermined timing is, for example, a timing when the recording medium is mounted on the driving device.

本発明9は、上記発明1ないし4のいずれか1つの発明において、前記データは、鍵情報、文書、音声、画像およびプログラムのうちの少なくとも1つを含むものであることを特徴とする。   A ninth aspect of the present invention is characterized in that, in any one of the first to fourth aspects, the data includes at least one of key information, a document, sound, an image, and a program.

本発明10は、所定の第1のセッションキーで暗号化されたデジタル・データと、予め定められたマスターキーで暗号化された第1のセッションキーとを記録した記録媒体から該デジタル・データの平文を得るための復号装置であって、復号化ユニット内に設けられ、所定の条件に応じて異なる第2のセッションキーを生成する第2のセッションキー生成手段と、生成された前記第2のセッションキーを前記復号化ユニット内で前記マスターキーにて復号し、このデータを暗号化ユニット内へ伝送し、前記暗号化ユニット内で前記マスターキーで暗号化することにより前記第2のセッションキーを取り出す手段と、この手段により取り出された第2のセッションキーを用いて、前記記録媒体から読み出された前記マスターキーで暗号化された前記第1のセッションキーを暗号化し前記復号化ユニットへ伝送する手段と、この手段により復号化ユニット内へ伝送された暗号化された第1のセッションキーを前記復号化ユニット内で生成された第2のセッションキーを用いて復号した後にさらに前記マスターキーを用いて復号して前記第1のセッションキーを得る手段と、この手段により得られた前記第1のセッションキーを用いて、前記記録媒体から読み出された前記第1のセッションキーで暗号化されたデジタル・データを復号して、前記デジタル・データの平文を得る手段とを備えたことを特徴とする。   According to the tenth aspect of the present invention, there is provided a recording medium that records digital data encrypted with a predetermined first session key and a first session key encrypted with a predetermined master key. A decryption device for obtaining plaintext, the second session key generation means provided in the decryption unit for generating a different second session key according to a predetermined condition, and the generated second session key Decrypting the session key with the master key in the decryption unit, transmitting the data into the encryption unit, and encrypting the second session key with the master key in the encryption unit The data is encrypted with the master key read out from the recording medium using the extracting means and the second session key extracted by the means Means for encrypting the first session key and transmitting it to the decryption unit; and the encrypted first session key transmitted by the means into the decryption unit generated in the decryption unit. Means for obtaining the first session key by decrypting using the second session key and further using the master key, and using the first session key obtained by the means, the recording medium Means for decrypting the digital data encrypted with the first session key read out from the data to obtain a plaintext of the digital data.

本発明11は、上記発明10において、前記第2のセッションキー生成手段は、前記記録媒体の復号操作を行うごとに、あるいは時間情報に応じて異なる第2のセッションキーを生成することを特徴とする。   The present invention 11 is characterized in that, in the above invention 10, the second session key generation means generates a different second session key every time the recording medium is decrypted or according to time information. To do.

本発明12に係る記録媒体は、所定の第1のセッションキーで暗号化されたデジタル・データと、予め定められた複数のマスターキーで夫々暗号化された第1のセッションキーと、第1のセッションキー自身で暗号化された第1のセッションキーとを記録したことを特徴とする。   A recording medium according to a twelfth aspect of the present invention includes a digital data encrypted with a predetermined first session key, a first session key encrypted with a plurality of predetermined master keys, The first session key encrypted with the session key itself is recorded.

記録媒体は、例えば、DVD、CD−ROM、フロッピーディスク、ハードディスクなど、種々のものに適用可能である。   The recording medium can be applied to various media such as a DVD, CD-ROM, floppy disk, and hard disk.

なお、以上の装置に係る各発明は、それぞれ、方法に係る発明や記憶媒体に係る発明としても成立し、以上の方法に係る各発明は、それぞれ、装置に係る発明や記憶媒体に係る発明としても成立する。   Each of the inventions related to the above devices is also established as an invention related to a method and an invention related to a storage medium, and each invention related to the above method is an invention related to an apparatus and an invention related to a storage medium, respectively. Also holds.

本発明によれば、暗号化ユニットと復号化ユニットとを接続する信号線に流れるデータを保存したとしても、該データは暗号化されたものであり、また、該データを暗号化するために必要な情報は、乱数をもとにして生成されるものであって、後に再現できないために、たとえ、復号ユニット内のマスターキーが破られたとしても、保存したデータを再生または利用することはできない。   According to the present invention, even if the data flowing in the signal line connecting the encryption unit and the decryption unit is stored, the data is encrypted and is necessary for encrypting the data. Since the information is generated based on random numbers and cannot be reproduced later, the stored data cannot be reproduced or used even if the master key in the decryption unit is broken. .

この結果、不正なコピーにより、メディアを販売する不法な行為を防止し、著作権を守ることができる。   As a result, illegal copying of media can be prevented by illegal copying and copyright can be protected.

また、本発明によれば、暗号化ユニットおよび復号化ユニットは、ディジタル記録再生機器の再生部分のコアとなる個所とは別に設計できるため、たとえ暗号が破られたとしても、暗号化ユニットおよび復号化ユニットを交換するだけで良い。   In addition, according to the present invention, the encryption unit and the decryption unit can be designed separately from the core part of the playback part of the digital recording / playback device, so that even if the encryption is broken, the encryption unit and the decryption unit It is only necessary to replace the conversion unit.

また、本発明によれば、記録媒体に、所定の第1のセッションキーで暗号化されたデジタル・データと、予め定められた複数のマスターキーのうちの所定のマスターキーで暗号化された第1のセッションキーと、第1のセッションキー自身で暗号化された第1のセッションキーとを記録しておくことにより、前記所定のマスターキーが複数のマスターキーのうちのいずれであっても、複数のマスターキーを持つ復号化ユニットにより、第1のセッションキーを取り出し、この第1のセッションキーにより、データを復号することができる。   According to the present invention, the digital data encrypted with the predetermined first session key and the first encrypted with the predetermined master key among the plurality of predetermined master keys are recorded on the recording medium. Recording one session key and the first session key encrypted with the first session key itself, so that the predetermined master key is any of a plurality of master keys, The decryption unit having a plurality of master keys can extract the first session key and decrypt the data using the first session key.

また、本発明によれば、記録媒体に、所定の第1のセッションキーで暗号化されたデジタル・データと、予め定められた複数のマスターキーで夫々暗号化された第1のセッションキーと、第1のセッションキー自身で暗号化された第1のセッションキーとを記録しておくことにより、前記複数のマスターキーのうちのいずれかを少なくとも1つでも持つ復号化ユニットにより、第1のセッションキーを取り出し、この第1のセッションキーにより、データを復号することができる。   According to the present invention, on the recording medium, digital data encrypted with a predetermined first session key, a first session key encrypted with a plurality of predetermined master keys, and By recording the first session key encrypted with the first session key itself, the decryption unit having at least one of the plurality of master keys allows the first session to be recorded. The key can be taken out and the data can be decrypted by this first session key.

本発明によれば、複数の第2の鍵のうちの少なくとも1つを持つ正当なもののみが、第1の鍵を得ることができ、従って第1の鍵で暗号化されたデータのプレインデータを得ることができる。   According to the present invention, only a legitimate one having at least one of the plurality of second keys can obtain the first key, and hence the plain data of the data encrypted with the first key. Can be obtained.

この結果、不正なコピーにより、メディアを販売する不法な行為を防止し、著作権を守ることができる。   As a result, illegal copying of media can be prevented by illegal copying and copyright can be protected.

以下、図面を参照しながら発明の実施の形態を説明する。   Hereinafter, embodiments of the invention will be described with reference to the drawings.

本実施形態では、あるデータaを鍵Kを用いて暗号化する操作をEK (a)と表現し、あるデータaを鍵Kを用いて復号化する操作をDK (a)と表現する。この表現を用いることにより、例えば、あるデータaを鍵Kを用いて暗号化し復号する操作は、DK (EK (a))で表される。 In this embodiment, an operation for encrypting certain data a using the key K is expressed as E K (a), and an operation for decrypting the certain data a using the key K is expressed as D K (a). . By using this expression, for example, an operation of encrypting and decrypting certain data a using the key K is represented by D K (E K (a)).

また、本実施形態では、あるデータをまず復号化し、その後、復号化されたデータを暗号化してもとのデータに戻すことがある。これは、暗号の性質上、データの復号化に暗号化と同等の作用があることに基づいている。つまり、復号化したデータをもとに戻すためには復号化に用いた鍵がわからなければならず、鍵が判れば復号化したデータを暗号化することにより最初に復号化したデータが得られる。この操作は、暗号鍵をxとしデータをyとすれば、
x (Dx (y))=y
で表される。
In this embodiment, certain data may be decrypted first, and then the decrypted data may be restored to the original data. This is based on the fact that the decryption of data has the same effect as encryption due to the nature of encryption. In other words, in order to restore the decrypted data, the key used for decryption must be known, and if the key is known, the decrypted data is encrypted to obtain the first decrypted data. . In this operation, if the encryption key is x and the data is y,
E x (D x (y)) = y
It is represented by

本実施形態では、DVDに記録された、MPEG2というデータ圧縮規格に従って圧縮され暗号化された画像データを、読み出し復号しデコードして再生するシステムを例にとって説明する。   In the present embodiment, an example of a system that reads, decodes, decodes and reproduces image data recorded on a DVD and compressed and encrypted in accordance with a data compression standard called MPEG2 will be described.

(第1の実施形態)
以下、第1の実施形態について説明する。
(First embodiment)
The first embodiment will be described below.

図1は、本発明の第1の実施形態に係るシステムの構成を示すブロック図である。また、本実施形態の動作の一例を図2のフローチャートに示す。   FIG. 1 is a block diagram showing a configuration of a system according to the first embodiment of the present invention. An example of the operation of this embodiment is shown in the flowchart of FIG.

本実施形態に係るシステムは、パーソナル・コンピュータなどの計算機内に備えられた再生に用いるCPU(図示せず)のいわゆるCPU BUSに接続されるものであり、暗号化されたデータ(後述するESK(Data))がCPU BUS上を流れる構成を有するものである。なお、図1では、再生に用いるCPUに関する部分のみ示している。 The system according to the present embodiment is connected to a so-called CPU BUS of a CPU (not shown) used for reproduction provided in a computer such as a personal computer, and encrypted data (E SK described later) (Data)) is configured to flow on the CPU BUS. In FIG. 1, only the part related to the CPU used for reproduction is shown.

図1に示すように、本実施形態に係るシステムは、DVD101からデータを読み出すDVD駆動装置(図示せず)、このDVD駆動装置にCPU BUSを介さずに接続されたまたはDVD駆動装置に内蔵された暗号化ユニット107、復号化ユニット114を備えている。   As shown in FIG. 1, the system according to the present embodiment is a DVD drive device (not shown) for reading data from the DVD 101, connected to the DVD drive device without a CPU BUS, or built in the DVD drive device. The encryption unit 107 and the decryption unit 114 are provided.

暗号化ユニット107と復号化ユニット114は、CPU BUS110に接続されている。復号化ユニット114からのデータの出力は、CPU BUS以外の例えばI/Oポート等を通じて行われる。つまり、本実施形態では、データの入出力はCPU BUSを介さずに行われるが、暗号化ユニット107と復号化ユニット114との間でのデータ転送には、CPU BUSが用いられる。   The encryption unit 107 and the decryption unit 114 are connected to the CPU BUS110. Output of data from the decryption unit 114 is performed through, for example, an I / O port other than the CPU BUS. That is, in this embodiment, data input / output is performed without going through the CPU BUS, but the CPU BUS is used for data transfer between the encryption unit 107 and the decryption unit 114.

暗号化ユニット107は、復調/誤り訂正回路117、復調/誤り訂正回路118、暗号化回路104を備えている。図1中で、暗号化ユニット107内には、2つの暗号化回路104を示しているが、実際には1つの暗号化回路であるものとする。暗号化ユニット107は、独立した1つのICチップとして形成されるものとする。なお、復調/誤り訂正回路117および復調/誤り訂正回路118は、暗号化ユニット107内には備えず、その前段のユニット等の側(DVD駆動装置内)に備えられる場合もある。   The encryption unit 107 includes a demodulation / error correction circuit 117, a demodulation / error correction circuit 118, and an encryption circuit 104. In FIG. 1, two encryption circuits 104 are shown in the encryption unit 107, but it is assumed that there is actually one encryption circuit. It is assumed that the encryption unit 107 is formed as an independent IC chip. Note that the demodulation / error correction circuit 117 and the demodulation / error correction circuit 118 may not be provided in the encryption unit 107, but may be provided on the side of the preceding unit or the like (inside the DVD drive device).

一方、復号化ユニット114は、復号化回路112、第2のセッションキーSK ′を生成するセッションキー生成回路111を備えている。また、本実施形態では、復号化ユニット114内にMPEGのデコーダ回路115および復号された画像データをディジタルからアナログに変換する変換回路116を備えているものとする。図1中で、復号化ユニット114内には、4つの復号化回路112を示しているが、実際には1つの復号化回路であるものとする。復号化ユニット114は、独立した1つのICチップとして形成されるものとする。 On the other hand, the decryption unit 114 includes a decryption circuit 112 and a session key generation circuit 111 that generates a second session key S K ′. In the present embodiment, it is assumed that the decoding unit 114 includes an MPEG decoder circuit 115 and a conversion circuit 116 that converts decoded image data from digital to analog. In FIG. 1, four decoding circuits 112 are shown in the decoding unit 114, but it is assumed that there is actually one decoding circuit. The decryption unit 114 is formed as an independent IC chip.

また、暗号化ユニット107内、および復号化ユニット114内には、後述するマスターキーが登録されている(作り込まれている)。マスターキーは、利用者が外部から取得できないように、暗号化ユニットのチップ、復号化ユニットのチップそれぞれにおいて、利用者が意図的に取り出せないようにチップ内部の秘匿された領域に記録されているものとする。   Also, a master key to be described later is registered (created) in the encryption unit 107 and the decryption unit 114. The master key is recorded in a secret area inside the chip so that the user cannot intentionally take it out in each of the chip of the encryption unit and the chip of the decryption unit so that the user cannot obtain it from the outside. Shall.

なお、全体の制御は図示しない制御部が司るものとする。制御部は例えばプログラムを当該計算機のCPUで実行することにより実現することができる。この制御部による制御の具体例としては、DVDからのデータの読み出しに関する指示、データ伝送先の指定、復号化ユニット114からのデータ出力に関する指示等である。また、この制御部の起動のトリガーは、例えば、ユーザ・インタフェースを介してユーザにより行われる場合と、あるアプリケーションプログラム中のプロセスからかけられる場合などが考えられる。   The overall control is controlled by a control unit (not shown). The control unit can be realized, for example, by executing a program by the CPU of the computer. Specific examples of control by the control unit include an instruction relating to reading of data from a DVD, designation of a data transmission destination, an instruction relating to data output from the decoding unit 114, and the like. In addition, for example, the trigger for starting the control unit may be triggered by a user via a user interface or may be triggered by a process in an application program.

本実施形態では、第1のセッションキーをSK 、第2のセッションキーをSK ′、マスターキーをMK 、画像データ(すなわち暗号化された一纏まりのデータ)をDataで表す。これらはいずれも平文である。 In the present embodiment, the first session key is represented by S K , the second session key is represented by S K ′, the master key is represented by M K , and image data (that is, a group of encrypted data) is represented by Data. These are all plaintext.

図1中、102は第1のセッションキーSK をマスターキーMK を用いて暗号化して生成されたEMK(SK )を、103は画像データDataを第1のセッションキーSK を用いて暗号化して生成されたESK(Data)を、105はマスターキーMK を、106は第2のセッションキーSK ′を、108は第2のセッションキーSK ′をマスターキーMK を用いて復号したDMK(SK ′)を、109はマスターキーMK を用いて暗号化された第1のセッションキーEMK(SK )を第2のセッションキーSK ′を用いて暗号化したESK′(EMK(SK ))を、113は第1のセッションキーSK をそれぞれ表す。 In FIG. 1, reference numeral 102 denotes E MK (S K ) generated by encrypting the first session key S K using the master key M K , and 103 denotes image data Data using the first session key S K. E SK (Data) generated by encryption, 105 is the master key M K , 106 is the second session key S K ′, 108 is the second session key S K ′ and the master key M K. D MK (S K ′) decrypted using the first session key E MK (S K ) encrypted using the master key M K and encrypted using the second session key S K ′ E SK ′ (E MK (S K )), and 113 represents the first session key S K.

図3に示すように、DVD101上で、第1のセッションキーSK をマスターキーMK を用いて暗号化して生成されたEMK(SK )は、最内周部分の鍵記録領域(リードインエリア)に、画像データDataを第1のセッションキーSK を用いて暗号化して生成されたESK(Data)は、データ記録領域(データエリア)に記録されているものとする。 As shown in FIG. 3, on the DVD 101, E MK (S K ) generated by encrypting the first session key S K using the master key M K is a key recording area (read) in the innermost periphery. in-in area), the image data data first session key S K E SK generated by encrypting using (data) is assumed to be recorded in the data recording area (data area).

以下、図2のフローチャートを参照しながら、本実施形態の動作について説明する。   The operation of this embodiment will be described below with reference to the flowchart of FIG.

ステップS1で、図示しないDVD駆動装置によりDVD101に記録されている、マスターキーMK を用いて暗号化された第1のセッションキーEMK(SK )を読み出し、暗号ユニット107内に取り込む。その際、復調/誤り訂正回路117により復調、データ中の誤り訂正が行われる。 In step S 1, the first session key E MK (S K ) encrypted using the master key M K recorded on the DVD 101 by a DVD drive device (not shown) is read and taken into the encryption unit 107. At this time, the demodulation / error correction circuit 117 performs demodulation and error correction in the data.

一方、ステップS2で、復号化ユニット114では、セッションキー生成回路111において、乱数、例えば時計(図示せず)からの時間情報を入力として第2のセッションキーSK ′を生成する。そして、復号化回路112において、生成された第2のセッションキーSK ′を、マスターキーMK を用いて復号してDMK(SK ′)を生成し、CPU BUS110を通じて暗号化ユニット107に送る。 On the other hand, in step S2, in the decryption unit 114, the session key generation circuit 111 generates a second session key S K ′ by inputting a random number, for example, time information from a clock (not shown). Then, the decryption circuit 112 decrypts the generated second session key S K ′ using the master key M K to generate D MK (S K ′), and sends it to the encryption unit 107 through the CPU BUS 110. send.

上記の乱数を発生するタイミング(例えば時間情報を入力するタイミング)としては、例えば、DVD駆動装置にDVD101が装着されたことを示す信号がアサートされたタイミングを用いることができる。   As a timing for generating the random number (for example, a timing for inputting time information), for example, a timing at which a signal indicating that the DVD 101 is mounted on the DVD drive apparatus is asserted can be used.

あるいは、セッションキー生成回路111は、例えば鍵長分の乱数発生器で構成しても良い。なお、全てのビットが0や1になる可能性のある乱数で鍵を生成する場合は、全てのビットが0や1になることがないようにチェック処理等をする必要がある。   Alternatively, the session key generation circuit 111 may be composed of a random number generator for the key length, for example. Note that when a key is generated with a random number in which all bits may be 0 or 1, it is necessary to perform a check process or the like so that all bits do not become 0 or 1.

ステップS3で、暗号ユニット107では、暗号化回路104において、CPU BUS110を通じて受け取ったDMK(SK ′)を、マスターキーをMK を用いて暗号化する。すなわち、
MK(DMK(SK ′))=SK
により、復号化ユニット114内のセッションキー生成回路111で生成された第2のセッションキーSK ′を得ることができる。
In step S3, in the encryption unit 107, the encryption circuit 104 encrypts D MK (S K ′) received through the CPU BUS 110 using the master key M K. That is,
E MK (D MK (S K ′)) = S K
Thus, the second session key S K ′ generated by the session key generation circuit 111 in the decryption unit 114 can be obtained.

ここで、セッションキー生成回路111で生成された第2のセッションキーSK ′は、CPU BUS110上で盗まれたとしても解らないようにしてある。 Here, even if the second session key S K ′ generated by the session key generation circuit 111 is stolen on the CPU BUS 110, it is not understood.

次に、ステップS4で、暗号ユニット107では、上記のようにして得られた第2のセッションキーSK ′を用いて、DVD101に記録された暗号化された第1のセッションキーEMK(SK )を暗号化して、ESK′(EMK(SK ))を生成し、これをCPU BUS110を通じて復号化ユニット114へ送る。 Next, in step S4, the encryption unit 107 uses the second session key S K ′ obtained as described above to use the encrypted first session key E MK (S K ) is encrypted to generate E SK ′ (E MK (S K )), which is sent to the decryption unit 114 through the CPU BUS 110.

次に、ステップS5で、復号化ユニット114では、復号化回路112において、CPU BUS110を通じて受け取ったESK′(EMK(SK ))を、第2のセッションキーSK ′を用いて復号し、
SK′(ESK′(EMK(SK )))=EMK(SK
を得る。
Next, in step S5, in the decryption unit 114, the decryption circuit 112 decrypts E SK ′ (E MK (S K )) received through the CPU BUS 110 using the second session key S K ′. ,
D SK ′ (E SK ′ (E MK (S K ))) = E MK (S K )
Get.

さらに、復号化回路112において、得られたEMK(SK )を、マスターキーMK を用いて復号し、
MK(EMK(SK ))=SK
となり、第1のセッションキーSK を得ることができる。
Further, the decryption circuit 112 decrypts the obtained E MK (S K ) using the master key M K.
D MK (E MK (S K )) = S K
Next, it is possible to obtain a first session key S K.

以上のようにして第1のセッションキーSK を得た後、ステップS6で、図示しないDVD駆動装置によりDVD101に記録されている、第1のセッションキーSK を用いて暗号化された画像データESK(Data)を読み出し、暗号ユニット107内に取り込む。その際、復調/誤り訂正回路118により復調、データ中の誤り訂正が行われる。そして、ESK(Data)を、CPU BUS110を通じて暗号化ユニット107に送る。 After obtaining the first session key S K As described above, in step S6, recorded on the DVD101 by the DVD driving unit (not shown), the image data encrypted using the first session key S K E SK (Data) is read and taken into the encryption unit 107. At that time, the demodulation / error correction circuit 118 performs demodulation and error correction in the data. Then, E SK (Data) is sent to the encryption unit 107 through the CPU BUS110.

次に、ステップS7で、復号化ユニット114では、復号化回路112において、CPU BUS110を通じて受け取ったESK(Data)を、第1のセッションキーSK を用いて復号し、
SK(ESK(Data))=Data
となり、暗号化された画像データを復号して、平文のDataを得ることができる。
Next, in step S7, the decoding unit 114, the decoding circuit 112, the E SK (Data) received via the CPU BUS 110, decrypted using the first session key S K,
D SK (E SK (Data)) = Data
Thus, the encrypted image data can be decrypted to obtain plain data.

そして、例えば復号すべきデータ(すなわちESK(Data))の処理が終了し、あるいは処理の中止を要求されるまで、上記のステップS6とステップS7が繰り返し行われる。 Then, for example, steps S6 and S7 are repeatedly performed until the processing of the data to be decoded (that is, E SK (Data)) is finished or the processing is requested to be stopped.

以上のようにして得られた画像データDataは、例えばMPEG2というデータ圧縮規格に従って圧縮されている場合にはMPEGデコーダ回路115でデコードされ、そしてD/A変換回路116でアナログ信号に変換された後、図示しないテレビなどの映像装置に送られ、再生される。   When the image data Data obtained as described above is compressed in accordance with, for example, the data compression standard of MPEG2, it is decoded by the MPEG decoder circuit 115 and converted into an analog signal by the D / A conversion circuit 116. Then, it is sent to a video device such as a television (not shown) and reproduced.

なお、上記のステップS1と、ステップS2およびS3とは、どちらを先に実行しても構わない。   Note that either step S1 or steps S2 and S3 may be executed first.

また、ステップS6とステップS7の実行については、1つのESK(Data)の単位で逐次行う方法、あるいはステップS6で所定数のESK(Data)を読み込み、一旦バッファなどへ格納し、次にステップS7でバッファ内のESK(Data)を復号する方法、あるいはステップS6とステップS7をパイプライン処理的に行う方法などが考えられる。 As for execution of step S6 and step S7, a method of sequentially performing in units of one E SK (Data), or a predetermined number of E SK (Data) is read in step S6, temporarily stored in a buffer, etc. A method of decoding E SK (Data) in the buffer in step S7 or a method of performing steps S6 and S7 in a pipeline process is conceivable.

また、復号化回路112からMPEGデコーダ回路115に画像データESK (Data)を渡す際に、1つのDataの単位で渡しても良いし、所定数のDataの単位で渡しても良い。 Further, when the image data E SK (Data) is transferred from the decoding circuit 112 to the MPEG decoder circuit 115, it may be transferred in one Data unit or a predetermined number of Data units.

以上のように本実施形態によれば、ディジタル化されたデータを暗号化して記録した媒体を再生する場合(暗号化されたデータを復号する場合)に、計算機のCPU BUSに復号されたデータが流れず、また、CPU BUSに流れる暗号化されたデータの復号に必要な第1のセッションキーの暗号化に用いた第2のセッションキーSK ′は、例えば時間情報のようにデータ再生の度に変わる情報をもとに生成されるため、図4のようにCPU BUS110を流れるデータを信号線210からディジタル記憶媒体211に保存したとしても、それを再生または利用することはできない。 As described above, according to the present embodiment, when reproducing a medium in which the digitized data is encrypted and recorded (when decrypting the encrypted data), the decrypted data is stored in the CPU BUS of the computer. The second session key S K ′ used for encryption of the first session key that does not flow and that is necessary for decryption of the encrypted data that flows to the CPU BUS is, for example, time data reproduction. Therefore, even if data flowing through the CPU BUS 110 is stored in the digital storage medium 211 from the signal line 210 as shown in FIG. 4, it cannot be reproduced or used.

この結果、不正なコピーにより、メディアを販売する不法な行為を防止し、著作権を守ることができる。   As a result, illegal copying of media can be prevented by illegal copying and copyright can be protected.

また、本実施形態では、暗号化および復号化に用いる回路は、図1から解るようにDVDなどのディジタル記録再生機器の再生部分のコアとなる個所とは別に設計できるため、たとえ暗号が破られたとしても、復号化ユニット114(あるいは暗号化ユニット107および復号化ユニット114)を交換するだけで良い。   In this embodiment, the circuit used for encryption and decryption can be designed separately from the core of the playback portion of a digital recording / playback device such as a DVD as can be seen from FIG. Even so, it is only necessary to exchange the decryption unit 114 (or the encryption unit 107 and the decryption unit 114).

なお、本実施形態では、暗号ユニット107は1つの暗号化回路を持つものとしたが、2つの暗号化回路を設けても良い。また、復号化ユニット114は1つの復号化回路を持つものとしたが、2、3、または4つの復号化回路として設けても良い。これらの場合、対応する暗号化回路と復号化回路をセットで独立化しあるいは共用するのが好ましい。   In the present embodiment, the encryption unit 107 has one encryption circuit, but two encryption circuits may be provided. The decoding unit 114 has one decoding circuit, but may be provided as two, three, or four decoding circuits. In these cases, it is preferable to make the corresponding encryption circuit and decryption circuit independent or shared in a set.

また、対応する暗号化回路と復号化回路をセットで独立化する場合、独立化した対応する暗号化回路および復号化回路では、他の暗号化回路および復号化回路とは異なる暗号方式を採用しても構わない。   In addition, when the corresponding encryption circuit and decryption circuit are made independent as a set, the corresponding encryption circuit and decryption circuit that are made independent adopt a different encryption method from other encryption circuits and decryption circuits. It doesn't matter.

(第2の実施形態)
次に、第2の実施形態について説明する。
(Second Embodiment)
Next, a second embodiment will be described.

本実施形態では、例えば、予め定めた複数のマスターキーを用意し、そのうちの1つまたは複数のマスターキーを、復号化ユニットのメーカ(あるいはDVDの制作・販売会社)などの所定の単位ごとに割り当てるような場合に好適な例について説明する。   In the present embodiment, for example, a plurality of predetermined master keys are prepared, and one or a plurality of master keys are prepared for each predetermined unit such as a manufacturer of a decoding unit (or a DVD production / sales company). An example suitable for such allocation will be described.

図5は、本発明の第2の実施形態に係るシステムの構成を示すブロック図である。また、本実施形態の動作の一例を図7および図8のフローチャートに示す。   FIG. 5 is a block diagram showing a configuration of a system according to the second embodiment of the present invention. An example of the operation of this embodiment is shown in the flowcharts of FIGS.

本実施形態に係るシステムは、パーソナル・コンピュータなどの計算機内に備えられた再生に用いるCPU(図示せず)のいわゆるCPU BUSに接続されるものであり、暗号化されたデータ(ESK(Data))がCPU BUS上を流れる構成を有するものである。なお、図5では、再生に用いるCPUに関する部分のみ示している。 The system according to the present embodiment is connected to a so-called CPU BUS of a CPU (not shown) used for reproduction provided in a computer such as a personal computer, and is encrypted data (E SK (Data )) Is configured to flow on the CPU BUS. FIG. 5 shows only the part related to the CPU used for reproduction.

図5に示すように、本実施形態に係るシステムは、DVD101からデータの読み出すDVD駆動装置(図示せず)、このDVD駆動装置にCPU BUSを介さずに接続されたまたはDVD駆動装置に内蔵された暗号化ユニット107、復号化ユニット114aを備えている。   As shown in FIG. 5, the system according to this embodiment is a DVD drive device (not shown) for reading data from the DVD 101, connected to the DVD drive device without a CPU BUS, or built in the DVD drive device. And an encryption unit 107 and a decryption unit 114a.

暗号化ユニット107と復号化ユニット114aは、CPU BUS110に接続されている。復号化ユニット114aからのデータの出力は、CPU BUS以外の例えばI/Oポート等を通じて行われる。つまり、本実施形態では、データの入出力はCPU BUSを介さずに行われるが、暗号化ユニット107と復号化ユニット114aとの間でのデータ転送には、CPU BUSが用いられる。   The encryption unit 107 and the decryption unit 114a are connected to the CPU BUS110. Data output from the decryption unit 114a is performed through, for example, an I / O port other than the CPU BUS. That is, in the present embodiment, data input / output is performed without going through the CPU BUS, but the CPU BUS is used for data transfer between the encryption unit 107 and the decryption unit 114a.

暗号化ユニット107は、復調/誤り訂正回路117、復調/誤り訂正回路118、暗号化回路104を備えている。図1中で、暗号化ユニット107内には、2つの暗号化回路104を示しているが、実際には1つの暗号化回路であるものとする。暗号化ユニット107は、独立した1つのICチップとして形成されるものとする。なお、復調/誤り訂正回路117および復調/誤り訂正回路118は、暗号化ユニット107内には備えず、その前段のユニット等の側(DVD駆動装置内)に備えられる場合もある。   The encryption unit 107 includes a demodulation / error correction circuit 117, a demodulation / error correction circuit 118, and an encryption circuit 104. In FIG. 1, two encryption circuits 104 are shown in the encryption unit 107, but it is assumed that there is actually one encryption circuit. It is assumed that the encryption unit 107 is formed as an independent IC chip. Note that the demodulation / error correction circuit 117 and the demodulation / error correction circuit 118 may not be provided in the encryption unit 107, but may be provided on the side of the preceding unit or the like (inside the DVD drive device).

一方、復号化ユニット114aは、復号化回路112、第2のセッションキーSK ′を生成するセッションキー生成回路111、鍵判定回路120を備えている。 On the other hand, the decryption unit 114 a includes a decryption circuit 112, a session key generation circuit 111 that generates a second session key S K ′, and a key determination circuit 120.

ここで、図6に、鍵判定回路120の一構成例を示す。この鍵判定回路120は、復号化回路112、比較回路121、ゲート回路122を備えている。また、本実施形態では、復号化ユニット114a内にMPEGのデコーダ回路115および復号された画像データをディジタルからアナログに変換する変換回路116を備えているものとする。   Here, FIG. 6 shows a configuration example of the key determination circuit 120. The key determination circuit 120 includes a decryption circuit 112, a comparison circuit 121, and a gate circuit 122. In the present embodiment, it is assumed that the decoding unit 114a includes an MPEG decoder circuit 115 and a conversion circuit 116 for converting decoded image data from digital to analog.

図5および図6中で、復号化ユニット114a内には、鍵判定回路120内の2つの復号化回路112を含めて、全部で5つの復号化回路112を示しているが、実際には1つの復号化回路であるものとする。   In FIG. 5 and FIG. 6, the decryption unit 114a includes a total of five decryption circuits 112 including the two decryption circuits 112 in the key determination circuit 120. Assume that there are two decoding circuits.

復号化ユニット114aは、独立した1つのICチップとして形成されるものとする。   It is assumed that the decryption unit 114a is formed as one independent IC chip.

また、暗号化ユニット107内、および復号化ユニット114a内には、後述するマスターキーが登録されている(作り込まれている)。マスターキーは、利用者が外部から取得できないように、暗号化ユニットのチップ、復号化ユニットのチップそれぞれにおいて、利用者が意図的に取り出せないようにチップ内部の秘匿された領域に記録されているものとする。   A master key described later is registered (built in) in the encryption unit 107 and the decryption unit 114a. The master key is recorded in a secret area inside the chip so that the user cannot intentionally take it out in each of the chip of the encryption unit and the chip of the decryption unit so that the user cannot obtain it from the outside. Shall.

なお、全体の制御は図示しない制御部が司るものとする。制御部は例えばプログラムを当該計算機のCPUで実行することにより実現することができる。この制御部による制御の具体例としては、DVDからのデータの読み出しに関する指示、データ伝送先の指定、復号化ユニット114aからのデータ出力に関する指示等である。また、この制御部の起動のトリガーは、例えば、ユーザ・インタフェースを介してユーザにより行われる場合と、あるアプリケーションプログラム中のプロセスからかけられる場合などが考えられる。   The overall control is controlled by a control unit (not shown). The control unit can be realized, for example, by executing a program by the CPU of the computer. Specific examples of the control by the control unit include an instruction relating to reading of data from a DVD, designation of a data transmission destination, an instruction relating to data output from the decoding unit 114a, and the like. In addition, for example, the trigger for starting the control unit may be triggered by a user via a user interface or may be triggered by a process in an application program.

本実施形態では、第1のセッションキーをSK 、第2のセッションキーをSK ′、n種類存在するマスターキーのうちのt番目のものをMkt(ここでt=1〜n)、画像データ(ただし、暗号化された一纏まりのデータ)をDataで表す。これらはいずれも平文である。 In the present embodiment, the first session key is S K , the second session key is S K ′, the t-th master key among the n types of master keys is M kt (where t = 1 to n), Image data (however, a group of encrypted data) is represented by Data. These are all plaintext.

図1中、102−1は第1のセッションキーSK をマスターキーMkiを用いて暗号化して生成されたEMKi (SK )を、102−2は第1のセッションキーSK を第1のセッションキーSK 自身で暗号化して生成されたESk(SK )を、103は画像データDataを第1のセッションキーSK を用いて暗号化して生成されたESK(Data)を、105はマスターキーMkjを、106は第2のセッションキーSK ′を、108は第2のセッションキーSK ′をマスターキーMkjを用いて復号したDMkj (SK ′)を、109−1はマスターキーMkiを用いて暗号化された第1のセッションキーEMKi (SK )を第2のセッションキーSK ′を用いて暗号化したESK′(EMKi (SK ))を、109−2は第1のセッションキーSK 自身で暗号化された第1のセッションキーESk(SK )を第2のセッションキーSK ′を用いて暗号化したESK′(ESk(SK ))を、113は第1のセッションキーSK をそれぞれ表す。 In Figure 1, the E generated by encrypting MKI (S K) using the master key M ki the first session key S K 102-1, 102-2 first the first session key S K E Sk (S K ) generated by encrypting with one session key S K itself, 103 indicates E SK (Data) generated by encrypting image data Data using the first session key S K. 105 is the master key M kj , 106 is the second session key S K ′, 108 is the second session key S K ′ decrypted using the master key M kj , D Mkj (S K ′) Reference numeral 109-1 denotes E SK ′ (E MKi (S K ) obtained by encrypting the first session key E MKi (S K ) encrypted using the master key M ki using the second session key S K ′. a)), is 109-2 encrypted with the first session key S K itself The first session key E Sk (S K) the second session key S K 'encrypted E SK using' (E Sk (S K) ) which, first session key S K 113 Respectively.

ここで、DVD101に記録する第1のセッションキーSK をマスターキーMkiを用いて暗号化して生成されたEMKi (SK )の種類数と、復号化ユニット114a内に持つマスターキーMkjの種類数の設定について、例えば次に示すように幾つかの方法が考えられる。 Here, the number of types of E MKi (S K ) generated by encrypting the first session key S K recorded on the DVD 101 using the master key M ki , and the master key M kj held in the decryption unit 114a. For the setting of the number of types, for example, several methods are conceivable as shown below.

(方法1)DVD101にはiを1〜nのいずれかとする1つのマスターキーEMKi (SK )を記録し、復号化ユニット114a内にはj=1〜nのすべてに対応するn個のマスターキーMkjを備える。 (Method 1) One master key E MKi (S K ) in which i is any one of 1 to n is recorded on the DVD 101, and n pieces corresponding to all of j = 1 to n are stored in the decryption unit 114a. A master key M kj is provided.

(方法2)DVD101にはi=1〜nのすべてに対応するn個のマスターキーEMKi (SK )を記録し、復号化ユニット114a内にはjを1〜nのいずれかとする1つのマスターキーMkjを備える。 (Method 2) One master key E MKi (S K ) corresponding to all i = 1 to n is recorded on the DVD 101, and j is any one of 1 to n in the decryption unit 114a. A master key M kj is provided.

(方法3)上記の(方法2)を拡張したもので、DVD101にはi=1〜nのすべてに対応するn個のマスターキーEMKi (SK )を記録し、復号化ユニット114a内にはjを1〜nのうちのから予め選択されたm(2<m<n)種類のものとするm個のマスターキーMkjを備える。 (Method 3) This is an extension of the above (Method 2). In the DVD 101, n master keys E MKi (S K ) corresponding to all of i = 1 to n are recorded, and the decryption unit 114a stores them. Includes m master keys M kj where j is m (2 <m <n) types preselected from 1 to n.

なお、具体的な数値例としては、例えば、n=100あるいはn=400などであり、m=2,3,あるいは4、あるいは10などであるが、これらに限定されるものではない。   Specific examples of numerical values include, for example, n = 100 or n = 400, and m = 2, 3, 4, or 10, but are not limited thereto.

(方法4)上記の(方法3)においてDVDと復号化ユニットを逆にした例で、DVD101にはiを1〜nのうちのから予め選択されたm(2<m<n)種類のものとするm個のマスターキーEMKi (SK )を記録し、復号化ユニット114a内にはj=1〜nのすべてに対応するn個のマスターキーMkjを備える。 (Method 4) In the example in which the DVD and the decoding unit are reversed in the above (Method 3), the DVD 101 has m (2 <m <n) types in which i is preselected from 1 to n. M master keys E MKi (S K ) are recorded, and n master keys M kj corresponding to all j = 1 to n are provided in the decryption unit 114a.

(方法5)DVD101にはi=1〜nのすべてに対応するn個のマスターキーEMKi (SK )を記録し、復号化ユニット114a内にはj=1〜nのすべてに対応するn個のマスターキーMkjを備える。 (Method 5) n master keys E MKi (S K ) corresponding to all i = 1 to n are recorded on the DVD 101, and n corresponding to all j = 1 to n is stored in the decryption unit 114a. Number of master keys M kj .

なお、方法3〜方法5は、復号のための手順は同様になる。   In the methods 3 to 5, the decoding procedure is the same.

図3に示すように、DVD101上で、第1のセッションキーSK をマスターキーMkiを用いて暗号化して生成された1個(上記の(方法1)の場合)または複数個(上記の(方法2)〜(方法5)の場合)のEMKi (SK )は、最内周部分の鍵記録領域(リードインエリア)に、画像データDataを第1のセッションキーSK を用いて暗号化して生成されたESK(Data)は、データ記録領域(データエリア)に記録されているものとする。 As shown in FIG. 3, on the DVD 101, one (in the case of the above (Method 1)) generated by encrypting the first session key S K using the master key M ki (in the case of (Method 1)) or a plurality (in the above case) E MKI (S K (method 2) to the case of (method 5))) is the innermost portion of the key recording area (lead-in area), the image data data using the first session key S K It is assumed that E SK (Data) generated by encryption is recorded in a data recording area (data area).

また、復号化ユニット114内に、n個(上記の(方法1)、(方法4)、 (方法5)の場合)、または1個(上記の(方法2)の場合)、またはm個(上記の(方法3)の場合)のマスターキーMkjが登録されているものとする。 In the decoding unit 114, n (in the case of (Method 1), (Method 4), (Method 5) above), 1 (in the case of (Method 2) above), or m (in the case of (Method 2) above) It is assumed that the master key M kj described above (in the case of method 3) is registered.

なお、暗号化ユニット107内には、予め定められた1つのマスターキーが登録されているものとする。   It is assumed that one predetermined master key is registered in the encryption unit 107.

以下では、上記の(方法1)、(方法2)、(方法3〜方法5)について順次説明する。   Hereinafter, the (Method 1), (Method 2), and (Method 3 to Method 5) will be sequentially described.

まず、上記の(方法1)の場合について図7および図8のフローチャートを参照しながら本実施形態の動作を説明する。   First, the operation of the present embodiment will be described with reference to the flowcharts of FIGS. 7 and 8 in the case of (Method 1).

ステップS11で、図示しないDVD駆動装置によりDVD101に記録されている、第1のセッションキーSK 自身で暗号化された第1のセッションキーESk(SK )を読み出し、暗号ユニット107内に取り込む。その際、復調/誤り訂正回路117により復調、データ中の誤り訂正が行われる。 In step S 11, the first session key E Sk (S K ) encrypted by the first session key S K itself recorded on the DVD 101 by a DVD drive device (not shown) is read and taken into the encryption unit 107. . At this time, the demodulation / error correction circuit 117 performs demodulation and error correction in the data.

また、ステップS12で、図示しないDVD駆動装置によりDVD101に記録されている、マスターキーMkiを用いて暗号化された第1のセッションキーEMki (SK )(i=1〜nのいずれか1つ;ここではiは未知である)を読み出し、暗号ユニット107内に取り込む。その際、復調/誤り訂正回路117により復調、データ中の誤り訂正が行われる。 In step S12, a first session key E Mki (S K ) (i = 1 to n) recorded on the DVD 101 by a DVD drive device (not shown) and encrypted using the master key M ki . 1; i is unknown here) and read into the cryptographic unit 107. At this time, the demodulation / error correction circuit 117 performs demodulation and error correction in the data.

一方、ステップS13で、復号化ユニット114aでは、セッションキー生成回路111において、乱数、例えば時計(図示せず)からの時間情報を入力として第2のセッションキーSK ′を生成する。そして、復号化回路112において、生成された第2のセッションキーSK ′を、マスターキーMkj(ここでjは1〜nのうち予め定められたもの)を用いて復号してDMkj (SK ′)を生成し、CPU BUS110を通じて暗号化ユニット107に送る。 On the other hand, in step S13, in the decryption unit 114a, the session key generation circuit 111 generates a second session key S K ′ by inputting random numbers, for example, time information from a clock (not shown). Then, the decryption circuit 112 decrypts the generated second session key S K ′ using the master key M kj (where j is a predetermined one of 1 to n), and D Mkj ( S K ′) is generated and sent to the encryption unit 107 through the CPU BUS 110.

上記の乱数を発生するタイミング(例えば時間情報を入力するタイミング)としては、例えば、DVD駆動装置にDVD101が装着されたことを示す信号がアサートされたタイミングを用いることができる。   As a timing for generating the random number (for example, a timing for inputting time information), for example, a timing at which a signal indicating that the DVD 101 is mounted on the DVD drive apparatus is asserted can be used.

あるいは、セッションキー生成回路111は、例えば鍵長分の乱数発生器で構成しても良い。なお、全てのビットが0や1になる可能性のある乱数で鍵を生成する場合は、全てのビットが0や1になることがないようにチェック処理等をする必要がある。   Alternatively, the session key generation circuit 111 may be composed of a random number generator for the key length, for example. Note that when a key is generated with a random number in which all bits may be 0 or 1, it is necessary to perform a check process or the like so that all bits do not become 0 or 1.

ステップS14で、暗号ユニット107では、暗号化回路104において、CPU BUS110を通じて受け取ったDMkj (SK ′)を、マスターキーをマスターキーMkj(ここでjは1〜nのうち予め定められたもの)を用いて暗号化する。すなわち、
Mkj (DMkj (SK ′))=SK
により、復号化ユニット114a内のセッションキー生成回路111で生成された第2のセッションキーSK ′を得ることができる。
In step S14, in the encryption unit 107, the encryption circuit 104 receives D Mkj (S K ′) received through the CPU BUS 110, the master key is the master key M kj (where j is predetermined from 1 to n). Encryption). That is,
E Mkj (D Mkj (S K ′)) = S K
Thus, the second session key S K ′ generated by the session key generation circuit 111 in the decryption unit 114a can be obtained.

ここで、セッションキー生成回路111で生成された第2のセッションキーSK ′は、CPU BUS110上で盗まれたとしても解らないようにしてある。 Here, even if the second session key S K ′ generated by the session key generation circuit 111 is stolen on the CPU BUS 110, it is not understood.

次に、ステップS15で、暗号ユニット107では、上記のようにして得られた第2のセッションキーSK ′を用いて、DVD101に記録された暗号化された第1のセッションキーESk(SK )を暗号化して、ESK′(ESk(SK ))を生成し、これをCPU BUS110を通じて復号化ユニット114aへ送る。 Next, in step S15, the encryption unit 107 uses the second session key S K ′ obtained as described above to use the encrypted first session key E Sk (S K ) is encrypted to generate E SK ′ (E Sk (S K )), which is sent to the decryption unit 114a through the CPU BUS 110.

同様に、ステップS16で、暗号ユニット107では、上記のようにして得られた第2のセッションキーSK ′を用いて、DVD101に記録された暗号化された第1のセッションキーEMki (SK )を暗号化して、ESK′(EMki (SK ))を生成し、これをCPU BUS110を通じて復号化ユニット114aへ送る。 Similarly, in step S16, the encryption unit 107 uses the second session key S K ′ obtained as described above to use the encrypted first session key E Mki (S K ) is encrypted to generate E SK ′ (E Mki (S K )), which is sent to the decryption unit 114a through the CPU BUS110.

次に、ステップS17で、復号化ユニット114aでは、復号化回路112において、CPU BUS110を通じて受け取ったESK′(ESk(SK ))を、第2のセッションキーSK ′を用いて復号し、
SK′(ESK′(ESk(SK )))=ESk(SK
を得る。
Next, in step S17, in the decryption unit 114a, the decryption circuit 112 decrypts E SK ′ (E Sk (S K )) received through the CPU BUS 110 using the second session key S K ′. ,
D SK ′ (E SK ′ (E Sk (S K ))) = E Sk (S K )
Get.

同様に、ステップS18で、復号化ユニット114aでは、復号化回路112において、CPU BUS110を通じて受け取ったESK′(EMki (SK ))を、第2のセッションキーSK ′を用いて復号し、
SK′(ESK′(EMki (SK )))=EMki (SK
を得る。
Similarly, in step S18, in the decryption unit 114a, the decryption circuit 112 decrypts E SK ′ (E Mki (S K )) received through the CPU BUS 110 using the second session key S K ′. ,
D SK ′ (E SK ′ (E Mki (S K ))) = E Mki (S K )
Get.

ここで、EMki (SK )を生成する際に用いられたマスターキーMkiは未知であるため、ステップS19において、以下に示すように鍵判定回路120を用いて第1のセッションキーSK を求める。 Here, since the master key M ki used to generate E Mki (S K ) is unknown, in step S19, the first session key S K is used by using the key determination circuit 120 as shown below. Ask for.

最初に、鍵判定処理の原理について説明する。   First, the principle of the key determination process will be described.

まず、EMki (SK )を、すべてのマスターキーMkj(j=1〜n)で夫々復号すると、
kij =DMkj (EMki (SK ))(j=1〜n)
が得られる。ここで、Skij (j=1〜n)のうちのいずれかが第1のセッションキーSK である。
First, when E Mki (S K ) is decrypted with all the master keys M kj (j = 1 to n),
S kij = D Mkj (E Mki (S K )) (j = 1 to n)
Is obtained. Here, any one of S kij (j = 1 to n) is the first session key S K.

次に、上記のESk(SK )を用いて、生成されたSkij (j=1〜n)のいずれが第1のセッションキーSK であるかを調べる。 Next, using the above E Sk (S K ), it is checked which of the generated S kij (j = 1 to n) is the first session key S K.

そこで、ESk(SK )を、すべての第1のセッションキーの候補Skij (j=1〜n)で夫々復号すると、
k ′′(i,j)=DSkij(ESk(SK ))
が得られる。
Therefore, if E Sk (S K ) is decrypted with all the first session key candidates S kij (j = 1 to n), respectively,
S k ″ (i, j) = D Skij (E Sk (S K ))
Is obtained.

ここで、EMki (SK )を生成する際に用いられたマスターキーMkiと同一のマスターキーMkjを復号化ユニット内で用いた場合に、すなわち、i=jの場合に、Sk ′′(i,j)=Skij =SK となる。 Here, in the case of using the same master key M kj and the master key M ki used in generating the E Mki (S K) in a decoding unit, i.e., in the case of i = j, S k ′ ′ (I, j) = S kij = S K.

したがって、各Skij (j=1〜n)について、Sk ′′(i,j)=Skij (j=1〜n)が成立するか否かを調べることにより、Sk ′′(i,j)=Skij (j=1〜n)を満足するSkij を、第1のセッションキーSK として得ることができる。なお、このSkij を与えるjに対応するものが今回使用されたマスターキーである。 Thus, for each S kij (j = 1~n), S k '' (i, j) = by S kij (j = 1~n) checks whether or not satisfied, S k '' (i , j) = S kij the S kij satisfying the (j = 1~n), can be obtained as the first session key S K. The master key used this time corresponds to j giving S kij .

この操作を、C言語の表記を利用してC言語的に表現すると、次のようになる。
for(i=1; i<n+1;i++){
DS1[i]=DMK[i](EMki(Sk ));
DS2[i]=DSK[i](ESk(Sk ));
if(DS1[i]==DS2[i])

SK1=DS2[i];
break;

else EXIT_MISMATCH;

なお、上記手順の2行目は、Mkiを用いてEMki (SK )を復号し、これをDS1[i]に代入する操作を示す。
This operation is expressed in C language using C language notation as follows.
for (i = 1; i <n + 1; i ++) {
DS1 [i] = DMK [i] (EM ki (S k ));
DS2 [i] = DSK [i] (E Sk (S k ));
if (DS1 [i] == DS2 [i])
{
SK1 = DS2 [i];
break;
}
else EXIT_MISMATCH;
}
The second line of the above procedure shows an operation of decoding E Mki (S K ) using M ki and substituting it into DS1 [i].

上記手順の3行目は、Skiを用いてESk(SK )を復号し、これをDS2[i]に代入する操作を示す。 The third line of the above procedure shows an operation of decoding E Sk (S K ) using S ki and substituting it into DS2 [i].

上記手順の4行目は、DS1[i]とDS2[i]が一致するかどうを判断する操作を示す。   The fourth line of the above procedure shows an operation for determining whether DS1 [i] and DS2 [i] match.

上記手順の9行目は、DS1[i]とDS2[i]が不一致の場合の操作を示す。   The ninth line of the above procedure shows the operation when DS1 [i] and DS2 [i] do not match.

さて、例えば図6の鍵判定回路120では、復号化回路112により、まず、j=1として、EMki (SK )を、マスターキーMkjで復号して、
kij =DMkj (EMki (SK ))
を得る。
For example, in the key determination circuit 120 of FIG. 6, the decryption circuit 112 first decrypts E Mki (S K ) with the master key M kj with j = 1.
S kij = D Mkj (E Mki (S K ))
Get.

次に、復号化回路112により、ESk(SK )をSkij で復号して、
k ′′=DSkij(ESk(SK ))
を得る。
Next, the decoding circuit 112 decodes E Sk (S K ) with S kij ,
S k ″ = D Skij (E Sk (S K ))
Get.

次に、比較回路121により、上記のSk ′′と=Skij を比較し、一致した場合、ゲート回路122を制御して、保持しておいたSkij (図6(a))またはSk ′′(図6(b))を、第1のセッションキーSK として出力する。 Next, the comparison circuit 121 compares S k ″ and = S kij, and if they match, the gate circuit 122 is controlled to hold S kij (FIG. 6A ) or S k ″ (FIG. 6B) is output as the first session key S K.

一致しなかった場合、上記のjを1ずつ増加させながら、同様の動作を、第1のセッションキーSK が得られるまで繰り返す。 If they do not match, the same operation is repeated while incrementing j by 1 until the first session key SK is obtained.

以上のようにして第1のセッションキーSK を得た後、ステップS20で、図示しないDVD駆動装置によりDVD101に記録されている、第1のセッションキーSK を用いて暗号化された画像データESK(Data)を読み出し、暗号ユニット107内に取り込む。その際、復調/誤り訂正回路118により復調、データ中の誤り訂正が行われる。そして、ESK(Data)を、CPU BUS110を通じて暗号化ユニット107に送る。 After obtaining the first session key S K As described above, in step S20, and is recorded in DVD101 by the DVD driving unit (not shown), the image data encrypted using the first session key S K E SK (Data) is read and taken into the encryption unit 107. At that time, the demodulation / error correction circuit 118 performs demodulation and error correction in the data. Then, E SK (Data) is sent to the encryption unit 107 through the CPU BUS110.

次に、ステップS21で、復号化ユニット114aでは、復号化回路112において、CPU BUS110を通じて受け取ったESK(Data)を、第1のセッションキーSK を用いて復号し、
SK(ESK(Data))=Data
となり、暗号化された画像データを復号して、平文のDataを得ることができる。
Next, in step S21, the decoding unit 114a, the decoding circuit 112, the E SK (Data) received via the CPU BUS 110, decrypted using the first session key S K,
D SK (E SK (Data)) = Data
Thus, the encrypted image data can be decrypted to obtain plain data.

そして、例えば復号すべきデータ(すなわちESK(Data))が終了し、あるいは処理の中止を要求されるまで、上記のステップS20とステップS21が繰り返し行われる。 Then, for example, step S20 and step S21 are repeated until the data to be decoded (that is, E SK (Data)) is completed or the process is requested to be stopped.

以上のようにして得られた画像データDataは、例えばMPEG2というデータ圧縮規格に従って圧縮されている場合にはMPEGデコーダ回路115でデコードされ、そしてD/A変換回路116でアナログ信号に変換された後、図示しないテレビなどの映像装置に送られ、再生される。   When the image data Data obtained as described above is compressed in accordance with, for example, the data compression standard of MPEG2, it is decoded by the MPEG decoder circuit 115 and converted into an analog signal by the D / A conversion circuit 116. Then, it is sent to a video device such as a television (not shown) and reproduced.

なお、上記のステップS11と、ステップS12と、ステップS13およびS14とは、いずれを先に実行しても構わない。   Note that any of step S11, step S12, and steps S13 and S14 may be executed first.

また、上記のステップS15およびステップS17と、ステップS16およびS18とは、いずれを先に実行しても構わない。   Further, any of steps S15 and S17 and steps S16 and S18 may be executed first.

また、ステップS20とステップS21の実行については、1つのESK(Data)の単位で逐次行う方法、あるいはステップS20で所定数のESK(Data)を読み込み、一旦バッファなどへ格納し、次にステップS21でバッファ内のESK(Data)を復号する方法、あるいはステップS20とステップS21をパイプライン処理的に行う方法などが考えられる。 As for execution of step S20 and step S21, a method of sequentially performing one E SK (Data) unit or a predetermined number of E SK (Data) is read in step S20, temporarily stored in a buffer, etc. A method of decoding E SK (Data) in the buffer in step S21 or a method of performing steps S20 and S21 in a pipeline process is conceivable.

また、復号化回路112からMPEGデコーダ回路115に画像データESK (Data)を渡す際に、1つのDataの単位で渡しても良いし、所定数のDataの単位で渡しても良い。 Further, when the image data E SK (Data) is transferred from the decoding circuit 112 to the MPEG decoder circuit 115, it may be transferred in one Data unit or a predetermined number of Data units.

以上のように本実施形態によれば、第1の実施形態と同様に、CPU BUSを流れるデータを保存したとしても、それを再生または利用することはできない。   As described above, according to the present embodiment, as in the first embodiment, even if data flowing through the CPU BUS is stored, it cannot be reproduced or used.

この結果、不正なコピーにより、メディアを販売する不法な行為を防止し、著作権を守ることができる。   As a result, illegal copying of media can be prevented by illegal copying and copyright can be protected.

また、本実施形態によれば、記録媒体に記録した第1のセッションキーを暗号化するのに用いたマスターキーを直接示す情報が不要であり、DVDなどへの記録の際に予め定められた範囲内で適宜マスターキーを選択して使用することが可能となる。あるいは、DVDの制作・販売会社などの所定の単位ごとに使用可能なマスターキーを割り当てることができるなどの利点がある。   In addition, according to the present embodiment, information directly indicating the master key used for encrypting the first session key recorded on the recording medium is unnecessary, and is determined in advance when recording on a DVD or the like. A master key can be selected and used as appropriate within the range. Another advantage is that a master key that can be used for each predetermined unit such as a DVD production / sales company can be assigned.

もちろん、本実施形態でも、暗号化および復号化に用いる回路は、DVDなどのディジタル記録再生機器の再生部分のコアとなる個所とは別に設計できるため、たとえ暗号が破られたとしても、復号化ユニット114a(あるいは暗号化ユニット107および復号化ユニット114a)を交換するだけで良い。   Of course, in this embodiment as well, the circuit used for encryption and decryption can be designed separately from the core part of the playback part of a digital recording / playback device such as a DVD. Therefore, even if the encryption is broken, decryption is possible. It is only necessary to exchange the unit 114a (or the encryption unit 107 and the decryption unit 114a).

なお、本実施形態では、暗号化ユニット107は1つの暗号化回路を持つものとしたが、2つの暗号化回路を設けても良い。また、復号化ユニット114aは1つの復号化回路を持つものとしたが、2、3、4、または5つの復号化回路を設けても良い。これらの場合、対応する暗号化回路と復号化回路をセットで独立化するのが好ましい。   In the present embodiment, the encryption unit 107 has one encryption circuit, but two encryption circuits may be provided. In addition, the decoding unit 114a has one decoding circuit, but two, three, four, or five decoding circuits may be provided. In these cases, it is preferable to make the corresponding encryption circuit and decryption circuit independent as a set.

また、対応する暗号化回路と復号化回路をセットで独立化する場合、独立化した対応する暗号化回路と復号化回路では、他の暗号化回路および復号化回路とは異なる暗号方式を採用しても構わない。   Also, when the corresponding encryption circuit and decryption circuit are made independent as a set, the corresponding encryption circuit and decryption circuit that are made independent adopt a different encryption method from other encryption circuits and decryption circuits. It doesn't matter.

次に、前述した(方法2)のように、DVD101にはi=1〜nのすべてに対応するn個のEMKi (SK )を記録し、復号化ユニット114a内にはjを1〜nのいずれかとする1つのMkjを備える場合について図7および図8のフローチャートを参照しながら本実施形態の動作を説明する。 Next, as described above (Method 2), n E MKi (S K ) corresponding to all i = 1 to n are recorded on the DVD 101, and j is set to 1 to 1 in the decoding unit 114a. The operation of the present embodiment will be described with reference to the flowcharts of FIGS. 7 and 8 in the case of providing one M kj as any one of n.

ステップS11で、図示しないDVD駆動装置によりDVD101に記録されている、第1のセッションキーSK 自身で暗号化された第1のセッションキーESk(SK )を読み出し、暗号ユニット107内に取り込む。その際、復調/誤り訂正回路117により復調、データ中の誤り訂正が行われる。 In step S 11, the first session key E Sk (S K ) encrypted by the first session key S K itself recorded on the DVD 101 by a DVD drive device (not shown) is read and taken into the encryption unit 107. . At this time, the demodulation / error correction circuit 117 performs demodulation and error correction in the data.

また、ステップS12で、図示しないDVD駆動装置によりDVD101に記録されている、マスターキーMkiを用いて暗号化されたn個の第1のセッションキーEMki (SK )(i=1〜n)を読み出し、暗号ユニット107内に取り込む。その際、復調/誤り訂正回路117により復調、データ中の誤り訂正が行われる。 In step S12, n first session keys E Mki (S K ) (i = 1 to n) recorded on the DVD 101 by a DVD drive device (not shown) and encrypted using the master key M ki. ) And read into the encryption unit 107. At this time, the demodulation / error correction circuit 117 performs demodulation and error correction in the data.

一方、ステップS13で、復号化ユニット114aでは、セッションキー生成回路111において、乱数、例えば時計(図示せず)からの時間情報を入力として第2のセッションキーSK ′を生成する。そして、復号化回路112において、生成された第2のセッションキーSK ′を、マスターキーMkj(ここでjは1〜nのうち予め定められたもの)を用いて復号してDMkj (SK ′)を生成し、CPU BUS110を通じて暗号化ユニット107に送る。 On the other hand, in step S13, in the decryption unit 114a, the session key generation circuit 111 generates a second session key S K ′ by inputting random numbers, for example, time information from a clock (not shown). Then, the decryption circuit 112 decrypts the generated second session key S K ′ using the master key M kj (where j is a predetermined one of 1 to n), and D Mkj ( S K ′) is generated and sent to the encryption unit 107 through the CPU BUS 110.

上記の乱数を発生するタイミング(例えば時間情報を入力するタイミング)としては、例えば、DVD駆動装置にDVD101が装着されたことを示す信号がアサートされたタイミングを用いることができる。   As a timing for generating the random number (for example, a timing for inputting time information), for example, a timing at which a signal indicating that the DVD 101 is mounted on the DVD drive apparatus is asserted can be used.

ステップS14で、暗号ユニット107では、暗号化回路104において、CPU BUS110を通じて受け取ったDMkj (SK ′)を、マスターキーをマスターキーMkj(ここでjは1〜nのうち予め定められたもの)を用いて暗号化する。すなわち、
Mkj (DMkj (SK ′))=SK
により、復号化ユニット114a内のセッションキー生成回路111で生成された第2のセッションキーSK ′を得ることができる。
In step S14, in the encryption unit 107, the encryption circuit 104 receives D Mkj (S K ′) received through the CPU BUS 110, the master key is the master key M kj (where j is predetermined from 1 to n). Encryption). That is,
E Mkj (D Mkj (S K ′)) = S K
Thus, the second session key S K ′ generated by the session key generation circuit 111 in the decryption unit 114a can be obtained.

ここで、セッションキー生成回路111で生成された第2のセッションキーSK ′は、CPU BUS110上で盗まれたとしても解らないようにしてある。 Here, even if the second session key S K ′ generated by the session key generation circuit 111 is stolen on the CPU BUS 110, it is not understood.

次に、ステップS15で、暗号ユニット107では、上記のようにして得られた第2のセッションキーSK ′を用いて、DVD101に記録された暗号化された第1のセッションキーESk(SK )を暗号化して、ESK′(ESk(SK ))を生成し、これをCPU BUS110を通じて復号化ユニット114aへ送る。 Next, in step S15, the encryption unit 107 uses the second session key S K ′ obtained as described above to use the encrypted first session key E Sk (S K ) is encrypted to generate E SK ′ (E Sk (S K )), which is sent to the decryption unit 114a through the CPU BUS 110.

同様に、ステップS16で、暗号ユニット107では、上記のようにして得られた第2のセッションキーSK ′を用いて、DVD101に記録された暗号化されたn個の第1のセッションキーEMki (SK )を夫々暗号化して、ESK′(EMki (SK ))を生成し、これをCPU BUS110を通じて復号化ユニット114aへ送る。 Similarly, in step S16, the encryption unit 107 uses the second session key S K ′ obtained as described above to use the encrypted n first session keys E recorded on the DVD 101. Mki (S K ) is respectively encrypted to generate E SK ′ (E Mki (S K )), which is sent to the decryption unit 114 a through the CPU BUS 110.

次に、ステップS17で、復号化ユニット114aでは、復号化回路112において、CPU BUS110を通じて受け取ったESK′(ESk(SK ))を、第2のセッションキーSK ′を用いて復号し、
SK′(ESK′(ESk(SK )))=ESk(SK
を得る。
Next, in step S17, in the decryption unit 114a, the decryption circuit 112 decrypts E SK ′ (E Sk (S K )) received through the CPU BUS 110 using the second session key S K ′. ,
D SK ′ (E SK ′ (E Sk (S K ))) = E Sk (S K )
Get.

同様に、ステップS18で、復号化ユニット114aでは、復号化回路112において、CPU BUS110を通じて受け取ったn個のESK′(EMki (SK ))を、第2のセッションキーSK ′を用いて夫々復号し、
SK′(ESK′(EMki (SK )))=EMki (SK
を得る。
Similarly, in step S18, in the decryption unit 114a, the decryption circuit 112 uses the n E SK ′ (E Mki (S K )) received through the CPU BUS 110 by using the second session key S K ′. Decrypt each
D SK ′ (E SK ′ (E Mki (S K ))) = E Mki (S K )
Get.

ここで、DVD101に記録されているn個のEMki (SK )(i=1〜n)の各々について、それを生成する際に用いられたマスターキーMkiは未知であり、復号化ユニット114a内に備えられたマスターキーMkjに対応するものがどれなのかは、分からないようになっている。そこで、ステップS19において、以下に示すように鍵判定回路120を用いて第1のセッションキーSK を求める。 Here, for each of the n E Mki (S K ) (i = 1 to n) recorded on the DVD 101, the master key M ki used to generate it is unknown, and the decryption unit It is difficult to know which one corresponds to the master key M kj provided in 114a. Therefore, in step S19, it obtains the first session key S K using the key judging circuit 120 as described below.

最初に、鍵判定処理の原理について説明する。   First, the principle of the key determination process will be described.

まず、マスターキーMkjで、すべてのEMki (SK )(i=1〜n)を夫々復号すると、
kij =DMkj (EMki (SK ))(i=1〜n)
が得られる。ここで、Skij (i=1〜n)のうちのいずれかが第1のセッションキーSK である。
First, all E Mki (S K ) (i = 1 to n) are decrypted with the master key M kj .
S kij = D Mkj (E Mki (S K )) (i = 1 to n)
Is obtained. Here, any one of S kij (i = 1 to n) is the first session key S K.

次に、上記のESk(SK )を用いて、生成されたSkij (i=1〜n)のいずれが第1のセッションキーSK であるかを調べる。 Next, using the above E Sk (S K ), it is checked which of the generated S kij (i = 1 to n) is the first session key S K.

そこで、ESk(SK )を、すべての第1のセッションキーの候補Skij (i=1〜n)で夫々復号すると、
k ′′(i,j)=DSkij(ESk(SK ))
が得られる。
Therefore, if E Sk (S K ) is decrypted with all the first session key candidates S kij (i = 1 to n), respectively,
S k ″ (i, j) = D Skij (E Sk (S K ))
Is obtained.

ここで、EMki (SK )を生成する際に用いられたマスターキーMkiと同一のマスターキーMkjを復号化ユニット内で用いた場合に、すなわち、i=jの場合に、Sk ′′(i,j)=Skij =SK となる。 Here, in the case of using the same master key M kj and the master key M ki used in generating the E Mki (S K) in a decoding unit, i.e., in the case of i = j, S k ′ ′ (I, j) = S kij = S K.

したがって、各Skij (i=1〜n)について、Sk ′′(i,j)=Skij (j=1〜n)が成立するか否かを調べることにより、Sk ′′(i,j)=Skij (j=1〜n)を満足するSkij を、第1のセッションキーSK として得ることができる。なお、このSkij を与えるiに対応するものが今回使用されたマスターキーである。 Thus, for each S kij (i = 1~n), S k '' (i, j) = by S kij (j = 1~n) checks whether or not satisfied, S k '' (i , j) = S kij the S kij satisfying the (j = 1~n), can be obtained as the first session key S K. The master key used this time corresponds to i giving S kij .

さて、例えば図6の鍵判定回路120では、復号化回路112により、まず、i=1として、EMki (SK )を、マスターキーMkjで復号して、
kij =DMkj (EMki (SK ))
を得る。
For example, in the key determination circuit 120 of FIG. 6, the decryption circuit 112 first decrypts E Mki (S K ) with the master key M kj with i = 1.
S kij = D Mkj (E Mki (S K ))
Get.

次に、復号化回路112により、ESk(SK )をSkij で復号して、
k ′′=DSkij(ESk(SK ))
を得る。
Next, the decoding circuit 112 decodes E Sk (S K ) with S kij ,
S k ″ = D Skij (E Sk (S K ))
Get.

次に、比較回路121により、上記のSk ′′と=Skij を比較し、一致した場合、ゲート回路122を制御して、保持しておいたSkij (図6(a))またはSk ′′(図6(b))を、第1のセッションキーSK として出力する。 Next, the comparison circuit 121 compares S k ″ and = S kij, and if they match, the gate circuit 122 is controlled to hold S kij (FIG. 6A ) or S k ″ (FIG. 6B) is output as the first session key S K.

一致しなかった場合、上記のiを1ずつ増加させながら、同様の動作を、第1のセッションキーSK が得られるまで繰り返す。 If they do not match, the same operation is repeated while increasing i by 1 until the first session key SK is obtained.

以上のようにして第1のセッションキーSK を得た後、前述したようにステップS20〜S22で、第1のセッションキーSK を使って、暗号化された画像データESK(Data)から画像データDataを取り出す。 After obtaining the first session key S K As described above, in step S20~S22 as described above, by using the first session key S K, from the encrypted image data E SK (Data) Image data Data is taken out.

そして、前述したように、画像データDataは、MPEGデコーダ回路115でデコードされ、D/A変換回路116でアナログ信号に変換されるなどして、図示しないテレビなどの映像装置に送られ、再生される。   As described above, the image data Data is decoded by the MPEG decoder circuit 115, converted into an analog signal by the D / A conversion circuit 116, and sent to a video device such as a television (not shown) for reproduction. The

なお、この方法2の場合においても、上記のステップS11と、ステップS12と、ステップS13およびS14とは、いずれを先に実行しても構わない。   In the case of Method 2, any of Step S11, Step S12, Steps S13 and S14 may be executed first.

また、上記のステップS15およびステップS17と、ステップS16およびS18とは、いずれを先に実行しても構わない。   Further, any of steps S15 and S17 and steps S16 and S18 may be executed first.

さらに、ステップS12,S16,S18、S19を、DVDに記録されたn個の(暗号化された)マスターキーを一括してバッチ的に行っても良いが、所定数個のマスターキーごとにバッチ的に行っても良いし、1つのマスターキーごとに逐次行っても良い。   Further, the steps S12, S16, S18, and S19 may be performed batchwise for n (encrypted) master keys recorded on the DVD, but batches for every predetermined number of master keys. It may be performed manually or sequentially for each master key.

また、3番目の1つのマスターキーごとに逐次行う場合、第2のセッションキーSK ′を、マスターキーごとに生成しても良い。 Further, in the case of sequentially performing every third master key, the second session key S K ′ may be generated for each master key.

また、ステップS20とステップS21の実行については、1つのESK(Data)の単位で逐次行う方法、あるいはステップS20で所定数のESK(Data)を読み込み、一旦バッファなどへ格納し、次にステップS21でバッファ内のESK(Data)を復号する方法、あるいはステップS20とステップS21をパイプライン処理的に行う方法などが考えられる。 As for execution of step S20 and step S21, a method of sequentially performing one E SK (Data) unit or a predetermined number of E SK (Data) is read in step S20, temporarily stored in a buffer, etc. A method of decoding E SK (Data) in the buffer in step S21 or a method of performing steps S20 and S21 in a pipeline process is conceivable.

また、復号化ユニット114からMPEGデコーダ回路115に画像データESK(Data)を渡す際に、1つのDataの単位で渡しても良いし、所定数のDataの単位で渡しても良い。 Further, when the image data E SK (Data) is transferred from the decoding unit 114 to the MPEG decoder circuit 115, it may be transferred in units of one Data or in units of a predetermined number of Data.

以上のように本実施形態によれば、第1の実施形態と同様に、CPU BUSを流れるデータを保存したとしても、それを再生または利用することはできない。   As described above, according to the present embodiment, as in the first embodiment, even if data flowing through the CPU BUS is stored, it cannot be reproduced or used.

この結果、不正なコピーにより、メディアを販売する不法な行為を防止し、著作権を守ることができる。   As a result, illegal copying of media can be prevented by illegal copying and copyright can be protected.

また、本実施形態によれば、記録媒体に複数のマスターキーを夫々用いて暗号化した第1のセッションキーと、第1のセッションキー自身で暗号化した第1のセッションキーとを格納するので、復号化ユニット内に作り込むマスターキーを、所定の単位、例えばユニットの製造メーカーごとに割り当てて使用することができるなどの利点がある。   In addition, according to the present embodiment, the first session key encrypted using a plurality of master keys and the first session key encrypted by the first session key itself are stored in the recording medium. There is an advantage that the master key built in the decryption unit can be assigned to a predetermined unit, for example, each manufacturer of the unit.

また、本実施形態でも、暗号化および復号化に用いる回路は、図1から解るようにDVDなどのディジタル記録再生機器の再生部分のコアとなる個所とは別に設計できるため、たとえ暗号が破られたとしても、復号化ユニット114b(あるいは暗号化ユニット107および復号化ユニット114b)を交換するだけで良い。   Also in this embodiment, the circuit used for encryption and decryption can be designed separately from the core part of the playback part of a digital recording / playback device such as a DVD, as can be seen from FIG. Even so, it is only necessary to exchange the decryption unit 114b (or the encryption unit 107 and the decryption unit 114b).

なお、本実施形態では、暗号ユニット107は1つの暗号化回路を持つものとしたが、2つの暗号化回路を設けても良い。また、復号化ユニット114aは1つの復号化回路を持つものとしたが、2、3、4、または5つの復号化回路として設けても良い。これらの場合、対応する暗号化回路と復号化回路をセットで独立化しあるいは共用するのが好ましい。   In the present embodiment, the encryption unit 107 has one encryption circuit, but two encryption circuits may be provided. The decoding unit 114a has one decoding circuit, but may be provided as two, three, four, or five decoding circuits. In these cases, it is preferable to make the corresponding encryption circuit and decryption circuit independent or shared in a set.

また、対応する暗号化回路と復号化回路をセットで独立化する場合、独立化した対応する暗号化回路と復号化回路では、他の暗号化回路および復号化回路とは異なる暗号方式を採用しても構わない。   Also, when the corresponding encryption circuit and decryption circuit are made independent as a set, the corresponding encryption circuit and decryption circuit that are made independent adopt a different encryption method from other encryption circuits and decryption circuits. It doesn't matter.

次に、前述した(方法3)のように、DVD101にはi=1〜nのすべてに対応するn個のEMKi (SK )を記録し、復号化ユニット114a内にはjを1〜nのうちのm(<n)種類のものとするm個のMkjを備える場合について説明する。 Next, as described above (Method 3), n E MKi (S K ) corresponding to all i = 1 to n are recorded on the DVD 101, and j is set to 1 to 1 in the decoding unit 114a. It will be described with the m number of M kj to m (<n) type ones of n.

この方法3は、基本的な構成・動作・効果は上記の方法2と同様であるので、ここでは、相違点のみを説明する。   Since the basic configuration, operation, and effect of this method 3 are the same as those of the above method 2, only the differences will be described here.

上記の方法2では、復号ユニット114a内に予め定めた1個のマスターキーMkj(j=1〜nのいずれか1つ)を備えたが、この方法3では、復号ユニット114a内に予め定めたm(≧2)個のマスターキーMkjを備えておく。そして、m個のマスターキーMkj(j=1〜nのいずれかm個)について、復号化ユニット114b内で前述した鍵判定に使用する順位を決めておく。 In the method 2 described above, a single master key M kj (any one of j = 1 to n) is provided in the decryption unit 114a. In addition, m (≧ 2) master keys M kj are prepared. Then, for m master keys M kj (where j is any one of j = 1 to n), the order used for the above-described key determination is determined in the decryption unit 114b.

最初は、DVD101にはi=1〜nのすべてに対応するn個のEMKi (SK )を記録しているので、復号化ユニット114b内で使用順位が1位のマスターキーを用いれば、第1のセッションキーSK を得ることができるので、この場合には、前述の方法2と同様の動作になる。 At first, since n E MKi (S K ) corresponding to all i = 1 to n are recorded on the DVD 101, if the master key having the highest use order in the decryption unit 114b is used, it is possible to obtain a first session key S K, in this case, the same operation as the method described above 2.

次に、方法3では、いずれかのマスターキーが破られるなどした場合、そのマスターキーを使用不可とし、以降、DVD101には使用不可となったマスターキーに対応するEMKi (SK )を記録しないようにした場合を考える。 Next, in method 3, if any master key is broken, the master key is disabled, and thereafter, E MKi (S K ) corresponding to the disabled master key is recorded on the DVD 101. Consider the case of not doing so.

ここで、使用不可となったマスターキーが、使用順位が1位のマスターキーでない場合、第1のセッションキーSK を得ることができるので、この場合にも、前述の方法2と同様の動作になる。 Here, the master key has become unavailable, if order of use is not 1-position of the master key, it is possible to obtain a first session key S K, also in this case, the same operation as the above-mentioned method 2 become.

一方、使用順位が1位のマスターキーが使用不可となった場合、DVD101に該マスターキーに対応するEMKi (SK )は記録されていないので、この使用順位が1位のマスターキーを使っても、前述のステップS19にて第1のセッションキーSK を得ることはできない。このような場合に、復号ユニット114a内で、使用順位が2位のマスターキーを用いて方法2と同様の動作を行うことにより、このマスターキーが使用不可となっていない場合、第1のセッションキーSK を得ることができる。 On the other hand, when the master key with the first use order becomes unusable, E MKi (S K ) corresponding to the master key is not recorded on the DVD 101, so the master key with the first use order is used. even, it is impossible to obtain a first session key S K at step S19 described above. In such a case, if the master key is not unusable by performing the same operation as the method 2 using the master key with the second use order in the decryption unit 114a, the first session it is possible to obtain a key S K.

以下、使用順位がr位のマスターキーが使用不可となっても、使用順位がr+1位以降のマスターキーで使用不可となっていないものがある場合、同様にして第1のセッションキーSK を得ることができる。 Below, even if the master key of the order of use r position is unusable, if there is one order of use is not disabled in the r + 1 and after position of the master key, the first session key S K in the same manner Obtainable.

このようにして、復号化ユニット114a内に予め定めたm(≧2)個のマスターキーが全て使用不可となるまで、本復号化ユニット114aを使用することができる。   In this way, the present decryption unit 114a can be used until all m (≧ 2) master keys determined in the decryption unit 114a become unusable.

なお、前述した(方法5)の動作は、上記(方法3)と同様になる。   The operation of (Method 5) described above is the same as that of (Method 3).

また、前述した(方法4)は、DVD101には全てのマスターキーに対応する情報が格納されていないので、復号化ユニット内で選択したマスターキーに対応する情報がDVD101に記録されていない場合には、上記の使用不可の場合と同様に復号できないことになり、次の使用順位のマスターキーを選択して復号を試行することになる。従って、この(方法4)の動作も、上記(方法3)と同様になる。   In the above (Method 4), since information corresponding to all master keys is not stored in the DVD 101, information corresponding to the master key selected in the decryption unit is not recorded on the DVD 101. Cannot be decrypted in the same manner as in the case of the above-described unusable, and the master key of the next usage order is selected and decryption is attempted. Therefore, the operation of (Method 4) is the same as that of (Method 3).

ところで、本実施形態において、CPU BUS110上を情報を暗号化して安全に転送するために、第2のセッションキーSK ′を用いた。この第2のセッションキーSK ′は、復号化ユニット114a内で生成され、マスターキーを用いた手順により暗号化ユニット107に伝えられた。その際、本実施形態では、暗号化ユニット107内には、予め定められた1つのマスターキーが登録されているものとした。 By the way, in the present embodiment, the second session key S K ′ is used to encrypt and securely transfer information on the CPU BUS 110. This second session key S K ′ was generated in the decryption unit 114a and transmitted to the encryption unit 107 by a procedure using the master key. At this time, in the present embodiment, it is assumed that one predetermined master key is registered in the encryption unit 107.

その代わりに、暗号化ユニット107内にも複数のマスター鍵を登録しておき、鍵判定を用いる前述した(方法1)〜(方法5)のような手順を用いて、第2のセッションキーSK ′を復号化ユニット114aから暗号化ユニット107に伝えるようにしてもよい。 Instead, a plurality of master keys are registered in the encryption unit 107, and the second session key S is used by using the procedure such as (Method 1) to (Method 5) described above using key determination. K ′ may be transmitted from the decryption unit 114a to the encryption unit 107.

例えば、復号化ユニット114a内に登録されているマスターキーと同一のものを暗号化ユニット107にも登録する場合、上記の(方法5)になる。   For example, when the same master key registered in the decryption unit 114a is also registered in the encryption unit 107, the above (Method 5) is performed.

また、復号化ユニット114a内に登録されているマスターキーの一部の複数のものを暗号化ユニット107に登録する場合、上記の(方法3)になる。   When a plurality of master keys registered in the decryption unit 114a are registered in the encryption unit 107, the above (Method 3) is performed.

なお、暗号化ユニット107に1つのマスターキーを登録する場合にも、上記の(方法2)の手順を用いることができる。   Even when one master key is registered in the encryption unit 107, the procedure of (Method 2) described above can be used.

ただし、これらの場合、(方法1)〜(方法5)の手順において、暗号化と復号とを入れ替えた手順となる。すなわち、復号化ユニット114aから暗号化ユニット107にDMKi (SK )とDSK(SK )とを転送することになる。 However, in these cases, the procedure of (Method 1) to (Method 5) is a procedure in which encryption and decryption are interchanged. That is, D MKi (S K ) and D SK (S K ) are transferred from the decryption unit 114 a to the encryption unit 107.

なお、第2のセッションキーSK ′をCPU BUS110上を介して復号化ユニット114aから暗号化ユニット107に安全に伝えるための構成としは、上記のマスターキーを用いる構成の他にも、種々のものが適用可能である。例えば、「日経エレクトロニクス No.676 pp.13−14 1996.11.18」に開示された技術を応用することもできる。この場合、暗号化ユニット107内へのマスターキーの登録は不要である。 The configuration for safely transmitting the second session key S K ′ from the decryption unit 114a to the encryption unit 107 via the CPU BUS 110 includes various configurations other than the configuration using the master key. Things are applicable. For example, the technique disclosed in “Nikkei Electronics No. 676 pp. 13-14 1996.11.18” can be applied. In this case, registration of the master key in the encryption unit 107 is not necessary.

(第3の実施形態)
次に、第3の実施形態について説明する。
(Third embodiment)
Next, a third embodiment will be described.

本実施形態は、例えば単体のDVDプレーヤーである。   This embodiment is, for example, a single DVD player.

図9は、本発明の第2の実施形態に係るシステムの構成を示すブロック図である。また、本実施形態の動作の一例を図10のフローチャートに示す。   FIG. 9 is a block diagram showing a configuration of a system according to the second embodiment of the present invention. An example of the operation of this embodiment is shown in the flowchart of FIG.

本実施形態は、第2の実施形態の構成から、暗号化ユニットと復号ユニットとの間で第2のセッションキーを用いて暗号化鍵を受け渡しする動作に関する部分を削除したものである。   In the present embodiment, the part related to the operation of transferring the encryption key using the second session key between the encryption unit and the decryption unit is deleted from the configuration of the second embodiment.

すなわち、図9に示すように、本実施形態に係るシステムは、DVD101からデータの読み出すDVD駆動装置(図示せず)、復号化ユニット114bを備えている。   That is, as shown in FIG. 9, the system according to the present embodiment includes a DVD drive device (not shown) for reading data from the DVD 101, and a decoding unit 114b.

復号化ユニット114bは、復号化回路112、鍵判定回路120、復調/誤り訂正回路117、復調/誤り訂正回路118を備えている。また、本実施形態では、復号化ユニット114内にMPEGのデコーダ回路115および復号された画像データをディジタルからアナログに変換する変換回路116を備えているものとする。   The decryption unit 114b includes a decryption circuit 112, a key determination circuit 120, a demodulation / error correction circuit 117, and a demodulation / error correction circuit 118. In the present embodiment, it is assumed that the decoding unit 114 includes an MPEG decoder circuit 115 and a conversion circuit 116 that converts decoded image data from digital to analog.

ここで、鍵判定回路120は、図6の一構成例に示すように、復号化回路112、比較回路121、ゲート回路122を備えている。   Here, the key determination circuit 120 includes a decryption circuit 112, a comparison circuit 121, and a gate circuit 122, as shown in one configuration example of FIG.

図9および図6中で、復号化ユニット114b内には、鍵判定回路120内の2つの復号化回路112を含めて、全部で3つの復号化回路112を示しているが、実際には1つの復号化回路であるものとする。なお、復調/誤り訂正回路117および復調/誤り訂正回路118は、暗号化ユニット107内には備えず、その前段のユニット等の側に備えられる場合もある。   9 and 6, the decryption unit 114b includes three decryption circuits 112 including the two decryption circuits 112 in the key determination circuit 120. Assume that there are two decoding circuits. Note that the demodulation / error correction circuit 117 and the demodulation / error correction circuit 118 may not be provided in the encryption unit 107 but may be provided on the side of the preceding unit or the like.

復号化ユニット114bは、独立した1つのICチップとして形成されるものとする。   It is assumed that the decryption unit 114b is formed as one independent IC chip.

また、復号化ユニット114b内には、後述するマスターキーが登録されている(作り込まれている)。マスターキーは、利用者が外部から取得できないように、復号化ユニットのチップにおいて、利用者が意図的に取り出せないようにチップ内部の秘匿された領域に記録されているものとする。   Also, a master key to be described later is registered (built in) in the decryption unit 114b. It is assumed that the master key is recorded in a secret area inside the chip so that the user cannot intentionally remove the master key so that the user cannot obtain it from the outside.

本実施形態では、第1のセッションキーをSK 、第2のセッションキーをSK ′、n種類存在するマスターキーのうちのi番目のものをMki(ここでi=1〜n)、画像データ(ただし、暗号化された一纏まりのデータ)をDataで表す。これらはいずれも平文である。 In this embodiment, the first session key is S K , the second session key is S K ′, the i-th one of the n types of master keys is M ki (where i = 1 to n), Image data (however, a group of encrypted data) is represented by Data. These are all plaintext.

図1中、102−1は第1のセッションキーSK をマスターキーMkiを用いて暗号化して生成されたEMKi (SK )を、102−2は第1のセッションキーSK を第1のセッションキーSK 自身で暗号化して生成されたESk(SK )を、103は画像データDataを第1のセッションキーSK を用いて暗号化して生成されたESK(Data)を、105はマスターキーMkjを、113は第1のセッションキーSK をそれぞれ表す。 In Figure 1, the E generated by encrypting MKI (S K) using the master key M ki the first session key S K 102-1, 102-2 first the first session key S K E Sk (S K ) generated by encrypting with one session key S K itself, 103 indicates E SK (Data) generated by encrypting image data Data using the first session key S K. , 105 represents a master key M kj , and 113 represents a first session key S K.

ここで、前述の第2の実施形態と同様に、DVD101に記録する第1のセッションキーSK をマスターキーMkiを用いて暗号化して生成されたEMKi (SK )の種類数と、復号化ユニット114b内に持つマスターキーMkjの種類数の設定について、例えば次に示すように幾つかの方法が考えられる。 Here, as in the second embodiment, the number of types of E MKi (S K ) generated by encrypting the first session key S K recorded on the DVD 101 using the master key M ki , Regarding the setting of the number of types of master keys M kj held in the decryption unit 114b, for example, several methods can be considered as follows.

(方法1)DVD101にはiを1〜nのいずれかとする1つのEMKi (SK )を記録し、復号化ユニット114b内にはj=1〜nのすべてに対応するn個のMkjを備える。 (Method 1) One E MKi (S K ) in which i is any one of 1 to n is recorded on the DVD 101, and n M kj corresponding to all j = 1 to n are stored in the decoding unit 114b. Is provided.

(方法2)DVD101にはi=1〜nのすべてに対応するn個のEMKi (SK )を記録し、復号化ユニット114b内にはjを1〜nのいずれかとする1つのMkjを備える。 (Method 2) On the DVD 101, n E MKi (S K ) corresponding to all i = 1 to n are recorded, and one M kj in which j is any one of 1 to n in the decoding unit 114b. Is provided.

(方法3)DVD101にはi=1〜nのすべてに対応するn個のEMKi (SK )を記録し、復号化ユニット114b内にはjを1〜nのうちのm(2<m<n)種類のものとするm個のMkjを備える。 (Method 3) n E MKi (S K ) corresponding to all of i = 1 to n are recorded on the DVD 101, and j in the decoding unit 114b is m of 1 to n (2 <m <N) Provide m M kj types.

(方法4)DVD101にはiを1〜nのうちのから予め選択されたm(2<m<n)種類のものとするm個のマスターキーEMKi (SK )を記録し、復号化ユニット114b内にはj=1〜nのすべてに対応するn個のマスターキーMkjを備える。 (Method 4) On the DVD 101, m master keys E MKi (S K ) are recorded and decrypted with m (2 <m <n) of i selected from 1 to n in advance. The unit 114b includes n master keys M kj corresponding to all of j = 1 to n.

(方法5)DVD101にはi=1〜nのすべてに対応するn個のマスターキーEMKi (SK )を記録し、復号化ユニット114b内にはj=1〜nのすべてに対応するn個のマスターキーMkjを備える。 (Method 5) n master keys E MKi (S K ) corresponding to all i = 1 to n are recorded on the DVD 101, and n corresponding to all j = 1 to n is stored in the decryption unit 114b. Number of master keys M kj .

図3に示すように、DVD101上で、第1のセッションキーSK をマスターキーMkiを用いて暗号化して生成された1個(上記の(方法1)の場合)または複数個(上記の(方法2)〜(方法5)の場合)のEMKi (SK )は、最内周部分の鍵記録領域(リードインエリア)に、画像データDataを第1のセッションキーSK を用いて暗号化して生成されたESK(Data)は、データ記録領域(データエリア)に記録されているものとする。 As shown in FIG. 3, on the DVD 101, one (in the case of the above (Method 1)) generated by encrypting the first session key S K using the master key M ki (in the case of (Method 1)) or a plurality (in the above case) E MKI (S K (method 2) to the case of (method 5))) is the innermost portion of the key recording area (lead-in area), the image data data using the first session key S K It is assumed that E SK (Data) generated by encryption is recorded in a data recording area (data area).

次に、図10のフローチャートを参照しながら本実施形態の動作について説明する。なお、本実施形態の動作は、第2の実施形態の動作から、暗号化ユニットと復号ユニットとの間で第2のセッションキーを用いて暗号化鍵を受け渡しする動作に関する部分を削除したものである。   Next, the operation of this embodiment will be described with reference to the flowchart of FIG. The operation of the present embodiment is obtained by deleting a part related to the operation of passing the encryption key between the encryption unit and the decryption unit using the second session key from the operation of the second embodiment. is there.

すなわち、ステップS31で、図示しないDVD駆動装置によりDVD101に記録されている、第1のセッションキーSK 自身で暗号化された第1のセッションキーESk(SK )を読み出し、復号化ユニット114b内に取り込む。その際、復調/誤り訂正回路117により復調、データ中の誤り訂正が行われる。 That is, in step S31, the first session key E Sk (S K ), which is recorded on the DVD 101 by the DVD drive device (not shown) and is encrypted with the first session key S K itself, is read out, and the decryption unit 114b is read out. Into. At this time, the demodulation / error correction circuit 117 performs demodulation and error correction in the data.

また、ステップS32で、図示しないDVD駆動装置によりDVD101に記録されている、マスターキーMkiを用いて暗号化された第1のセッションキーEMki (SK )を読み出し、復号化ユニット114b内に取り込む。その際、復調/誤り訂正回路117により復調、データ中の誤り訂正が行われる。 In step S32, the first session key E Mki (S K ), which is recorded on the DVD 101 by a DVD drive device (not shown) and is encrypted using the master key M ki , is read out, and is read into the decryption unit 114b. take in. At this time, the demodulation / error correction circuit 117 performs demodulation and error correction in the data.

次に、ステップS33において、鍵判定回路120を用いて第1のセッションキーSK を求める。 Next, in step S33, it obtains the first session key S K using the key judging circuit 120.

以上の第1のセッションキーSK を求める動作は、(方法1)、(方法2)、(方法3〜方法5)により相違するが、いずれの場合についても既に第2の実施形態において説明したものと同様であるので、ここでの説明は省略する。 Operation for obtaining the first session key S K above, (method 1), (method 2), which varies (Method 3 Method 5), described in the already second embodiment also cases Since it is the same as that of a thing, description here is abbreviate | omitted.

第1のセッションキーSK を得た後は、前述したようにステップS34〜S36で、第1のセッションキーSK を使って、暗号化された画像データESK(Data)から画像データDataを取り出す。なお、ステップS34〜S36の動作は、ユニット間でCPU BUSを介した画像データDataの受け渡しがない以外は、第2の実施形態において既に説明したステップS20〜S22(すなわち、第1の実施形態において既に説明したステップS6〜S8)と同様である。 After obtaining the first session key S K, at step S34~S36 as described above, by using the first session key S K, the image data Data from the encrypted image data E SK (Data) Take out. The operations in steps S34 to S36 are the same as those in steps S20 to S22 (that is, in the first embodiment) already described in the second embodiment, except that image data Data is not transferred between the units via the CPU BUS. This is the same as steps S6 to S8) already described.

そして、前述したように、画像データDataは、MPEGデコーダ回路115でデコードされ、D/A変換回路116でアナログ信号に変換されるなどして、図示しないテレビなどの映像装置に送られ、再生される。   As described above, the image data Data is decoded by the MPEG decoder circuit 115, converted into an analog signal by the D / A conversion circuit 116, and sent to a video device such as a television (not shown) for reproduction. The

なお、この方法3の場合においても、上記のステップS31と、ステップS32とは、いずれを先に実行しても構わない。   In the case of this method 3, either step S31 or step S32 may be executed first.

また、(方法2)および(方法3〜5)の場合において、ステップS32、S33を、DVDに記録されたn個(方法2,3,5の場合)あるいはm個(方法4の場合)の(暗号化された)マスターキーを一括してバッチ的に行っても良いが、所定数個のマスターキーごとにバッチ的に行っても良いし、1つのマスターキーごとに逐次行っても良い。   In the case of (Method 2) and (Method 3 to 5), the steps S32 and S33 are performed for n (in the case of methods 2, 3, and 5) or m (in the case of method 4) recorded on the DVD. The (encrypted) master keys may be performed batchwise, but may be performed batchwise for each predetermined number of master keys, or may be performed sequentially for each master key.

また、ステップS34とステップS35の実行については、1つのESK(Data)の単位で逐次行う方法、あるいはステップS20で所定数のESK(Data)を読み込み、一旦バッファなどへ格納し、次にステップS21でバッファ内のESK(Data)を復号する方法、あるいはステップS20とステップS21をパイプライン処理的に行う方法などが考えられる。 As for execution of step S34 and step S35, a method of sequentially performing in units of one E SK (Data), or a predetermined number of E SK (Data) is read in step S20, temporarily stored in a buffer, etc. A method of decoding E SK (Data) in the buffer in step S21 or a method of performing steps S20 and S21 in a pipeline process is conceivable.

また、復号化ユニット114からMPEGデコーダ回路115に画像データESK(Data)を渡す際に、1つのDataの単位で渡しても良いし、所定数のDataの単位で渡しても良い。 Further, when the image data E SK (Data) is transferred from the decoding unit 114 to the MPEG decoder circuit 115, it may be transferred in units of one Data or in units of a predetermined number of Data.

本実施形態によれば、不正なコピーにより、メディアを販売する不法な行為を防止し、著作権を守ることができる。   According to the present embodiment, illegal copying of media can be prevented by illegal copying, and copyright can be protected.

また、本実施形態によれば、DVDなどへの記録の際に予め定められた範囲内で適宜マスターキーを選択して使用することが可能となる。あるいは、DVDプレーヤーのメーカまたはDVDの制作・販売会社などの所定の単位ごとに使用可能なマスターキーを割り当てて使用することができるなどの利点がある。   Further, according to the present embodiment, it is possible to appropriately select and use a master key within a predetermined range when recording on a DVD or the like. Alternatively, there is an advantage that a master key that can be used for each predetermined unit such as a DVD player manufacturer or a DVD production / sales company can be assigned and used.

また、本実施形態では、暗号化および復号化に用いる回路は、図1から解るようにDVDなどのディジタル記録再生機器の再生部分のコアとなる個所とは別に設計できるため、たとえ暗号が破られたとしても、復号化ユニット114bを交換するだけで良い。   In this embodiment, the circuit used for encryption and decryption can be designed separately from the core of the playback portion of a digital recording / playback device such as a DVD as can be seen from FIG. Even so, it is only necessary to replace the decoding unit 114b.

なお、本実施形態では、復号化ユニット114bは1つの復号化回路を持つものとしたが、2または3つの復号化回路として設けても良い。これらの場合、対応する暗号化回路と復号化回路をセットで独立化しあるいは共用するのが好ましい。   In the present embodiment, the decoding unit 114b has one decoding circuit, but may be provided as two or three decoding circuits. In these cases, it is preferable to make the corresponding encryption circuit and decryption circuit independent or shared in a set.

また、対応する暗号化回路と復号化回路をセットで独立化する場合、独立化した対応する暗号化回路および復号化回路では、他の暗号化回路および復号化回路とは異なる暗号方式を採用しても構わない。   In addition, when the corresponding encryption circuit and decryption circuit are made independent as a set, the corresponding encryption circuit and decryption circuit that are made independent adopt a different encryption method from other encryption circuits and decryption circuits. It doesn't matter.

以上、第1の実施形態、第2の実施形態(より詳しくは3種類の構成)、第3の実施形態(より詳しくは3種類の構成)について夫々説明してきたが、本発明はこれらに限定されず種々変形して実施することができる。   The first embodiment, the second embodiment (more specifically, three types of configurations), and the third embodiment (more specifically, three types of configurations) have been described above, but the present invention is limited to these. However, various modifications can be made.

各実施形態では、情報の記録媒体をDVDとして説明したが、本発明は、CD−ROM等他の記録媒体にも適用可能である。   In each embodiment, the information recording medium is described as a DVD. However, the present invention can also be applied to other recording media such as a CD-ROM.

各実施形態では、復号対象となる情報として画像データを例にとって説明したが、本発明は、音声、テキスト、プログラムなど、他の形態の情報の再生装置等にも適用可能である。   In each embodiment, image data has been described as an example of information to be decoded. However, the present invention can also be applied to a reproducing apparatus for information in other forms such as voice, text, and a program.

なお、各実施形態では、データDataを画像データとしたが、データDataを鍵情報Sktとする構成も考えられる。すなわち、DVD等の記録媒体に、ESK(Data)の代わりに、ESK(Skt)とESkt (Data)を記録しておき、復号化ユニット114,114a,114bにおいて各実施形態で示した手順により、まずSktを得て、このSktでESkt (Data)を復号して実際のコンテンツを得るようにすることもできる。また、このような鍵の階層化は、任意の階層に渡って行うことができる。 In each embodiment, the data Data is image data, but a configuration in which the data Data is key information Skt is also conceivable. That is, on a recording medium such as a DVD, in place of E SK (Data), note of the E SK (S kt) and E Skt (Data), shows the decoding unit 114 and 114a, in 114b in each of the embodiments According to the above procedure, S kt can be obtained first, and E Skt (Data) can be decrypted with this S kt to obtain the actual content. Such key hierarchization can be performed over an arbitrary hierarchy.

各実施形態では、復号対象となる情報がMPEG2という規格に従って圧縮されている場合を例にとって説明したが、本発明はこれに限定されず、他の規格によってデータ圧縮あるいは符号化等されていても構わない。この場合、MPEGデコーダ回路115の代わりに、他の対応するデコーダ回路を設ける。また、符号化等されていないものであっても構わない。この場合、MPEGデコーダ回路115を削除する。   In each embodiment, the case where the information to be decoded is compressed according to the MPEG2 standard has been described as an example. However, the present invention is not limited to this, and the data may be compressed or encoded according to other standards. I do not care. In this case, another corresponding decoder circuit is provided instead of the MPEG decoder circuit 115. Further, it may not be encoded. In this case, the MPEG decoder circuit 115 is deleted.

また、種々の方式で圧縮等されたデータ(あるいは復号の必要ないデータ)のいずれも出力できるように、複数種類のデコード回路等を設け、これを適宜切替て使用し(あるいはこれらを使用しないように)構成することも可能である。この場合、例えば、DVD等の記録媒体から使用すべきデコード等を示す識別子を読み込む、この識別子に従って適切なデコード回路等を選択等する方法が考えられる。   In addition, a plurality of types of decoding circuits are provided so that any of the data compressed by various methods (or data that does not need to be decoded) can be output, and these are used by switching appropriately (or not using them). It is also possible to configure. In this case, for example, a method of reading an identifier indicating a decoding to be used from a recording medium such as a DVD and selecting an appropriate decoding circuit or the like according to the identifier is conceivable.

第2の実施形態および第3の実施形態にて示した図6の鍵判定回路120の構成は一例であり、この他にも種々の構成が考えられる。   The configuration of the key determination circuit 120 of FIG. 6 shown in the second embodiment and the third embodiment is an example, and various other configurations can be considered.

さらに、鍵判定用情報としてESK(SK )を用いる構成は、この他にも種々のものが考えられる。例えば、鍵判定に用いる情報としてDSK(SK )を用い、鍵判定回路120では、DVD等の記録媒体から読み込んだEMki (SK )を記憶されたマスターキーMkjで復号してSkij =DMkj (EMki (SK ))を得て、このSkij をSkij 自身で復号してSk ′′′=DSkij(Skij )を得て、次に、このSk ′′とDVD等の記録媒体から読み込んだDSK(SK )を比較し、一致した場合、第1のセッションキーSK =Skij は正しいものと判定して出力する。 Further, various other configurations for using E SK (S K ) as key determination information are conceivable. For example, D SK (S K ) is used as information used for key determination, and the key determination circuit 120 decrypts E Mki (S K ) read from a recording medium such as a DVD by using the stored master key M kj. kij = D Mkj (E Mki (S K )) is obtained, and this S kij is decoded by S kij itself to obtain S k ″ ′ = D Skij (S kij ). Next, this S k ′ ′ And D SK (S K ) read from a recording medium such as a DVD are compared. If they match, the first session key S K = S kij is determined to be correct and output.

また、鍵判定用情報の他の例として、2回以上暗号化または復号を行ったもの、例えば、ESK(ESK(SK ))、DSK(DSK(SK ))、あるいは各EMki (SK )に対応してEMki (EMki (SK ))を設けるものなど種々のものが考えられる。 In addition, as another example of the key determination information, information obtained by performing encryption or decryption twice or more, for example, E SK (E SK (S K )), D SK (D SK (S K )), or each various things can be considered such as those corresponding to E Mki (S K) providing the E Mki (E Mki (S K )).

また、各実施形態では、鍵判定用情報をもとに(方法1)〜(方法5)で示した手順を用いて、復号により得られた鍵が第1のセッションキーが正しいものであることを判定したが、DVD等の記録媒体にiの順番ですべてのEMki (SK )を記録しておき、復号ユニットにはiとMkiを対応付けて登録しておくことにより、鍵判定用情報、鍵判定手順、そのための構成を省略することができる。なお、あるiについてのMkiが使用不可となった場合には、DVD等の記録媒体にEMki (SK )の代わりに無効を示す情報を格納するのが望ましい。 In each embodiment, the key obtained by decryption using the procedure shown in (Method 1) to (Method 5) based on the key determination information is that the first session key is correct. However, by recording all E Mki (S K ) in the order of i on a recording medium such as a DVD and registering i and M ki in association with each other in the decryption unit, key determination is performed. Information, a key determination procedure, and a configuration therefor can be omitted. When M ki for a certain i becomes unusable, it is desirable to store information indicating invalidity instead of E Mki (S K ) in a recording medium such as a DVD.

次に、図11を参照しながら、DVD−ROMを例に取り上げ、上記した第3の実施形態を用いたディスクメーカ(映画、音楽等の著作物のDVDを制作するメーカとする)とプレーヤメーカ(単体のDVDプレーヤのメーカとする)とマスターキーを管理する鍵管理組織による鍵の管理方法等について説明する。なお、Dataは、コンテンツの他に、前述したように鍵情報である場合もある(Dataが鍵情報Sktである場合のこの鍵情報Sktを用いた暗号化や復号等についての説明は省略する)。なお、図11において、処理等に用いる計算機等については省略してある。 Next, referring to FIG. 11, a DVD-ROM is taken as an example, and a disc manufacturer (assuming a manufacturer that produces DVDs of works such as movies and music) and a player manufacturer using the above-described third embodiment. (A single DVD player manufacturer) and a key management method by a key management organization that manages a master key will be described. In addition to content, Data may be key information as described above (the description of encryption, decryption, etc. using this key information Skt when Data is key information Skt is omitted). To do). In FIG. 11, a computer used for processing or the like is omitted.

また、図12には暗号化のためのシステムに関して説明するための図を示す。図12の暗号化回路301,312,303は、同一の装置(計算機等)上に搭載される場合と、異なる装置(計算機等)上に搭載される場合があり、後者の場合には、装置間で情報の受け渡しが行われる。また、暗号化回路301,312,303は、ハードウェアで構成することも、ソフトウェアで構成することも可能である。   FIG. 12 is a diagram for explaining a system for encryption. The encryption circuits 301, 312, and 303 in FIG. 12 may be mounted on the same device (computer or the like) or on a different device (computer or the like). In the latter case, the device Information is exchanged between them. The encryption circuits 301, 312, and 303 can be configured by hardware or software.

ここでは、上記した(方法3)のDVDにはi=1〜nのすべてに対応するn個のマスターキーEMKi (SK )を記録し、DVDプレーヤ(復号化ユニット114b)内にはjを1〜nのうちから予め選択されたm(2<m<n)種類のものとするm個のマスターキーMkjを備える場合について説明する。なお、DVDプレーヤメーカにはマスターキーMkjを排他的に割り当てるものとする。また、ここでは、n=100、m=10とする。 Here, n master keys E MKi (S K ) corresponding to all of i = 1 to n are recorded on the DVD of (Method 3) described above, and j is stored in the DVD player (decoding unit 114b). A case will be described in which m master keys M kj having m (2 <m <n) types selected in advance from 1 to n are provided. Note that the master key M kj is exclusively assigned to the DVD player manufacturer. Here, n = 100 and m = 10.

また、ここでは、鍵判定用情報として、DVDにはESK(SK )を記録する方法を用いるものとする(図12の302の部分は、鍵判定用情報をESK(SK )とした場合のものである)。 Also, here, a method of recording E SK (S K ) on the DVD is used as the key determination information (the portion 302 in FIG. 12 indicates the key determination information as E SK (S K ). Is the case).

まず、鍵管理組織200では、マスターキーMKi(i=1〜100)を保管している。マスターキーに数は、プレーヤメーカの新規参入や破られた場合の予備等のために、余分に設定しておくのが望ましい。 First, the key management organization 200 stores the master key M Ki (i = 1 to 100). It is desirable to set an extra number for the master key in order to make a new entry for a player maker or for a backup in the event of a break.

鍵管理組織200では、各プレーヤメーカ201〜203に、排他的にマスターキーMKi(i=1〜100)を割り当てる。例えば、図11のように、プレーヤメーカAにマスターキーMKi(i=10〜19)を、プレーヤメーカBにマスターキーMKi(i=20〜29)を、プレーヤメーカCにマスターキーMKi(i=30〜39)を割り当てる。鍵管理組織200(の計算機等)から各プレーヤメーカ(の計算機等)には、割り当てたマスターキーを通信媒体あるいは記録媒体等により送付する。その際、暗号通信等を用いて安全に受け渡しするのが望ましい。 In the key management organization 200, a master key M Ki (i = 1 to 100) is exclusively assigned to each player maker 201 to 203. For example, as shown in FIG. 11, the master key to the player maker A M Ki (i = 10~19) and the master key M Ki (i = 20~29) to the player manufacturer B, the master key to the player manufacturer C M Ki (I = 30 to 39) is assigned. The assigned master key is sent from the key management organization 200 (computer, etc.) to each player maker (computer, etc.) via a communication medium or a recording medium. At that time, it is desirable to securely deliver the data using encryption communication or the like.

各プレーヤメーカは、個別に、鍵管理組織200から割り当てられたマスターキーを管理する。そして、各プレーヤメーカは、この割り当てられたマスターキーを用いて、第3の実施形態で示したような構成を有するDVDプレーヤを製造して販売する。   Each player maker individually manages a master key assigned from the key management organization 200. Each player maker uses the assigned master key to manufacture and sell a DVD player having the configuration shown in the third embodiment.

一方、ここでは、鍵管理組織200からディスクメーカ221〜223へは、マスターキーのプレインデータは渡さないようにするものとする。   On the other hand, here, it is assumed that the master key plain data is not passed from the key management organization 200 to the disk makers 221 to 223.

まず、各ディスクメーカ(aとする)は、自身で第1のセッションキーSk を決め(例えばディスク毎に決め)、第1のセッションキーSk を鍵管理組織200に渡す。鍵管理組織200は、受け取った第1のセッションキーSk を全てのマスターキーMKi(i=1〜100)でそれぞれ暗号化してEMki (SK )、 (i=1〜100)を得る(図12の暗号化回路301を用いる)。そして、鍵管理組織200は、EMki (SK )、(i=1〜100)を、ディスクメーカaに渡す。 First, each disk manufacturer (referred to as “a”) determines the first session key S k by itself (for example, determined for each disk), and passes the first session key S k to the key management organization 200. The key management organization 200 encrypts the received first session key S k with all the master keys M Ki (i = 1 to 100) to obtain E Mki (S K ) and (i = 1 to 100). (The encryption circuit 301 in FIG. 12 is used). Then, the key management organization 200 passes E Mki (S K ), (i = 1 to 100) to the disk manufacturer a.

鍵管理組織200(の計算機等)とディスクメーカ(の計算機等)との間での情報の受け渡しも、上記と同様に、割り当てたマスターキーを通信媒体あるいは記録媒体等にて暗号通信等を用いて安全に行うのが望ましい。   In the same manner as described above, information is exchanged between the key management organization 200 (computer, etc.) and the disk manufacturer (computer, etc.) using the assigned master key using a communication medium or a recording medium, etc. It is desirable to do it safely.

ディスクメーカaでは、EMki (SK )、(i=1〜100)と、ESK(SK )と、ESK(Data))とをDVD231に記録して販売する。なお、SK 自身でSK を暗号化してESK(SK )を得る操作は、ディスクメーカ側で行う方法と、マスターキーによる暗号化と同様に鍵管理組織200側で行う方法とがある(図12の暗号化回路312を用いる)。また、少なくとも、コンテンツの暗号化はディスクメーカにて行うものとする(図12の暗号化回路303を用いる)。 In the disk manufacturer a, E Mki (S K ), (i = 1 to 100), E SK (S K ), and E SK (Data)) are recorded on the DVD 231 and sold. The operation to obtain the E SK to encrypt the S K with S K itself (S K) is a method of performing a disk maker side, and a method of performing encryption as well as key management organization 200 side by the master key (The encryption circuit 312 of FIG. 12 is used). Further, at least the content is encrypted by the disc manufacturer (using the encryption circuit 303 in FIG. 12).

ディスクメーカaでは、例えば、SK について、受け取ったEMki (SK )と鍵判定用情報であるESK(SK )とESK(Data)(あるいはData)について管理する。 In the disk maker a, for example, the S K, manages the received E Mki (S K) and E SK is the key judgment information (S K) and E SK (Data) (or Data).

他のディスクメーカについても同様である。   The same applies to other disk manufacturers.

なお、万一、マスターキーが破られたことが発覚した場合、それ以降、その破られたマスターキーを用いずに、DVDを制作するようにする。例えば、i=19のマスターキーが破られた場合、DVDには、i=1〜18、20〜100の99個に対応するEMki (SK )が記録される。 If it is discovered that the master key has been broken, DVDs will be produced without using the broken master key. For example, when the master key of i = 19 is broken, E Mki (S K ) corresponding to 99 pieces of i = 1 to 18, 20 to 100 is recorded on the DVD.

また、マスターキーが破られたことが発覚した場合、それ以降、その破られたマスターキーが割り当てられているプレーヤメーカでは、これを除いてDVDプレーヤを製造して販売するようにするのが望ましい。例えば、i=19のマスターキーが破られた場合、プレーヤメーカAは、i=10〜18のマスターキーを用いてDVDプレーヤを製造して販売する。   Further, when it is discovered that the master key has been broken, it is desirable that the player manufacturer to which the broken master key is assigned thereafter manufactures and sells the DVD player except this. . For example, when the master key of i = 19 is broken, the player manufacturer A manufactures and sells a DVD player using the master key of i = 10-18.

また、既に販売されたi=19のマスターキーを持つてDVDプレーヤについては、そのまま使用しても構わない。ただし、ユニット交換等によってi=19のマスターキーを持たないようにしてもよい。   Further, a DVD player having an i = 19 master key already sold may be used as it is. However, the master key of i = 19 may not be provided by unit replacement or the like.

従って、マスターキーを安全かつ有効に管理できるとともに、不正なマスターキー解読に対するリスクを分散し、マスターキー解読後も上記システムが安全かつ有効に機能するようにすることができる。   Accordingly, it is possible to manage the master key safely and effectively, distribute the risk of unauthorized master key decryption, and allow the system to function safely and effectively even after master key decryption.

本発明は、上述した実施の形態に限定されるものではなく、その技術的範囲において種々変形して実施することができる。   The present invention is not limited to the embodiment described above, and can be implemented with various modifications within the technical scope thereof.

本発明の第1の実施形態に係るシステムの構成を示すブロック図The block diagram which shows the structure of the system which concerns on the 1st Embodiment of this invention. 同実施形態の動作を示すフローチャートA flowchart showing the operation of the embodiment 記録媒体に暗号化された鍵と暗号化されたデータを格納する形式の一例を示す図The figure which shows an example of the format which stores the encryption key and the encryption data in a recording medium CPU BUSからデータを保存した場合について説明するための図The figure for demonstrating the case where data is preserve | saved from CPUBUS. 本発明の第2の実施形態に係るシステムの構成を示すブロック図The block diagram which shows the structure of the system which concerns on the 2nd Embodiment of this invention. 鍵判定部の内部構成の例を示す図The figure which shows the example of an internal structure of a key determination part 同実施形態の動作を示すフローチャートA flowchart showing the operation of the embodiment 同実施形態の動作を示すフローチャートA flowchart showing the operation of the embodiment 本発明の第3の実施形態に係るシステムの構成を示すブロック図The block diagram which shows the structure of the system which concerns on the 3rd Embodiment of this invention. 同実施形態の動作を示すフローチャートA flowchart showing the operation of the embodiment 鍵の管理方法について説明するための図Illustration for explaining the key management method 暗号化について説明するための図Diagram for explaining encryption

符号の説明Explanation of symbols

101…DVD、102,202…マスターキーを用いて暗号化された第1のセッションキー、103,203…第1のセッションキーを用いて暗号化された画像データ、104…暗号化回路、105…マスターキー、106…第2のセッションキー、107…暗号化ユニット、108…マスターキーを用いて復号された第2のセッションキー、109…第2のセッションキーを用いて暗号化された、マスターキーを用いて暗号化された第1のセッションキー、110…CPU BUS、111…セッションキー生成回路、112…復号化回路、113…第1のセッションキー、114,114a,114b…復号化ユニット、115…MPEGデコーダ回路、116…ディジタル/アナログ変換回路、209…DVDの読み出し出力から別の媒体にコピーするための線、210…CPU BUSから別の媒体にコピーするための線、211…ディジタル記憶媒体、200…鍵管理組織
201〜203…プレーヤメーカ、221〜223…ディスクメーカ、231〜233…DVD、301,312,303…暗号化回路
101 ... DVD, 102, 202 ... first session key encrypted using a master key, 103, 203 ... image data encrypted using the first session key, 104 ... encryption circuit, 105 ... Master key, 106 ... second session key, 107 ... encryption unit, 108 ... second session key decrypted using the master key, 109 ... master key encrypted using the second session key 110 ... CPU BUS, 111 ... session key generation circuit, 112 ... decryption circuit, 113 ... first session key, 114, 114a, 114b ... decryption unit, 115 ... MPEG decoder circuit, 116 ... Digital / analog conversion circuit, 209 ... Line for copying to medium, 210 ... Line for copying from CPU BUS to another medium, 211 ... Digital storage medium, 200 ... Key management organization 201-203 ... Player manufacturer, 221-223 ... Disk manufacturer, 231- 233 ... DVD, 301, 312, 303 ... encryption circuit

Claims (12)

第1の鍵でデータを暗号化する第1の暗号化手段と、
前記第1の鍵を予め定められた複数の第2の鍵でそれぞれ暗号化する第2の暗号化手段と、
前記第1の鍵を前記第1の鍵自身で暗号化する第3の暗号化手段と、
前記第1の暗号化手段により生成された前記第1の鍵で暗号化されたデータと、前記第2の暗号化手段により生成された前記複数の第2の鍵でそれぞれ暗号化された複数の第1の鍵と、前記第3の暗号化手段により生成された前記第1の鍵自身で暗号化された第1の鍵とを記録媒体へ記録する記録手段とを備えたことを特徴とする暗号化装置。
A first encryption means for encrypting data with a first key;
Second encryption means for respectively encrypting the first key with a plurality of predetermined second keys;
Third encryption means for encrypting the first key with the first key itself;
A plurality of data encrypted with the first key generated by the first encryption means and a plurality of data encrypted with the plurality of second keys generated by the second encryption means. And a recording means for recording the first key and the first key encrypted by the first key generated by the third encryption means on a recording medium. Encryption device.
前記記録手段は、前記第1の鍵で暗号化されたデータを、前記記録媒体のデータエリア部に記録し、前記複数の第2の鍵でそれぞれ暗号化された複数の第1の鍵及び前記第1の鍵自身で暗号化された第1の鍵を前記記録媒体のリードインエリア部に記録することを特徴とする請求項1に記載の暗号化装置。   The recording means records data encrypted with the first key in a data area part of the recording medium, and a plurality of first keys encrypted with the plurality of second keys, 2. The encryption apparatus according to claim 1, wherein the first key encrypted with the first key itself is recorded in a lead-in area portion of the recording medium. 第3の鍵でデータを暗号化する第1の暗号化手段と、
第1の鍵で前記第3の鍵を暗号化する第2の暗号化手段と、
前記第1の鍵を予め定められた複数の第2の鍵でそれぞれ暗号化する第3の暗号化手段と、
前記第1の鍵を前記第1の鍵自身で暗号化する第4の暗号化手段と、
前記第1の暗号化手段により生成された前記第3の鍵で暗号化されたデータと、前記第2の暗号化手段により生成された前記第1の鍵で暗号化された第3の鍵と、前記第3の暗号化手段により生成された前記複数の第2の鍵でそれぞれ暗号化された複数の第1の鍵と、前記第4の暗号化手段により生成された前記第1の鍵自身で暗号化された第1の鍵とを記録媒体へ記録する記録手段とを備えたことを特徴とする暗号化装置。
A first encryption means for encrypting data with a third key;
Second encryption means for encrypting the third key with a first key;
Third encryption means for encrypting each of the first keys with a plurality of predetermined second keys;
A fourth encryption means for encrypting the first key with the first key itself;
Data encrypted with the third key generated by the first encryption means, and a third key encrypted with the first key generated by the second encryption means; A plurality of first keys respectively encrypted with the plurality of second keys generated by the third encryption means, and the first key itself generated by the fourth encryption means An encryption apparatus comprising: recording means for recording the first key encrypted in step 1 on a recording medium.
前記記録手段は、前記第3の鍵で暗号化されたデータを、前記記録媒体のデータエリア部に記録し、前記第1の鍵で暗号化された前記第3の鍵と、前記複数の第2の鍵でそれぞれ暗号化された複数の第1の鍵及び前記第1の鍵自身で暗号化された第1の鍵を前記記録媒体のリードインエリア部に記録することを特徴とする請求項3に記載の暗号化装置。   The recording means records data encrypted with the third key in a data area portion of the recording medium, the third key encrypted with the first key, and the plurality of second keys. A plurality of first keys each encrypted with two keys and a first key encrypted with the first key itself are recorded in a lead-in area portion of the recording medium. 4. The encryption device according to 3. 前記データは、映像又は音楽のコンテンツであり、前記記録媒体はDVDであることを特徴とする請求項1ないし4のいずれか1項に記載の暗号化装置。   5. The encryption apparatus according to claim 1, wherein the data is video or music content, and the recording medium is a DVD. 第1の鍵で暗号化されたMPEG2データ並びに予め定められた2以上の第2の鍵でそれぞれ暗号化された第1の鍵及び第1の鍵自身で暗号化された第1の鍵が記録されたメディアから読み出された、該予め定められた2以上の第2の鍵でそれぞれ暗号化された第1の鍵及び該第1の鍵自身で暗号化された第1の鍵並びに自装置内に外部から取り出せないように記録されている第2の鍵を用いて、所定の方法で該第1の鍵を復号化する第1の復号化手段と、
前記メディアから読み出された、前記第1の鍵で暗号化されたMPEG2データを、前記第1の復号化手段から入力される復号化された前記第1の鍵によって復号化する第2の復号化手段と、
この第2の復号化手段により復号化された前記MPEG2データをデコードするMPEG2デコーダ手段とを備え、
前記第1の復号化手段は、前記所定の方法で前記第1の鍵を復号化するにあたって、前記予め定められた2以上の第2の鍵でそれぞれ暗号化された第1の鍵の一つを、前記自装置内に外部から取り出せないように記録されている第2の鍵で復号化し、これにより得られる第1の鍵の候補と、前記第1の鍵自身で暗号化された第1の鍵のもととなった第1の鍵とが一致するか否かを判定することを、該判定において該一致が得られるまで、該第2の鍵で暗号化された第1の鍵を替えながら繰り返し行い、該判定において該一致が得られた場合に、該判定がなされた当該第1の鍵の候補、又は、前記第1の鍵自身で暗号化された第1の鍵を当該第1の鍵の候補で復号化して得られる第1の鍵を出力するものであり、
前記第1の復号化手段は、前記判定として、前記第1の鍵の候補の値と、前記第1の鍵自身で暗号化された第1の鍵を該第1の鍵の候補で復号化して得た値とが一致するか否かの判定、又は、該第1の鍵の候補を該第1の鍵の候補自身で暗号化して得た値と、前記第1の鍵自身で暗号化された第1の鍵の値とが一致するか否かの判定を行うものであることを特徴とする情報再生装置。
MPEG2 data encrypted with the first key, a first key encrypted with two or more predetermined second keys, and a first key encrypted with the first key itself are recorded. Read from the read medium, the first key encrypted with the two or more predetermined second keys, the first key encrypted with the first key itself, and the own device First decryption means for decrypting the first key by a predetermined method using the second key recorded so that it cannot be taken out from the inside;
Second decryption for decrypting the MPEG2 data encrypted with the first key read from the medium with the decrypted first key input from the first decryption means And
E Bei and MPEG2 decoder means for decoding the MPEG2 data decoded by the second decoding means,
The first decryption means, when decrypting the first key by the predetermined method, is one of the first keys respectively encrypted with the two or more predetermined second keys. Is decrypted with the second key recorded in the device so as not to be taken out from the outside, and the first key candidate obtained thereby and the first key encrypted with the first key itself are encrypted. Determining whether or not the first key that is the source of the key matches the first key encrypted with the second key until the match is obtained in the determination. If the match is obtained in the determination, the first key candidate for which the determination has been made or the first key encrypted with the first key itself is used as the first key. Output the first key obtained by decrypting with one key candidate,
The first decryption means decrypts the first key candidate value and the first key encrypted with the first key itself as the determination by using the first key candidate. Whether or not the obtained value matches, or the value obtained by encrypting the first key candidate with the first key candidate and the first key itself It has been first key value and the information reproducing apparatus according to claim and this is what is to determine whether or not to match.
第1の暗号化手段、第2の暗号化手段、第3の暗号化手段及び記録手段を備えた暗号化装置における暗号化方法であって、
前記第1の暗号化手段により、第1の鍵でデータを暗号化する第1のステップと、
前記第2の暗号化手段により、前記第1の鍵を予め定められた複数の第2の鍵でそれぞれ暗号化する第2のステップと、
前記第3の暗号化手段により、前記第1の鍵を前記第1の鍵自身で暗号化する第3のステップと、
前記記録手段により、前記第1のステップにおいて生成された前記第1の鍵で暗号化されたデータと、前記第2のステップにおいて生成された前記複数の第2の鍵でそれぞれ暗号化された複数の第1の鍵と、前記第3のステップにおいて生成された前記第1の鍵自身で暗号化された第1の鍵とを記録媒体へ記録する第4のステップとを有することを特徴とする暗号化方法。
An encryption method in an encryption device comprising a first encryption means, a second encryption means, a third encryption means, and a recording means,
A first step of encrypting data with a first key by the first encryption means;
A second step of encrypting the first key with a plurality of predetermined second keys by the second encryption means;
A third step of encrypting the first key with the first key itself by the third encryption means;
A plurality of data encrypted by the recording means using the first key generated in the first step and a plurality of data encrypted using the plurality of second keys generated in the second step. And a fourth step of recording the first key encrypted with the first key itself generated in the third step onto a recording medium. Encryption method.
前記第4のステップでは、前記記録手段は、前記第1の鍵で暗号化されたデータを、前記記録媒体のデータエリア部に記録し、前記複数の第2の鍵でそれぞれ暗号化された複数の第1の鍵及び前記第1の鍵自身で暗号化された第1の鍵を前記記録媒体のリードインエリア部に記録することを特徴とする請求項7に記載の暗号化方法。   In the fourth step, the recording means records the data encrypted with the first key in a data area part of the recording medium, and a plurality of data encrypted with the plurality of second keys, respectively. The encryption method according to claim 7, wherein the first key encrypted by the first key and the first key encrypted by the first key itself are recorded in a lead-in area portion of the recording medium. 第1の暗号化手段、第2の暗号化手段、第3の暗号化手段、第4の暗号化手段及び記録手段を備えた暗号化装置における暗号化方法であって、
前記第1の暗号化手段により、第3の鍵でデータを暗号化する第1のステップと、
前記第2の暗号化手段により、第1の鍵で前記第3の鍵を暗号化する第2のステップと、
前記第3の暗号化手段により、前記第1の鍵を予め定められた複数の第3の鍵でそれぞれ暗号化する第2のステップと、
前記第4の暗号化手段により、前記第1の鍵を前記第1の鍵自身で暗号化する第4のステップと、
前記記録手段により、前記第1のステップにおいて生成された前記第3の鍵で暗号化されたデータと、前記第2のステップにおいて生成された前記第1の鍵で暗号化された第3の鍵と、前記第3のステップにおいて生成された前記複数の第2の鍵でそれぞれ暗号化された複数の第1の鍵と、前記第4のステップにおいて生成された前記第1の鍵自身で暗号化された第1の鍵とを記録媒体へ記録する第5のステップとを有することを特徴とする暗号化方法。
An encryption method in an encryption device comprising a first encryption means, a second encryption means, a third encryption means, a fourth encryption means, and a recording means,
A first step of encrypting data with a third key by the first encryption means;
A second step of encrypting the third key with the first key by the second encryption means;
A second step of encrypting the first key with a plurality of predetermined third keys by the third encryption means;
A fourth step of encrypting the first key with the first key itself by the fourth encryption means;
The recording means encrypts the data encrypted with the third key generated in the first step and the third key encrypted with the first key generated in the second step. And a plurality of first keys respectively encrypted with the plurality of second keys generated in the third step and the first key itself generated in the fourth step And a fifth step of recording the recorded first key on a recording medium.
前記第5のステップでは、前記記録手段は、前記記録手段前記第3の鍵で暗号化されたデータを、前記記録媒体のデータエリア部に記録し、前記第1の鍵で暗号化された前記第3の鍵と、前記複数の第2の鍵でそれぞれ暗号化された複数の第1の鍵及び前記第1の鍵自身で暗号化された第1の鍵を前記記録媒体のリードインエリア部に記録することを特徴とする請求項9に記載の暗号化方法。   In the fifth step, the recording means records the data encrypted with the third key in the recording means in a data area part of the recording medium, and the encrypted with the first key. A lead-in area portion of the recording medium includes a third key, a plurality of first keys encrypted with the plurality of second keys, and a first key encrypted with the first key itself. The encryption method according to claim 9, wherein the encryption method is recorded. 前記データは、映像又は音楽のコンテンツであり、前記記録媒体はDVDであることを特徴とする請求項7ないし10のいずれか1項に記載の暗号化方法。   The encryption method according to any one of claims 7 to 10, wherein the data is video or music content, and the recording medium is a DVD. 第1の復号化手段、第2の復号化手段及びMPEG2デコーダ手段を備えた情報再生装置における情報再生方法であって、
前記第1の復号化手段により、第1の鍵で暗号化されたMPEG2データ並びに予め定められた2以上の第2の鍵でそれぞれ暗号化された第1の鍵及び第1の鍵自身で暗号化された第1の鍵が記録されたメディアから読み出された、該予め定められた2以上の第2の鍵でそれぞれ暗号化された第1の鍵及び該第1の鍵自身で暗号化された第1の鍵並びに自装置内に外部から取り出せないように記録されている第2の鍵を用いて、所定の方法で該第1の鍵を復号化する第1のステップと、
前記第2の復号化手段により、前記メディアから読み出された、前記第1の鍵で暗号化されたMPEG2データを、前記第1の復号化手段から入力される復号化された前記第1の鍵によって復号化する第2のステップと、
前記MPEG2デコーダ手段により、前記第2の復号化手段により復号化された前記MPEG2データをデコードする第3のステップとを有し、
前記第1のステップでは、前記第1の復号化手段は、前記所定の方法で前記第1の鍵を復号化するにあたって、前記予め定められた2以上の第2の鍵でそれぞれ暗号化された第1の鍵の一つを、前記自装置内に外部から取り出せないように記録されている第2の鍵で復号化し、これにより得られる第1の鍵の候補と、前記第1の鍵自身で暗号化された第1の鍵のもととなった第1の鍵とが一致するか否かを判定することを、該判定において該一致が得られるまで、該第2の鍵で暗号化された第1の鍵を替えながら繰り返し行い、該判定において該一致が得られた場合に、該判定がなされた当該第1の鍵の候補、又は、前記第1の鍵自身で暗号化された第1の鍵を当該第1の鍵の候補で復号化して得られる第1の鍵を出力するものであり、
前記第1のステップでは、前記第1の復号化手段は、前記判定として、前記第1の鍵の候補の値と、前記第1の鍵自身で暗号化された第1の鍵を該第1の鍵の候補で復号化して得た値とが一致するか否かの判定、又は、該第1の鍵の候補を該第1の鍵の候補自身で暗号化して得た値と、前記第1の鍵自身で暗号化された第1の鍵の値とが一致するか否かの判定を行うものであることを特徴とする情報再生方法。
An information reproduction method in an information reproduction apparatus comprising a first decoding means, a second decoding means and an MPEG2 decoder means,
The first decryption means encrypts the MPEG2 data encrypted with the first key, the first key encrypted with two or more predetermined second keys, and the first key itself. The first key that is read from the medium on which the first key is recorded and encrypted with the two or more predetermined second keys and encrypted with the first key itself A first step of decrypting the first key by a predetermined method using the first key thus recorded and the second key recorded so as not to be taken out from the outside in the device;
MPEG2 data encrypted with the first key read from the medium by the second decryption means is input to the first decrypted MPEG2 data input from the first decryption means. A second step of decrypting with a key;
A third step of decoding the MPEG2 data decoded by the second decoding means by the MPEG2 decoder means ;
In the first step, the first decryption means is encrypted with the two or more predetermined second keys when decrypting the first key by the predetermined method. One of the first keys is decrypted with the second key recorded in the device so as not to be taken out from the outside, and the first key candidate obtained thereby and the first key itself Determining whether or not the first key that is the source of the first key encrypted in step 1 matches is encrypted with the second key until the match is obtained in the determination. When the match is obtained in the determination, the first key candidate that has been determined or the first key itself is encrypted. Outputting the first key obtained by decrypting the first key with the first key candidate,
In the first step, the first decryption means, as the determination, uses the first key candidate value and the first key encrypted with the first key itself as the first key. Whether or not the value obtained by decryption with the key candidate of the first key candidate matches, information reproducing method comprising the this a first value of key encrypted with the first key itself is intended to determine whether to match.
JP2004111524A 1996-06-28 2004-04-05 ENCRYPTION DEVICE, INFORMATION REPRODUCTION DEVICE, ENCRYPTION METHOD, AND INFORMATION REPRODUCTION METHOD Expired - Lifetime JP4346490B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004111524A JP4346490B2 (en) 1996-06-28 2004-04-05 ENCRYPTION DEVICE, INFORMATION REPRODUCTION DEVICE, ENCRYPTION METHOD, AND INFORMATION REPRODUCTION METHOD

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP17039996 1996-06-28
JP2004111524A JP4346490B2 (en) 1996-06-28 2004-04-05 ENCRYPTION DEVICE, INFORMATION REPRODUCTION DEVICE, ENCRYPTION METHOD, AND INFORMATION REPRODUCTION METHOD

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2000175506A Division JP3775175B2 (en) 1996-06-28 2000-06-12 Key processing method and disk manufacturer side processing apparatus

Publications (2)

Publication Number Publication Date
JP2004260844A JP2004260844A (en) 2004-09-16
JP4346490B2 true JP4346490B2 (en) 2009-10-21

Family

ID=15904214

Family Applications (3)

Application Number Title Priority Date Filing Date
JP2000175506A Expired - Fee Related JP3775175B2 (en) 1996-06-28 2000-06-12 Key processing method and disk manufacturer side processing apparatus
JP2004111524A Expired - Lifetime JP4346490B2 (en) 1996-06-28 2004-04-05 ENCRYPTION DEVICE, INFORMATION REPRODUCTION DEVICE, ENCRYPTION METHOD, AND INFORMATION REPRODUCTION METHOD
JP2005372571A Pending JP2006174491A (en) 1996-06-28 2005-12-26 Key processing method, key processing system, and key management organization side processing unit

Family Applications Before (1)

Application Number Title Priority Date Filing Date
JP2000175506A Expired - Fee Related JP3775175B2 (en) 1996-06-28 2000-06-12 Key processing method and disk manufacturer side processing apparatus

Family Applications After (1)

Application Number Title Priority Date Filing Date
JP2005372571A Pending JP2006174491A (en) 1996-06-28 2005-12-26 Key processing method, key processing system, and key management organization side processing unit

Country Status (1)

Country Link
JP (3) JP3775175B2 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3775175B2 (en) * 1996-06-28 2006-05-17 株式会社東芝 Key processing method and disk manufacturer side processing apparatus
JP4944355B2 (en) 2001-05-22 2012-05-30 ユーキューイー,エルエルシー Record carrier, method and apparatus for recording digital works
KR20030003998A (en) * 2001-07-04 2003-01-14 장용 CD,DVD's Illegal Copy or Install Protection System
US7372964B2 (en) 2001-10-10 2008-05-13 Kabushiki Kaisha Toshiba Method and apparatus for recording information including secret information and method and apparatus for reproduction thereof
JP3688628B2 (en) 2001-11-09 2005-08-31 株式会社東芝 Signal processing method and apparatus, signal reproduction method and apparatus, and recording medium
KR100969721B1 (en) * 2002-12-17 2010-07-12 소니 픽쳐스 엔터테인먼트, 인크. Method and apparatus for access control in an overlapping multiserver network environment
CN101311942B (en) * 2007-05-23 2011-08-24 西门子(中国)有限公司 Software encryption and decryption method and encryption and decryption device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61177479A (en) * 1985-02-01 1986-08-09 沖電気工業株式会社 Coding key managing system
JPS61264371A (en) * 1985-05-20 1986-11-22 森 亮一 Data protection system
JP2832449B2 (en) * 1989-03-29 1998-12-09 アイシン精機株式会社 Secret communication control device
JPH0721688A (en) * 1993-06-30 1995-01-24 Victor Co Of Japan Ltd Optical recording medium and reproducing device therefor
JP3775175B2 (en) * 1996-06-28 2006-05-17 株式会社東芝 Key processing method and disk manufacturer side processing apparatus
JP3093678B2 (en) * 1996-06-28 2000-10-03 株式会社東芝 Encryption method, decryption method, recording / reproducing device, decryption device, decryption unit device and recording medium manufacturing method

Also Published As

Publication number Publication date
JP3775175B2 (en) 2006-05-17
JP2001043138A (en) 2001-02-16
JP2006174491A (en) 2006-06-29
JP2004260844A (en) 2004-09-16

Similar Documents

Publication Publication Date Title
JP3093678B2 (en) Encryption method, decryption method, recording / reproducing device, decryption device, decryption unit device and recording medium manufacturing method
US6438692B2 (en) Copy protection apparatus and information recording medium used in this copy protection apparatus
KR100763693B1 (en) Information processing device and processing method
US7225339B2 (en) Information recording/playback apparatus and method
US20030051151A1 (en) Information processing apparatus, information processing method and program
US8700917B2 (en) Information processing apparatus, information recording medium manufacturing apparatus, and information recording medium
CN1319002C (en) Data transmission system, device and method and data record device and medium
JP4114605B2 (en) Information processing apparatus, information recording medium, information processing method, and computer program
JP2006174491A (en) Key processing method, key processing system, and key management organization side processing unit
JP2003218850A (en) Contents-recording/reproduction apparatus
US7433488B2 (en) Information recording medium drive device, information processing apparatus, data replay control system, data replay control method, and computer program
JP4482970B2 (en) DVD recorder, DVD recorder recording / reproducing method, and program recording medium
JP4505693B2 (en) Information processing apparatus, information processing method, and recording medium
JP4370721B2 (en) Information recording apparatus, information reproducing apparatus, information recording method, information reproducing method, key update terminal apparatus, generation management key update method, information recording medium, and program providing medium
JP4131067B2 (en) Information processing apparatus, information processing method, and program recording medium
JP2002244552A (en) Information reproducing device, information reproducing method, and information recording medium and program storage medium
JP4192499B2 (en) Information processing apparatus, information processing method, content input / output processing system, content input / output processing method, and computer program
KR100279523B1 (en) Copy protection device and information recording medium used in such a copy protection device
JP2002236622A (en) Device for regenerating information device for recording information, method of regenerating information, method of recording information, recording medium for information, and medium for recording program
JP4774734B2 (en) Information processing apparatus, information recording medium, information processing method, and computer program
JP3588593B2 (en) Copy control method and copy control device
JP2007286938A (en) Information processor, information processing method, program, and recording medium
JP2000307569A (en) Electronic data protecting system, device on side of use permitting person and device on side of user
JP2003348067A (en) Apparatus and method for information processing, and computer program
JP2002093045A (en) Information recording and reproducing device and recording medium

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060711

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060911

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20061128

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070129

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20070202

A912 Re-examination (zenchi) completed and case transferred to appeal board

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20070316

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090604

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090714

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120724

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130724

Year of fee payment: 4

EXPY Cancellation because of completion of term