JP2001177516A - Method and device for enciphering and decoding, and recording medium - Google Patents

Method and device for enciphering and decoding, and recording medium

Info

Publication number
JP2001177516A
JP2001177516A JP35955999A JP35955999A JP2001177516A JP 2001177516 A JP2001177516 A JP 2001177516A JP 35955999 A JP35955999 A JP 35955999A JP 35955999 A JP35955999 A JP 35955999A JP 2001177516 A JP2001177516 A JP 2001177516A
Authority
JP
Japan
Prior art keywords
reference value
value
encryption
usage status
input data
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
Application number
JP35955999A
Other languages
Japanese (ja)
Inventor
Makoto Fukushima
誠 福島
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP35955999A priority Critical patent/JP2001177516A/en
Publication of JP2001177516A publication Critical patent/JP2001177516A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a technology for enciphering and decoding data faster. SOLUTION: An input data distributing part compares the data length of input data with a 1st reference value (step A2). When the data length is longer than the 1st reference value as a result of comparison, the input data is transferred to hardware 3. Then, the hardware 3 applies encipher and decoding processing to the input data (step A3). When the data length is not longer than the 1st reference value, the input data is transferred to an encipher and decoding processing part 22. Then, the part 22 applies encipher and decoding processing to the input data (step A4).

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、データの暗号化・
復号化技術に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention
The present invention relates to a decoding technique.

【0002】[0002]

【従来の技術】従来、データの暗号化・復号化にあた
り、種々の技術が提案されている。例えば、特開平9−
288565号公報に開示されている。この公報に開示
の技術には、暗号学的安全性について優れた鍵系列によ
るストリーム暗号を実現可能な暗号化装置が提案されて
いる。
2. Description of the Related Art Conventionally, various techniques have been proposed for encrypting and decrypting data. For example, JP-A-9-
No. 288,565. The technology disclosed in this publication proposes an encryption device capable of realizing a stream cipher using a key sequence excellent in cryptographic security.

【0003】また、データの暗号化・復号化処理は、ソ
フトウエアにより制御されたCPUで行う場合よりも、
専用LSIチップや専用LSIチップから構成されたア
クセラレータ等のハードウエアで行う場合の方が、一般
に、速く処理することができる。
[0003] In addition, data encryption / decryption processing is performed by a CPU controlled by software rather than by a CPU controlled by software.
In general, processing can be performed faster by using a dedicated LSI chip or hardware such as an accelerator constituted by the dedicated LSI chip.

【0004】[0004]

【発明が解決しようとする課題】ところで、入力データ
のデータ長によっては、ハードウエアで処理するより
も、ソフトウエアで処理したほうが、より早く処理でき
る場合がある。しかしながら、従来の暗号化・符号化処
理は、ハードウエア又はソフトウエアのどちらか一方だ
けで処理することを前提としている。このため、例え
ば、ハードウエアだけで暗号化・符号化処理を行う従来
の暗号化・符号化装置においては、データ長が一定長よ
りも短い場合には、ソフトウエアにより処理した場合よ
りも、却って処理速度が遅くなってしまうという問題が
あった。
By the way, depending on the data length of input data, there are cases where processing can be performed faster by software than by hardware. However, the conventional encryption / encoding processing is premised on processing using only one of hardware and software. For this reason, for example, in a conventional encryption / encoding device that performs encryption / encoding processing using only hardware, when the data length is shorter than a certain length, it is more likely than when processing is performed by software. There is a problem that the processing speed is reduced.

【0005】本発明は、上記の問題を解決すべくなされ
たものであり、より高速でデータを暗号化・復号化する
ための技術の提供を目的とする。
The present invention has been made to solve the above-mentioned problem, and has as its object to provide a technique for encrypting and decrypting data at a higher speed.

【0006】[0006]

【課題を解決するための手段】この目的の達成を図るた
め、本発明の請求項1に係る暗号化・複合化方法によれ
ば、入力データのデータ長と第一基準値と比較し、比較
結果に応じて、入力データの暗号化・復号化処理を、暗
号化・復号化処理用のハードウエア、及び、暗号化・復
号化処理用のソフトウエアのいずれか一方により行う方
法としてある。
In order to achieve this object, according to the encryption / decryption method of the present invention, the data length of input data is compared with a first reference value. According to the result, the encryption / decryption processing of the input data is performed by one of hardware for encryption / decryption processing and software for encryption / decryption processing.

【0007】このように、本発明の暗号化・復号化方法
によれば、暗号化・復号化処理対象の入力データのデー
タ長によって、処理方法をハードウエアによる処理、又
は、ソフトウエアによる処理に切り替える。このため、
ハードウエア又はソフトウエアのいずれか速く処理でき
る方法を選択することができる。その結果、入力データ
のデータ長によらずに、最適な処理方法により高速で暗
号化・復号化処理を行うことができる。
As described above, according to the encryption / decryption method of the present invention, the processing method can be changed to hardware processing or software processing depending on the data length of the input data to be encrypted / decrypted. Switch. For this reason,
Either hardware or software can be selected for faster processing. As a result, the encryption / decryption processing can be performed at high speed by an optimal processing method regardless of the data length of the input data.

【0008】また、請求項2記載の発明によれば、デー
タ長が第一基準値よりも長い場合に、暗号化・復号化処
理をハードウエアにより行い、データ長が第一基準値以
下の場合に、暗号化・復号化処理をソフトウエアにより
行う方法としてある。このようにすれば、入力データの
データ長が短い場合に、処理方法をソフトウエアに切り
替えることができる。このため、入力データのデータ長
によらずに、より高速で暗号化・復号化処理を行うこと
ができる。なお、第一基準値は、使用する暗号化・復号
化のアルゴリズム、ハードウエアの性能、及び、コンピ
ュータのCPU(中央演算装置)の性能に基づいて、任
意好適な値を決定すると良い。
According to the second aspect of the present invention, when the data length is longer than the first reference value, the encryption / decryption processing is performed by hardware, and when the data length is shorter than the first reference value. Another method is to perform encryption / decryption processing by software. In this way, when the data length of the input data is short, the processing method can be switched to software. Therefore, the encryption / decryption processing can be performed at a higher speed regardless of the data length of the input data. The first reference value may be determined to be any suitable value based on the encryption / decryption algorithm to be used, the performance of hardware, and the performance of the CPU (central processing unit) of the computer.

【0009】ところで、データ長に基づいて選択したハ
ードウエアが、他のデータの暗号化・復号化処理等を行
っている場合がある。その場合、他の処理が終了するの
を待って入力データの処理をしたのでは、ソフトウエア
で処理した場合よりも却って処理に時間がかかってしま
うことが起こり得る。
By the way, the hardware selected based on the data length may be performing encryption / decryption processing of other data. In this case, if the input data is processed after the completion of the other processing, the processing may take more time than when the processing is performed by software.

【0010】そこで、請求項3記載の発明によれば、デ
ータ長が第一基準値よりも長い場合に、ハードウエアの
第一使用状況値と第二基準値とを比較し、第一使用状況
値が第二基準値以下の場合に、暗号化・復号化処理を、
ハードウエアにより行い、データ長が第一基準値以下の
場合、又は、第一使用状況値が第二基準値よりも高い場
合に、ソフトウエアにより暗号化・復号化処理を行う処
理部の第二使用状況値と第三基準値とを比較し、第二使
用状況値が第二基準値以下の場合に、暗号化・復号化処
理をソフトウエアにより行い、第二使用状況値が第三基
準値よりも高い場合に、暗号化・復号化処理を前記ハー
ドウエアにより行う方法としてある。
Therefore, according to the third aspect of the present invention, when the data length is longer than the first reference value, the first usage status value of the hardware is compared with the second reference value, and the first usage status is compared. If the value is equal to or less than the second reference value, the encryption / decryption processing is performed.
When the data length is equal to or less than the first reference value or when the first use status value is higher than the second reference value, the second processing unit performs encryption / decryption processing by software. The usage status value is compared with the third reference value, and if the second usage status value is equal to or less than the second reference value, encryption / decryption processing is performed by software, and the second usage status value is determined by the third reference value. If it is higher than this, the encryption / decryption processing is performed by the hardware.

【0011】このようにすれば、データ長が長い入力デ
ータでも、ハードウエアが他のデータの処理に使用され
ている場合には、ソフトウエアにより処理することが可
能となる。その結果、ハードウエアの使用状況によらず
に、安定して高速で暗号化・復号化処理を行うことがで
きる。
In this way, even if the input data has a long data length, it can be processed by software if the hardware is used for processing other data. As a result, the encryption / decryption processing can be performed stably and at high speed irrespective of the use condition of the hardware.

【0012】さらに、ハードウエアが使用されている場
合に、ソフトウエアで稼動する処理部も使用されている
場合も想定される。そこで、請求項3記載の発明では、
ハードウエアの使用状況を判断した後、処理部の使用状
況も判断し、使用状況が条件を満たせば、処理部で暗号
化・復号化処理を行うようにしている。
Further, when hardware is used, it is assumed that a processing unit operated by software is also used. Therefore, in the invention according to claim 3,
After determining the usage status of the hardware, the usage status of the processing unit is also determined. If the usage status satisfies the condition, the processing unit performs the encryption / decryption processing.

【0013】なお、第二基準値は、暗号化・復号化処理
方法の選択にあたっての、ハードウエアのソフトウエア
に対する優先の程度を示す値でもあり、任意好適な値を
採用することができる。また、第三基準値は、暗号化・
復号化処理方法の選択にあたっての、ソフトウエアのハ
ードウエアに対する優先の程度を示す値でもあり、任意
好適な値を採用することができる。
The second reference value is also a value indicating the degree of priority of hardware with respect to software when selecting an encryption / decryption processing method, and any suitable value can be adopted. In addition, the third reference value is
It is also a value indicating the degree of priority of software with respect to hardware in selecting a decoding method, and any suitable value can be adopted.

