JPS6373289A - Cryptographer - Google Patents

Cryptographer

Info

Publication number
JPS6373289A
JPS6373289A JP61217125A JP21712586A JPS6373289A JP S6373289 A JPS6373289 A JP S6373289A JP 61217125 A JP61217125 A JP 61217125A JP 21712586 A JP21712586 A JP 21712586A JP S6373289 A JPS6373289 A JP S6373289A
Authority
JP
Japan
Prior art keywords
data
encryption
host device
output
input
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.)
Granted
Application number
JP61217125A
Other languages
Japanese (ja)
Other versions
JPH0719124B2 (en
Inventor
谷口 伸博
嗣久 忰熊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP61217125A priority Critical patent/JPH0719124B2/en
Publication of JPS6373289A publication Critical patent/JPS6373289A/en
Publication of JPH0719124B2 publication Critical patent/JPH0719124B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Abstract] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は暗号装置に係り、特に上位装置との間の暗号化
データおよび復号化データの高速転送に好適な暗号装置
に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a cryptographic device, and particularly to a cryptographic device suitable for high-speed transfer of encrypted data and decrypted data to and from a host device.

〔従来の技術〕[Conventional technology]

従来の暗号装置において、ブロック・データの暗号化方
式として、入力データブロックを以前の暗号化出力デー
タブロックと組合せて連鎖的にデータブロックを暗号化
してい<DES方式のCBCモードが知られている。こ
のような暗号方式は特開昭52−130505号に記載
されている。
In conventional cryptographic devices, as a block data encryption method, a DES method CBC mode is known, in which an input data block is combined with a previously encrypted output data block to encrypt the data blocks in a chain manner. Such an encryption method is described in Japanese Patent Laid-Open No. 130505/1983.

又、特開昭55−31377号には、複数個の暗号化ユ
ニットで時間的に並列して暗号化処理することにより処
理速度を向上する暗号装置について記載されている。
Further, Japanese Patent Laid-Open No. 55-31377 describes an encryption device that improves processing speed by performing encryption processing in parallel in time using a plurality of encryption units.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかし前者の公報には、上位装置からデータブロックを
受信し、さらに暗号化したデータブロックを上位装置へ
送信する場合の転送能力については配慮されていなかっ
た。又、後者の公報の方式は1つのデータブロック・ス
トリームを複数個のデータブロック・ストリームに分割
して暗号化または復号化する方式であるため、1つのデ
ータブロック・ストリームをそのまま復号化または暗号
化する暗号装置と組合せて使用することができないとい
う問題点がある。
However, the former publication does not consider the transfer capability when receiving a data block from a higher-level device and further transmitting an encrypted data block to the higher-level device. In addition, the method disclosed in the latter publication is a method in which one data block stream is divided into multiple data block streams and then encrypted or decrypted, so one data block stream cannot be decrypted or encrypted as is. The problem is that it cannot be used in combination with a cryptographic device that uses

本発明の目的は、上位装置から送信されるデータブロッ
ク・ストリームを暗号化または復号化して上位装置に転
送する場合に、上位装置との間のデータブロック・スト
リーム送受信とデータブロック暗号化または復号化を時
間的に並列して実行することにより処理速度を向上した
暗号装置を提供することにある。
The purpose of the present invention is to perform data block stream transmission/reception and data block encryption/decryption between the host device and the data block stream to be encrypted or decrypted and transferred to the host device. An object of the present invention is to provide a cryptographic device that improves processing speed by executing the above functions in parallel in time.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は、上位装置から送信されるデータを格納する入
力バッファと上位装置へ転送するデータを格納する出力
バッファとを持ち、暗号化回路にデータを供給する必要
がある期間だけ入力バッファを読出しモードにしてデー
タを読出し、前記以外の期間は入力バッファを書込みモ
ードにして上位装置から送信されるデータを格納する。
The present invention has an input buffer for storing data transmitted from a host device and an output buffer for storing data to be transferred to the host device. During periods other than the above, the input buffer is set to write mode and data transmitted from the host device is stored.

