JPS6037586A - Key error detection system for des cryptographer - Google Patents

Key error detection system for des cryptographer

Info

Publication number
JPS6037586A
JPS6037586A JP58145502A JP14550283A JPS6037586A JP S6037586 A JPS6037586 A JP S6037586A JP 58145502 A JP58145502 A JP 58145502A JP 14550283 A JP14550283 A JP 14550283A JP S6037586 A JPS6037586 A JP S6037586A
Authority
JP
Japan
Prior art keywords
circuit
key
data
bit
selector
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
JP58145502A
Other languages
Japanese (ja)
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP58145502A priority Critical patent/JPS6037586A/en
Publication of JPS6037586A publication Critical patent/JPS6037586A/en
Pending legal-status Critical Current

Links

Abstract

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

Description

【発明の詳細な説明】 (a) 発明の技術分野 本発明はDBS暗号装置の鍵誤シ検出方式に係り、特に
鍵レジスタに蓄積さ性た鍵入力の値が誤った値に変るこ
とを検出する鍵誤シ検出方式に関する。
[Detailed Description of the Invention] (a) Technical Field of the Invention The present invention relates to a key error detection method for a DBS cryptographic device, and in particular detects when a key input value stored in a key register changes to an incorrect value. This invention relates to a key error detection method.