【0014】ところで、データ長に基づいて選択した、
ソフトウエアで稼動するCPU等の処理装置が、暗号化
・復号化処理以外の処理や、他のデータの暗号化・復号
化処理を行っている場合がある。その場合、他の処理が
終了するのを待って入力データの処理をしたのでは、ハ
ードウエアで処理した場合よりも却って処理に時間がか
かってしまうことが起こり得る。
By the way, selected based on the data length,
There is a case where a processing device such as a CPU operated by software performs processing other than encryption / decryption processing and encryption / decryption processing of other data. In this case, if the input data is processed after the completion of the other processing, the processing may take more time than when the processing is performed by hardware.

【0015】そこで、請求項4記載の発明によれば、デ
ータ長が第一基準値以下の場合に、ソフトウエアにより
暗号化・復号化処理を行う処理部の第二使用状況値と第
三基準値とを比較し、第二使用状況値が第二基準値以下
の場合に、暗号化・復号化処理を前記ソフトウエアによ
り行い、第二使用状況値が第三基準値よりも高い場合
に、ハードウエアの第一使用状況値と第二基準値とを比
較し、第一使用状況値が第二基準値以下の場合に、暗号
化・復号化処理を、ハードウエアにより行い、第一使用
状況値が第二基準値よりも高い場合に、暗号化・復号化
処理をソフトウエアにより行う方法としてある。
According to the fourth aspect of the present invention, when the data length is equal to or less than the first reference value, the second usage status value of the processing unit that performs encryption / decryption processing by software and the third reference value Compare with the value, if the second usage status value is less than or equal to the second reference value, perform encryption / decryption processing by the software, if the second usage status value is higher than the third reference value, The first usage status value of the hardware is compared with the second reference value, and if the first usage status value is equal to or less than the second reference value, the encryption / decryption processing is performed by hardware, and the first usage status value is determined. When the value is higher than the second reference value, encryption / decryption processing is performed by software.

【0016】このようにすれば、データ長が短い入力デ
ータでも、ソフトウエアで稼動するCPU等の処理部が
他のデータの処理に使用されている場合には、ハードウ
エアにより処理することが可能となる。その結果、ソフ
トウエアによる処理部の使用状況によらずに、安定して
高速で暗号化・復号化処理を行うことができる。
In this way, even if input data having a short data length is used for processing other data, a processing unit such as a CPU operated by software can be processed by hardware. Becomes As a result, the encryption / decryption processing can be performed stably and at high speed irrespective of the usage status of the processing unit by software.

【0017】さらに、ソフトウエアで稼動する処理部が
使用されている場合に、ハードウエアも使用されている
場合も想定される。そこで、請求項4記載の発明では、
処理部の使用状況を判断した後、ハードウエアの使用状
況も判断し、使用状況が条件を満たせば、処理部で暗号
化・復号化処理を行うようにしている。
Further, when a processing unit operated by software is used, it is assumed that hardware is also used. Therefore, in the invention according to claim 4,
After determining the usage status of the processing unit, the usage status of the hardware is also determined. If the usage status satisfies the condition, the processing unit performs encryption / decryption processing.

【0018】なお、第二基準値は、暗号化・復号化処理
方法の選択にあたっての、ハードウエアのソフトウエア
に対する優先の程度を示す値でもあり、任意好適な値を
採用することができる。また、第三基準値は、暗号化・
復号化処理方法の選択にあたっての、ソフトウエアのハ
ードウエアに対する優先の程度を示す値でもあり、任意
好適な値を採用することができる。
The second reference value is also a value indicating the degree of priority of hardware with respect to software when selecting an encryption / decryption processing method, and any suitable value can be adopted. In addition, the third reference value is
It is also a value indicating the degree of priority of software with respect to hardware in selecting a decoding method, and any suitable value can be adopted.

【0019】また、請求項5記載の発明によれば、第一
使用状況値をハードウエアの処理回数とし、第二使用状
況値を処理部の使用率とする方法としてある。このよう
に、第一使用状況値を処理回数とすれば、ハードウエア
の使用状況を適切に表すことができる。また、この場
合、第二基準値も、任意好適な処理回数とすると良い。
さらに、第二使用状況値を使用率とすれば、ソフトウエ
アで稼動する処理部の使用状況を適切に表すことができ
る。また、この場合、第三基準値も、任意好適な処理率
とすると良い。
According to a fifth aspect of the present invention, there is provided a method of setting the first usage status value to the number of times of processing of hardware and setting the second usage status value to the usage rate of the processing unit. As described above, when the first usage status value is set as the number of times of processing, the usage status of hardware can be appropriately represented. In this case, the second reference value may be set to any suitable number of times of processing.
Furthermore, if the second usage status value is used as the usage rate, the usage status of the processing unit operated by software can be appropriately represented. In this case, the third reference value may be set to any suitable processing rate.

【0020】また、請求項6記載の発明によれば、第一
基準値を、入力データの暗号化アルゴリズムの種類によ
って、個別の値とする方法としてある。このように、ア
ルゴリズムの種類別に第一基準値を設定しておけば、そ
れぞれのアルゴリズムの種類に応じて最適な基準値を選
択できる。その結果、アルゴリズムの種類によらずに、
高速で暗号化・復号化処理を行うことができる。
According to a sixth aspect of the present invention, there is provided a method of setting the first reference value to an individual value depending on the type of the encryption algorithm of the input data. In this way, if the first reference value is set for each type of algorithm, an optimum reference value can be selected according to each type of algorithm. As a result, regardless of the type of algorithm,
The encryption / decryption processing can be performed at high speed.

【0021】また、本発明の請求項7記載の暗号化・複
合化装置によれば、入力データの暗号化・複合化処理を
暗号化・復号化処理用のソフトウエアにより行う処理部
と、データの暗号化・複合化処理を行う暗号化・複合化
処理用のハードウエアと、入力データ分配部とを備え、
入力データ分配部は、入力データのデータ長と第一基準
値と比較し、比較結果に応じて、入力データを、処理部
及びハードウエアのいずれか一方へ転送する構成として
ある。
Further, according to the encryption / decryption device of the present invention, a processing unit for performing encryption / decryption processing of input data by software for encryption / decryption processing, Hardware for encryption / decryption processing that performs encryption / decryption processing of
The input data distribution unit compares the data length of the input data with the first reference value, and transfers the input data to one of the processing unit and the hardware according to the comparison result.

【0022】このように、本発明の暗号化・復号化装置
によれば、入力データ分配部により、暗号化・復号化処
理対象の入力データのデータ長によって、処理方法をハ
ードウエアによる処理、又は、ソフトウエアによる処理
に切り替える。このため、ハードウエア又はソフトウエ
アのいずれか速く処理できる方法を選択することができ
る。その結果、入力データのデータ長によらずに、最適
な処理方法により高速で暗号化・復号化処理を行うこと
ができる。
As described above, according to the encryption / decryption device of the present invention, the input data distribution unit allows the processing method to be performed by hardware, or by the data length of the input data to be encrypted / decrypted. , Switch to processing by software. For this reason, it is possible to select either a hardware or software method that can perform the processing faster. As a result, the encryption / decryption processing can be performed at high speed by an optimal processing method regardless of the data length of the input data.

【0023】また、請求項8記載の発明によれば、入力
データ分配部は、データ長が第一基準値よりも長い場合
に、入力データをハードウエアへ転送し、データ長が第
一基準値以下の場合に、入力データを処理部へ転送する
構成としてある。
According to the present invention, when the data length is longer than the first reference value, the input data distribution unit transfers the input data to the hardware so that the data length is equal to the first reference value. In the following cases, the input data is transferred to the processing unit.

【0024】このような構成とすれば、入力データのデ
ータ長が短い場合に、処理方法をソフトウエアに切り替
えることができる。このため、入力データのデータ長に
よらずに、より高速で暗号化・復号化処理を行うことが
できる。なお、第一基準値は、使用する暗号化・復号化
のアルゴリズム、ハードウエアの性能、及び、コンピュ
ータのCPU(中央演算装置)の性能に基づいて、任意
好適な値を決定すると良い。
With this configuration, when the data length of the input data is short, the processing method can be switched to software. Therefore, the encryption / decryption processing can be performed at a higher speed regardless of the data length of the input data. The first reference value may be determined to be any suitable value based on the encryption / decryption algorithm to be used, the performance of hardware, and the performance of the CPU (central processing unit) of the computer.

【0025】また、請求項9記載の発明によれば、ハー
ドウエアの使用状況を監視し、当該使用状況を第一使用
状況値として出力するハードウエア処理監視部と、処理
部の使用状況を監視し、当該使用状況を第二使用状況値
として出力するソフトウエア処理監視部とを備え、入力
データ分配部は、データ長が前記第一基準値よりも長い
場合に、前記第一使用状況値と第二基準値とを比較し、
第一使用状況値が第二基準値以下の場合に、入力データ
をハードウエアへ転送し、データ長が第一基準値以下の
場合、又は、第一使用状況値が第二基準値よりも高い場
合に、第二使用状況値と第三基準値とを比較し、第二使
用状況値が第二基準値以下の場合に、入力データを処理
部へ転送し、第二使用状況値が第三基準値よりも高い場
合に、入力データをハードウエアへ転送する構成として
ある。
According to the ninth aspect of the present invention, a hardware processing monitoring unit that monitors the usage status of hardware and outputs the usage status as a first usage status value, and monitors the usage status of the processing unit. A software processing monitoring unit that outputs the usage status as a second usage status value, and the input data distribution unit, when the data length is longer than the first reference value, the first usage status value and Compare to the second reference value,
When the first usage status value is equal to or less than the second reference value, the input data is transferred to the hardware, and when the data length is equal to or less than the first reference value, or when the first usage status value is higher than the second reference value. In this case, the second usage status value is compared with the third reference value, and if the second usage status value is equal to or less than the second reference value, the input data is transferred to the processing unit, and the second usage status value is set to the third reference value. When the value is higher than the reference value, the input data is transferred to hardware.