また暗号化回路からデータを取出す必要がある期間だけ
出力バッファを書込みモードにしてデータを書込み、デ
ータの暗号処理量がある一定量に達し、かつ前記書込み
モードでない時に出力バッファを読出しモードにして上
位装置に転送するデータを読出す。
Also, the output buffer is set to write mode and data is written only during the period when data needs to be retrieved from the encryption circuit, and when the amount of encrypted data reaches a certain amount and the output buffer is not in the write mode, the output buffer is set to read mode and the upper Read the data to be transferred to the device.

〔作用〕[Effect]

このようにして、上位装置とのデータ送受信と、データ
の暗号化または復号化を時間的に並列して実行し処理速
度の向上を実現する。
In this way, data transmission/reception with the host device and data encryption/decryption are executed in parallel in time, thereby realizing an improvement in processing speed.

本発明は暗号化回路の処理速度が上位装置とのデータ転
送速度より遅い場合に有効である。
The present invention is effective when the processing speed of the encryption circuit is slower than the data transfer speed with the host device.

〔実施例〕〔Example〕

以下、本発明の一実施例を図を用いて説明する。 An embodiment of the present invention will be described below with reference to the drawings.

第1図は本発明の一実施例の構成図を示す。暗号装置1
は入出力制御回路2を介して上位装置と接続される。入
力バッファ3は書込入力アドレス・レジスタ7、読出入
力アドレス・レジスタ8のブータラアドレス切替回路5
を介してアドレス信号16として受取り、上位装置から
受信したデータを入出力制御回路2を介して格納し、ま
たは読出したデータを暗号回路11に供給する6出力バ
ツフア4は読出出力アドレス・レジスタ9、書込出力レ
ジスタ10のデータをアドレス切替回路6を介してアド
レス信号17として受取り、暗号回路11から出力され
るデータを格納し、または読出したデータを入出力制御
回路2を介して上位装置に送信する。B#号回路11は
読出入力アドレス・レジスタ8、書込出力アドレス・レ
ジスタ10にアドレス更新信号18.19を各々供給す
る。入出力制御回路2は書込入力アドレス・レジスタ7
、読出出力アドレス・レジスタ9にアドレス更新信号1
4.15を各々供給し、またアドレス切替回路5,6に
切替信号13を供給する。チャネル入力バス20は入出
力制御回路2を介して上位装置からのデータを入力バッ
ファ3に格納するためのデータ線、暗号入力バス21は
入力バッファ3から暗号回路11にデータを供給するデ
ータ線、暗号出力バス22は暗号回路11で暗号化され
たデータを出力バッファ4に供給するデータ線、チャネ
ル出力バス23は出力バッファ4のデータを入出力制御
回路2を介して上位装置に送出するためのデータ線であ
る。
FIG. 1 shows a configuration diagram of an embodiment of the present invention. Encryption device 1
is connected to a host device via an input/output control circuit 2. The input buffer 3 is a booter address switching circuit 5 for a write input address register 7 and a read input address register 8.
The six-output buffer 4 receives the data as an address signal 16 via the host device, stores the data received from the host device via the input/output control circuit 2, or supplies the read data to the encryption circuit 11. Receives the data in the write output register 10 as an address signal 17 via the address switching circuit 6, stores the data output from the encryption circuit 11, or transmits the read data to the host device via the input/output control circuit 2. do. B# circuit 11 supplies address update signals 18 and 19 to read input address register 8 and write output address register 10, respectively. The input/output control circuit 2 has a write input address register 7
, address update signal 1 to read output address register 9
4.15 respectively, and a switching signal 13 is supplied to the address switching circuits 5 and 6. The channel input bus 20 is a data line for storing data from the host device into the input buffer 3 via the input/output control circuit 2, the encryption input bus 21 is a data line for supplying data from the input buffer 3 to the encryption circuit 11, The encryption output bus 22 is a data line for supplying the data encrypted by the encryption circuit 11 to the output buffer 4, and the channel output bus 23 is a data line for sending the data in the output buffer 4 to the host device via the input/output control circuit 2. It is a data line.

読出し許可回路24はアドレス更新信号18を暗号回路
11から受はアドレス更新信号18を受取った回数が一
定値を越えた時に出力バッファ4に読出し許可信号25
を与える。
The read permission circuit 24 receives the address update signal 18 from the encryption circuit 11 and sends the read permission signal 25 to the output buffer 4 when the number of times the address update signal 18 has been received exceeds a certain value.
give.