(bl 従来技術と問題点 従来のDBS暗号装置jの1lllfiり検出方式は鍵
レジスタ出力のパリティチェックによって行われている
(bl) Prior Art and Problems The 1lllfi error detection method of the conventional DBS cryptographic device is performed by checking the parity of the key register output.

以下、従来例のDBS暗号装置の鍵+tab検出方式の
一実施例を図を用いて説明する。
An example of a key+tab detection method of a conventional DBS cryptographic device will be described below with reference to the drawings.

第1図はDES暗号装置の鍵の一実施例構成図を示す。FIG. 1 shows a configuration diagram of an embodiment of a key of a DES encryption device.

同図において(11〜(64)は鍵ビット、P1〜P8
はパリティピットを示し、#(641ビツト中、パリテ
ィビットは第(8)、 (lfll、 (24)。
In the same figure, (11 to (64) are key bits, P1 to P8
indicates a parity pit, #(out of 641 bits, the parity bit is the (8th), (lfll, (24)).

(321,(40)、(4Fl)、(56)、(64)
ビット目に配置されている。
(321, (40), (4Fl), (56), (64)
It is placed in the bit.

@2図は従来のEDS暗号装置のT)ES鍵演算部の一
実施例構成図を示す。同図において、1は鍵、2は1h
並列変換用のシフトレジスタ、3は鍵レジスタ、41叶
パリティ検査回路、5は転置PC−1回路、6は第1セ
レクタ、7け第2セレクタ、8け第1循環桁移動回路(
以下、第1シフト回路と称す)、9は第2循埠桁移動回
路、10は第1・28ピツト・フリップフロップ回路(
以下、第1FF回路と称す)、11は第2・28ビツト
・フリップフロップ回路(JJ下、第2 F F !i
:ll路と称す)、1217を転置PC−2回路、13
ゆ制御回路、14は同期信号、15けマスタクロック、
16はDES鍵演算演算部す。
@2 Figure shows an embodiment of the configuration of the T)ES key calculating section of a conventional EDS cryptographic device. In the same figure, 1 is the key, 2 is 1h
Shift register for parallel conversion, 3 is a key register, 41 is a parity check circuit, 5 is a transposition PC-1 circuit, 6 is a first selector, a 7-digit second selector, an 8-digit first circular digit shift circuit (
(hereinafter referred to as the first shift circuit), 9 is the second circular digit shift circuit, and 10 is the first 28th pit flip-flop circuit (
11 is the second 28-bit flip-flop circuit (hereinafter referred to as the first FF circuit), and 11 is the second 28-bit flip-flop circuit (JJ lower, the second FF !i
:ll path), 1217 is transposed PC-2 circuit, 13
14 is a synchronization signal, 15 is a master clock,
16 is a DES key calculation unit;

第3図は第2図に使用されるマスタクロックと同期信号
と各種信号のタイムチャート績び@4図に用いる比較信
号を示す。第3図において■はマスタクロックで各種信
号の!−準となる。■は同門層号でこの同期信号の闇!
υIT(−t+〜t43に1回の鍵演算が行われる。■
は16ビツトよりなるバーストクロνりで同期1ど号■
よりΔを遅れ、この16ビツトのクロックはt、〜t、
のタイミングに配置されている。このクロックの立下り
で第1FF回路及び!@2FF回路よりそれぞれ28ビ
ツトずつの並列データが出力される。しft−,6iう
て、この出力されるデータけ■に示すタイミングの波形
となる。■はデータ■のP1〜P16に対応した48ビ
ツトの鍵データに1〜に16゜中は第4図に用いられる
比較信号で、このタイミングで比較回装のデータをFF
回路より出力する。
FIG. 3 shows a time chart of the master clock, synchronization signal, and various signals used in FIG. 2, and comparison signals used in FIG. 4. In Figure 3, ■ is the master clock for various signals! -Semi-standard. ■ is the darkness of this synchronization signal with the Domon layer number!
υIT (one key operation is performed from -t+ to t43.■
is a burst clock consisting of 16 bits.
This 16-bit clock is delayed by Δ from t, ~t,
It is placed at the timing of At the falling edge of this clock, the first FF circuit and ! Parallel data of 28 bits each is output from the @2FF circuit. Then, the output data becomes a waveform with a timing shown in (2). ■ is the comparison signal used in Fig. 4 for the 48-bit key data corresponding to P1 to P16 of data ■.
Output from the circuit.

第2図において、第1図に示す如tIDES規格のシリ
アル(64)ビットの鍵1が11並列変換用のシフi・
レジスタ2に入力し、直並列変倹された後ダにレジスタ
3に格納される。鍵レジスタ3より出力されるパラレル
データの鍵1は、バリディ検査回路4にて8ビツト毎に
パリティチェックが行われると共に、転@PC−1回路
5にてパリティビットを除いた56ビツトのデータのビ
ット入れ替えがランダムに行われる。
In FIG. 2, the serial (64) bit key 1 of the IDES standard as shown in FIG.
The signal is input to register 2, converted into serial/parallel, and then stored in register 3. The parallel data key 1 output from the key register 3 undergoes a parity check every 8 bits in the validity check circuit 4, and the 56-bit data excluding the parity bit in the transfer@PC-1 circuit 5. Bits are swapped randomly.

上記の転置PC−IF911路5の鍵データ出力は28
ビツトづつに分岐され、夫々第1セレクタ回路6及び第
2セレクタ回路7の夫々に対応したa−1及びa−2に
選択される。
The key data output of the above transposed PC-IF911 path 5 is 28
The signals are branched bit by bit and selected into a-1 and a-2 corresponding to the first selector circuit 6 and the second selector circuit 7, respectively.

第1及び第2セレクタ6及び7の鍵データは、夫々に対
応した第1フイードバツクループ系及び第2フイードバ
ツクループ系内に取込まれる。
The key data of the first and second selectors 6 and 7 are taken into the corresponding first feedback loop system and second feedback loop system, respectively.

第1フイードバツクループ系は第1セレクタ6−第1シ
フト回路8−第1FF回路1〇−第1セレクタ6よりな
り、第2フイードバツクルーズ系は第2セレクタ7−第
2シフト回路9−第2セレクタ7よりなっている。
The first feedback loop system consists of the first selector 6 - first shift circuit 8 - first FF circuit 10 - first selector 6, and the second feedback loop system consists of the second selector 7 - second shift circuit 9. - It consists of a second selector 7.

第1フイードバツクループ系において、第1セレクタ6
より出力された1〜28ビツトのデータは第1シフト回
路8にて、第3図■に示す16ビツトのクロック■によ
りD B Sアルゴリズムの規格に従って1ピツトまた
は2ビツトのビットのシフトが行われる。このシフトさ
れたデータは第1FF回路10を経て第1セレクタ6の
b−1に帰還される。
In the first feedback loop system, the first selector 6
The data of 1 to 28 bits output from the first shift circuit 8 is shifted by 1 bit or 2 bits according to the DBS algorithm standard using the 16-bit clock (■) shown in Figure 3 (■). . This shifted data is fed back to b-1 of the first selector 6 via the first FF circuit 10.

上記の帰還は16回動作した後に停止する。この16回
の動作のたび毎に、−上記のシフトされたデータが第1
FF回路】0より転置1)C−2回路12に入力される
The above feedback operation stops after 16 operations. For each of these 16 operations, - the above shifted data is
FF circuit] Transposed from 0 1) Input to C-2 circuit 12.

第2フイードバツクループ系においても、第1フイード
バツクループ系と同様に第2セレクタ7に入力した29
〜56ビツトのデータは16ビツトのクロック■により
処理され、転1ii PC−2回路12に入力される。
In the second feedback loop system, the 29 input to the second selector 7 is similar to the first feedback loop system.
~56 bits of data are processed by a 16-bit clock (2) and input to the PC-2 circuit 12.

転置PC−2回路12にて、8ビツトが除去された転置
データ48ビツトが前記のクロック■の立5− 下りによって鍵山力として出力される。そして16回動
作した後停止トシ、次の同期パルスによって前Pの如き
データ処理が新たに行われる。この様にして作られた鍵
データはT)ES演算部に入力し、平文を暗号化し、暗
号文を平文に復号化するのに用いられる。
In the transposed PC-2 circuit 12, the 48 bits of transposed data from which 8 bits have been removed are outputted as a lock signal in response to the rising and falling edges of the clock (2). Then, after operating 16 times, it is stopped, and data processing as in previous P is newly performed by the next synchronization pulse. The key data created in this manner is input to the T) ES calculation unit and used to encrypt plaintext and decrypt ciphertext to plaintext.

以上の演if逼程において、鍵のチェックは単に鍵レジ
スタ30川力64ビツトをパリティ検査回路4にて8ビ
ット単位のパリティチェックが行われているだけである
In the above IF operation, the key is simply checked by the parity checking circuit 4 performing a parity check on the 64 bits of the key register 30 in units of 8 bits.

若し、8ビツトの内典数ビットの同符号のエラーが発生
したときは、その訓りを検出することが出来ない欠点を
有する。
If an error of the same sign occurs in the 8-bit internal code, there is a drawback that the lesson cannot be detected.

(cl 発明の目的 本発明は前記欠点を解決するために、転fIIPC−1
回路より出力される28ビツトづつの鍵データと、転置
PC−2回路に入力する28ビツトづつの鍵データとを
比較信号のタイミングで比較チェックする新規な鍵レジ
スタの誤りビットを検出するDES規格暗号装置鍵誤り
検出方式を提供する6− ことを目的とする。
(cl) Object of the Invention In order to solve the above-mentioned drawbacks, the present invention provides a
DES standard encryption that detects error bits in the new key register by comparing and checking the 28-bit key data output from the circuit and the 28-bit key data input to the transposition PC-2 circuit at the timing of the comparison signal. The purpose of this invention is to provide a device key error detection method.

(d) 発明の構成 本発明は前記目的を達成するために、DES暗号装置の
鍵演算部の鍵レジスタの出力は転置PC−1回路を経て
DESアルゴリズムに従った桁移動演算処理が行われ、
該処理出力は転置PC−2回路に入力されてなる鍵演算
部の該鍵レジスタの誤シ検出方式において、前記転置P
C−1回路の出力信号と転置PC−2回路の入力信号を
一回の鍵演箕が終了してから次の鍵演算が開始されるま
での期間に比較する手段を設けることを特徴とする。
(d) Structure of the Invention In order to achieve the above object, the output of the key register of the key calculation unit of the DES cryptographic device is subjected to digit shift calculation processing according to the DES algorithm via a transposition PC-1 circuit,
The processing output is input to the transposition PC-2 circuit, and in the key register error detection method of the key calculation unit, the transposition P
The present invention is characterized by providing means for comparing the output signal of the C-1 circuit and the input signal of the transposed PC-2 circuit during a period from the end of one key operation to the start of the next key operation. .

(111発明の実施例 本発明は鍵レジスタの出力が転置PC−1回路を介して
第1セレクタ及び第2セレクタの夫々のa−1及び&−
2に28ビツトづつ分れて常時入力され、第1及び第2
セレクタに入力した各28ビツトの鍵データはフィード
バックループ系に取込まれ、第1.@2セレクタのb−
1及びb−2に帰還される。この系にて夫々DE131
格に従った16回の1〜2ビツトのデータのシフトが行
われ、7− 16回目は始めの値に戻る。この一連の処理が終了し、
次の同期信号が来るまでの間に、前記a −1及び5t
−2のデータとこれに対応するb−1及びb−2のデー
タとを排他的論理和回路(以下、gXOR(オア)と称
す)にて比較することによシ鍵レジスタのwAリビット
を検出することが出来る。
(111 Embodiment of the Invention) In the present invention, the output of the key register is passed through the transposed PC-1 circuit to the a-1 and &-
28 bits each are input at all times, and the first and second
Each 28-bit key data input to the selector is taken into the feedback loop system, and the first... @2 selector b-
1 and b-2. In this system, each DE131
The 1- to 2-bit data is shifted 16 times according to the code, and the 7th to 16th shifts return to the initial value. This series of processing is completed,
Until the next synchronization signal arrives, the a −1 and 5t
-2 data and the corresponding data of b-1 and b-2 are compared using an exclusive OR circuit (hereinafter referred to as gXOR) to detect the wA rebit of the key register. You can.

以下、本発明のD ES暗号装置鍵岨り検出方式を図を
用いて説明する。第4図は本発明のDES暗号装置鍵誤
り検出方式の一実施例構成図を示す。
Hereinafter, the DES cryptographic device key deviation detection method of the present invention will be explained using the drawings. FIG. 4 shows a configuration diagram of an embodiment of the DES encryption device key error detection method of the present invention.

同図において、w、2図と同一番号、同一符号は同一部
材を示す。
In the figure, w, the same numbers and symbols as in Figure 2 indicate the same members.

第4図において、17.18はEXOR(オア)よシ構
成される比較回路、19はOR(オア)ゲラ −)、20はラッチ回路、21はす亡ム発生回路を示す
In FIG. 4, reference numerals 17 and 18 indicate a comparison circuit configured as an EXOR circuit, 19 indicates an OR circuit, 20 indicates a latch circuit, and 21 indicates a failure generation circuit.

次に第3図のタイムチャートを用いて第4図を説明する
。第4図において鍵レジスタの鍵1はパリティ検出回路
4でチェックされると共に、転置PC−1回路5の出力
を経て、分岐された1〜28ビツトの鍵はM1セレクタ
60a−1に入力され8− る。この28ビツトの舒は第1フイードバツクループ系
の中で1ビツト〜2ビツトのシフトが行われ、この一連
の演算処理によって@3図■に示す各28ビツトのデー
タP1〜P16が作られ、クロック■の16ビツト目の
タイミングでは元のデータとなる。これらPI−B16
のデータは順次転置PC−2回路121C入力されると
共に、第1セレクタ6のb−1に入力される。この演算
は16ビツト目のクロック■の終J、tsで停止し、鍵
データは次の同期信号がくる時膚t4まで変化しない。
Next, FIG. 4 will be explained using the time chart of FIG. 3. In FIG. 4, the key 1 of the key register is checked by the parity detection circuit 4, and the branched 1 to 28-bit key is input to the M1 selector 60a-1 through the output of the transposed PC-1 circuit 5. - This 28-bit data is shifted by 1 to 2 bits in the first feedback loop system, and through this series of arithmetic processing, each of the 28-bit data P1 to P16 shown in Figure 3 is created. , the original data becomes the original data at the 16th bit timing of the clock ■. These PI-B16
The data are sequentially inputted to the transposed PC-2 circuit 121C and also inputted to b-1 of the first selector 6. This calculation stops at J, ts at the end of the 16th bit clock (2), and the key data does not change until t4, when the next synchronization signal arrives.

また、第2フーイバツクループ系についても前記と同様
の手法によル、分岐された29〜56ビツトの始めの鍵
は第2セレクタ7のa−2に入力され、クロック■の立
下りによって第2フードパツクループ系の中で1〜16
回の演算処理が行われ、P17〜P32のデータが作ら
れる。この鍵データは転ffPc−2回路12に原水入
力されると共に第2セレクタのb−2に入力する。クロ
ック@の16ビツト目で元のデータとなり、t、以降法
の周期信号が入力するt、1でで一ドパツクルーズ系の
9− データ処理は停止する。この時点のセレクタ7のa−2
とb−2の鍵データは鍵レジスタ3の出力にり化がなけ
れば同一になる。
Also, for the second foo-back loop system, the same method as above is used.The branched first key of 29 to 56 bits is input to a-2 of the second selector 7, and the second key is inputted to a-2 of the second selector 7 at the falling edge of the clock (2). 1 to 16 in the 2 food pack group
The calculation processing is performed twice, and data P17 to P32 are created. This key data is input to the transfer ffPc-2 circuit 12 as raw water and is also input to the second selector b-2. At the 16th bit of the clock @, the original data becomes the original data, and at t and 1, the periodic signal of t and the modulus is input, and the 9-data processing of the one-dop cruise system stops. a-2 of selector 7 at this point
The key data of and b-2 will be the same if the output of the key register 3 is not digitized.

ここで転置PC−1回路5の田方である第1セレクタ6
のa−1のデータと、転置PC−2回路12の入力であ
る第1セレクタ6のb−1の夫々28ビツトのデータを
比較回路17のAIとB1に入力する。また同様にして
転置PC−1回路5の出力である第2セレクタ70a−
2のデータと、転置PC−2回路120入力である第2
セレクタ7のb−2の夫々28ビツトの鍵データを同時
に比較回路18のA2とB2に入力する。上記の比較回
路17.18はEXOR(オア)によって構成されてい
る。転置PC−1回路の出力と転@PC−2回路の入力
データとが比較回路17.18にて比較され、その比較
結果はOR(オア)ゲート19を釘てラッテ回路20に
入力され、その出力はアラーム発生回路21に入力され
ている。
Here, the first selector 6 which is Tagata of the transposed PC-1 circuit 5
The 28-bit data a-1 of the first selector 6 and the 28-bit data b-1 of the first selector 6, which is the input of the transposition PC-2 circuit 12, are input to AI and B1 of the comparator circuit 17, respectively. Similarly, the second selector 70a- which is the output of the transposed PC-1 circuit 5
2 data and the second data which is the transposed PC-2 circuit 120 input.
The 28-bit key data of each b-2 of the selector 7 is simultaneously input to A2 and B2 of the comparison circuit 18. The comparison circuits 17 and 18 described above are configured by EXOR. The output of the transposed PC-1 circuit and the input data of the transposed@PC-2 circuit are compared in comparison circuits 17 and 18, and the comparison result is inputted to the ratte circuit 20 through an OR gate 19, and its The output is input to an alarm generation circuit 21.

上記の回路構成において、紀3図のクロyり■が16回
発生し、16ビツト目のタイミングt。
In the above circuit configuration, the black mark (2) in Figure 3 occurs 16 times, and the timing t of the 16th bit occurs.

10− から次の同期信号のタイミングt4tでフィードバック
ループの動作は停止する。この期間に第3図(f)に示
す比較信号によってラッチ回路2oにデータをラッチす
る。
10-, the operation of the feedback loop stops at timing t4t of the next synchronization signal. During this period, data is latched into the latch circuit 2o by the comparison signal shown in FIG. 3(f).

いま、タイミングt、〜t4において第1及び第2セ1
/クタ6及び7の夫々に対応するa−1とb−1及びa
−2とb−2の夫々28ビツトづつのデータが等しけれ
ば、比較回路17.18の出力は全部T Ofであシ、
よってOR(オア)ゲート19の出力も101となるか
ら、比較信号(f)によって読み川されるラッチ回路2
0の出力もlo′となシ、アラーム発先回路21よりア
ラームは出されない。若し前Me EXOR(オア)1
7,18のデータが違っていれば、即ち誤りがあればア
ラーム発生回路21よりアラーム信号が出される。
Now, at timing t, ~t4, the first and second sections 1
a-1, b-1 and a corresponding to /kuta 6 and 7, respectively
If the data of 28 bits each of -2 and b-2 are equal, the outputs of the comparator circuits 17 and 18 are all T Of,
Therefore, since the output of the OR gate 19 is also 101, the latch circuit 2 which is read by the comparison signal (f)
Since the output of 0 is also lo', the alarm origination circuit 21 does not issue an alarm. Mashi Mae EXOR 1
If the data 7 and 18 are different, that is, if there is an error, the alarm generation circuit 21 outputs an alarm signal.

第5図は本発明の比較回路の一実施例構成図を示す。同
図において22−1〜22−28.22−29−22−
56はEXOR(オア)を示す。
FIG. 5 shows a configuration diagram of an embodiment of the comparison circuit of the present invention. In the same figure, 22-1 to 22-28.22-29-22-
56 indicates EXOR.

第5図において第1セレクタのa−1及びb−1の28
ビツトづつのデータは、比較回路17の11− A及びBの夫々の端子A1〜28.Bl〜28を経て■
OR(オア)22−1〜22−28に入力する。また第
2セレクタのa−2及びb−2の28ビツトづつのデー
タも前記と同様に比較回路180A及びBの夫々の端子
A1〜28.Bl〜28を経てEXOR(オア)22−
29〜22−56に入力するEXOR(オア)22−1
〜22−28及び22−29〜22−56の出力はOR
(オア)ゲート19を経てラッチ回路20に入力する。
In FIG. 5, 28 of a-1 and b-1 of the first selector
The bit-by-bit data is sent to terminals A1 to 28 . After Bl~28■
Input to OR (OR) 22-1 to 22-28. Further, the 28-bit data of a-2 and b-2 of the second selector are also transferred to the respective terminals A1-28. EXOR (or) 22- after Bl ~ 28
EXOR input to 29-22-56 22-1
~22-28 and 22-29 to 22-56 outputs are OR
(OR) input to the latch circuit 20 via the gate 19.

(f) 発明の効果 ヌ 以上説明した如く、従来鍵しジスiの誤り検査は8ビッ
ト単位のパリティチェックによって行われていたため偶
数ビットのエラーが発生したとき、エラーがチェックさ
れない欠点があったが、本発明においては転置pc−i
回路の出力信号である56ビツト論28ビツト+28ビ
ツトと、転置PC−2回路の入力信号である56ビツト
ー28ビツト+28ビツトとを一回の鍵演算が終了して
から次の鍵演算が開始されるまでの間に夫々56ビツト
間で比較されるから、どの様に鍵エラーが配置され一1
2= ていても検出できる利点を有する。したがって、本発明
はパリティチェックの欠点を補完する効果が大きく、パ
リティチェックと併用することにより、より確実な鍵誤
りの検出が可能となる。
(f) Effects of the Invention As explained above, error checking for conventional keys was performed by parity checking in 8-bit units, which had the disadvantage that when an even-numbered bit error occurred, the error was not checked. , in the present invention transposed pc-i
After one key operation is completed for the 56-bit logic 28 bits + 28 bits, which is the output signal of the circuit, and the 56-bit logic 28 bits + 28 bits, which is the input signal of the transposed PC-2 circuit, the next key operation is started. Since 56 bits of each key are compared until
2 = has the advantage of being detectable even when Therefore, the present invention has a great effect of compensating for the drawbacks of parity checking, and by using it together with parity checking, it becomes possible to detect key errors more reliably.

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

第1図はD E S規格の鍵とパリティピットの配置、
第2図は従来のDBS暗号装置のDTIS鍵演算部、第
3図は第2図に用いるクロクク、同肋信号、制御信号の
タイムチャート、第4図は本発明の実施例、第5図は本
発明の比較回路の一実施例構成図を示す。 図中、1は鍵、2はシフトレジスタ、3は鍵レジスタ、
4はパリティ検査回路、5は転置PC−1回路、6は第
1セレクタ、7は第2セレクタ、8は第1シフト回路、
9け第2シフト回路、10は第1FF回路、11はM2
FF回路、12は転置PC−2回路、13は制御部、1
4は同期信号、15はマスタクロック、16.16’は
鍵演算部、17゜18はKXOR(オア)、19はOR
ゲート、20はラッチ回路、21はアラーム発生回路を
示す。 13−
Figure 1 shows the arrangement of the key and parity pit in the DES standard.
Fig. 2 shows the DTIS key calculation section of a conventional DBS cryptographic device, Fig. 3 shows a time chart of clocks, parallel signals, and control signals used in Fig. 2, Fig. 4 shows an embodiment of the present invention, and Fig. 5 shows 1 shows a configuration diagram of an embodiment of a comparison circuit of the present invention. In the figure, 1 is a key, 2 is a shift register, 3 is a key register,
4 is a parity check circuit, 5 is a transposition PC-1 circuit, 6 is a first selector, 7 is a second selector, 8 is a first shift circuit,
9 second shift circuit, 10 first FF circuit, 11 M2
FF circuit, 12 is a transposed PC-2 circuit, 13 is a control unit, 1
4 is a synchronization signal, 15 is a master clock, 16.16' is a key calculation unit, 17°18 is KXOR (OR), 19 is OR
20 is a latch circuit, and 21 is an alarm generation circuit. 13-

Claims (1)

【特許請求の範囲】[Claims] DBS暗号装置の鍵演算部の鍵レジスタの出力は転tP
c−1回路を経てDESアルゴリズムに従った桁移動演
算処理が行われ、該処理出力は転置PC−2回路に入力
されてなる鍵演算部の該鍵レジスタの誤り検出方式にお
いて、前記転置PC−1回路の出力信号と転置PC−2
回路の入力信号を一回の鍵演算が終了してから次の鍵演
算が開始されるまでの期間に比較する手段を有すること
を特徴とするDES暗号装置鍵誤り検出方式。
The output of the key register of the key calculation unit of the DBS cryptographic device is tP.
Digit shift calculation processing according to the DES algorithm is performed through the c-1 circuit, and the processing output is input to the transposition PC-2 circuit. 1 circuit output signal and transposition PC-2
A DES cryptographic device key error detection method comprising means for comparing input signals of a circuit during a period from the end of one key operation to the start of the next key operation.
JP58145502A 1983-08-09 1983-08-09 Key error detection system for des cryptographer Pending JPS6037586A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58145502A JPS6037586A (en) 1983-08-09 1983-08-09 Key error detection system for des cryptographer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58145502A JPS6037586A (en) 1983-08-09 1983-08-09 Key error detection system for des cryptographer

Publications (1)

Publication Number Publication Date
JPS6037586A true JPS6037586A (en) 1985-02-26

Family

ID=15386738

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58145502A Pending JPS6037586A (en) 1983-08-09 1983-08-09 Key error detection system for des cryptographer

Country Status (1)

Country Link
JP (1) JPS6037586A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6201869B1 (en) 1995-09-05 2001-03-13 Mitsubishi Denki Kabushiki Kaisha Data transformation apparatus and data transformation method
US6466669B1 (en) 1997-05-30 2002-10-15 Mitsubishi Denki Kabushiki Kaisha Cipher processor, IC card and cipher processing method
JP2008280801A (en) * 2007-05-14 2008-11-20 Ykk Ap株式会社 Fitting and positioning member

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6201869B1 (en) 1995-09-05 2001-03-13 Mitsubishi Denki Kabushiki Kaisha Data transformation apparatus and data transformation method
US6415030B2 (en) 1995-09-05 2002-07-02 Mitsubishi Denki Kabushiki Kaisha Data transformation apparatus and data transformation method
US7096369B2 (en) 1995-09-05 2006-08-22 Mitsubishi Denki Kabushiki Kaisha Data transformation apparatus and data transformation method
US6466669B1 (en) 1997-05-30 2002-10-15 Mitsubishi Denki Kabushiki Kaisha Cipher processor, IC card and cipher processing method
JP2008280801A (en) * 2007-05-14 2008-11-20 Ykk Ap株式会社 Fitting and positioning member

Similar Documents

Publication Publication Date Title
JPS5958558A (en) Parallel cyclic redundant checking circuit
US6819224B2 (en) Apparatus and method for detecting a predetermined pattern of bits in a bitstream
JPH07240742A (en) Synchronous word detector and synchronous word detecting method
US10423565B2 (en) Data transmission systems having a plurality of transmission lanes and methods of testing transmission data in the data transmission systems
US8284881B2 (en) Data interface and method of seeking synchronization
JPH06244684A (en) Method and circuit device for generating dummy random number row
JPS6037586A (en) Key error detection system for des cryptographer
GB1579775A (en) Digital monitor
US3144635A (en) Error correcting system for binary erasure channel transmission
JPH0748725B2 (en) Frame synchronization circuit
JPH10247899A (en) Serial transmission method and synchronization error detection method therefor
JPH0855066A (en) Error correction and conversion system
JP3137034B2 (en) Address trap comparison circuit for easy failure verification
JPS62216557A (en) Phase ambiguity removing circuit
JPS63312754A (en) Error generation circuit
JPH036142A (en) Frame synchronizing system
SU1295399A2 (en) Device for checking digital units
JP2679607B2 (en) Pointer processing circuit
RU1820384C (en) Device for checking received information
SU842791A1 (en) Number comparing device
JPS6017139B2 (en) Serial port method
JP3528123B2 (en) Data evaluation circuit
JPS6324503Y2 (en)
JPH05191297A (en) Serial/parallel conversion circuit
JPS5936304B2 (en) Register expected parity creation method