【0026】このような構成とすれば、データ長が長い
入力データでも、ハードウエアが他のデータの処理に使
用されている場合には、ソフトウエアにより処理するこ
とが可能となる。その結果、ハードウエアの使用状況に
よらずに、安定して高速で暗号化・復号化処理を行うこ
とができる。
With such a configuration, even if the input data has a long data length, it can be processed by software if the hardware is used for processing other data. As a result, the encryption / decryption processing can be performed stably and at high speed irrespective of the use condition of the hardware.

【0027】さらに、ハードウエアが使用されている場
合に、ソフトウエアで稼動する処理部も使用されている
場合も想定される。そこで、請求項3記載の発明では、
ハードウエアの使用状況を判断した後、処理部の使用状
況も判断し、使用状況が条件を満たせば、処理部で暗号
化・復号化処理を行うようにしている。
Further, when hardware is used, it is also assumed that a processing unit operated by software is also used. Therefore, in the invention according to claim 3,
After determining the usage status of the hardware, the usage status of the processing unit is also determined. If the usage status satisfies the condition, the processing unit performs the encryption / decryption processing.

【0028】なお、第二基準値は、暗号化・復号化処理
方法の選択にあたっての、ハードウエアのソフトウエア
に対する優先の程度を示す値でもあり、任意好適な値を
採用することができる。また、第三基準値は、暗号化・
復号化処理方法の選択にあたっての、ソフトウエアのハ
ードウエアに対する優先の程度を示す値でもあり、任意
好適な値を採用することができる。
The second reference value is also a value indicating the degree of priority of hardware with respect to software when selecting an encryption / decryption processing method, and any suitable value can be adopted. In addition, the third reference value is
It is also a value indicating the degree of priority of software with respect to hardware in selecting a decoding method, and any suitable value can be adopted.

【0029】また、請求項10記載の発明によれば、ハ
ードウエアの使用状況を監視し、当該使用状況を第一使
用状況値として出力するハードウエア処理監視部と、処
理部の使用状況を監視し、当該使用状況を第二使用状況
値として出力するソフトウエア処理監視部とを備え、入
力データ分配部は、データ長が第一基準値以下の場合
に、第二使用状況値と第三基準値とを比較し、第二使用
状況値が第二基準値以下の場合に、入力データを処理部
へ転送し、第二使用状況値が第三基準値よりも高い場合
に、第一使用状況値と第二基準値とを比較し、第一使用
状況値が第二基準値以下の場合に、入力データをハード
ウエアへ転送し、第一使用状況値が第二基準値よりも高
い場合に、入力データを前記処理部へ転送する構成とし
てある。
According to the tenth aspect of the present invention, a hardware processing monitoring unit that monitors the usage status of hardware and outputs the usage status as a first usage status value, and monitors the usage status of the processing unit. A software processing monitoring unit that outputs the usage status as a second usage status value, wherein the input data distribution unit outputs the second usage status value and the third reference value when the data length is equal to or less than the first reference value. Compare the value to the second usage status value, if the second usage status value is less than the second reference value, transfer the input data to the processing unit, if the second usage status value is higher than the third reference value, the first usage status The value is compared with the second reference value.If the first usage value is less than or equal to the second reference value, the input data is transferred to the hardware, and if the first usage value is higher than the second reference value, , The input data is transferred to the processing unit.

【0030】このような構成とすれば、データ長が短い
入力データでも、ソフトウエアで稼動するCPU等の処
理部が他のデータの処理に使用されている場合には、ハ
ードウエアにより処理することが可能となる。その結
果、ソフトウエアによる処理部の使用状況によらずに、
安定して高速で暗号化・復号化処理を行うことができ
る。
With such a configuration, even if input data having a short data length is used, if a processing unit such as a CPU operated by software is used for processing other data, it can be processed by hardware. Becomes possible. As a result, regardless of the usage status of the processing unit by software,
The encryption / decryption processing can be performed stably and at high speed.

【0031】さらに、ソフトウエアで稼動する処理部が
使用されている場合に、ハードウエアも使用されている
場合も想定される。そこで、請求項4記載の発明では、
処理部の使用状況を判断した後、ハードウエアの使用状
況も判断し、使用状況が条件を満たせば、処理部で暗号
化・復号化処理を行うようにしている。
Further, when a processing unit operated by software is used, it is assumed that hardware is also used. Therefore, in the invention according to claim 4,
After determining the usage status of the processing unit, the usage status of the hardware is also determined. If the usage status satisfies the condition, the processing unit performs encryption / decryption processing.

【0032】なお、第二基準値は、暗号化・復号化処理
方法の選択にあたっての、ハードウエアのソフトウエア
に対する優先の程度を示す値でもあり、任意好適な値を
採用することができる。また、第三基準値は、暗号化・
復号化処理方法の選択にあたっての、ソフトウエアのハ
ードウエアに対する優先の程度を示す値でもあり、任意
好適な値を採用することができる。
The second reference value is also a value indicating the degree of priority of hardware with respect to software when selecting an encryption / decryption processing method, and any suitable value can be adopted. In addition, the third reference value is
It is also a value indicating the degree of priority of software with respect to hardware when selecting a decoding processing method, and any suitable value can be adopted.

【0033】また、本発明の請求項11記載の第一の記
録媒体によれば、入力データのデータ長と第一基準値と
比較する処理と、データ長が第一基準値よりも長い場合
に、入力データの暗号化・復号化処理を、暗号化・復号
化処理用のハードウエアへ送出する処理と、データ長が
第一基準値以下の場合に、入力データを暗号化・復号化
する処理とをコンピュータに実行させるプログラムが記
録された記録媒体としてある。
Further, according to the first recording medium of the present invention, the processing for comparing the data length of the input data with the first reference value, and the processing for the case where the data length is longer than the first reference value, Sending encryption / decryption processing of input data to hardware for encryption / decryption processing, and processing of encrypting / decrypting input data when the data length is equal to or less than a first reference value. As a recording medium on which a program for causing a computer to execute is recorded.

【0034】本発明の第一の記録媒体に記録されたプロ
グラムを暗号化・復号化装置のコンピュータに読み込ま
せて、ソフトウエア処理を実行させることにより、暗号
化・復号化処理対象の入力データのデータ長によって、
ハードウエア又はソフトウエアのいずれか速く処理でき
る方法を選択することが可能となる。特に、入力データ
のデータ長が短い場合に、処理方法をソフトウエアに切
り替えることが可能となる。このため、入力データのデ
ータ長によらずに、最適な処理方法により高速で暗号化
・復号化処理を行うことが可能となる。
The program recorded on the first recording medium of the present invention is read by the computer of the encryption / decryption device and software processing is executed, whereby the input data to be encrypted / decrypted is processed. Depending on the data length,
This makes it possible to select a method that can be processed quickly, either in hardware or software. In particular, when the data length of the input data is short, the processing method can be switched to software. For this reason, the encryption / decryption processing can be performed at high speed by an optimal processing method regardless of the data length of the input data.

【0035】また、本発明の請求項12記載の第二の記
録媒体によれば、入力データのデータ長と第一基準値と
比較する処理と、データ長が第一基準値よりも長い場合
に、暗号化・復号化処理用のハードウエアの第一使用状
況値と第二基準値とを比較する処理と、第一使用状況値
が第二基準値以下の場合に、入力データをハードウエア
へ送出する処理と、データ長が第一基準値以下の場合、
又は、第一使用状況値が第二基準値よりも高い場合に、
暗号化・復号化処理用のソフトウエアにより暗号化・復
号化処理を行う処理部の第二使用状況値と第三基準値と
を比較する処理と、第二使用状況値が第二基準値以下の
場合に、処理部において入力データを暗号化・復号化す
る処理と、第二使用状況値が第三基準値よりも高い場合
に、入力データを暗号化・復号化処理用のハードウエア
へ送出する処理とをコンピュータに実行させるプログラ
ムが記録された記録媒体としてある。
According to the second recording medium of the present invention, the processing for comparing the data length of the input data with the first reference value and the processing for comparing the data length with the first reference value when the data length is longer than the first reference value are performed. Comparing the first usage status value of the hardware for encryption / decryption processing with the second reference value, and when the first usage status value is equal to or less than the second reference value, the input data is sent to the hardware. If the process to send and the data length is less than or equal to the first reference value,
Or, if the first usage status value is higher than the second reference value,
A process of comparing the second usage status value and the third reference value of the processing unit that performs the encryption / decryption process with the software for encryption / decryption processing, and the second usage status value is equal to or less than the second reference value In the case of, the processing unit encrypts and decrypts the input data, and sends the input data to the hardware for the encryption and decryption processing when the second usage status value is higher than the third reference value. And a program for causing a computer to execute the processing to be performed.

【0036】本発明の第二の記録媒体に記録されたプロ
グラムを暗号化・復号化装置のコンピュータに読み込ま
せて、ソフトウエア処理を実行させることにより、暗号
化・復号化処理対象の入力データのデータ長によって、
ハードウエア又はソフトウエアのいずれか速く処理でき
る方法を選択することが可能となる。さらに、データ長
が長い入力データでも、ハードウエアが他のデータの処
理に使用されている場合には、ソフトウエアにより処理
することが可能となる。その結果、データ長やハードウ
エアの使用状況によらずに、安定して高速で暗号化・復
号化処理を行うことが可能となる。
The program recorded on the second recording medium of the present invention is read into the computer of the encryption / decryption device, and the software processing is executed, whereby the input data to be encrypted / decrypted is processed. Depending on the data length,
This makes it possible to select a method that can be processed quickly, either in hardware or software. Furthermore, even if the input data has a long data length, if the hardware is used for processing other data, it can be processed by software. As a result, it is possible to stably perform high-speed encryption / decryption processing irrespective of the data length and the use condition of hardware.