以下、上位装置と暗号装置間のデータ転送速度が暗号回
路の処理速度の2倍と仮定して説明する。
The following description will be made assuming that the data transfer speed between the host device and the encryption device is twice the processing speed of the encryption circuit.

第2−a図は従来の方式での総処理時間を示す概略タイ
ムチャート、第2−b図は本発明での総処理時間を示す
概略タイムチャートである。第3図は第1図の本発明の
一実施例の詳細タイムチャートである。
FIG. 2-a is a schematic time chart showing the total processing time in the conventional method, and FIG. 2-b is a schematic time chart showing the total processing time in the present invention. FIG. 3 is a detailed time chart of one embodiment of the present invention shown in FIG.

従来の方式では第2−a図のごとく、上位装置からのデ
ータを入力バッファ3にすべて格納した後に暗号処理を
開始し、暗号処理結果が暗号出力バス22に出力される
ごとに上位装置へ出力データが転送される。従って、従
来の方式では上位装置から暗号装置1へのデータ転送時
間をTとすると暗号処理時間は2Tとなり、総処理時間
は3Tとなる。
In the conventional method, as shown in Figure 2-a, encryption processing is started after all data from the host device is stored in the input buffer 3, and each time the encryption processing result is output to the encryption output bus 22, it is output to the host device. Data is transferred. Therefore, in the conventional system, if the data transfer time from the host device to the encryption device 1 is T, the encryption processing time is 2T, and the total processing time is 3T.

一方、第2−b図のように5本発明によれば、上位装置
からのデータを入力バッファ3に格納する処理と暗号処
理、および暗号処理と出力バッファ4から上位装置への
データ転送を並行して実行できるため、総処理時間は2
Tとなる。
On the other hand, as shown in Fig. 2-b, according to the present invention, the process of storing data from the host device in the input buffer 3 and the encryption process, and the encryption process and data transfer from the output buffer 4 to the host device are performed in parallel. The total processing time is 2.
It becomes T.

以下、第1図と第3図を用い本発明の一実施例の動作を
上位装置と暗号装置間のデータ転送量を8バイトとして
説明する。
The operation of an embodiment of the present invention will be described below with reference to FIGS. 1 and 3, assuming that the amount of data transferred between the host device and the encryption device is 8 bytes.

上位装置から暗号装置1ヘデータ転送を開始する前に書
込/読出入力アドレス・レジスタ7.8および読出/書
込出力アドレス・レジスタ9゜1oは各々初期値すなわ
ち入力/出力バッファ3゜4の先頭アドレスに設定して
おく。
Before starting data transfer from the host device to the cryptographic device 1, the write/read input address registers 7.8 and the read/write output address registers 9.1o are set to their initial values, that is, the beginning of the input/output buffer 3.4. Set it to the address.

入出力制御回路2は上位装置からデータを受信できる状
態になると切替信号13を周期的に反転させ、さらに上
位装置から第1バイト目のデータをチャネル入力バス2
0に乗せ、切替信号13が1′ レベルの時に入力バッ
ファ3に書込み信号を与える。これにより第1バイト目
のデータ(M(1))が入力バッファ3の先頭アドレス
(W(1)■)に書込まれる。なおアドレス信号16に
は切替信号13が11ルベルの時はアドレス・レジスタ
7にセットされたアドレス情報、切替信号13が10j
 レベルの時はアドレス・レジスタ8にセットされたア
ドレス情報が供給される0次に入出力制御回路2はアド
レス更新信号14を切替信号13が′0ルベルになる時
点でアドレス・レジスタ7に送出し、アドレス・レジス
タ7の内容を更新する。これでアドレス・レジスタ7の
内容はW(1)IからW(2)Iに変化する。以後、上
位装置からの第8バイト目を入力バッファ3に書込むま
で同様の動作を繰返す。
When the input/output control circuit 2 becomes ready to receive data from the host device, it periodically inverts the switching signal 13, and further transfers the first byte of data from the host device to the channel input bus 2.
0 and gives a write signal to the input buffer 3 when the switching signal 13 is at the 1' level. As a result, the first byte of data (M(1)) is written to the start address (W(1)) of the input buffer 3. Note that when the switching signal 13 is 11 lbels, the address signal 16 contains the address information set in the address register 7, and the switching signal 13 is 10j.
When the level is 0, the address information set in the address register 8 is supplied.The input/output control circuit 2 sends the address update signal 14 to the address register 7 when the switching signal 13 becomes '0 level. , updates the contents of address register 7. The contents of address register 7 now change from W(1)I to W(2)I. Thereafter, similar operations are repeated until the 8th byte from the host device is written into the input buffer 3.

