JP2002297031A - Method/device for decoding and method/device for receiving digital broadcasting using the decoding method/ device - Google Patents
Method/device for decoding and method/device for receiving digital broadcasting using the decoding method/ deviceInfo
- Publication number
- JP2002297031A JP2002297031A JP2001102457A JP2001102457A JP2002297031A JP 2002297031 A JP2002297031 A JP 2002297031A JP 2001102457 A JP2001102457 A JP 2001102457A JP 2001102457 A JP2001102457 A JP 2001102457A JP 2002297031 A JP2002297031 A JP 2002297031A
- Authority
- JP
- Japan
- Prior art keywords
- decryption
- encryption
- decoding
- processing
- algorithm
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 96
- 238000012545 processing Methods 0.000 claims abstract description 97
- 238000001514 detection method Methods 0.000 claims description 5
- 238000010586 diagram Methods 0.000 description 12
- 238000007796 conventional method Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 2
- 230000003252 repetitive effect Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、暗号文を復号化す
るための復号化方法/装置とこの方法/装置を用いたデ
ジタル放送受信方法/装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a decryption method / device for decrypting cipher text and a digital broadcast receiving method / device using the method / device.
【0002】[0002]
【従来の技術】従来から、デジタル処理技術の発達によ
り、通信や記録の情報を秘匿する目的で、情報を暗号化
することが行われている。暗号化アルゴリズムには様々
なものがあり標準化されているが、その中の一つに、国
際標準化機構によりISO9979/009として登録
されている暗号方式MULTI2方式がある。MULT
I2方式は、日本の有料放送方式にも採用されており、
ARIB−STD20の中で規格化されている。2. Description of the Related Art Hitherto, with the development of digital processing technology, information has been encrypted for the purpose of concealing information of communication and recording. Various encryption algorithms are standardized, and one of them is the encryption system MULTI2 registered as ISO9979 / 009 by the International Standards Organization. MULT
The I2 system has also been adopted in Japan's pay broadcasting system,
It is standardized in ARIB-STD20.
【0003】MULTI2の復号化アルゴリズムの概略
を図8に示す。64ビットのデータ鍵と256ビットの
システム鍵を暗号アルゴリズム演算部10に入力し、生
成された256ビットのワーク鍵を生成する。このワー
ク鍵の生成過程を鍵スケジュールと呼ぶ。このワーク鍵
を使って64ビットの入力データを暗号/復号アルゴリ
ズム演算部20によって処理し、64ビットの出力デー
タを生成する。FIG. 8 shows an outline of a MULTI2 decoding algorithm. The 64-bit data key and the 256-bit system key are input to the encryption algorithm operation unit 10, and the generated 256-bit work key is generated. This process of generating a work key is called a key schedule. Using this work key, the 64-bit input data is processed by the encryption / decryption algorithm operation unit 20 to generate 64-bit output data.
【0004】図9にMULTI2の暗号アルゴリズムを
示す。この暗号アルゴリズムでは、64ビットの入力デ
ータを上位32ビット、下位32ビットに分割し、鍵ス
ケジュールにより生成された256ビットのワーク鍵
(鍵K1〜K8)を用いて、基本関数π1〜π4からな
る暗号ブロック段数8段の繰り返し演算により暗号化し
て、64ビットの出力データを生成する。FIG. 9 shows a MULTI2 encryption algorithm. In this cryptographic algorithm, 64-bit input data is divided into upper 32 bits and lower 32 bits, and basic functions π1 to π4 are formed using 256-bit work keys (keys K1 to K8) generated by a key schedule. The data is encrypted by a repetitive operation of eight encryption block stages to generate 64-bit output data.
【0005】図10にMULTI2の復号アルゴリズム
を示す。この復号アルゴリズムでは、暗号アルゴリズム
と同様に、64ビットの入力データを上位32ビット、
下位32ビットに分割し、鍵スケジュールにより生成さ
れた256ビットのワーク鍵(鍵K1〜K8)を用い
て、基本関数π1〜π4からなる暗号ブロック段数8段
の繰り返し演算により復号化し、64ビットの出力デー
タを生成する。FIG. 10 shows a decoding algorithm of MULTI2. In this decryption algorithm, similar to the encryption algorithm, the 64-bit input data is converted into the upper 32 bits,
Using a 256-bit work key (keys K1 to K8) generated by the key schedule, the data is divided into lower 32 bits and decrypted by a repetitive operation of eight cryptographic block stages composed of basic functions π1 to π4, and the 64-bit work key is decoded. Generate output data.
【0006】図11にMULTI2の鍵スケジュールの
アルゴリズムを示す。このMULTI2の鍵スケジュー
ルアルゴリズムは、暗号アルゴリズムによって構成され
ており、64ビットのデータ鍵を上位32ビット、下位
32ビットに分割し、256ビットのシステム鍵を32
ビットの鍵J1〜J8に分割した後、それぞれ暗号化ア
ルゴリズム演算部210に入力する。そして、この暗号
アルゴリズム演算部210にて、入力されたデータ鍵と
システム鍵により32ビットのワーク鍵K1〜K7を生
成し、最終的に関数π1の暗号ブロック211にて鍵K
8を生成する。FIG. 11 shows an algorithm of a key schedule of MULTI2. The key schedule algorithm of MULTI2 is configured by an encryption algorithm, and divides a 64-bit data key into upper 32 bits and lower 32 bits, and divides a 256-bit system key into 32 bits.
After being divided into bit keys J1 to J8, they are input to the encryption algorithm operation unit 210, respectively. Then, the encryption algorithm operation unit 210 generates 32-bit work keys K1 to K7 using the input data key and system key, and finally generates the key K in the encryption block 211 of the function π1.
8 is generated.
【0007】従来、暗号アルゴリズム演算部を実現する
暗号器と復号アルゴリズムを実現する復号器は、それぞ
れ図9、図10の暗号、復号アルゴリズムの暗号ブロッ
ク段数8段(またはその半分の4段)を1サイクルとし
て、その繰り返しにより構成されている。Conventionally, an encryptor that realizes an encryption algorithm operation unit and a decryptor that realizes a decryption algorithm use eight (or four half) encryption block stages of the encryption and decryption algorithms shown in FIGS. 9 and 10, respectively. One cycle is constituted by repetition.
【0008】第三者による暗号データの解読を困難にす
る目的で、ISO/IEC10116として登録されて
いる暗号/復号アルゴリズムの利用モードが使用されて
いる。日本のデジタル放送の規格では、その利用モード
のうちCBC(Cipher BlockChaining)モード、及び、
OFB(Output Feedback)モードを使用するように規
定されている。CBCモードは、入力される暗号文ブロ
ックが64ビットである場合に適用され、復号アルゴリ
ズムによって行われる。入力される暗号文ブロックが6
4ビットに満たない場合には、OFBモードが適用さ
れ、暗号アルゴリズムによって行われる。In order to make it difficult for a third party to decrypt the encrypted data, a use mode of an encryption / decryption algorithm registered as ISO / IEC10116 is used. According to Japanese digital broadcasting standards, CBC (Cipher Block Chaining) mode and
It is defined that an OFB (Output Feedback) mode is used. The CBC mode is applied when an input ciphertext block is 64 bits, and is performed by a decryption algorithm. Input ciphertext block is 6
If less than 4 bits, the OFB mode is applied and is performed by a cryptographic algorithm.
【0009】暗号化アルゴリズムによって鍵を生成する
ステップと、復号化アルゴリズムによってCBC復号化
処理を行うステップと、暗号化アルゴリズムによってO
FB復号化処理を行うステップからなる暗号文の復号化
処理は、図12に示すような構成の復号化装置で行われ
る。A step of generating a key by an encryption algorithm; a step of performing CBC decryption by a decryption algorithm;
The decryption process of the ciphertext, which includes the step of performing the FB decryption process, is performed by a decryption device having a configuration as shown in FIG.
【0010】図12において、鍵スケジュールでは、デ
ータ鍵とシステム鍵が暗号器202に入力され、この暗
号器202にてワーク鍵が生成される。CBC処理で
は、暗号文がセレクタ204により復号器200に入力
され、ワーク鍵とともに処理される。復号器200の出
力はレジスタ203に保持されている暗号文と排他的論
理和回路206で排他的論理和演算され、平文として出
力される。OFB処理では、レジスタ203に蓄積され
ていた暗号文が暗号器201に入力され、上記暗号器2
02からのワーク鍵とともに処理される。暗号器201
の出力は、セレクタ204により入力された暗号文と排
他的論理和回路207で排他的論理和演算され、平文と
なって出力される。In FIG. 12, in the key schedule, a data key and a system key are input to an encryptor 202, and the encryptor 202 generates a work key. In the CBC process, the ciphertext is input to the decryptor 200 by the selector 204 and processed together with the work key. The output of the decoder 200 is subjected to an exclusive OR operation by the exclusive OR circuit 206 with the ciphertext held in the register 203, and is output as plaintext. In the OFB processing, the cipher text stored in the register 203 is input to the encryptor 201, and
Processed together with the work key from 02. Encryptor 201
Is subjected to an exclusive OR operation by the exclusive OR circuit 207 with the ciphertext input by the selector 204, and is output as a plaintext.
【0011】上記構成による復号化処理では、暗号器を
使った鍵スケジュールによってワーク鍵を生成し、復号
器を使って暗号文ブロックをCBC処理する。最終的
に、64ビット未満の暗号文ブロックが残った場合に
は、暗号器を使ってOFB処理を行う。つまり、暗号
器、復号器、暗号器の順に回路を切り替えることで復号
処理を実現している。In the decryption processing according to the above configuration, a work key is generated according to a key schedule using an encryptor, and the ciphertext block is subjected to CBC processing using the decryptor. Finally, when a ciphertext block of less than 64 bits remains, OFB processing is performed using an encryptor. That is, the decryption process is realized by switching the circuit in the order of the encryptor, the decryptor, and the encryptor.
【0012】[0012]
【発明が解決しようとする課題】しかしながら、上記の
ような従来の復号化方法による復号化装置では、1サイ
クルの復号化処理演算に要する時間が長く、さらに、同
時に一つの暗号ブロックのみしか処理できないために、
高速化することが難しかった。また、復号化処理の手順
で、暗号器を使った鍵スケジュール、復号器を使ったC
BC処理、暗号器を使ったOFB処理を順に行っている
ため、回路を暗号器→復号器→暗号器と二度切り替える
必要があり、手間がかかるという問題があった。However, in the decryption apparatus according to the above-described conventional decryption method, the time required for one cycle of decryption processing operation is long, and only one cipher block can be processed at a time. for,
It was difficult to speed up. In the decryption procedure, a key schedule using an encryptor and a C
Since the BC process and the OFB process using the encryptor are performed in order, it is necessary to switch the circuit twice from the encryptor to the decryptor to the encryptor, and there is a problem that it takes time and effort.
【0013】一方、実用化されつつあるデジタル放送に
おいて、有料化のための暗号化技術の開発が進められて
いるが、これに伴って、受信側の復号化処理の規模を削
減し、効率よく復号可能とすることが要求されている。On the other hand, in digital broadcasting that is being put into practical use, encryption technology for paying is being developed, but with this, the scale of decryption processing on the receiving side has been reduced, and efficiency has been reduced. It is required to be able to decrypt.
【0014】本発明は、上記の問題を解決するためにな
されたものであり、ブロック暗号方式で暗号化されたデ
ータ列の復号化処理において、処理速度を向上させるこ
とができ、また、暗号化アルゴリズムによって鍵を生成
するステップと、復号化アルゴリズムによってCBC復
号化処理を行うステップと、暗号化アルゴリズムによっ
てOFB復号化処理を行うステップからなる暗号文の復
号化処理を効率よく行うことのできる復号化方法、復号
化装置を提供することを目的とする。SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problem, and can improve the processing speed in the decryption processing of a data string encrypted by a block encryption method. Decryption that can efficiently perform a ciphertext decryption process including a step of generating a key by an algorithm, a step of performing CBC decryption by a decryption algorithm, and a step of performing OFB decryption by an encryption algorithm It is an object to provide a method and a decoding device.
【0015】さらに、上記目的を達成した復号化方法及
び復号化装置を利用することで、暗号化されたデジタル
放送受信データ列を効率よく復号可能としたデジタル放
送受信方法、デジタル放送受信装置を提供することを目
的とする。Further, a digital broadcast receiving method and a digital broadcast receiving apparatus capable of efficiently decoding an encrypted digital broadcast received data sequence by using the decrypting method and the decrypting apparatus which achieve the above object are provided. The purpose is to do.
【0016】[0016]
【課題を解決するための手段】上記の目的を達成するた
めに本発明に係る復号化方法は、所定長毎のブロック単
位に暗号化演算を行うブロック暗号化方式により暗号化
されたデータ列を入力し復号処理を行う方法において、
前記復号処理の演算を任意の単位の演算に分け、この演
算単位毎に入力データ列の復号化処理を行うことを特徴
とする。In order to achieve the above object, a decryption method according to the present invention provides a data sequence encrypted by a block encryption method for performing an encryption operation in units of blocks of a predetermined length. In the method of performing input and decryption processing,
The operation of the decoding process is divided into an operation of an arbitrary unit, and a decoding process of an input data string is performed for each operation unit.
【0017】これに対応する本発明に係る復号化装置
は、所定長のブロック単位に複数段の暗号化演算を行う
ブロック暗号化方式により暗号化されたデータ列を入力
し復号する装置において、前記複数段の暗号化演算それ
ぞれに対応する複数段の復号化演算部、前記複数段の復
号化演算部それぞれの入出力間の任意の箇所に設けら
れ、前段の復号化演算部の演算結果を一定期間保持して
後段の復号化演算部に渡す記憶手段を備える復号化処理
回路をコアとして用いて複数の処理段を構成し、この処
理段を処理単位として前記データ列の復号処理を行うこ
とを特徴とする。A corresponding decryption device according to the present invention is a device for inputting and decrypting a data string encrypted by a block encryption method for performing a plurality of stages of encryption operation in units of a predetermined length. A multi-stage decryption operation unit corresponding to each of the multi-stage encryption operations, provided at an arbitrary position between the input and output of each of the multi-stage decryption operation units, to keep the operation result of the preceding-stage decryption operation unit constant. A plurality of processing stages are configured by using, as a core, a decoding processing circuit including a storage unit that holds a period and passes the data sequence to a decoding operation unit in a subsequent stage, and the decoding process of the data string is performed using the processing stages as a processing unit. Features.
【0018】上記構成による復号化方法/装置によれ
ば、復号処理の演算を任意の単位の演算に分け、この演
算単位毎に入力データ列の復号化処理を行うことによ
り、復号処理の動作速度が向上し、同時に複数の入力ブ
ロックを処理できるようになるため、復号化処理のスル
ープットを向上させることが可能となる。According to the decoding method / apparatus having the above-described configuration, the operation of the decoding process is divided into operations of an arbitrary unit, and the decoding process of the input data sequence is performed for each operation unit. , And a plurality of input blocks can be processed at the same time, so that the throughput of the decoding process can be improved.
【0019】また、本発明に係る他の復号化方法とし
て、ISO/IEC10116に登録された暗号/復号
アルゴリズムの利用モードのうちの、CBC(Cipher B
lock Chaining)モードもしくはOFB(Output Feedba
ck)モードでブロック暗号化を施されたデータ列を入力
とする場合には、暗号化アルゴリズムによる鍵スケジュ
ール処理、暗号化アルゴリズムによるOFB処理、復号
化アルゴリズムによるCBC処理の順に処理を切り替え
て復号処理を実行することを特徴とする。Further, as another decryption method according to the present invention, CBC (Cipher B) among the use modes of the encryption / decryption algorithm registered in ISO / IEC10116.
lock Chaining mode or OFB (Output Feedba)
ck) In the case of inputting a data string that has been subjected to block encryption in the mode, decryption processing is performed by switching processing in the order of key schedule processing using an encryption algorithm, OFB processing using an encryption algorithm, and CBC processing using a decryption algorithm. Is performed.
【0020】これに対応する本発明に係る復号化装置と
して、ISO/IEC10116に登録された暗号/復
号アルゴリズムの利用モードのうちの、CBC(Cipher
Block Chaining)モードもしくはOFB(Output Feed
back)モードでブロック暗号化を施されたデータ列を入
力し復号処理を行う場合には、前記入力データ列にOF
Bモードで暗号化されたデータがあることを検知するO
FBモード検知手段と、復号化処理に使用するアルゴリ
ズムとして暗号化アルゴリズムと復号化アルゴリズムを
切り替えるアルゴリズム切替手段と、前記OFBモード
検知手段でOFBモードのデータ入力があることを検知
したとき、暗号化アルゴリズムによる鍵スケジュール処
理、暗号化アルゴリズムによるOFB処理、復号化アル
ゴリズムによるCBC処理の順に、前記アルゴリズム切
替手段の切替制御を行う切替制御手段とを具備すること
を特徴とする。As a corresponding decryption device according to the present invention, CBC (Cipher) among the use modes of the encryption / decryption algorithm registered in ISO / IEC10116.
Block Chaining mode or OFB (Output Feed)
back) mode, when a data sequence that has been subjected to block encryption is input and decryption is performed, OF data is input to the input data sequence.
O to detect the presence of data encrypted in B mode
FB mode detection means, algorithm switching means for switching between an encryption algorithm and a decryption algorithm as an algorithm to be used for decryption processing, and an encryption algorithm when the OFB mode detection means detects that there is an OFB mode data input. , A switching control means for controlling the switching of the algorithm switching means in the order of the key schedule processing, the OFB processing by the encryption algorithm, and the CBC processing by the decryption algorithm.
【0021】上記構成による復号化方法/装置によれ
ば、鍵の生成、OFB処理、CBC処理の順序で復号化
処理を行うようにしたことにより、暗号アルゴリズム、
復号アルゴリズムの切り替えが一度で済むようになるの
で、復号化処理を効率よく行うことが可能となる。According to the decryption method / apparatus having the above configuration, the decryption processing is performed in the order of key generation, OFB processing, and CBC processing.
Since the switching of the decoding algorithm can be performed only once, the decoding process can be performed efficiently.
【0022】また、本発明に係るデジタル放送受信方法
/装置は、以上の復号化方法/装置を利用して、所定長
毎のブロック単位に暗号化演算を行うブロック暗号化方
式により暗号化されたデジタル放送の受信データ列を復
号することを特徴とする。Further, the digital broadcast receiving method / apparatus according to the present invention uses the above-described decryption method / apparatus to perform encryption by a block encryption method for performing an encryption operation in units of blocks of a predetermined length. It is characterized by decoding a received data sequence of digital broadcasting.
【0023】この構成によれば、暗号化されたデジタル
放送受信データ列を効率よく復号することが可能とな
る。According to this configuration, the encrypted digital broadcast reception data sequence can be efficiently decrypted.
【0024】すなわち、本発明は、ブロック暗号方式で
暗号化されたデータ列の復号化処理において、復号処理
演算装置を任意の処理単位に分割し、複数の暗号文ブロ
ックを処理単位ごとに同時に処理することで、復号化処
理の高速化を実現したことを特徴としている。また、従
来、暗号アルゴリズムにより鍵スケジュールとOFB処
理を行い、復号アルゴリズムによりCBC処理を行う復
号化方法では、暗号器→復号器→暗号器と二度回路を切
り替える必要があったが、本発明では、処理の順序を変
えることで、暗号器→復号器と一度の切り替えで済むよ
うにしたことを特徴としている。That is, according to the present invention, in a decryption process of a data string encrypted by the block encryption method, the decryption processing operation device is divided into arbitrary processing units, and a plurality of ciphertext blocks are simultaneously processed for each processing unit. Thus, the speed of the decoding process is increased. Conventionally, in the decryption method of performing the key schedule and OFB processing by the encryption algorithm and performing the CBC processing by the decryption algorithm, it was necessary to switch the circuit twice from the encryptor to the decryptor to the encryptor. , By changing the order of processing, only one switch from the encryptor to the decryptor is required.
【0025】[0025]
【発明の実施の形態】以下、図1乃至図7を参照して本
発明の実施の形態について詳細に説明する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below in detail with reference to FIGS.
【0026】図1はISO9979/009として規格
化されているMULTI2暗号方式に準拠した復号化処
理コアに本発明を適用した場合の構成を示すものであ
る。この復号化処理コアを構成する回路は、暗号基本関
数ブロック110〜117と、32ビットレジスタ12
0〜127と、セレクタ130〜138からなり、デー
タ入力端子140、141と、データ出力端子150、
151と、鍵入力端子160〜167と、鍵出力端子1
70〜177を備える。セレクタ130〜138を切り
替えることにより、入力データの処理順序を変えること
が可能で、図2のMULTI2暗号器、図3のMULT
I2復号器、または、図4のMULTI2鍵スケジュー
ル回路として動作する。FIG. 1 shows a configuration in which the present invention is applied to a decryption processing core conforming to the MULTI2 encryption system standardized as ISO9979 / 009. The circuits constituting the decryption processing core include the cryptographic basic function blocks 110 to 117 and the 32-bit register 12.
0 to 127, selectors 130 to 138, data input terminals 140 and 141, data output terminals 150,
151, key input terminals 160 to 167, and key output terminal 1
70 to 177. By switching the selectors 130 to 138, the processing order of the input data can be changed, and the MULTI2 encryptor of FIG. 2 and the MULTI encryptor of FIG.
It operates as an I2 decoder or the MULTI2 key schedule circuit of FIG.
【0027】図5は、図1の復号化処理コアを利用した
暗号文の復号化装置であり、復号化処理コア100とレ
ジスタ101とワーク鍵レジスタ102とシステム鍵レ
ジスタ103とセレクタ104〜106と排他的論理和
回路107からなる。セレクタ104〜106は、図示
しない入力モード判定制御回路により切替制御される。FIG. 5 shows a ciphertext decryption apparatus using the decryption processing core of FIG. 1. The decryption processing core 100, the register 101, the work key register 102, the system key register 103, the selectors 104 to 106, An exclusive OR circuit 107 is provided. The selectors 104 to 106 are switch-controlled by an input mode determination control circuit (not shown).
【0028】この入力モード判定制御回路は、入力デー
タ列にOFBモードで暗号化されたデータがあることを
検知するOFBモード検知手段と、復号化処理に使用す
るアルゴリズムとして暗号化アルゴリズムと復号化アル
ゴリズムを切り替えるアルゴリズム切替手段を備え、O
FBモード検知手段でOFBモードのデータ入力がある
ことを検知すると、暗号化アルゴリズムによる鍵スケジ
ュール処理、暗号化アルゴリズムによるOFB処理、復
号化アルゴリズムによるCBC処理の順にアルゴリズム
切替手段の切り替え制御を行う。The input mode determination control circuit includes an OFB mode detecting means for detecting that there is data encrypted in the OFB mode in the input data string, and an encryption algorithm and a decryption algorithm as algorithms used for decryption processing. Algorithm switching means for switching between
When the FB mode detection unit detects that there is an OFB mode data input, the switching control of the algorithm switching unit is performed in the order of the key schedule process by the encryption algorithm, the OFB process by the encryption algorithm, and the CBC process by the decryption algorithm.
【0029】図5において、鍵スケジュールを行う場合
には、入力データとしてデータ鍵が与えられる。このデ
ータ鍵は、セレクタ104、105によって復号化処理
コア100に入力され、ここでワーク鍵が生成される。
生成されたワーク鍵は、ワーク鍵レジスタ102に保持
される。In FIG. 5, when performing a key schedule, a data key is given as input data. The data key is input to the decryption processing core 100 by the selectors 104 and 105, where a work key is generated.
The generated work key is held in the work key register 102.
【0030】CBC処理では、入力データとして64ビ
ットの暗号文ブロックが与えられる。この暗号文ブロッ
クはセレクタ104、105によって復号化コア100
に入力され、ワーク鍵とともに処理される。復号化処理
コア100の出力はセレクタ105によって所望の回数
だけ復号化処理コア100の入力に戻され、繰り返し処
理される。その処理結果は、予めレジスタ101に保持
されていた暗号文ブロックまたは初期値と排他的論理和
回路107で処理され、平文として出力される。In the CBC process, a 64-bit ciphertext block is provided as input data. This ciphertext block is transmitted to the decryption core 100 by the selectors 104 and 105.
And processed with the work key. The output of the decoding processing core 100 is returned to the input of the decoding processing core 100 by the selector 105 a desired number of times, and is repeatedly processed. The processing result is processed by the exclusive OR circuit 107 with the ciphertext block or the initial value held in the register 101 in advance, and is output as a plaintext.
【0031】OFB処理では、予めレジスタ101に保
持されていた64ビットの暗号文ブロックまたは初期値
が復号化処理コア100に入力され、ワーク鍵とともに
処理される。復号化処理コア100の出力は、セレクタ
105によって所望の回数だけ復号化処理コア100の
入力に戻され、繰り返し処理される。新たに入力データ
として与えられた64ビット未満の暗号文ブロックと復
号化処理コア100の出力とを排他的論理和回路107
で排他的論理和演算する。この演算結果は平文として出
力される。In the OFB processing, a 64-bit ciphertext block or an initial value previously held in the register 101 is input to the decryption processing core 100 and processed together with the work key. The output of the decoding processing core 100 is returned to the input of the decoding processing core 100 by the selector 105 a desired number of times, and is repeatedly processed. The exclusive OR circuit 107 combines the ciphertext block of less than 64 bits newly given as input data with the output of the decryption processing core 100.
To perform an exclusive OR operation. This operation result is output as plain text.
【0032】図2は、図1の回路をMULTI2暗号器
として機能させたときのものである。端子140に入力
データの上位32ビット、端子141に入力データの下
位32ビットが与えられる。端子160〜167には、
それぞれワーク鍵K1〜K8が入力される。FIG. 2 shows the circuit of FIG. 1 functioning as a MULTI2 encryptor. Terminal 140 is supplied with the upper 32 bits of the input data, and terminal 141 is supplied with the lower 32 bits of the input data. Terminals 160 to 167
Work keys K1 to K8 are input, respectively.
【0033】入力されたデータは、最初のサイクルで関
数π1(110)で処理され、レジスタ120に保持さ
れる。次のサイクルで、関数π2(111)でワーク鍵
K1とともに処理され、レジスタ121に保持される。
3度目のサイクルで、関数π3(112)でワーク鍵K
2、K3とともに処理され、レジスタ122に保持され
る。つづいて、4度目のサイクルで、関数π4(11
3)でワーク鍵K4とともに処理され、レジスタ123
に保持される。その後のサイクルでも同様に関数π1〜
π4(114〜117)でワーク鍵K5〜K8とともに
処理され、それぞれレジスタ124〜127に保持され
る。入力データは、暗号器内に設置されたレジスタの段
数分のサイクル(ここでは、8サイクル)の後、端子1
50、151から出力される。以上の過程を図5の復号
化装置によって所望の回数繰り返されることで実際の処
理が行われる。The input data is processed by the function π1 (110) in the first cycle, and is stored in the register 120. In the next cycle, it is processed together with the work key K1 by the function π2 (111) and is stored in the register 121.
In the third cycle, the work key K is calculated using the function π3 (112).
2, and are processed together with K3 and held in the register 122. Subsequently, in the fourth cycle, the function π4 (11
3) is processed together with the work key K4 in the register 123
Is held. In the subsequent cycles, the functions π1 to
π4 (114 to 117) is processed together with the work keys K5 to K8 and held in the registers 124 to 127, respectively. The input data is supplied to the terminal 1 after a cycle (here, 8 cycles) corresponding to the number of stages of the register provided in the encryptor.
50 and 151. The above process is repeated a desired number of times by the decoding device in FIG. 5 to perform the actual processing.
【0034】図3は、図1の回路をMULTI2復号器
として機能させたときのものである。端子140に入力
データの上位32ビット、端子141に入力データの下
位32ビットが入力される。端子160〜167には、
それぞれワーク鍵K1〜K8が入力される。FIG. 3 shows the circuit of FIG. 1 functioning as a MULTI2 decoder. The terminal 32 receives the upper 32 bits of the input data, and the terminal 141 receives the lower 32 bits of the input data. Terminals 160 to 167
Work keys K1 to K8 are input, respectively.
【0035】入力されたデータは、最初のサイクルで関
数π4(117)でワーク鍵K8とともに処理され、レ
ジスタ127に保持される。次のサイクルで、関数π3
(116)でワーク鍵K6、K7とともに処理され、レ
ジスタ126に保持される。3度目のサイクルで、関数
π2(115)でワーク鍵K5とともに処理され、レジ
スタ125に保持される。つづいて、4度目のサイクル
で、関数π1(114)で処理され、レジスタ124に
保持される。その後のサイクルでも同様に関数π4〜π
1(113〜110)でワーク鍵K4〜K1とともに処
理され、それぞれレジスタ123〜120に保持され
る。入力データは、暗号器内に設置されたレジスタの段
数分のサイクル(ここでは、8サイクル)の後、端子1
50、151から出力される。以上の過程を図5の復号
化処理回路によって所望の回数繰り返されることで実際
の処理が行われる。The input data is processed together with the work key K8 by the function π4 (117) in the first cycle, and is stored in the register 127. In the next cycle, the function π3
At (116), the processing is performed together with the work keys K 6 and K 7, and is held in the register 126. In the third cycle, processing is performed with the work key K5 using the function π2 (115), and the result is held in the register 125. Subsequently, in the fourth cycle, processing is performed using the function π1 (114), and the result is stored in the register 124. In the subsequent cycles, the functions π4 to π
1 (113 to 110) are processed together with the work keys K4 to K1, and held in the registers 123 to 120, respectively. The input data is supplied to the terminal 1 after the number of cycles (here, eight cycles) of the register provided in the encryptor.
50 and 151. The above processing is repeated a desired number of times by the decoding processing circuit of FIG. 5 to perform the actual processing.
【0036】図4は、図1の回路をMULTI2鍵スケ
ジュール回路として機能させたときのものである。端子
140にデータ鍵の上位32ビット、端子141にデー
タ鍵の下位32ビットが入力される。端子160〜16
7からは32ビットシステム鍵J1〜J8が入力され
る。FIG. 4 shows the circuit of FIG. 1 functioning as a MULTI2 key schedule circuit. The terminal 32 receives the upper 32 bits of the data key, and the terminal 141 receives the lower 32 bits of the data key. Terminals 160-16
7 input the 32-bit system keys J1 to J8.
【0037】データ鍵が入力されると、暗号器と同様に
1サイクルごとに各関数で処理され、レジスタに一時記
憶される。第2サイクルでワーク鍵K1、第3サイクル
でワーク鍵K2、第4サイクルでワーク鍵K3、第5サ
イクルでワーク鍵K4、第6サイクルでワーク鍵K5、
第7サイクルでワーク鍵K6、第8サイクルでワーク鍵
K7が出力される。When a data key is input, it is processed by each function every cycle, as in the case of the encryptor, and is temporarily stored in a register. Work key K1 in the second cycle, work key K2 in the third cycle, work key K3 in the fourth cycle, work key K4 in the fifth cycle, work key K5 in the sixth cycle,
The work key K6 is output in the seventh cycle, and the work key K7 is output in the eighth cycle.
【0038】図5のセレクタ105によって図1の端子
150、151の出力が端子140、141に戻され、
関数π1(110)にて処理され、ワーク鍵K8が出力
される。出力されたワーク鍵K1〜K8は、ワーク鍵レ
ジスタ102に保持される。The outputs of the terminals 150 and 151 of FIG. 1 are returned to the terminals 140 and 141 by the selector 105 of FIG.
Processing is performed by the function π1 (110), and the work key K8 is output. The output work keys K1 to K8 are held in the work key register 102.
【0039】以上のように、MULTI2復号化処理コ
アにおいて、暗号基本関数ブロック毎に複数のレジスタ
を設置し、複数のサイクルで処理することで、1サイク
ルの処理時間が短くなり、回路を高速で動作させること
ができる。また、複数のレジスタを設置したことで、そ
のレジスタの段数だけの状態を保持できるため、1サイ
クルごとに暗号文ブロックを入力することで、複数の暗
号ブロックを同時に処理することができる。この二つの
点から、暗号文の復号化処理のスループットを向上させ
ることができる。As described above, in the MULTI2 decryption processing core, a plurality of registers are provided for each encryption basic function block, and processing is performed in a plurality of cycles, whereby the processing time of one cycle is shortened, and the circuit is operated at high speed. Can work. Further, since a plurality of registers are provided, a state corresponding to the number of stages of the registers can be held. Therefore, by inputting a ciphertext block every cycle, a plurality of cipher blocks can be processed simultaneously. From these two points, it is possible to improve the throughput of the ciphertext decryption processing.
【0040】尚、図1では、基本関数ブロック110〜
117の8段を8組のレジスタで細分化しているが、設
置するレジスタの数は任意である。また、基本関数の段
数を4段にして繰り返してもよい。In FIG. 1, the basic function blocks 110 to 110 are shown.
Although eight stages 117 are subdivided into eight sets of registers, the number of registers to be installed is arbitrary. Further, the number of stages of the basic function may be set to four and repeated.
【0041】以上、MULTI2暗号方式の復号化装置
に本発明を適用した実施形態を説明したが、DES(Da
ta Encryption Standard)方式など他の方式に適用して
もよい。The embodiment in which the present invention is applied to the MULTI2 decryption apparatus has been described above.
ta Encryption Standard).
【0042】日本や米国のデジタル放送規格では、暗号
アルゴリズムの利用モードとしてCBC(Cipher Block
Chaining)モードとOFBモードを利用することが規
定されている。CBC/OFBモードを利用した復号化
処理の場合、64ビットの暗号文ブロックに対しては、
CBCモードが利用され、64ビットに満たないブロッ
クに対しては、OFBモードが利用される。暗号文デー
タ列を復号化処理する場合には、暗号文データの先頭か
ら順に64ビットのブロックごとにCBC処理され、最
終的に64ビット未満の暗号ブロックが残った場合には
OFB処理がなされる。In the digital broadcasting standards of Japan and the United States, CBC (Cipher Block
(Chaining) mode and OFB mode are specified. In the case of the decryption processing using the CBC / OFB mode, for a 64-bit ciphertext block,
The CBC mode is used, and the OFB mode is used for blocks less than 64 bits. When a ciphertext data string is decrypted, CBC processing is performed for each 64-bit block in order from the beginning of the ciphertext data, and OFB processing is performed when an encrypted block of less than 64 bits finally remains. .
【0043】デジタル放送受信機でスクランブルのかか
った放送番組コンテンツを、HDD記憶装置やDVD記
憶装置などに蓄積してから再生するといったことや、D
VD−ROMやCD−ROMなどのメディアによって頒
布された、暗号化されたコンテンツを再生するといった
ことが考えられる。このように、ランダムアクセスが可
能な媒体に蓄積されたデータなどの場合、前もって暗号
文データのサイズを知ることができ、また、暗号文デー
タの任意のブロックを参照することができる。It is possible to store broadcast program content scrambled by a digital broadcast receiver in an HDD storage device or a DVD storage device and then play it back.
It is conceivable to play back encrypted content distributed by media such as VD-ROM and CD-ROM. As described above, in the case of data stored in a medium that can be randomly accessed, the size of ciphertext data can be known in advance, and an arbitrary block of ciphertext data can be referred to.
【0044】そこで、本発明では、MULTI2暗号方
式のように、暗号化アルゴリズムによって鍵を生成する
ステップと、復号化アルゴリズムによってCBC復号化
処理を行うステップと、暗号化アルゴリズムによってO
FB復号化処理を行うステップからなる暗号文の復号化
処理において、復号化の順序を変更することで効率化を
図る。Therefore, according to the present invention, like the MULTI2 encryption method, a key is generated by an encryption algorithm, a CBC decryption process is performed by a decryption algorithm, and an OBC is performed by an encryption algorithm.
In the ciphertext decryption process including the step of performing the FB decryption process, the efficiency is improved by changing the decryption order.
【0045】従来は、図6(a)に示すように、暗号器
による鍵スケジュール、復号器によるCBC処理、暗号
器によるOFB処理の順に復号化処理を行っていた。そ
のため、暗号器、復号器、暗号器の順に回路を二度切り
替える必要があった。そこで、図6(b)に示すよう
に、暗号器を用いて鍵スケジュールを行い、つづいて、
64ビットに満たない最終ブロックに対して暗号器でO
FB処理を先行して行い、その後、復号器にてその他の
暗号ブロックに対してCBC処理を行うようにする。そ
れにより、暗号器から復号器への切り替えが一度で済む
ため、従来の方法に比べて効率のよい復号化処理を行う
ことができる。Conventionally, as shown in FIG. 6A, decryption processing is performed in the order of a key schedule by an encryptor, CBC processing by a decryptor, and OFB processing by an encryptor. Therefore, it was necessary to switch the circuit twice in the order of the encryptor, the decryptor, and the encryptor. Therefore, as shown in FIG. 6B, a key schedule is performed using an encryptor, and then,
O for the last block less than 64 bits
The FB processing is performed in advance, and then the CBC processing is performed on the other encrypted blocks by the decryptor. As a result, the switching from the encryptor to the decryptor can be performed only once, so that more efficient decryption processing can be performed as compared with the conventional method.
【0046】図1の回路で、従来の方法を用いた場合
(a)と本発明の方法を用いた場合(b)との比較を図
7に示す。図7において、点線が1サイクルを示し、矩
形領域が処理中であることを示す。図7から明らかなよ
うに、従来の方法では、暗号器による鍵スケジュールが
終了してから復号器によるCBC処理を開始しなければ
ならなかった。しかし、本発明を用いた方法では、復号
器による鍵スケジュールと並行して、暗号器によるOF
B処理を行うことができる。したがって、鍵スケジュー
ルとOFB処理を同時に行った分だけ、復号化処理全体
に要する時間が少なくなる。図1のように同時に複数の
暗号ブロックを同時に処理を行う場合には、この発明の
効果は大きいといえる。FIG. 7 shows a comparison between the case of using the conventional method (a) and the case of using the method of the present invention (b) in the circuit of FIG. In FIG. 7, a dotted line indicates one cycle, and indicates that a rectangular area is being processed. As is clear from FIG. 7, in the conventional method, the CBC process by the decryption device must be started after the key schedule by the encryption device is completed. However, in the method using the present invention, OFD by the encryptor is performed in parallel with the key schedule by the decryptor.
B processing can be performed. Therefore, the time required for the entire decryption process is reduced by the amount of the simultaneous execution of the key schedule and the OFB process. When a plurality of encrypted blocks are simultaneously processed as shown in FIG. 1, the effect of the present invention can be said to be great.
【0047】以上のように、従来、暗号/復号器は暗号
8段(または4段)を1サイクルとして構成されていた
ため、1サイクルの処理に要する時間が長く、同時に一
つの暗号ブロックのみしか処理できないために、復号化
処理の速度を向上させることができなかった。これに対
して、本発明では、暗号8段をレジスタで複数段に細分
化することで、複数サイクルで処理を行う暗号/復号器
を構成しているので、1サイクルの処理時間が短縮でき
るようになり、復号化装置を高速に動作させることが可
能となる。また、複数の暗号ブロックを同時に処理でき
るようになるため、復号化処理の速度を向上させること
ができる。As described above, conventionally, the encryption / decryption device is configured with eight stages (or four stages) of encryption as one cycle, so that the time required for processing of one cycle is long, and only one encryption block is processed at a time. Because of this, the speed of the decoding process could not be improved. On the other hand, in the present invention, the encryption / decryption unit that performs processing in a plurality of cycles is configured by subdividing the encryption eight stages into a plurality of stages by the register, so that the processing time of one cycle can be reduced. And the decoding device can be operated at high speed. Also, since a plurality of encrypted blocks can be processed simultaneously, the speed of the decryption process can be improved.
【0048】また従来、復号化処理を鍵スケジュール、
CBC処理、OFB処理の順で行っていたため、暗号
器、復号器、暗号器の順に回路を切り替える必要があっ
たが、本発明では、鍵スケジュール、OFB処理、CB
C処理の順で行うので、回路の切り替えが暗号器から復
号器への切り替えの1回のみとなり、復号化処理の効率
化を図ることができる。Conventionally, the decryption process is performed by using a key schedule,
Since the CBC process and the OFB process were performed in this order, it was necessary to switch the circuit in the order of the encryptor, the decryptor, and the encryptor. However, in the present invention, the key schedule, the OFB process, and the CB
Since the processing is performed in the order of the C processing, the switching of the circuit is performed only once, that is, the switching from the encryptor to the decryptor, and the efficiency of the decryption processing can be improved.
【0049】[0049]
【発明の効果】以上のように本発明によれば、ブロック
暗号方式で暗号化されたデータ列の復号化処理におい
て、処理速度を向上させることができ、また、暗号化ア
ルゴリズムによって鍵を生成するステップと、復号化ア
ルゴリズムによってCBC復号化処理を行うステップ
と、暗号化アルゴリズムによってOFB復号化処理を行
うステップからなる暗号文の復号化処理を効率よく行う
ことのできる復号化方法及び復号化装置を提供すること
ができる。As described above, according to the present invention, the processing speed can be improved in the decryption processing of a data string encrypted by the block encryption method, and a key is generated by an encryption algorithm. A decryption method and a decryption apparatus capable of efficiently performing a ciphertext decryption process including a step of performing a CBC decryption process by a decryption algorithm and a step of performing an OFB decryption process by an encryption algorithm. Can be provided.
【0050】さらに、上記復号化方法及び復号化装置を
利用することで、暗号化されたデジタル放送受信データ
列を効率よく復号可能としたデジタル放送受信方法、デ
ジタル放送受信装置を提供することができる。Further, by using the above-described decryption method and decryption apparatus, it is possible to provide a digital broadcast reception method and a digital broadcast reception apparatus capable of efficiently decrypting an encrypted digital broadcast reception data sequence. .
【図1】 本発明の実施形態として、MULTI2暗号
方式に準拠した復号化処理コアに本発明を適用した場合
の構成を示すブロック図。FIG. 1 is a block diagram showing a configuration in a case where the present invention is applied to a decryption processing core conforming to the MULTI2 encryption method as an embodiment of the present invention.
【図2】 図1の回路をMULTI2暗号器として機能
させたときのブロック図。FIG. 2 is a block diagram when the circuit of FIG. 1 functions as a MULTI2 encryptor;
【図3】 図1の回路をMULTI2復号器として機能
させたときのブロック図。FIG. 3 is a block diagram when the circuit of FIG. 1 is caused to function as a MULTI2 decoder;
【図4】 図1の回路をMULTI2鍵スケジュール回
路として機能させたときのブロック図。FIG. 4 is a block diagram when the circuit of FIG. 1 is caused to function as a MULTI2 key schedule circuit;
【図5】 図1の復号化処理コアを利用した暗号文の復
号化装置の構成を示すブロック図。FIG. 5 is a block diagram showing a configuration of a ciphertext decryption apparatus using the decryption processing core of FIG. 1;
【図6】 本発明の復号化処理の流れを従来の場合と比
較して示す図。FIG. 6 is a diagram showing a flow of a decoding process according to the present invention in comparison with a conventional case.
【図7】 従来の方法を用いた場合と本発明の方法を用
いた場合とで処理時間を比較して示す図。FIG. 7 is a diagram showing a comparison of processing time between the case where the conventional method is used and the case where the method of the present invention is used.
【図8】 MULTI2の復号化アルゴリズムの概略を
示す図。FIG. 8 is a diagram showing an outline of a MULTI2 decoding algorithm.
【図9】 MULTI2の暗号アルゴリズムの処理構成
を示す図。FIG. 9 is a diagram showing a processing configuration of a MULTI2 encryption algorithm.
【図10】 MULTI2の復号アルゴリズムの処理構
成を示す図。FIG. 10 is a diagram showing a processing configuration of a MULTI2 decoding algorithm.
【図11】 MULTI2の鍵スケジュールのアルゴリ
ズムの処理装置を示す図。FIG. 11 is a diagram showing a processing apparatus of an algorithm of a key schedule of MULTI2.
【図12】 従来の復号化装置の構成例を示すブロック
図。FIG. 12 is a block diagram showing a configuration example of a conventional decoding device.
100…復号化処理コア、101…レジスタ、102…
ワーク鍵レジスタ、103…システム鍵レジスタ、10
4〜106…セレクタ、107…排他的論理和回路、1
10〜117…暗号基本関数ブロック、120〜127
…32ビットレジスタ、130〜138…セレクタ、1
40、141…データ入力端子、150、151…デー
タ出力端子、160〜167…鍵入力端子、170〜1
77…鍵出力端子。100: decryption processing core, 101: register, 102:
Work key register, 103 ... system key register, 10
4 to 106: selector, 107: exclusive OR circuit, 1
10 to 117 ... Cryptographic basic function block, 120 to 127
... 32-bit register, 130-138 ... selector, 1
40, 141: data input terminal, 150, 151: data output terminal, 160 to 167: key input terminal, 170 to 1
77 ... Key output terminal.
Claims (8)
うブロック暗号化方式により暗号化されたデータ列を入
力し復号処理を行う復号化方法において、 前記復号処理の演算を任意の単位の演算に分け、この演
算単位毎に入力データ列の復号化処理を行うことを特徴
とする復号化方法。1. A decryption method for inputting a data string encrypted by a block encryption method for performing an encryption operation in block units of a predetermined length and performing a decryption process, wherein the decryption operation is performed in an arbitrary unit. A decoding method, wherein the decoding is divided into operations and an input data sequence is decoded for each operation unit.
号/復号アルゴリズムの利用モードのうちの、CBC
(Cipher Block Chaining)モードもしくはOFB(Out
put Feedback)モードでブロック暗号化を施されたデー
タ列を入力とし、暗号化アルゴリズムによる鍵スケジュ
ール処理、暗号化アルゴリズムによるOFB処理、復号
化アルゴリズムによるCBC処理の順に処理を切り替え
て復号処理を実行することを特徴とする復号化方法。2. An encryption / decryption algorithm use mode registered in ISO / IEC10116, wherein CBC
(Cipher Block Chaining) mode or OFB (Out
A data sequence that has been subjected to block encryption in the put feedback mode is input, and decryption processing is executed by switching the processing in the order of key schedule processing using an encryption algorithm, OFB processing using an encryption algorithm, and CBC processing using a decryption algorithm. A decoding method characterized by the above-mentioned.
SO9979/009)方式であることを特徴とする請
求項1または2に記載の復号化方法。3. The method according to claim 1, wherein the block encryption method is MULTI2 (I
3. The decoding method according to claim 1, wherein the decoding method is an SO 9799/009) method.
うブロック暗号化方式により暗号化されたデジタル放送
の受信データ列を、請求項1、2の少なくともいずれか
一方に記載の復号化方法により復号処理することを特徴
とするデジタル放送受信方法。4. The decoding method according to claim 1, wherein a received data sequence of a digital broadcast encrypted by a block encryption system for performing an encryption operation in blocks of a predetermined length is provided. A digital broadcast receiving method, comprising:
算を行うブロック暗号化方式により暗号化されたデータ
列を入力し復号する復号化装置において、 前記複数段の暗号化演算それぞれに対応する複数段の復
号化演算部、前記複数段の復号化演算部それぞれの入出
力間の任意の箇所に設けられ、前段の復号化演算部の演
算結果を一定期間保持して後段の復号化演算部に渡す記
憶手段を備える復号化処理回路をコアとして用いて複数
の処理段を構成し、この処理段を処理単位として前記デ
ータ列の復号処理を行うことを特徴とする復号化装置。5. A decryption apparatus for inputting and decrypting a data string encrypted by a block encryption method for performing a plurality of stages of encryption operations in units of a predetermined length, wherein each of the plurality of stages of encryption operations is supported. A multi-stage decoding operation unit, which is provided at an arbitrary position between the input and output of each of the multi-stage decoding operation units, holds the operation result of the pre-stage decoding operation unit for a certain period, and A decoding apparatus comprising: a plurality of processing stages configured by using a decoding processing circuit including storage means to be passed to a unit as a core; and performing the decoding process of the data string by using the processing stages as a processing unit.
号/復号アルゴリズムの利用モードのうちの、CBC
(Cipher Block Chaining)モードもしくはOFB(Out
put Feedback)モードでブロック暗号化を施されたデー
タ列を入力し復号処理を行う復号化装置において、 前記入力データ列にOFBモードで暗号化されたデータ
があることを検知するOFBモード検知手段と、 復号化処理に使用するアルゴリズムとして暗号化アルゴ
リズムと復号化アルゴリズムを切り替えるアルゴリズム
切替手段と、 前記OFBモード検知手段でOFBモードのデータ入力
があることを検知したとき、暗号化アルゴリズムによる
鍵スケジュール処理、暗号化アルゴリズムによるOFB
処理、復号化アルゴリズムによるCBC処理の順に、前
記アルゴリズム切替手段の切替制御を行う切替制御手段
とを具備することを特徴とする復号化装置。6. CBC of the use modes of the encryption / decryption algorithm registered in ISO / IEC10116
(Cipher Block Chaining) mode or OFB (Out
a decryption device that inputs a data sequence that has been subjected to block encryption in a put feedback mode and performs a decryption process; and an OFB mode detection unit that detects that the input data sequence includes data encrypted in the OFB mode. An algorithm switching unit for switching between an encryption algorithm and a decryption algorithm as an algorithm used for the decryption process; and a key schedule process by the encryption algorithm when the OFB mode detection unit detects that there is data input in the OFB mode. OFB with encryption algorithm
A switching control unit for performing switching control of the algorithm switching unit in the order of processing and CBC processing by a decoding algorithm.
SO9979/009)方式であることを特徴とする請
求項5または6に記載の復号化装置。7. The method according to claim 1, wherein the block encryption method is MULTI2 (I
The decoding apparatus according to claim 5, wherein the decoding apparatus is based on the (SO9979 / 09) method.
うブロック暗号化方式により暗号化されたデジタル放送
の受信データ列を、請求項5、6の少なくともいずれか
一方に記載の復号化装置により復号処理することを特徴
とするデジタル放送受信装置。8. The decryption apparatus according to claim 5, wherein a received data sequence of a digital broadcast encrypted by a block encryption method for performing an encryption operation in blocks of a predetermined length is provided. A digital broadcast receiving apparatus for performing a decoding process on the digital broadcast.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2001102457A JP2002297031A (en) | 2001-03-30 | 2001-03-30 | Method/device for decoding and method/device for receiving digital broadcasting using the decoding method/ device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2001102457A JP2002297031A (en) | 2001-03-30 | 2001-03-30 | Method/device for decoding and method/device for receiving digital broadcasting using the decoding method/ device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2002297031A true JP2002297031A (en) | 2002-10-09 |
Family
ID=18955651
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2001102457A Pending JP2002297031A (en) | 2001-03-30 | 2001-03-30 | Method/device for decoding and method/device for receiving digital broadcasting using the decoding method/ device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2002297031A (en) |
-
2001
- 2001-03-30 JP JP2001102457A patent/JP2002297031A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0802653B1 (en) | Multi-cycle non-parallel data encryption engine | |
US5671284A (en) | Data encryptor having a scalable clock | |
US8391475B2 (en) | Method and apparatus for advanced encryption standard (AES) block cipher | |
US7321659B2 (en) | Simple universal hash for plaintext aware encryption | |
US20020041685A1 (en) | Data encryption apparatus | |
US20140189367A1 (en) | Digital-encryption hardware accelerator | |
JP2007135205A (en) | Method and system for generating ciphertext and message authentication codes utilizing shared hardware | |
US6732271B1 (en) | Method of deciphering ciphered data and apparatus for same | |
GB2398213A (en) | Encryption using the KASUMI algorithm | |
JP3769804B2 (en) | Decoding method and electronic device | |
US7257229B1 (en) | Apparatus and method for key scheduling | |
US20070183594A1 (en) | Data processing apparatus for performing a cryptographic method | |
JP4466641B2 (en) | Cryptographic processing device | |
US20050147239A1 (en) | Method for implementing advanced encryption standards using a very long instruction word architecture processor | |
US20240097880A1 (en) | High-speed circuit combining aes and sm4 encryption and decryption | |
JP2002297031A (en) | Method/device for decoding and method/device for receiving digital broadcasting using the decoding method/ device | |
US7583800B2 (en) | Encryption apparatus and method in a wireless communications system | |
JP4708914B2 (en) | Decryption method | |
JP2002297030A (en) | Device and method for ciphering processing and program | |
KR100546777B1 (en) | SED encryption / decoding device, encryption / decoding method, round processing method, F function processor suitable for this | |
JPH09233065A (en) | Ciphering device and ciphering method | |
JPS59167147A (en) | Ciphering device | |
JPH10303883A (en) | Enciphering method | |
JPH09230788A (en) | Encoding method and device | |
CN117725605A (en) | Method and system for remotely and automatically compiling electronic archive file information confidentiality |