【0037】また、本発明の請求項13記載の第三の記
録倍によれば、入力データのデータ長と第一基準値と比
較する処理と、データ長が第一基準値以下の場合に、暗
号化・復号化処理用のソフトウエアにより暗号化・復号
化処理を行う処理部の第二使用状況値と、第三基準値と
を比較する処理と、第二使用状況値が第二基準値以下の
場合に、処理部において入力データを暗号化・復号化す
る処理と、第二使用状況値が第三基準値よりも高い場合
に、暗号化・復号化処理用のハードウエアの第一使用状
況値と第二基準値とを比較する処理と、第一使用状況値
が第二基準値以下の場合に、入力データをハードウエア
へ送出する処理と、第一使用状況値が第二基準値よりも
高い場合に、処理部において入力データを暗号化・復号
化する処理とをコンピュータに実行させるプログラムが
記録された記録媒体としてある。
According to the third recording magnification of the present invention, when the data length of the input data is compared with the first reference value, and when the data length is equal to or less than the first reference value, A process of comparing a second usage status value of a processing unit that performs encryption / decryption processing with software for encryption / decryption processing with a third reference value, and that the second usage status value is a second reference value In the following cases, the processing unit encrypts / decrypts input data and, when the second usage status value is higher than the third reference value, uses the hardware for encryption / decryption processing first. A process of comparing the status value with the second reference value; a process of sending input data to the hardware when the first usage status value is equal to or less than the second reference value; If it is higher, the processing unit encrypts and decrypts the input data. Programs to be executed by the computer is as recorded recording medium.

【0038】本発明の第三の記録媒体に記録されたプロ
グラムを暗号化・復号化装置のコンピュータに読み込ま
せて、ソフトウエア処理を実行させることにより、暗号
化・復号化処理対象の入力データのデータ長によって、
ハードウエア又はソフトウエアのいずれか速く処理でき
る方法を選択することが可能となる。さらに、データ長
が短い入力データでも、ソフトウエアで稼動するCPU
等の処理部が他のデータの処理に使用されている場合に
は、ハードウエアにより処理することが可能となる。そ
の結果、データ長やソフトウエアによる処理部の使用状
況によらずに、安定して高速で暗号化・復号化処理を行
うことが可能となる。
The program recorded on the third recording medium of the present invention is read by the computer of the encryption / decryption device, and the software processing is executed. Depending on the data length,
This makes it possible to select a method that can be processed quickly, either in hardware or software. In addition, even if the input data has a short data length, the CPU operates with software.
If the processing unit such as is used for processing other data, it can be processed by hardware. As a result, it is possible to perform the encryption / decryption processing stably and at high speed regardless of the data length and the usage status of the processing unit by software.

【0039】[0039]

【発明の実施の形態】以下、本発明の実施の形態につい
て、図面を参照して説明する。なお、以下の各実施形態
における暗号化・復号化処理のうち入力データ分配部や
ソフトウエアによる処理部における処理は、プログラム
に制御されたコンピュータ(ソフトウエア処理部)によ
り実行される。このプログラムは、例えば、記録媒体
(図示せず)により提供される。記録媒体としては、例
えば、磁気ディスク、半導体メモリ、その他の任意の、
コンピュータで読み取り可能なものを使用することがで
きる。また、記録媒体に記録されたプログラムは、通信
回線を介してコンピュータに読込ませることもできる。
Embodiments of the present invention will be described below with reference to the drawings. The processing in the input data distribution unit and the software processing unit in the encryption / decryption processing in each of the following embodiments is executed by a computer (software processing unit) controlled by a program. This program is provided by, for example, a recording medium (not shown). As the recording medium, for example, a magnetic disk, a semiconductor memory, any other,
Anything that can be read by a computer can be used. Also, the program recorded on the recording medium can be read by a computer via a communication line.

【0040】[第一実施形態]第一実施形態では、請求
項1、2、6、7、8、及び11記載の発明の一例につ
いて併せて説明する。まず、図1を参照して、第一実施
形態の暗号化・復号化装置の構成について説明する。図
1は、第一実施形態の暗号化・復号化装置の構成を説明
するためのブロック図である。
[First Embodiment] In the first embodiment, an example of the first, second, sixth, seventh, eighth and eleventh aspects of the present invention will be described together. First, the configuration of the encryption / decryption device according to the first embodiment will be described with reference to FIG. FIG. 1 is a block diagram for explaining the configuration of the encryption / decryption device according to the first embodiment.

【0041】図1に示すように、暗号化・復号化装置1
は、ソフトウエア処理部(単に処理部とも表記する。)
2と、データの暗号化・複合化処理を行う暗号・復号化
ハードウエア(単にハードウエアとも表記する。)3と
により構成されている。そして、ソフトウエア処理部2
は、例えば、通常のコンピュータのCPUで構成されて
いる。また、ハードウエア3は、例えば、暗号化・復号
化処理用の専用LSIチップや、専用LSIチップから
構成されるアクセラレータにより構成されている。
As shown in FIG. 1, the encryption / decryption device 1
Is a software processing unit (also simply referred to as a processing unit).
2 and encryption / decryption hardware (also simply referred to as hardware) 3 for performing data encryption / decryption processing. And the software processing unit 2
Is composed of, for example, a CPU of a normal computer. The hardware 3 includes, for example, a dedicated LSI chip for encryption / decryption processing, and an accelerator configured by the dedicated LSI chip.

【0042】さらに、ソフトウエア処理部2は、入力デ
ータ分配部(単に分配部とも表記する。)21と、入力
データの暗号化・複合化処理を暗号化・復号化処理用の
ソフトウエアにより行う暗号化・復号化処理部(単に処
理部とも表記する。)22とにより構成されている。
Further, the software processing section 2 performs input data distribution section (also simply referred to as distribution section) 21 and encryption / decryption processing of input data by software for encryption / decryption processing. And an encryption / decryption processing unit (also simply referred to as a processing unit) 22.

【0043】そして、入力データ分配部21は、入力デ
ータのデータ長と第一基準値と比較し、比較結果に応じ
て、入力データを処理部及びハードウエアのいずれか一
方へ転送する構成となっている。すなわち、暗号化・復
号化の処理に要する時間の短くなる方へ転送する。
The input data distributor 21 compares the data length of the input data with the first reference value, and transfers the input data to one of the processing unit and the hardware according to the comparison result. ing. That is, the transfer is made to the one that requires less time for the encryption / decryption processing.

【0044】ここで、図2に、入力データのデータ長
と、ハードウエア3及び処理部2における暗号化・復号
化処理時間との関係を模式的に示す。図2の直線Iは、
ハードウエア3による処理時間を示す。また、直線II
は、ソフトウエアにより稼動する処理部2による処理時
間を示す。直線I及び直線IIに示すように、データ長
がLtよりも短い場合は、ソフトウエアによる処理時間
の方が、ハードウエアによる処理時間よりも短い。一
方、データ長がLtよりも長い場合は、ハードウエアに
よる処理時間の方が、ソフトウエアによる処理時間より
も短くなる。
Here, FIG. 2 schematically shows the relationship between the data length of the input data and the encryption / decryption processing time in the hardware 3 and the processing unit 2. The straight line I in FIG.
The processing time by the hardware 3 is shown. Also, a straight line II
Indicates a processing time by the processing unit 2 operated by software. As shown by the straight lines I and II, when the data length is shorter than Lt, the processing time by software is shorter than the processing time by hardware. On the other hand, when the data length is longer than Lt, the processing time by hardware is shorter than the processing time by software.

【0045】したがって、曲線Iと曲線IIとが交差す
るときのデータ長Ltを第一基準値として、入力データ
の処理方法をハードウエア又はソフトウエアのいずれか
に切り替えるようにすると良い。
Therefore, the data length Lt when the curve I and the curve II intersect is preferably used as the first reference value to switch the input data processing method to either hardware or software.

【0046】なお、Ltは、使用する暗号化・復号化の
アルゴリズム、ハードウエアの性能、及び、コンピュー
タのCPU(中央演算装置)の性能によって決まる値で
ある。また、第一基準値として、入力データの暗号化ア
ルゴリズムの種類ごとに個別の値を設定しておき、アル
ゴリズムの種類に合わせて、最適な値を第一基準値とし
て採用すると良い。
Lt is a value determined by the encryption / decryption algorithm to be used, the performance of the hardware, and the performance of the CPU (central processing unit) of the computer. Also, it is preferable to set an individual value for each type of encryption algorithm of input data as the first reference value, and to use an optimal value as the first reference value according to the type of algorithm.

【0047】そして、第一実施形態では、入力データ分
配部21は、入力データのデータ長が第一基準値よりも
長い場合に、入力データをハードウエアへ転送する。ま
た、分配部21は、データ長が第一基準値以下の場合に
は、入力データを処理部へ転送する。
In the first embodiment, when the data length of the input data is longer than the first reference value, the input data distribution unit 21 transfers the input data to hardware. When the data length is equal to or less than the first reference value, the distribution unit 21 transfers the input data to the processing unit.

【0048】次に、図3を参照して、第一実施形態にお
ける暗号化・復号化方法について説明する。図3は、第
一実施形態における暗号化・復号化方法を説明するため
のフローチャートである。図3に示すように、暗号化・
復号化処理にあたり、まず、入力データ分配部21へ入
力データが入力される(図3のステップA1)。次に、
入力データ分配部21は、入力データのデータ長と第一
基準値と比較する(図3のステップA2)。
Next, an encryption / decryption method according to the first embodiment will be described with reference to FIG. FIG. 3 is a flowchart for explaining the encryption / decryption method in the first embodiment. As shown in FIG.
In the decoding process, first, input data is input to the input data distribution unit 21 (Step A1 in FIG. 3). next,
The input data distribution unit 21 compares the data length of the input data with the first reference value (Step A2 in FIG. 3).