一方、暗号回路3は切替信号13の偶数回目の101 
レベルの時に暗号入力バス21のデータを格納し、その
後、アドレス更新信号18を送出しアドレス・レジスタ
8の内容を更新する。これでアドレス・レジスタ8の内
容はR(1)IからR(2)Hに変化する。ここでW(
i)IとR(i)I(i=1〜8)は同一のアドレスを
示す。
On the other hand, the encryption circuit 3 receives the even numbered 101 of the switching signal 13.
When the level is high, the data on the cryptographic input bus 21 is stored, and then the address update signal 18 is sent out to update the contents of the address register 8. The contents of address register 8 now change from R(1)I to R(2)H. Here W(
i)I and R(i)I (i=1 to 8) indicate the same address.

次に、出力バッファ4へのデータの書込みおよび読出し
方法について説明する。暗号回路11の出力データは入
力データを暗号回路11に供給して一定時間後に確定し
、その時間は暗号回路11の処理能力により決まる。今
、第1番目の出力データは第(i+1)番目の入力デー
タを暗号回路11にセットする時に確定しているものと
する。
Next, a method for writing and reading data into the output buffer 4 will be explained. The output data of the cryptographic circuit 11 is determined after a certain period of time after input data is supplied to the cryptographic circuit 11, and the time is determined by the processing capacity of the cryptographic circuit 11. It is now assumed that the first output data is determined when the (i+1)th input data is set in the encryption circuit 11.