【0049】比較の結果、データ長が第一基準値よりも
長い場合、入力データ分配部21は、入力データをハー
ドウエア3へ転送する(ステップA2で「YES」の場
合)。そして、ハードウエア3が、入力データの暗号化
・復号化処理を行う(図3のステップA3)。ここで、
暗号化・復号化処理とは、入力データが暗号化されてい
るときには復号化処理を行い、入力データが暗号化され
ていない場合には暗号化処理を行うことをいう。暗号化
処理及び復号化処理には、例えば、上記の文献1に記載
のような、従来公知の任意好適な技術を用いることがで
きる。
As a result of the comparison, if the data length is longer than the first reference value, the input data distribution unit 21 transfers the input data to the hardware 3 (in the case of “YES” in step A2). Then, the hardware 3 performs encryption / decryption processing of the input data (step A3 in FIG. 3). here,
The encryption / decryption processing refers to performing decryption processing when input data is encrypted, and performing encryption processing when input data is not encrypted. For the encryption processing and the decryption processing, for example, a conventionally known arbitrary and suitable technique as described in the above-mentioned document 1 can be used.

【0050】また、データ長が第一基準値以下の場合、
入力データ分配部21は、入力データを暗号化・復号化
処理部22へ転送する(ステップA2で「NO」の場
合)。そして、暗号化・復号化処理部22が、入力デー
タの暗号化・復号化処理を行う(図3のステップA
4)。なお、ソフトウエアによる暗号化・復号化処理の
アルゴリズムは、ハードウエアによる暗号化・復号化処
理のアルゴリズムと同一でも良いし、異なっていても良
い。
When the data length is less than the first reference value,
The input data distribution unit 21 transfers the input data to the encryption / decryption processing unit 22 (in the case of “NO” in Step A2). Then, the encryption / decryption processing unit 22 performs encryption / decryption processing of the input data (step A in FIG. 3).
4). Note that the algorithm of the encryption / decryption processing by software may be the same as or different from the algorithm of the encryption / decryption processing by hardware.

【0051】このように、第一実施形態によれば、入力
データのデータ長が短い場合に、処理方法をソフトウエ
アに切り替えることができる。このため、入力データの
データ長によらずに、より高速で暗号化・復号化処理を
行うことができる。
As described above, according to the first embodiment, when the data length of input data is short, the processing method can be switched to software. Therefore, the encryption / decryption processing can be performed at a higher speed regardless of the data length of the input data.

【0052】[第二実施形態]第二実施形態では、請求
項1、3、5、6、7、9及び12記載の発明の一例に
ついて併せて説明する。まず、図4を参照して、第二実
施形態の暗号化・復号化装置の構成について説明する。
図4は、第二実施形態の暗号化・復号化装置の構成を説
明するためのブロック図である。
[Second Embodiment] In a second embodiment, an example of the invention described in claims 1, 3, 5, 6, 7, 9 and 12 will be described together. First, the configuration of the encryption / decryption device according to the second embodiment will be described with reference to FIG.
FIG. 4 is a block diagram for explaining the configuration of the encryption / decryption device according to the second embodiment.

【0053】図4に示すように、暗号化・復号化装置1
aは、ソフトウエア処理部(単に処理部とも表記す
る。)2aと、データの暗号化・複合化処理を行う暗号
・復号化ハードウエア(単にハードウエアとも表記す
る。)3とにより構成されている。ソフトウエア処理部
2aは、第一実施形態と同様に、入力データ分配部(単
に分配部とも表記する。)21aと、入力データの暗号
化・複合化処理を暗号化・復号化処理用のソフトウエア
により行う暗号化・復号化処理部(単に処理部とも表記
する。)22とを備えている。
As shown in FIG. 4, the encryption / decryption device 1
a is composed of a software processing unit (also simply referred to as a processing unit) 2a and encryption / decryption hardware (also simply referred to as hardware) 3 for performing data encryption / decryption processing. I have. As in the first embodiment, the software processing unit 2a includes an input data distribution unit (also simply referred to as a distribution unit) 21a and software for encrypting / decrypting input data for encryption / decryption processing. And an encryption / decryption processing unit (also simply referred to as a processing unit) 22 performed by software.

【0054】さらに、第二実施形態では、ソフトウエア
処理部2aは、ハードウエアの使用状況を監視するハー
ドウエア処理監視部23と、処理部22の使用状況を監
視するソフトウエア処理監視部23とを備えている。そ
して、ハードウエア処理監視部23は、ハードウエアの
使用状況を監視し、当該使用状況を第一使用状況値とし
て出力する。また、ソフトウエア処理監視部23は、処
理部22の使用状況を第二使用状況値として出力する。
Further, in the second embodiment, the software processing unit 2a includes a hardware processing monitoring unit 23 for monitoring the usage status of hardware, and a software processing monitoring unit 23 for monitoring the usage status of the processing unit 22. It has. Then, the hardware processing monitoring unit 23 monitors the usage status of the hardware, and outputs the usage status as a first usage status value. Further, the software processing monitoring unit 23 outputs the usage status of the processing unit 22 as a second usage status value.

【0055】この第一使用状況値としては、例えば、ハ
ードウエアの処理回数を用いると良い。このように、第
一使用状況値を処理回数とすれば、ハードウエアの使用
状況を適切に表すことができる。また、第二基準値は、
暗号化・復号化処理方法の選択にあたっての、ハードウ
エアのソフトウエアに対する優先の程度を示す値でもあ
り、任意好適な処理回数値を採用することができる。
As the first use status value, for example, the number of times of hardware processing may be used. As described above, when the first usage status value is set as the number of times of processing, the usage status of hardware can be appropriately represented. Also, the second reference value is
It is also a value indicating the degree of priority of hardware over software when selecting an encryption / decryption processing method, and any suitable number of processing times can be adopted.

【0056】また、第二使用状況値としては、例えば、
処理部の使用率とすると良い。このように、第二使用状
況値を使用率とすれば、ソフトウエアで稼動する処理部
の使用状況を適切に表すことができる。また、第三基準
値は、暗号化・復号化処理方法の選択にあたっての、ソ
フトウエアのハードウエアに対する優先の程度を示す値
でもあり、任意好適な使用率値を採用することができ
る。
As the second usage status value, for example,
It is good to use the processing unit. As described above, by using the second usage status value as the usage rate, the usage status of the processing unit operated by software can be appropriately represented. Further, the third reference value is also a value indicating the degree of priority of the software with respect to the hardware in selecting the encryption / decryption processing method, and any suitable usage rate value can be adopted.

【0057】なお、第二、第三基準値についても、入力
データの暗号化アルゴリズムの種類ごとに個別の値を設
定しておき、アルゴリズムの種類に合わせて、最適な値
を採用すると良い。
As for the second and third reference values, it is preferable to set individual values for each type of encryption algorithm of the input data, and to adopt an optimum value according to the type of algorithm.

【0058】そして、入力データ分配部21aは、入力
データのデータ長に加えて、第二及び第三使用状況値の
一方又は両方に基づいて、入力データを処理部及びハー
ドウエアのいずれか一方へ転送する構成となっている。
The input data distribution unit 21a sends the input data to one of the processing unit and the hardware based on one or both of the second and third usage status values in addition to the data length of the input data. It is configured to transfer.

【0059】次に、図5を参照して、第二実施形態にお
ける暗号化・復号化方法について説明する。図5は、第
一実施形態における暗号化・復号化方法を説明するため
のフローチャートである。図5に示すように、暗号化・
復号化処理にあたり、まず、入力データ分配部21へ入
力データが入力される(図5のステップB1)。次に、
入力データ分配部21aは、入力データのデータ長と第
一基準値と第一の比較として比較する(図5のステップ
B2)。
Next, an encryption / decryption method according to the second embodiment will be described with reference to FIG. FIG. 5 is a flowchart for explaining the encryption / decryption method according to the first embodiment. As shown in FIG.
In the decoding process, first, input data is input to the input data distribution unit 21 (Step B1 in FIG. 5). next,
The input data distribution unit 21a compares the data length of the input data with the first reference value as a first comparison (Step B2 in FIG. 5).

【0060】第一の比較の結果、データ長が第一基準値
よりも長い場合(ステップB2で「YES」の場合)、
入力データ分配部21aは、第一使用状況値と第二基準
値とを第二の比較として比較する(図5のステップB
3)。第二の比較の結果、第一使用状況値が第二基準値
以下の場合、入力データ分配部21aは、入力データを
ハードウエア3へ転送する(ステップB3で「NO」の
場合)。そして、ハードウエア3が、入力データの暗号
化・復号化処理を行う(図5のステップB4)。
As a result of the first comparison, when the data length is longer than the first reference value (in the case of “YES” in step B2),
The input data distribution unit 21a compares the first usage status value and the second reference value as a second comparison (Step B in FIG. 5).
3). As a result of the second comparison, if the first usage status value is equal to or smaller than the second reference value, the input data distribution unit 21a transfers the input data to the hardware 3 (in the case of “NO” in Step B3). Then, the hardware 3 performs the encryption / decryption processing of the input data (step B4 in FIG. 5).