暗号回路11は第2番目の入力データを暗号入力バス2
1からセットするのと同じタイミングで第1番目の出力
データを暗号出力バス22に乗せ、出力バッファ4に対
して書込み信号を送る。これにより、暗号回路11の第
1番目の出力データ(C(1))が出力バッファ4の先
頭アドレス(W(Ode)に書込まれる。なお、アドレ
ス信号17には切替信号13が10ルベルの時はアドレ
ス・レジスタ10にセットされたアドレス情報、切替信
号13が゛1ルベルの時はアドレス・レジスタ9にセッ
トされたアドレス情報が供給される。
The cryptographic circuit 11 sends the second input data to the cryptographic input bus 2.
At the same timing as setting from 1, the first output data is placed on the encryption output bus 22 and a write signal is sent to the output buffer 4. As a result, the first output data (C(1)) of the cryptographic circuit 11 is written to the start address (W(Ode)) of the output buffer 4.The address signal 17 has a switching signal 13 of 10 lbs. When the switching signal 13 is at level 1, the address information set in the address register 10 is supplied.

次に暗号回路11はアドレス更新信号19を切替信号1
3が11ルベルになる時点でアドレス・レジスタ10に
送出し、アドレス・レジスタ10の内容を更新する。こ
れでアドレス・レジスタ10の内容はW(1)()から
W(2E]:、変化する。
Next, the encryption circuit 11 converts the address update signal 19 into the switching signal 1
When 3 becomes 11 lbel, it is sent to the address register 10 and the contents of the address register 10 are updated. The contents of address register 10 now change from W(1)() to W(2E]:.

以後、暗号回路11から第8番目の出力データを出力バ
ッファ4に書込むまで同様の動作を繰返す。
Thereafter, similar operations are repeated until the eighth output data is written from the encryption circuit 11 to the output buffer 4.

次に、上位装置からのデータ転送終了後の動作について
説明する。上位装置からのデータ転送が終了すると暗号
装置1は入出力制御回路2により上位装置にデータ転送
終了を報告する。上位装置は終了報告を受取ると引続き
暗号装置1に対し、暗号化されたデータの上位装置へ転
送要求を示す指令を発行する。暗号装置1は前記指令を
解析して出力バッファ4に格納された暗号データを入出
力制御回路2を介して上位装置へ転送する。本実施例で
は暗号処理時間が上位装置とのデータ転送時間の2倍と
仮定しているので、全暗号出力処理の1/2が経過した
後で上位装置への暗号データ転送を開始すればよい、こ
の開始時点は読出し許可回路24の読出し許可信号が出
力バッファ4に出力された時である。なお読出し許可回
路24の動作は後述する0本実施例では、読出し許可信
号が出力されている条件下で第4番目の出力データ処理
中の第2番目の切替信号13が′1ルベルの時にアドレ
ス・レジスタ9で示されるアドレスから出力バッファ4
のデータすなわち第1番目の暗号出力データを読出して
、入出力制御回路2を介して上位装置に転送する。その
後、切替信号13がI O1レベルに変化する時に入出
力制御回路2はアドレス更新信号15を送出し、アドレ
ス・レジスタ9の内容を更新する。この結果、アドレス
・レジスタ9の内容はR(0)61−からR(1)0に
更新される。以後、上位装置に第8番目のデータを出力
バッファ4から読出して転送が終了するまで同様の動作
を繰返す、なおW(i)eとR(i)e(i=1〜8)
は同一のアドレスを示す。
Next, the operation after data transfer from the host device is completed will be explained. When the data transfer from the higher-level device is completed, the cryptographic device 1 uses the input/output control circuit 2 to report the completion of data transfer to the higher-level device. When the host device receives the completion report, it subsequently issues a command to the encryption device 1 to request transfer of the encrypted data to the host device. The cryptographic device 1 analyzes the command and transfers the cryptographic data stored in the output buffer 4 to the host device via the input/output control circuit 2. In this embodiment, it is assumed that the encryption processing time is twice the data transfer time with the host device, so it is only necessary to start encrypted data transfer to the host device after 1/2 of the total encryption output processing has elapsed. , this starting point is when the read permission signal of the read permission circuit 24 is output to the output buffer 4. The operation of the read permission circuit 24 will be described later.・From the address indicated by register 9 to output buffer 4
data, that is, the first encrypted output data, is read out and transferred to the host device via the input/output control circuit 2. Thereafter, when the switching signal 13 changes to the IO1 level, the input/output control circuit 2 sends out the address update signal 15 to update the contents of the address register 9. As a result, the contents of address register 9 are updated from R(0)61- to R(1)0. Thereafter, the 8th data is read from the output buffer 4 to the host device and the same operation is repeated until the transfer is completed. Note that W(i)e and R(i)e (i = 1 to 8)
indicate the same address.

次に、第4図を用いて読出し許可回路24の動作を説明
する。読出し許可回路24はカウンタ26とフリップ・
フロップ27より構成される。
Next, the operation of the read permission circuit 24 will be explained using FIG. 4. The read permission circuit 24 has a counter 26 and a flip
It is composed of a flop 27.

カウンタ26には初期値データとアドレス更新信号18
が入力され、その出力はフリップ・フロップ27のセッ
ト入力信号となる。フリップ・フロップ27の出力信号
が読出し許可信号25となる。
The counter 26 contains initial value data and an address update signal 18.
is input, and its output becomes the set input signal of the flip-flop 27. The output signal of the flip-flop 27 becomes the read permission signal 25.

本実施例では、カウンタ26には入力バッファ3からデ
ータを読出す前に初期値データとして(05)をセット
しておく、カウンタ26はアドレス更新信号18が入力
される毎に、内部に格納されている値を減算して行き、
その値が(00)になった時に出力信号をフリップ・フ
ロップ27に送る。フリップ・フロップ27はカウンタ
26の出力信号によりセット状態となり読出し許可信号
25を出力バッファ4に送る。
In this embodiment, the counter 26 is set to (05) as initial value data before reading data from the input buffer 3. The counter 26 is internally stored every time the address update signal 18 is input. Subtract the value that is
When the value becomes (00), the output signal is sent to the flip-flop 27. The flip-flop 27 is set to a set state by the output signal of the counter 26 and sends a read permission signal 25 to the output buffer 4.

一般的には、暗号化処理時間が上位装置と暗号装置間の
データ転送時間のn倍(n > 2 )とし、−回の処
理でmバイト処理すると仮定すると、本実施例のカウン
タ26には初期値データとして。
Generally, assuming that the encryption processing time is n times the data transfer time between the host device and the encryption device (n > 2), and that m bytes are processed in - times of processing, the counter 26 of this embodiment has As initial value data.

(m−m/n)+1をセットしておけばよい。It is sufficient to set (m-m/n)+1.

本実施例によれば、上位装置と暗号装置1間のデータ転
送と暗号回路11による暗号処理を並列に実行できるの
で、上位装置による暗号装置1の占有時間を従来方式の
2/3に短縮する効果がある。
According to this embodiment, the data transfer between the host device and the encryption device 1 and the cryptographic processing by the encryption circuit 11 can be executed in parallel, so the time that the host device occupies the encryption device 1 is reduced to 2/3 of that of the conventional method. effective.

なお本実施例の説明ではデータの暗号化を引用したが、
データ復号化すなわち暗号文人力データを上位装置から
受信し、前記暗号文人力データを復号化した平文出力デ
ータを上位装置に送信する処理も、暗号回路11による
処理がデータ復号化である点を除いて同様である。
In the explanation of this example, data encryption was cited, but
Data decryption, that is, the process of receiving ciphertext human-powered data from a higher-level device and transmitting plaintext output data obtained by decrypting the ciphertext human-powered data to the higher-level device, is also the same as data decryption by the encryption circuit 11. The same is true.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、上位装置との間のデータ転送処理と暗
号/復号処理を時間的に並列に実行できるので、データ
転送処理時間をT、暗号処理時間をnT(n>1)とし
た時、上位装置から見たデータ転送を含む暗号処理時間
は (1)1<n≦2の時−2T (2)n>2の時  ・・・nT さらに、n〉2の時に暗号処理時間nT中のデータ転送
時間2Tと並列処理をしない時間、すなわち(n−2)
T時間は上位装置と暗号装置間の論理的接続を切離す手
段を付加すれば、暗号装置の上位装置占有時間を2T、
に短縮できる効果がある。
According to the present invention, the data transfer process with the host device and the encryption/decryption process can be executed in parallel in time, so when the data transfer process time is T and the encryption process time is nT (n>1). , the cryptographic processing time including data transfer seen from the host device is (1) when 1<n≦2 -2T (2) when n>2...nT Furthermore, when n>2, the cryptographic processing time is nT data transfer time 2T and time without parallel processing, i.e. (n-2)
If you add a means to disconnect the logical connection between the upper-level device and the encryption device, the time T will be reduced to 2T,
This has the effect of shortening the time.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例の構成図、第2−a図は従来
方式の総処理時間を示す概略タイムチャート、第2−b
図は本発明での総処理時間を示す概略タイムチャート、
第3図は第1図の詳細タイムチャートである。第4図は
第1図の読出し許可回路24の一構成例である。 1・・・暗号装置、2・・・暗号回路、3・・・入力バ
ッファ、4・・・出力バッファ、7,8,9.10・・
・アドレス・レジスタ、24・・・読出し許可回路。 躬 1 口 躬40 躬2−α口 高2−F)■ 親題吟閾
Fig. 1 is a block diagram of an embodiment of the present invention, Fig. 2-a is a schematic time chart showing the total processing time of the conventional method, and Fig. 2-b is a schematic time chart showing the total processing time of the conventional method.
The figure is a schematic time chart showing the total processing time in the present invention,
FIG. 3 is a detailed time chart of FIG. 1. FIG. 4 shows an example of the configuration of the read permission circuit 24 shown in FIG. 1. 1... Encryption device, 2... Encryption circuit, 3... Input buffer, 4... Output buffer, 7, 8, 9.10...
-Address register, 24...read permission circuit. 1. 40 2-α 2-F)■ Topic Ginshōre