【0061】また、第一の比較の結果、データ長が第一
基準値以下の場合、又は、第二の比較の結果、第一使用
状況値が第二基準値よりも高い場合、入力データ分配部
21aは、第二使用状況値と第三基準値とを第三の比較
として比較する(図5のステップB5)。第三の比較の
結果、第二使用状況値が第三基準値以下の場合、入力デ
ータ分配部21aは、入力データを暗号化・復号化処理
部22へ転送する(ステップB5で「NO」の場合)。
そして、暗号化・復号化処理部22が、入力データの暗
号化・復号化処理を行う(図5のステップB6)。
When the data length is equal to or less than the first reference value as a result of the first comparison, or when the first usage status value is higher than the second reference value as a result of the second comparison, the input data distribution The unit 21a compares the second usage status value and the third reference value as a third comparison (Step B5 in FIG. 5). As a result of the third comparison, if the second usage status value is equal to or less than the third reference value, the input data distribution unit 21a transfers the input data to the encryption / decryption processing unit 22 ("NO" in step B5). Case).
Then, the encryption / decryption processing unit 22 performs encryption / decryption processing of the input data (step B6 in FIG. 5).

【0062】また、第三の比較の結果、第二使用状況値
が第三基準値よりも高い場合、入力データ分配部21a
は、入力データをハードウエア3へ転送する(ステップ
B5で「YES」の場合)。そして、ハードウエア3
が、入力データの暗号化・復号化処理を行う(図5のス
テップB4)。
If the result of the third comparison shows that the second use status value is higher than the third reference value, the input data distribution unit 21a
Transfers the input data to the hardware 3 ("YES" in step B5). And hardware 3
Perform the encryption / decryption processing of the input data (step B4 in FIG. 5).

【0063】このように、第二実施形態によれば、デー
タ長が長い入力データでも、ハードウエアが他のデータ
の処理に使用されている場合には、ソフトウエアにより
処理することが可能となる。さらに、第二実施形態で
は、ハードウエアの使用状況を判断した後、処理部の使
用状況も判断し、使用状況が条件を満たせば、処理部で
暗号化・復号化処理を行う。したがって、第二実施形態
によれば、データ長、ハードウエアの使用状況、及び、
ソフトウエアによる処理部の使用状況によらずに、安定
して高速で暗号化・復号化処理を行うことができる。
As described above, according to the second embodiment, it is possible to process input data having a long data length by software when hardware is used for processing other data. . Further, in the second embodiment, after determining the usage status of the hardware, the usage status of the processing unit is also determined. If the usage status satisfies the condition, the processing unit performs encryption / decryption processing. Therefore, according to the second embodiment, the data length, hardware usage, and
The encryption / decryption processing can be performed stably and at high speed irrespective of the usage status of the processing unit by software.

【0064】[第三実施形態]第三実施形態では、請求
項1、4、5、6、7、10及び13記載の発明の一例
について併せて説明する。なお、第三実施形態の暗号化
・符号化装置の構成は、図4に示した第二実施形態の暗
号化・復号化装置の構成と同様であるので、その詳細な
説明を省略する。
[Third Embodiment] In a third embodiment, an example of the first, fourth, fifth, sixth, seventh, tenth, and thirteenth aspects of the present invention will be described together. Note that the configuration of the encryption / encoding device of the third embodiment is the same as the configuration of the encryption / decryption device of the second embodiment shown in FIG. 4, and thus a detailed description thereof will be omitted.

【0065】次に、図6を参照して、第一実施形態にお
ける暗号化・復号化方法について説明する。図6は、第
一実施形態における暗号化・復号化方法を説明するため
のフローチャートである。上述の第二実施形態では、図
5に示したように、ハードウエアの使用状況(第一使用
状況値)を判断した後、さらに、必要に応じて処理部の
使用状況(第二使用状況値)も判断したが、第三実施形
態では、図6に示すように、処理部の使用状況(第二使
用状況値)も判断した後、さらに、必要に応じてハード
ウエアの使用状況(第一使用状況値)も判断する。
Next, an encryption / decryption method according to the first embodiment will be described with reference to FIG. FIG. 6 is a flowchart for explaining the encryption / decryption method in the first embodiment. In the above-described second embodiment, as shown in FIG. 5, after determining the usage status of the hardware (first usage status value), the usage status of the processing unit (second usage status value) is further determined as necessary. However, in the third embodiment, as shown in FIG. 6, after the usage status (second usage status value) of the processing unit is also determined, the usage status of the hardware (first Usage value) is also determined.

【0066】そして、入力データ分配部21aは、入力
データのデータ長に加えて、第二及び第三使用状況値の
一方又は両方に基づいて、入力データを処理部及びハー
ドウエアのいずれか一方へ転送する構成となっている。
The input data distribution unit 21a sends the input data to one of the processing unit and the hardware based on one or both of the second and third usage status values in addition to the data length of the input data. It is configured to transfer.

【0067】図6に示すように、暗号化・復号化処理に
あたり、まず、入力データ分配部21へ入力データが入
力される(図6のステップC1)。次に、入力データ分
配部21aは、入力データのデータ長と第一基準値と第
一の比較として比較する(図6のステップC2)。
As shown in FIG. 6, in the encryption / decryption processing, first, input data is input to the input data distribution unit 21 (step C1 in FIG. 6). Next, the input data distribution unit 21a compares the data length of the input data with the first reference value as a first comparison (Step C2 in FIG. 6).

【0068】第一の比較の結果、データ長が第一基準値
以下の場合(ステップC2で「NO」の場合)、入力デ
ータ分配部21aは、第二使用状況値と第三基準値とを
第二の比較として比較する(図6のステップC3)。第
二の比較の結果、第二使用状況値が第三基準値以下の場
合、入力データ分配部21aは、入力データを暗号化・
復号化処理部22へ転送する(ステップC3で「NO」
の場合)。そして、暗号化・復号化処理部22が、入力
データの暗号化・復号化処理を行う(図6のステップC
4)。
As a result of the first comparison, when the data length is equal to or less than the first reference value (in the case of “NO” in step C2), the input data distribution unit 21a compares the second usage status value with the third reference value. A comparison is made as a second comparison (step C3 in FIG. 6). As a result of the second comparison, if the second usage status value is equal to or less than the third reference value, the input data distribution unit 21a encrypts the input data.
Transfer to the decryption processing unit 22 (“NO” in step C3)
in the case of). Then, the encryption / decryption processing unit 22 performs encryption / decryption processing of the input data (step C in FIG. 6).
4).

【0069】一方、第一の比較の結果、データ長が第一
基準値よりも長い場合(ステップC2で「YES」の場
合)、又は、第二の比較の結果、第二使用状況値が第三
基準値よりも高い場合、入力データ分配部21aは、第
一使用状況値と第二基準値とを第三の比較として比較す
る(図6のステップC5)。第三の比較の結果、第一使
用状況値が第二基準値以下の場合、入力データ分配部2
1aは、入力データをハードウエア3へ転送する(ステ
ップC5で「NO」の場合)。そして、ハードウエア3
が、入力データの暗号化・復号化処理を行う(図6のス
テップC6)。
On the other hand, as a result of the first comparison, when the data length is longer than the first reference value (in the case of “YES” in step C2), or as a result of the second comparison, If it is higher than the three reference values, the input data distribution unit 21a compares the first use status value and the second reference value as a third comparison (Step C5 in FIG. 6). As a result of the third comparison, if the first usage status value is equal to or less than the second reference value, the input data distribution unit 2
1a transfers the input data to the hardware 3 (in the case of "NO" in step C5). And hardware 3
Perform the encryption / decryption processing of the input data (step C6 in FIG. 6).

【0070】また、第三の比較の結果、第一使用状況値
が第二基準値よりも高い場合、入力データ分配部21a
は、入力データを暗号化・復号化処理部22へ転送する
(ステップC5で「YES」の場合)。そして、暗号化
・復号化処理部22が、入力データの暗号化・復号化処
理を行う(図6のステップC4)。
If the result of the third comparison shows that the first usage status value is higher than the second reference value, the input data distribution unit 21a
Transfers the input data to the encryption / decryption processing unit 22 (in the case of “YES” in step C5). Then, the encryption / decryption processing unit 22 performs encryption / decryption processing of the input data (step C4 in FIG. 6).

【0071】このように、第三実施形態によれば、デー
タ長が短い入力データでも、ソフトウエアで稼動するC
PU等の処理部が他のデータの処理に使用されている場
合には、ハードウエアにより処理することが可能とな
る。さらに、第三実施形態では、処理部の使用状況を判
断した後、ハードウエアの使用状況も判断し、使用状況
が条件を満たせば、ハードウエアで暗号化・復号化処理
を行う。したがって、第二実施形態によれば、データ
長、ソフトウエアによる処理部の使用状況、及び、ハー
ドウエアの使用状況によらずに、安定して高速で暗号化
・復号化処理を行うことができる。
As described above, according to the third embodiment, even if the input data has a short data length, the C operating on software can be used.
If a processing unit such as a PU is used for processing other data, it can be processed by hardware. Furthermore, in the third embodiment, after determining the usage status of the processing unit, the usage status of the hardware is also determined. If the usage status satisfies the condition, the encryption / decryption processing is performed by the hardware. Therefore, according to the second embodiment, the encryption / decryption processing can be performed stably and at high speed regardless of the data length, the usage status of the processing unit by software, and the usage status of hardware. .

【0072】上述した実施の形態においては、本発明を
特定の条件で構成した例について説明したが、本発明
は、種々の変更を行うことができる。例えば、上述した
第二実及び第三施形態においては、第一使用状況値とし
て処理回数を採用し、第二使用状況値として使用率を採
用したが、この発明では、第一及び第二使用状況値とし
て、任意好適なものを採用することができる。
In the above-described embodiment, an example in which the present invention is configured under specific conditions has been described. However, the present invention can be variously modified. For example, in the second embodiment and the third embodiment described above, the number of processes is adopted as the first usage status value, and the usage rate is adopted as the second usage status value. Any suitable value can be adopted as the situation value.

【0073】[0073]

【発明の効果】以上、詳細に説明したように、本願出願
に係る各発明によれば、入力データのデータ長に応じて
データの処理手段の最適化を図ることにより、入力デー
タの暗号化・復号化処理の高速化を図ることができる。
As described in detail above, according to the inventions of the present application, the encryption / decryption of the input data is achieved by optimizing the data processing means according to the data length of the input data. The speed of the decoding process can be increased.

【図面の簡単な説明】[Brief description of the drawings]

【図1】第一実施形態の暗号化・復号化装置を説明する
ためのブロック図である。
FIG. 1 is a block diagram illustrating an encryption / decryption device according to a first embodiment.

【図2】データ長と暗号化・復号化処理時間との関係を
示す模式図である。
FIG. 2 is a schematic diagram showing the relationship between data length and encryption / decryption processing time.

【図3】第一実施形態の暗号化・復号化方法を説明する
ためのフローチャートである。
FIG. 3 is a flowchart for explaining an encryption / decryption method according to the first embodiment.

【図4】第二実施形態の暗号化・復号化装置を説明する
ためのブロック図である。
FIG. 4 is a block diagram illustrating an encryption / decryption device according to a second embodiment.

【図5】第二実施形態の暗号化・復号化方法を説明する
ためのフローチャートである。
FIG. 5 is a flowchart for explaining an encryption / decryption method according to the second embodiment.

【図6】第三実施形態の暗号化・復号化方法を説明する
ためのフローチャートである。
FIG. 6 is a flowchart illustrating an encryption / decryption method according to a third embodiment.

【符号の説明】[Explanation of symbols]

1、1a 暗号化・復号化装置 2、2a ソフトウエア処理部 3 暗号化・復号化処理用ハードウエア 21、21a 入力データ分配手段 22 暗号化・復号化処理部 23 ソフトウエア処理監視部 24 ハードウエア処理監視部 1, 1a encryption / decryption device 2, 2a software processing unit 3 hardware for encryption / decryption processing 21, 21a input data distribution means 22 encryption / decryption processing unit 23 software processing monitoring unit 24 hardware Processing monitoring unit

Claims (13)

【特許請求の範囲】[Claims] 【請求項1】 入力データのデータ長と第一基準値と比
較し、 比較結果に応じて、前記入力データの暗号化・復号化処
理を、暗号化・復号化処理用のハードウエア、及び、暗
号化・復号化処理用のソフトウエアのいずれか一方によ
り行うことを特徴とする暗号化・複合化方法。
1. A data length of input data is compared with a first reference value, and encryption / decryption processing of the input data is performed according to a comparison result, hardware for encryption / decryption processing, and An encryption / decryption method, which is performed by any one of software for encryption / decryption processing.
【請求項2】 前記データ長が前記第一基準値よりも長
い場合に、前記入力データの暗号化・復号化処理を前記
ハードウエアにより行い、 前記データ長が前記第一基準値以下の場合に、前記暗号
化・復号化処理を前記ソフトウエアにより行うことを特
徴とする請求項1記載の暗号化・複合化方法。
2. When the data length is longer than the first reference value, encryption / decryption processing of the input data is performed by the hardware, and when the data length is equal to or less than the first reference value. 2. The encryption / decryption method according to claim 1, wherein said encryption / decryption processing is performed by said software.
【請求項3】 前記データ長が前記第一基準値よりも長
い場合に、前記ハードウエアの第一使用状況値と第二基
準値とを比較し、 前記第一使用状況値が前記第二基準値以下の場合に、前
記暗号化・復号化処理を、前記ハードウエアにより行
い、 前記データ長が前記第一基準値以下の場合、又は、前記
第一使用状況値が前記第二基準値よりも高い場合に、前
記ソフトウエアにより暗号化・復号化処理を行う処理部
の第二使用状況値と第三基準値とを比較し、 前記第二使用状況値が前記第二基準値以下の場合に、前
記暗号化・復号化処理を前記ソフトウエアにより行い、 前記第二使用状況値が前記第三基準値よりも高い場合
に、前記暗号化・復号化処理を前記ハードウエアにより
行うことを特徴とする請求項1記載の暗号化・複合化方
法。
3. When the data length is longer than the first reference value, comparing a first usage status value of the hardware with a second reference value, wherein the first usage status value is equal to the second reference value. If the value is equal to or less than the value, the encryption / decryption processing is performed by the hardware.If the data length is equal to or less than the first reference value, or the first use status value is greater than the second reference value. If the value is higher, the second use status value of the processing unit that performs encryption / decryption processing by the software is compared with a third reference value, and when the second use status value is equal to or less than the second reference value, Performing the encryption / decryption processing by the software, and performing the encryption / decryption processing by the hardware when the second usage status value is higher than the third reference value. The encryption / decryption method according to claim 1.
【請求項4】 前記データ長が前記第一基準値以下の場
合に、前記ソフトウエアにより暗号化・復号化処理を行
う処理部の第二使用状況値と第三基準値とを比較し、 前記第二使用状況値が前記第二基準値以下の場合に、前
記暗号化・復号化処理を前記ソフトウエアにより行い、 前記第二使用状況値が前記第三基準値よりも高い場合
に、前記ハードウエアの第一使用状況値と第二基準値と
を比較し、 前記第一使用状況値が前記第二基準値以下の場合に、前
記暗号化・復号化処理を、前記ハードウエアにより行
い、 前記第一使用状況値が前記第二基準値よりも高い場合
に、前記暗号化・復号化処理を前記ソフトウエアにより
行うことを特徴とする請求項1記載の暗号化・複合化方
法。
4. When the data length is equal to or less than the first reference value, a second use status value of a processing unit that performs encryption / decryption processing by the software is compared with a third reference value; When the second usage status value is equal to or less than the second reference value, the encryption / decryption process is performed by the software. When the second usage status value is higher than the third reference value, the hardware Comparing the first usage status value of the hardware with a second reference value, and when the first usage status value is equal to or less than the second reference value, performs the encryption / decryption processing by the hardware; 2. The encryption / decryption method according to claim 1, wherein the encryption / decryption processing is performed by the software when the first usage status value is higher than the second reference value.
【請求項5】 前記第一使用状況値を、前記ハードウエ
アの処理回数とし、 前記第二使用状況値を、前記処理部の使用率とすること
を特徴とする請求項3又は4記載の暗号化・複合化方
法。
5. The cipher according to claim 3, wherein the first usage status value is the number of times of processing of the hardware, and the second usage status value is a usage rate of the processing unit. And compounding methods.
【請求項6】 前記第一基準値を、前記入力データの暗
号化アルゴリズムの種類によって、個別の値とすること
を特徴とする請求項1〜5のいずれかに記載の暗号化・
複合化方法。
6. The method according to claim 1, wherein the first reference value is an individual value depending on a type of an encryption algorithm of the input data.
Composite method.
【請求項7】 入力データの暗号化・複合化処理を暗号
化・復号化処理用のソフトウエアにより行う処理部と、 データの暗号化・複合化処理を行う暗号化・複合化処理
用のハードウエアと、 入力データ分配部とを備え、 前記入力データ分配部は、 入力データのデータ長と第一基準値と比較し、 比較結果に応じて、前記入力データを前記処理部及び前
記ハードウエアのいずれか一方へ転送することを特徴と
する暗号化・複合化装置。
7. A processing section for performing encryption / decryption processing of input data by software for encryption / decryption processing, and a hardware for encryption / decryption processing for performing encryption / decryption processing of data. Hardware, and an input data distribution unit, wherein the input data distribution unit compares the data length of the input data with a first reference value, and, according to a comparison result, converts the input data into the processing unit and the hardware. An encryption / decryption device characterized by transferring data to one of them.
【請求項8】前記入力データ分配部は、 前記データ長が前記第一基準値よりも長い場合に、前記
入力データを前記ハードウエアへ転送し、 前記データ長が、前記第一基準値以下の場合に、前記入
力データを前記処理部へ転送することを特徴とする請求
項7記載の暗号化・複合化装置。
8. The input data distribution unit, when the data length is longer than the first reference value, transfers the input data to the hardware, and the data length is equal to or less than the first reference value. 8. The encryption / decryption device according to claim 7, wherein the input data is transferred to the processing unit in such a case.
【請求項9】 前記ハードウエアの使用状況を監視し、
当該使用状況を第一使用状況値として出力するハードウ
エア処理監視部と、 前記処理部の使用状況を監視し、当該使用状況を第二使
用状況値として出力するソフトウエア処理監視部とを備
え、 前記入力データ分配部は、 前記データ長が前記第一基準値よりも長い場合に、前記
第一使用状況値と第二基準値とを比較し、 前記第一使用状況値が前記第二基準値以下の場合に、前
記入力データを前記ハードウエアへ転送し、 前記データ長が前記第一基準値以下の場合、又は、前記
第一使用状況値が前記第二基準値よりも高い場合に、前
記第二使用状況値と第三基準値とを比較し、 前記第二使用状況値が前記第二基準値以下の場合に、前
記入力データを前記処理部へ転送し、 前記第二使用状況値が前記第三基準値よりも高い場合
に、前記入力データを前記ハードウエアへ転送すること
を特徴とする請求項7記載の暗号化・複合化装置。
9. Monitoring the use status of the hardware,
A hardware processing monitoring unit that outputs the usage status as a first usage status value, and a software processing monitoring unit that monitors the usage status of the processing unit and outputs the usage status as a second usage status value, The input data distribution unit, when the data length is longer than the first reference value, compares the first usage status value and a second reference value, the first usage status value is the second reference value In the following cases, the input data is transferred to the hardware.If the data length is equal to or less than the first reference value, or if the first use status value is higher than the second reference value, Comparing a second usage status value with a third reference value, and when the second usage status value is equal to or less than the second reference value, transferring the input data to the processing unit; If it is higher than the third reference value, the input data 8. The encryption / decryption device according to claim 7, wherein data is transferred to said hardware.
【請求項10】 前記ハードウエアの使用状況を監視
し、当該使用状況を第一使用状況値として出力するハー
ドウエア処理監視部と、 前記処理部の使用状況を監視し、当該使用状況を第二使
用状況値として出力するソフトウエア処理監視部とを備
え、 前記入力データ分配部は、 前記データ長が前記第一基準値以下の場合に、前記第二
使用状況値と第三基準値とを比較し、 前記第二使用状況値が前記第二基準値以下の場合に、前
記入力データを前記処理部へ転送し、 前記第二使用状況値が前記第三基準値よりも高い場合
に、前記第一使用状況値と第二基準値とを比較し、 前記第一使用状況値が前記第二基準値以下の場合に、前
記入力データを前記ハードウエアへ転送し、 前記第一使用状況値が前記第二基準値よりも高い場合
に、前記入力データを前記処理部へ転送することを特徴
とする請求項7記載の暗号化・複合化装置。
10. A hardware processing monitoring unit that monitors the usage status of the hardware and outputs the usage status as a first usage status value, and monitors the usage status of the processing unit and determines the usage status as a second usage status. A software processing monitoring unit that outputs a usage status value, wherein the input data distribution unit compares the second usage status value with a third reference value when the data length is equal to or less than the first reference value. When the second usage status value is equal to or less than the second reference value, the input data is transferred to the processing unit, and when the second usage status value is higher than the third reference value, the Comparing the one usage status value with a second reference value, and transferring the input data to the hardware when the first usage status value is equal to or less than the second reference value; If it is higher than the second reference value, the input data Encryption and compounding apparatus according to claim 7, wherein the transfer of data to the processing unit.
【請求項11】 入力データのデータ長と第一基準値と
比較する処理と、 前記データ長が前記第一基準値よりも長い場合に、前記
入力データを、暗号化・復号化処理用のハードウエアへ
送出する処理と、 前記データ長が、前記第一基準値以下の場合に、前記入
力データを暗号化・復号化する処理とをコンピュータに
実行させるプログラムが記録されたことを特徴とする記
録媒体。
11. A process for comparing the data length of input data with a first reference value, and, if the data length is longer than the first reference value, encrypting the input data with hardware for encryption / decryption processing. A program for causing a computer to execute a process of transmitting the input data to the hardware and a process of encrypting and decrypting the input data when the data length is equal to or less than the first reference value. Medium.
【請求項12】 入力データのデータ長と第一基準値と
比較する処理と、 前記データ長が前記第一基準値よりも長い場合に、暗号
化・復号化処理用のハードウエアの第一使用状況値と第
二基準値とを比較する処理と、 前記第一使用状況値が前記第二基準値以下の場合に、前
記入力データを前記ハードウエアへ送出する処理と、 前記データ長が前記第一基準値以下の場合、又は、前記
第一使用状況値が前記第二基準値よりも高い場合に、暗
号化・復号化処理用のソフトウエアにより暗号化・復号
化処理を行う処理部の第二使用状況値と第三基準値とを
比較する処理と、 前記第二使用状況値が前記第二基準値以下の場合に、前
記処理部において前記入力データを暗号化・復号化する
処理と、 前記第二使用状況値が前記第三基準値よりも高い場合
に、前記入力データを暗号化・復号化処理用のハードウ
エアへ送出する処理とをコンピュータに実行させるプロ
グラムが記録されたことを特徴とする記録媒体。
12. A process for comparing a data length of input data with a first reference value, and a first use of hardware for encryption / decryption processing when the data length is longer than the first reference value. A process of comparing a status value with a second reference value; a process of transmitting the input data to the hardware when the first usage status value is equal to or less than the second reference value; If the value is equal to or less than one reference value, or if the first use status value is higher than the second reference value, the processing unit performs encryption / decryption processing by software for encryption / decryption processing. A process of comparing the second usage status value with the second usage status value, and a process of encrypting and decrypting the input data in the processing unit when the second usage status value is equal to or less than the second reference value, When the second usage status value is higher than the third reference value , A recording medium, wherein a program for executing a process of sending the input data to the hardware for the encryption and decryption processing in a computer is recorded.
【請求項13】 入力データのデータ長と第一基準値と
比較する処理と、 前記データ長が前記第一基準値以下の場合に、暗号化・
復号化処理用のソフトウエアにより暗号化・復号化処理
を行う処理部の第二使用状況値と、第三基準値とを比較
する処理と、 前記第二使用状況値が前記第二基準値以下の場合に、前
記処理部において前記入力データを暗号化・復号化する
処理と、 前記第二使用状況値が前記第三基準値よりも高い場合
に、暗号化・復号化処理用のハードウエアの第一使用状
況値と第二基準値とを比較する処理と、 前記第一使用状況値が前記第二基準値以下の場合に、前
記入力データを前記ハードウエアへ送出する処理と、 前記第一使用状況値が前記第二基準値よりも高い場合
に、前記処理部において前記入力データを暗号化・復号
化する処理とをコンピュータに実行させるプログラムが
記録されたことを特徴とする記録媒体。
13. A process for comparing the data length of input data with a first reference value;
A process of comparing a second use status value of a processing unit that performs encryption / decryption processing with decryption software with a third reference value, wherein the second use status value is equal to or less than the second reference value. In the case of, processing of encrypting and decrypting the input data in the processing unit, and, if the second usage status value is higher than the third reference value, the hardware for encryption / decryption processing A process of comparing a first usage status value with a second reference value; a process of transmitting the input data to the hardware when the first usage status value is equal to or less than the second reference value; A recording medium on which a program for causing a computer to execute a process of encrypting and decrypting the input data in the processing unit when the usage status value is higher than the second reference value is recorded.
JP35955999A 1999-12-17 1999-12-17 Method and device for enciphering and decoding, and recording medium Pending JP2001177516A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP35955999A JP2001177516A (en) 1999-12-17 1999-12-17 Method and device for enciphering and decoding, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP35955999A JP2001177516A (en) 1999-12-17 1999-12-17 Method and device for enciphering and decoding, and recording medium