Claims (1)

【特許請求の範囲】[Claims] 1、上位装置から与えられるデータを暗号化鍵および暗
号アルゴリズムに従って暗号化し、暗号化データを上位
装置に転送する機能と、上位装置から与えられる暗号化
データを復号化鍵および復号アルゴリズムに従って復号
化し、復号化データを上位装置に転送する機能を有する
暗号装置において、上位装置から送信される入力データ
の格納と暗号または復号回路に供給する前記入力データ
の読み出しが時分割で実行可能な入力バッファと、暗号
または復号回路にて暗号化または復号化された出力デー
タの格納と上位装置に転送する前記出力データの読み出
しを時分割で実行可能な出力バッファと、一定量の暗号
または復号化処理が終了した時に出力バッファの読出し
を許可する回路を設けたことを特徴とする暗号装置。
1. A function to encrypt data given from a host device according to an encryption key and an encryption algorithm, and to transfer the encrypted data to a host device, and to decrypt encrypted data given from a host device according to a decryption key and a decryption algorithm, In an encryption device having a function of transferring decrypted data to a host device, an input buffer capable of storing input data transmitted from the host device and reading out the input data supplied to an encryption or decryption circuit in a time-sharing manner; An output buffer capable of storing output data encrypted or decrypted by an encryption or decryption circuit and reading out the output data to be transferred to a host device in a time-sharing manner; 1. A cryptographic device comprising a circuit that allows reading of an output buffer at times.
JP61217125A 1986-09-17 1986-09-17 Cryptographic device Expired - Lifetime JPH0719124B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61217125A JPH0719124B2 (en) 1986-09-17 1986-09-17 Cryptographic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61217125A JPH0719124B2 (en) 1986-09-17 1986-09-17 Cryptographic device