Publications (1)

Publication Number Publication Date
JP2001177516A true JP2001177516A (en) 2001-06-29

Family

ID=18465131

Family Applications (1)

Application Number Title Priority Date Filing Date
JP35955999A Pending JP2001177516A (en) 1999-12-17 1999-12-17 Method and device for enciphering and decoding, and recording medium

Country Status (1)

Country Link
JP (1) JP2001177516A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008155905A1 (en) * 2007-06-18 2008-12-24 Panasonic Corporation Encryption device and encryption operation method
JP2009135813A (en) * 2007-11-30 2009-06-18 Ricoh Co Ltd Encryption/decryption apparatus, and computer-readable storage medium with encryption/decryption program stored therein
JP2014099752A (en) * 2012-11-14 2014-05-29 Fujitsu Ltd Communication device, communication system, and encryption algorithm execution method for the same communication system
JP2019033402A (en) * 2017-08-09 2019-02-28 三菱電機株式会社 Communication device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008155905A1 (en) * 2007-06-18 2008-12-24 Panasonic Corporation Encryption device and encryption operation method
JP2009135813A (en) * 2007-11-30 2009-06-18 Ricoh Co Ltd Encryption/decryption apparatus, and computer-readable storage medium with encryption/decryption program stored therein
JP2014099752A (en) * 2012-11-14 2014-05-29 Fujitsu Ltd Communication device, communication system, and encryption algorithm execution method for the same communication system
US9411968B2 (en) 2012-11-14 2016-08-09 Fujitsu Limited Apparatus and method for performing different cryptographic algorithms in a communication system
JP2019033402A (en) * 2017-08-09 2019-02-28 三菱電機株式会社 Communication device
JP7080024B2 (en) 2017-08-09 2022-06-03 三菱電機株式会社 Communication device

Similar Documents

Publication Publication Date Title
TWI237974B (en) Security association data cache and structure
US7885404B2 (en) Cryptographic systems and methods supporting multiple modes
US9003202B2 (en) Memory control device, semiconductor memory device, memory system, and memory control method
EP3322119B1 (en) Data processing method and apparatus
KR20070022684A (en) Hybrid cryptographic accelerator and method of operation thereof
US20130290736A1 (en) Data storage device, data control device and method for encrypting data
JP2012090286A (en) Memory system having encryption/decryption function of in stream data
JPH03261987A (en) File enciphering method and file cryptographic system
CN101304314A (en) Methods of encrypting and decrypting data and bus system using the methods
JP2008292852A (en) Disk array controller, disk array control method and storage system
US20070180270A1 (en) Encryption/decryption device, communication controller, and electronic instrument
US8363835B2 (en) Method for transmission/reception of contents usage right information in encrypted form, and device thereof
JP5118494B2 (en) Memory system having in-stream data encryption / decryption function
US8478984B2 (en) Data encryption apparatus, data decryption apparatus, data encryption method, data decryption method, and data relay apparatus
WO2008121734A1 (en) Method and apparatus for advanced encryption standard (aes) block cipher
CN101689957A (en) Encoded digital video content protection between transport demultiplexer and decoder
CN102411694A (en) Cryptographic apparatus and memory system
WO2006033347A1 (en) Confidential information processing method, confidential information processing device, and content data reproducing device
JP2008524969A5 (en)
JP2010010824A (en) Electronic apparatus and copyright-protected chip
JP2001177516A (en) Method and device for enciphering and decoding, and recording medium
US8560832B2 (en) Information processing apparatus
JP4912797B2 (en) ENCRYPTION DEVICE, DECRYPTION DEVICE, ENCRYPTION METHOD, DECRYPTION METHOD, AND PROGRAM
JP5361031B2 (en) Cryptographic authentication processing method and apparatus
JPH0777933A (en) Network data ciphering device

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040302