Publications (2)

Publication Number Publication Date
JPS6373289A true JPS6373289A (en) 1988-04-02
JPH0719124B2 JPH0719124B2 (en) 1995-03-06

Family

ID=16699242

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61217125A Expired - Lifetime JPH0719124B2 (en) 1986-09-17 1986-09-17 Cryptographic device

Country Status (1)

Country Link
JP (1) JPH0719124B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004032097A1 (en) * 2002-10-04 2004-04-15 Sony Corporation Block encoding/decoding method, circuit, and device
CN116186747A (en) * 2023-04-27 2023-05-30 暗链科技(深圳)有限公司 Adaptive hash encryption method, nonvolatile readable storage medium, and electronic device

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5278595B2 (en) * 2010-03-19 2013-09-04 トヨタ自動車株式会社 Fuel supply device for internal combustion engine
US10145316B2 (en) 2016-05-04 2018-12-04 Ford Global Technologies, Llc Method and system for engine control

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004032097A1 (en) * 2002-10-04 2004-04-15 Sony Corporation Block encoding/decoding method, circuit, and device
CN116186747A (en) * 2023-04-27 2023-05-30 暗链科技(深圳)有限公司 Adaptive hash encryption method, nonvolatile readable storage medium, and electronic device

Also Published As

Publication number Publication date
JPH0719124B2 (en) 1995-03-06

Similar Documents

Publication Publication Date Title
EP0235199B1 (en) Communication protocol selection for data processing system
EP0556928A1 (en) A device for enciphering and deciphering, by means of the DES algorithm, data to be written to or read from a hard disk
US5008938A (en) Encryption apparatus
JPH0160975B2 (en)
US5640602A (en) Transferring digital data in units of 2 bytes to increase utilization of a 2-byte-wide bus
EP0735718A1 (en) Method and apparatus for high bandwidth encryption/decryption using a low bandwidth cryprographic module
JPS6051750B2 (en) data transfer system
EP1011041B1 (en) Data transfer apparatus, data transfer system and recording medium
JPS6373289A (en) Cryptographer
US5764642A (en) System for combining data packets from multiple serial data streams to provide a single serial data output and method therefor
US7444642B2 (en) Method for indicating completion status of asynchronous events
JPH023344B2 (en)
KR100260538B1 (en) Method of transmitting data between central processing unit and peripheral device and apparatus thereof
SU642701A1 (en) Device for interfacing electronic computer with subscribers
JPH10145433A (en) Data transfer rate converter and communication network system
KR20020051545A (en) DMA controller for the high speed image processor at real time
SU1001074A1 (en) Interface
JPS58182349A (en) Automatic setting device of transmission and reception speed of communication controller
JPS6095475A (en) Key generation system for cryptographer
JPS58213544A (en) Communication control and processing device
JPS62245356A (en) Data transfer system
JPH02149049A (en) Communication control system
JPH04177948A (en) Serial transfer system
JPH03235537A (en) Line data multiplex position assigning system
JPH04323757A (en) Serial data transmission device