JPH07303102A - Communication equipment - Google Patents
Communication equipmentInfo
- Publication number
- JPH07303102A JPH07303102A JP6095980A JP9598094A JPH07303102A JP H07303102 A JPH07303102 A JP H07303102A JP 6095980 A JP6095980 A JP 6095980A JP 9598094 A JP9598094 A JP 9598094A JP H07303102 A JPH07303102 A JP H07303102A
- Authority
- JP
- Japan
- Prior art keywords
- communication
- cbc
- initial value
- cryptographic
- transmission
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Facsimile Transmission Control (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、暗号通信機能を有する
ファクシミリ装置等、秘密暗号通信を行う通信機器に係
り、特に暗号通信における秘密性の向上を図った通信機
器に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication device for performing secret cryptographic communication such as a facsimile device having a cryptographic communication function, and more particularly to a communication device designed to improve confidentiality in cryptographic communication.
【0002】[0002]
【従来の技術】ファクシミリ通信では同一メーカーのフ
ァクシミリ装置間での通信に関しては、オプションとし
て種々の特殊通信を行うことができる。その特殊通信の
一つに暗号通信がある。2. Description of the Related Art In facsimile communication, various special communication can be optionally performed for communication between facsimile machines of the same manufacturer. Cryptographic communication is one of the special communications.
【0003】図7はファクシミリ装置における通常の暗
号通信の手順を示している。図7(A)において、91
〜94は送信側での信号処理手順であって、送信しよう
とする原稿は、まず、スキャナ91によって読み取られ
る。読み取られた画像データは92でMH等のデータ圧
縮、つまり符号化処理される。次いで、この圧縮された
画像データに対して秘密通信とするべく、93で秘密暗
号鍵を用いて暗号化処理が施され、その暗号化データが
送信側モデム94としてのファクシミリ装置から送出さ
れる。FIG. 7 shows a procedure of ordinary cipher communication in a facsimile machine. In FIG. 7A, 91
Numerals 94 to 94 are signal processing procedures on the transmitting side, and a document to be transmitted is first read by the scanner 91. At 92, the read image data is subjected to data compression such as MH, that is, encoding processing. Next, in order to perform secret communication on the compressed image data, an encryption process is performed at 93 using a secret encryption key, and the encrypted data is sent out from a facsimile machine as a transmission side modem 94.
【0004】このように従来では、ファクシミリ装置を
用いて暗号通信を行う際には、スキャナ91で読み取っ
た画像データを、そのまま加工を施すことなく、スキャ
ナ91で読み取った順序に従って暗号化して送信してい
た。As described above, conventionally, when performing encrypted communication using a facsimile apparatus, the image data read by the scanner 91 is encrypted and transmitted according to the order read by the scanner 91 without being processed as it is. Was there.
【0005】図7(B)において、95〜98は受信側で
の信号処理手順であって、受信側モデム95としてのフ
ァクシミリ装置で受信された原稿の暗号受信データは9
6で送信側と同一の秘密暗号鍵を用いて暗号文を解読す
る、いわゆる平文化処理が施される。平文化された画像
データは97でデータ伸長、つまり復号化され、元の画
像データとなり、プリンタ98により印刷され、これに
よって受信側で原稿が取り出される。なお、ここで言う
秘密暗号鍵は一種のデータである。In FIG. 7B, reference numerals 95 to 98 are signal processing procedures on the receiving side, and 9 is the encrypted received data of the original received by the facsimile apparatus as the receiving side modem 95.
In step 6, so-called plain culture processing is performed, in which the ciphertext is decrypted using the same secret encryption key as the sender. The plain-text image data is decompressed at 97, that is, decoded to become the original image data, which is printed by the printer 98, whereby the original is taken out at the receiving side. The secret encryption key mentioned here is a kind of data.
【0006】図8は典型的な送信原稿の一例を示してい
る。なお、図示例の原稿はCCITT(国際電信電話諮
問委員会)の標準原稿である。さて、この原稿Mから明
らかなように、通常の送信原稿は殆どの部分が“白"つ
まり文字等が書き込まれていない白地部分で占められて
いる。FIG. 8 shows an example of a typical transmission original. The manuscript shown in the figure is a standard manuscript of CCITT (International Telegraph and Telephone Consultative Committee). As is clear from the manuscript M, most of the normal transmission manuscript is occupied by "white", that is, a white background portion in which characters and the like are not written.
【0007】いま、従来のファクシミリ装置において、
スキャナ91により最初にスキャンされる部分、言い換
えれば送信データの最初の部分または、最初に暗号化さ
れる部分について考えると、原稿Mで最初にスキャンさ
れるのは、その先頭部分Hである。通常この先頭部分H
は全白であることが多い。このような理由により従来の
ファクシミリ装置で何らかの原稿を送出しようとする場
合は、その送出データの最初の部分は全白に対するデー
タに対応する可能性が非常に高いと言える。Now, in the conventional facsimile apparatus,
Considering the portion first scanned by the scanner 91, in other words, the first portion of the transmitted data or the first encrypted portion, the first portion H of the document M is scanned first. Usually this head part H
Is often white. For this reason, when a conventional facsimile apparatus tries to send out some original, it can be said that the first part of the sent data is very likely to correspond to the data for all white.
【0008】図9はファクシミリ装置における一般的な
暗号化処理部の一例として、(A)はECBモードを用い
た例を、また、(B)はCBCモードを用いた例をそれぞ
れ示している。図9(A)(B)に示したいずれの場合も、
通常は前述のように、平文Pに対して秘密暗号鍵Kを用
いて暗号文Cを出力する。FIG. 9 shows an example of a general encryption processing unit in a facsimile apparatus, (A) shows an example using the ECB mode, and (B) shows an example using the CBC mode. In either case shown in FIGS. 9A and 9B,
Normally, as described above, the ciphertext C is output to the plaintext P using the secret encryption key K.
【0009】但し、ECBモードでは図9(A)に示すよ
うに、暗号を掛けようとする画像データと暗号が1:1
で対応している。これに対し、CBCモードでは図9
(B)に示すように、例えばn番目の平文Pnを暗号化す
る際、その1回前の暗号文Cn-1と平文PnとのEOR
(排他的論理和)を取り、その結果を暗号化する。な
お、この場合、1番目の画像データは暗号文が書かれて
いないため、予め秘密に設定された初期値を用い、この
初期値と平文P1とのEORを取ることになる。However, in the ECB mode, as shown in FIG. 9A, the image data to be encrypted and the encryption are 1: 1.
It corresponds with. On the other hand, in the CBC mode, as shown in FIG.
(B), the example when encrypting n-th plain text P n, EOR of ciphertext C n-1 and the plaintext P n of one time before the
Take the (exclusive OR) and encrypt the result. In this case, since the ciphertext is not written in the first image data, an initial value secretly set in advance is used, and this initial value and the plaintext P 1 are EORed.
【0010】[0010]
【発明が解決しようとする課題】このように暗号通信を
行う場合、通常、人目に触れるのは暗号文Cのみである
ので、その暗号が解読される可能性は可成り低いと言え
る。しかしながら、送信データの最初のスキャン部分は
前述のように“全白"に対するデータであることが多
い。このため、画像データと暗号が1:1で対応してい
るECBモードによるものでは、スキャナ91で原稿M
を読み取らせるとき、受信された暗号化データの始めの
部分は“白"を暗号化したものであることが分かってし
まい、暗号化アルゴリズムの強度に欠ける。In the cryptographic communication as described above, since only the ciphertext C is usually exposed to the public, it can be said that the possibility of decrypting the cryptogram is extremely low. However, the first scan portion of the transmission data is often data for "all white" as described above. For this reason, in the ECB mode in which the image data and the encryption are in a 1: 1 correspondence, the document M is scanned by the scanner 91.
, The first part of the received encrypted data is found to be "white" encrypted, and the encryption algorithm lacks strength.
【0011】また、CBCモードでは、初期値は既知で
はないため、1番目の画像データが“白"であっても、
この“白"を表す平文P1にもスクランブルが掛けられて
いるため、ECBモードの場合よりも暗号化アルゴリズ
ムの強度は高いと言えるが、送出データの最初の部分は
“白"である点はECBモードの場合と異なるものでは
なく、したがって、いずれのモードにおいても、平文P
(全白のデータ)と、それに対する暗号文Cが公開されて
いるようなものである。このように従来装置の場合、特
定の平文とそれに対する暗号文が既知になるので、この
暗号の強度は可成り低下するという問題点があった。Further, in the CBC mode, since the initial value is not known, even if the first image data is "white",
Since the plaintext P 1 representing this “white” is also scrambled, it can be said that the strength of the encryption algorithm is higher than in the ECB mode, but the point that the first part of the transmitted data is “white” This is not different from the case of the ECB mode, and therefore, in any mode, the plaintext P
(All white data) and the ciphertext C for it are open. As described above, in the case of the conventional apparatus, since the specific plaintext and the ciphertext corresponding thereto are known, there is a problem in that the strength of this cipher considerably deteriorates.
【0012】本発明は、上記のような問題点に鑑みてな
されたもので、CBCモードによる暗号通信を行う通信
システムの送受信モデムを構成する通信機器において、
通常原稿の先頭部分が殆どの場合“全白"であること等
による暗号アルゴリズム強度の低下を防止するための効
果的な対策を施した構成とすることを目的とするもので
ある。The present invention has been made in view of the above problems, and in a communication device constituting a transmission / reception modem of a communication system for performing encrypted communication in the CBC mode,
It is an object of the present invention to provide a configuration in which effective measures are taken to prevent a reduction in the strength of the encryption algorithm due to the fact that the leading portion of a normal document is "white" in most cases.
【0013】[0013]
【課題を解決するための手段】上記目的を達成するため
に本発明では、CBC初期値を構成する数値を、通信回
数を一つの要因とする演算式に基づいて通信の度に前記
CBC初期値の数値データを変更し、その変更した数値
データをそのときの通信時におけるCBC初期値とする
機能を有する暗号通信部を具備するものとしている。In order to achieve the above object, according to the present invention, a numerical value that constitutes a CBC initial value is calculated based on an arithmetic expression in which the number of times of communication is one factor. The cryptographic communication unit having a function of changing the numerical data of (1) and using the changed numerical data as the CBC initial value at the time of communication is provided.
【0014】暗号通信部の具体的構成としては、第1
に、暗号通信の相手の数だけCBC初期値が必要な暗号
通信機能を有し、且つ、前記CBC初期値を算術数字と
して取り扱い、暗号通信が1回終了する毎に送受信時双
方とも、前記CBC初期値に所定の演算式を用いて算術
演算を施し、次回の暗号通信の際には、前回の暗号通信
に基づき前記演算式を用いて行った数値に対応するCB
C初期値を使用するものとしている。The concrete configuration of the encryption communication unit is as follows:
Has a cryptographic communication function that requires as many CBC initial values as there are cryptographic communication partners, and treats the CBC initial value as an arithmetic number, and at the time of transmission / reception each time cryptographic communication is completed, the CBC is An arithmetic operation is performed on the initial value using a predetermined arithmetic expression, and at the time of the next cryptographic communication, the CB corresponding to the numerical value obtained by using the arithmetic expression based on the previous cryptographic communication.
The C initial value is used.
【0015】また、第2の構成としては、複数のインデ
ックスにそれぞれCBC初期値の数値データを対応させ
たCBC初期値テーブルを使用する暗号通信機能を有
し、且つ、暗号通信の相手毎に、リセット時からの通信
回数を示すカウンタを有し、暗号通信実行時には、前記
秘密暗号テーブルの指定されたインデックスに対応する
CBC初期値の数値データに対して、前記カウンタが示
す数値を加味する所定の演算式を用いて算術演算を施し
て、そのときのCBC初期値を設定するものとしてい
る。尚、カウンタのカウント値をそのままCBC初期値
とする構成も可能である。In addition, as a second configuration, a cryptographic communication function is used which uses a CBC initial value table in which numerical data of CBC initial values are respectively associated with a plurality of indexes, and each cryptographic communication partner has a cryptographic communication function. A counter that indicates the number of times of communication from the time of reset is provided, and at the time of executing encrypted communication, a predetermined value that adds the numerical value indicated by the counter to the numerical data of the CBC initial value corresponding to the specified index of the secret cryptographic table. An arithmetic operation is performed using an arithmetic expression, and the CBC initial value at that time is set. It is also possible to adopt a configuration in which the count value of the counter is directly used as the CBC initial value.
【0016】[0016]
【作用】上記構成によると、受信者に対するCBC初期
値の初期設定を行い、CBC初期値を算術数字と考え
て、送受信者間で暗号通信がなされた場合には、送信側
の受信者に対するCBC初期値を例えば予め取り決めた
値を加算する等の演算を行って変更し、次回はその変更
後の値のCBC初期値を使用する。以下同様に、暗号通
信を行う毎に、演算を行う。受信側も同様に、送信者か
ら暗号通信を受信する度に、送信者に対するCBC初期
値を変更する演算を行う。According to the above configuration, the CBC initial value for the receiver is initialized, and the CBC initial value is considered as an arithmetic number. When encrypted communication is performed between the sender and the receiver, the CBC for the receiver on the transmitting side is performed. The initial value is changed, for example, by performing a calculation such as adding a previously agreed value, and next time, the CBC initial value of the changed value is used. Similarly, the calculation is performed every time the encrypted communication is performed. Similarly, the receiving side also performs an operation to change the CBC initial value for the sender every time the encrypted communication is received from the sender.
【0017】また、CBC初期値テーブルを利用するも
のでは、暗号通信に際し、送信側はユーザーに設定され
たCBC初期値のインデックスにより、使用するCBC
初期値を決定し、次に、カウンタの値を読み出し、先に
決定したCBC初期値の値とカウンタの値を例えば加算
するような算術演算を行う。そして、暗号通信にはその
演算によって得られた値をCBC初期値として使用す
る。受信側も同様な処理を行う。Further, in the case of utilizing the CBC initial value table, the transmitter side uses the CBC initial value index set by the user in the encrypted communication.
After determining the initial value, the value of the counter is read out, and an arithmetic operation is performed to add the previously determined CBC initial value and the counter value, for example. Then, the value obtained by the calculation is used as the CBC initial value for the cryptographic communication. The receiving side also performs similar processing.
【0018】[0018]
【実施例】以下、本発明の実施例を図面を参照しながら
説明する。CBCモードによる暗号通信を行う通信シス
テムの送受信モデムを構成するファクシミリ装置に適用
した実施例を図面を参照しながら説明する。図1は本発
明の第1実施例に係るファクシミリ装置の全体構成をブ
ロック図で示している。Embodiments of the present invention will be described below with reference to the drawings. An embodiment applied to a facsimile apparatus that constitutes a transmission / reception modem of a communication system that performs encrypted communication in the CBC mode will be described with reference to the drawings. FIG. 1 is a block diagram showing the overall configuration of a facsimile apparatus according to the first embodiment of the present invention.
【0019】この図において、1はマイクロコンピュー
タ等からなる制御部であって、全体の制御を司る。この
制御部1は図2に示すように、CPU2、プログラムR
OM3、RAM4等から構成されている。また、RAM
4は暗号通信を行うときのワーク領域、メモリ領域の一
つの形態としての暗号鍵記憶領域、CBC初期値(I
V)記憶領域、カウンタ等を有している。In the figure, reference numeral 1 is a control unit composed of a microcomputer or the like, and controls the entire control. As shown in FIG. 2, the control unit 1 includes a CPU 2 and a program R.
It is composed of OM3, RAM4 and the like. RAM
Reference numeral 4 denotes a work area for encrypted communication, an encryption key storage area as one form of a memory area, and a CBC initial value (I
V) It has a storage area, a counter, and the like.
【0020】図1に戻って、5は操作部、6は符号化/
復号化回路、7は当該ファクシミリ装置が送信側として
動作するときは、暗号化を行い、受信側として動作する
ときは平文化を行う暗号化/平文化回路、8は変復調部
モデム、9はNCU(網制御装置)、10は公衆電話回
線である。11は原稿を読み取るスキャナ11aを有す
る読み取り部である。12は読み取った画像データにシ
ェーディング補正等の処理を施す画像処理部である。1
3は送信機能部、14は受信機能部、15はプリント部
15a等を有する記録部である。Returning to FIG. 1, 5 is an operation unit and 6 is encoding /
A decryption circuit, 7 is an encryption / plain culture circuit that performs encryption when the facsimile machine operates as a transmission side, and performs plain culture when the facsimile machine operates as a reception side, 8 is a modem unit, and 9 is an NCU. (Network control device) 10 is a public telephone line. A reading unit 11 includes a scanner 11a that reads a document. An image processing unit 12 performs processing such as shading correction on the read image data. 1
3 is a transmission function unit, 14 is a reception function unit, and 15 is a recording unit having a printing unit 15a and the like.
【0021】上述した操作部5、変復調部モデム8及び
NCU9、スキャナ11a、プリント部15a、リアル
タイムクロック16とCPU2とは図2に示すように、
データバス16を通して接続されており、CPU2を中
心とする上記各構成は、以下に述べるように、原稿を正
方向及び逆方向で暗号化する暗号通信部として機能する
ものであり、送受信双方とも、暗号通信としてのプロセ
スが制御部1においてプログラムされている。The operation unit 5, the modem unit 8 and the NCU 9, the scanner 11a, the printing unit 15a, the real-time clock 16 and the CPU 2 described above are as shown in FIG.
As described below, the above-described configurations centered on the CPU 2 are connected through the data bus 16 and function as an encryption communication unit that encrypts an original in the forward direction and the backward direction. A process for encrypted communication is programmed in the control unit 1.
【0022】次に、上記構成が暗号通信部として機能す
る場合について、送信側として動作するときの制御部1
の動作例を図3のフローチャートを参照しながら説明す
る。本実施例ではCBCモードの初期値を使用して、秘
密暗号鍵を通信毎に変化させる方法を示す。この場合、
CBCモードを利用しているため、先頭のブロック(こ
こでは64ビット)のみ全白対応をすればよい。すなわ
ち、CBC初期値は通常、64ビット程度の2進数の数
値データである。Next, in the case where the above configuration functions as an encryption communication unit, the control unit 1 when operating as a transmission side
An example of the operation will be described with reference to the flowchart of FIG. This embodiment shows a method of changing the secret encryption key for each communication by using the initial value of the CBC mode. in this case,
Since the CBC mode is used, only the top block (here, 64 bits) needs to be fully white. That is, the CBC initial value is usually binary numerical data of about 64 bits.
【0023】まず、暗号通信を行う送受信者は共に本実
施例装置を使用しているものとする。本実施例では送信
者が暗号通信しようとする相手に対し、各々の相手固有
のCBC初期値が存在するような方式を考える。したが
って、この場合、暗号通信しようとする相手の数だけC
BC初期値が存在することになる。First, it is assumed that both the sender and the receiver who carry out the encrypted communication are using the apparatus of this embodiment. In the present embodiment, a method is considered in which the sender has a CBC initial value unique to each of the parties with whom the sender intends to perform encrypted communication. Therefore, in this case, only C
There will be a BC initial value.
【0024】図3において、送信者が送信動作を開始
し、ステップ#105で通信相手に対応するCBC初期
値IVをRAM4のCBC初期値記憶領域から読み出
す。ここでは、受信者に対するCBC初期値をIVとす
る。なお、この初期設定値IVは前述のとおり64ビッ
トの2進数であり、例えば“0000000000000000"等の形
で表される。次いで、ステップ#110で、スキャナ1
1aで読み取られた送信原稿を符号化し、さらにステッ
プ#115で、符号化された原稿を前記CBC初期値I
Vにより暗号化する等の通信手順が行われ、ステップ#
120で最終的に送信動作が行われる。In FIG. 3, the sender starts the transmission operation, and in step # 105, the CBC initial value IV corresponding to the communication partner is read from the CBC initial value storage area of the RAM 4. Here, the CBC initial value for the recipient is IV. The initial set value IV is a 64-bit binary number as described above, and is represented by, for example, "0000000000000000". Next, in step # 110, the scanner 1
1a, the transmission original read in is encoded, and in step # 115, the encoded original is converted into the CBC initial value I
A communication procedure such as encryption by V is performed, and step #
Finally at 120, the transmission operation is performed.
【0025】送信後は、CBC初期値IVの変更が行わ
れる。本実施例では、CBC初期値の数値データを算術
数字として取り扱う。そして、暗号通信が1回終了する
毎に、CBC初期値に所定の演算式を用いて算術演算を
施し、次回の暗号通信の際には、前回の暗号通信に基づ
き前記演算式を用いて行った数値に対応するCBC初期
値を使用する。この演算式は、IV’=IV+1で表さ
れる。After the transmission, the CBC initial value IV is changed. In this embodiment, the numerical data of the CBC initial value is treated as an arithmetic numeral. Then, each time the cryptographic communication is completed, an arithmetic operation is performed on the CBC initial value using a predetermined arithmetic expression, and at the next cryptographic communication, the arithmetic expression is used based on the previous cryptographic communication. The CBC initial value corresponding to the numerical value is used. This arithmetic expression is represented by IV ′ = IV + 1.
【0026】したがって、送受信者間で暗号通信がなさ
れた後は、ステップ#125で送信側の受信者に対する
CBC初期値を“IV”から“IV+1”に変更し、次
回はこの“IV+1”を特定の相手に対するCBC初期
値として使用するべく、ステップ#130で新たにI
V’をCBC初期値としてRAMのCBC初期値記憶領
域に格納する。Therefore, after the encrypted communication is performed between the sender and the receiver, the CBC initial value for the receiver on the transmitting side is changed from "IV" to "IV + 1" in step # 125, and this "IV + 1" is specified next time. To be used as the CBC initial value for the other party in step # 130.
V'is stored as a CBC initial value in the CBC initial value storage area of the RAM.
【0027】以下同様に、暗号通信を行う毎に、CBC
初期値の値に“1"を足し算する。受信側も同様に、送
信者から暗号通信を受信する度、送信者に対するCBC
初期値に“1"を足す。なお、本実施例では、例題とし
てCBC初期値に“1"を足す演算を示したが、他の数
式による算術演算を用いるようにしてもよい。Similarly, every time Cryptographic communication is performed, CBC
Add "1" to the initial value. Similarly, every time the receiving side receives the encrypted communication from the sender, the CBC for the sender is received.
Add "1" to the initial value. In the present embodiment, as an example, the operation of adding "1" to the CBC initial value is shown, but an arithmetic operation using another mathematical expression may be used.
【0028】図4は本実施例装置が受信側として動作す
るときの制御部1の動作例を示している。受信側におい
ては、受信後、ステップ#205で通信相手に対応する
CBC初期値IVをRAM4のCBC初期値記憶領域か
ら読み出す。次いで、ステップ#210で受信データを
一旦、RAM4へ格納する等の所定手順の受信動作を行
った後、ステップ#215で先に読み出したCBC初期
値IVで受信原稿の平文化を行い、さらにステップ#2
20でそれを復号化し、受信を完了する。FIG. 4 shows an operation example of the control unit 1 when the apparatus of this embodiment operates as a receiving side. On the receiving side, after reception, in step # 205, the CBC initial value IV corresponding to the communication partner is read from the CBC initial value storage area of the RAM 4. Next, in step # 210, the received data is temporarily stored in the RAM 4, and the receiving operation is performed according to a predetermined procedure. Then, in step # 215, the CBC initial value IV previously read is used to perform the flattening of the received original document, and the step is further performed. # 2
Decrypt it at 20 and complete the reception.
【0029】この後、受信側においても、ステップ#2
25で送信側の受信者に対するCBC初期値を“IV”
から“IV+1”に変更し、次回はこの“IV+1”を
特定の相手に対するCBC初期値として使用するべく、
ステップ#230で新たにIV’をCBC初期値として
RAMのCBC初期値記憶領域に格納する。After this, the receiving side also performs step # 2.
25, the CBC initial value for the receiver on the transmitting side is set to “IV”.
To “IV + 1”, and next time to use this “IV + 1” as the CBC initial value for a specific opponent,
At step # 230, IV 'is newly stored in the CBC initial value storage area of the RAM as the CBC initial value.
【0030】このように本発明の第1実施例では、暗号
通信が1回終了する毎に送受信時双方とも、CBC初期
値に所定の演算式を用いて算術演算を施し、次回の暗号
通信の際には、前回の暗号通信に基づき前記演算式を用
いて行った数値に対応するCBC初期値を使用するもの
であるため、CBC初期値を暗号通信しようとする相手
の数だけ登録すれば、通信の相手毎に秘密暗号鍵を変更
することが可能になるため、暗号強度アップの点で有利
であると言える。As described above, in the first embodiment of the present invention, each time the encrypted communication is completed, the CBC initial value is arithmetically calculated using a predetermined arithmetic expression at the time of both transmission and reception, and the next encrypted communication is performed. At this time, since the CBC initial value corresponding to the numerical value calculated by using the above-mentioned cryptographic communication based on the previous cryptographic communication is used, if the CBC initial value is registered by the number of the parties to be cryptographically communicated, Since the secret encryption key can be changed for each communication partner, it can be said that it is advantageous in increasing the encryption strength.
【0031】図5及び図6は、本発明の第2実施例にお
ける制御部1の送信動作(図5)と、受信動作(図6)の流
れを示している。なお、本実施例の構成は、図1及び図
2に示した上記第1実施例のそれと共通しているので、
共通の構成についてはその説明を省略する。5 and 6 show the flow of the transmitting operation (FIG. 5) and the receiving operation (FIG. 6) of the control unit 1 in the second embodiment of the present invention. Since the configuration of this embodiment is common to that of the first embodiment shown in FIGS. 1 and 2,
The description of the common configuration will be omitted.
【0032】本実施例においては、送信者が暗号通信し
ようとする相手に対し、下記表1に示すようなRAM4
のCBC初期値テーブルを使用する。このCBC初期値
テーブルは、CBC初期値を適宜数登録し、それぞれの
CBC初期値としての数値データ毎にインデックスを施
したものであって、実際の使用に際しては、CBC初期
値そのものではなく、インデックスを用いる。したがっ
て、暗号通信の相手の数だけCBC初期値が存在するわ
けではなく、相手によっては、他の相手と同じCBC初
期値を使用する可能性もある。なお、該CBC初期値テ
ーブルは機器製造時において、ユーザーに対して予め設
定しておくものとする。In the present embodiment, the RAM 4 as shown in Table 1 below is provided to the other party to whom the sender intends to perform encrypted communication.
CBC initial value table is used. In this CBC initial value table, an appropriate number of CBC initial values are registered and an index is given to each numerical data as each CBC initial value. In actual use, the CBC initial value itself is not the index but the index. To use. Therefore, there are not as many CBC initial values as there are cryptographic communication partners, and there is a possibility that the same CBC initial value as another partner may be used depending on the partner. The CBC initial value table is preset for the user at the time of manufacturing the device.
【0033】[0033]
【表1】 [Table 1]
【0034】また、送受信双方の制御部1には暗号通信
の相手毎に、リセット時からの特定の送受信者間の通信
回数を示すカウンタがソフト的に設けられている。な
お、実際には、暗号通信する相手の数だけ、このカウン
タが必要になる。いま、このカウンタが示す値を“C"
とする。In addition, the control unit 1 for both transmission and reception is provided with a software counter for each partner of encrypted communication, which indicates the number of communication between specific senders and receivers since reset. Note that, in reality, this counter is necessary for the number of parties to be cryptographically communicated. Now, the value indicated by this counter is "C"
And
【0035】そして、暗号通信に際し、送信側は図5に
示すように、暗号通信を実行するために送信を開始した
後、ステップ#305でCBC初期値テーブルから指定
されたインデックスを読み出し、使用するCBC初期値
を決定する。この場合、表1を参照して、例えばインデ
ックスが“05”と指定されているとすると、“112233
4455667788”を選択することになる。いま、このCBC
初期値の値を“IV"とする。At the time of encrypted communication, as shown in FIG. 5, the transmitting side starts the transmission to execute the encrypted communication, then reads the specified index from the CBC initial value table and uses it in step # 305. Determine the CBC initial value. In this case, referring to Table 1, if the index is designated as "05", for example, "112233"
4455667788 ”will be selected. Now, this CBC
The initial value is “IV”.
【0036】次いで、ステップ#310で通信相手に対
応したカウンタの値Cを読み出す。、この送信に際して
は、CBC初期値IVの変更が行われる。本実施例にお
いても、CBC初期値の数値データを算術数字として取
り扱う。すなわち、指定されたインデックスに対応する
CBC初期値の値IVに対して、カウンタが示す数値C
を加味する所定の演算式を用いて算術演算を施し、その
算出値IV’をそのときのCBC初期値の値とする。こ
の演算式は、IV’=IV+Cで表される。したがっ
て、例えば特定の相手との通信回数が10回目であると
すれば、カウンタの値Cが10であるから、そのときの
送受信者双方のCBC初期値の値IV’は“1122334455
667798”となる。Next, at step # 310, the counter value C corresponding to the communication partner is read. At the time of this transmission, the CBC initial value IV is changed. Also in this embodiment, the numerical data of the CBC initial value is treated as an arithmetic numeral. That is, with respect to the CBC initial value IV corresponding to the designated index, the numerical value C indicated by the counter is displayed.
The arithmetic operation is performed using a predetermined arithmetic expression that takes into account the calculated value IV ′ as the CBC initial value at that time. This arithmetic expression is represented by IV ′ = IV + C. Therefore, for example, if the number of times of communication with a specific partner is the 10th time, the value C of the counter is 10. Therefore, the value IV ′ of the CBC initial value of both the sender and the receiver at that time is “1122334455.
667798 ”.
【0037】次いで、ステップ#315で送信画像(原
稿)の符号化を行い、ステップ#320で所定手順で送
信動作を行う。このとき暗号通信には前記“IV+C”
をCBC初期値として使用する。なお、本実施例におい
ても、CBC初期値を決定する算術演算は上記とは異な
る数式を用いるようにしてもよい。Next, in step # 315, the transmission image (original) is encoded, and in step # 320, the transmission operation is performed in a predetermined procedure. At this time, the above-mentioned “IV + C” is used for encrypted communication.
Is used as the CBC initial value. Also in this embodiment, the arithmetic operation for determining the CBC initial value may use a mathematical expression different from the above.
【0038】そして、送信後、ステップ#325で暗号
通信が1回終了する毎に、使用したカウンタの値に1を
足し算し、ステップ#330でこれによって得られた値
C’(C+1)を、RAM4のCBC初期値記憶領域に
格納しておく。次回の暗号通信の際には、改めてCBC
初期値テーブルから指定したインデックスを読み出し、
使用するCBC初期値を決定するとともに、カウンタの
値としてC’を用いることになる。このため、例え続け
て同じインデックスを指定したとしても、CBC初期値
のデータは異なる値となるので、秘密暗号鍵の暗号強度
が低下することはない。After the transmission, each time the encrypted communication is completed once in step # 325, 1 is added to the value of the counter used, and the value C '(C + 1) obtained by this is added in step # 330. It is stored in the CBC initial value storage area of the RAM 4. At the next encrypted communication, CBC will be re-established.
Read the specified index from the initial value table,
The CBC initial value to be used is determined, and C'is used as the counter value. Therefore, even if the same index is continuously specified, the data of the CBC initial value will be different values, so that the encryption strength of the secret encryption key will not be lowered.
【0039】図6は本実施例装置が受信側として動作す
るときの制御部1の動作例を示している。受信側におい
ては、受信後、ステップ#405で通信相手と対応する
CBC初期値テーブルのインデックスを読み出し、使用
するCBC初期値を決定し、次いで、ステップ#410
で通信相手に対応したカウンタの値Cを読み出す。そし
て、送信側と同じCBC初期値、すなわち“IV+C"
を暗号鍵として受信データの平文化を行い、ステップ#
420で受信原稿の復号化を行い、受信を完了する。FIG. 6 shows an operation example of the control unit 1 when the apparatus of this embodiment operates as a receiving side. On the receiving side, after reception, in step # 405, the index of the CBC initial value table corresponding to the communication partner is read, the CBC initial value to be used is determined, and then step # 410.
The value C of the counter corresponding to the communication partner is read with. Then, the same CBC initial value as the transmitting side, that is, "IV + C"
Performs a plain culture of the received data using the
At 420, the received document is decrypted and the reception is completed.
【0040】この後、受信側においても、ステップ#4
25で送信側の受信者に対するカウンタの値を“C”か
ら“C+1”に変更し、ステップ#430で得られた値
C’(C+1)をRAM4のCBC初期値記憶領域に格
納する。After this, the receiving side also carries out step # 4.
At 25, the value of the counter for the receiver on the transmitting side is changed from "C" to "C + 1", and the value C '(C + 1) obtained at step # 430 is stored in the CBC initial value storage area of the RAM 4.
【0041】このように本発明の第2実施例では、暗号
通信実行時には予め設定された秘密暗号テーブルの指定
されたインデックスに対応するCBC初期値の数値デー
タに対して、カウンタが示す数値を加味する所定の演算
式を用いて算術演算を施すことにより、そのときのCB
C初期値を設定するようにしており、CBC初期値を相
手の数だけ準備しなくてもよいため、暗号通信を前記第
1実施例よりも簡単に行うことができる。As described above, in the second embodiment of the present invention, when executing the encrypted communication, the numerical value indicated by the counter is added to the numerical data of the CBC initial value corresponding to the designated index of the preset secret cipher table. CB at that time by performing an arithmetic operation using a predetermined arithmetic expression
Since the C initial value is set and it is not necessary to prepare the CBC initial value for the number of parties, the encrypted communication can be performed more easily than in the first embodiment.
【0042】次に、本発明の第3の実施例は、CBC初
期値として通信回数をカウントするカウンタの値を、そ
のまま使う。送信側と受信側のカウンタは通信回数をカ
ウントする。そのカウント値は前記CBC初期値IVと
して使用される。この第3実施例では、カウンタの値を
そのまま初期値として使用するので、他に初期値を用意
しておいたり、算術演算を施したりする必要がないとい
うメリットがある。Next, in the third embodiment of the present invention, the value of the counter for counting the number of communications is used as it is as the CBC initial value. The counters on the transmitting side and the receiving side count the number of communications. The count value is used as the CBC initial value IV. In the third embodiment, since the counter value is used as the initial value as it is, there is an advantage that there is no need to prepare an initial value or perform an arithmetic operation.
【0043】[0043]
【発明の効果】以上説明したように本発明によるとき
は、CBC初期値を構成する数値を、通信回数を一つの
要因とする演算式に基づいて通信の度に前記CBC初期
値の数値データを変更し、その変更した数値データをそ
のときの通信時におけるCBC初期値とする機能を有す
るものとしているので、CBCモードによる暗号通信を
行う場合、送信データ量を全く変化させず送信すること
ができるものでありながら、平文と暗号文のペアが既知
とならず、暗号の強度が低下することがない。As described above, according to the present invention, the numerical value of the CBC initial value is calculated based on the arithmetic expression having the number of times of communication as one factor. Since it has a function of changing and changing the changed numerical value data to the CBC initial value at the time of communication, when performing encrypted communication in the CBC mode, it is possible to transmit without changing the transmission data amount at all. However, the pair of plaintext and ciphertext is not known and the cipher strength does not decrease.
【0044】すなわち、本発明では、秘密暗号鍵の変更
のために必要な演算を機器が自動的に行い、且つ、その
演算結果に基づきCBC初期値のデータを自動的に変更
していくので、ユーザーは簡単な操作でもって高度な暗
号強度を有する暗号通信を実現することができる。That is, in the present invention, the device automatically performs the operation required for changing the secret encryption key, and the CBC initial value data is automatically changed based on the operation result. The user can realize encrypted communication having a high encryption strength with a simple operation.
【0045】また、暗号通信部の具体的構成として、請
求項2ではCBC初期値を算術数字として取り扱い、暗
号通信が1回終了する毎に送受信時双方とも、前記CB
C初期値に所定の演算式を用いて算術演算を施し、次回
の暗号通信の際には、前回の暗号通信に基づき前記演算
式を用いて行った数値に対応するCBC初期値を使用す
るものとしているので、CBC初期値を暗号通信しよう
とする相手の数だけ登録すれば、通信の相手毎にCBC
初期値を変更することが可能になるため、暗号強度アッ
プの点で有利なものとなる。As a concrete configuration of the cryptographic communication unit, in claim 2, the CBC initial value is treated as an arithmetic numeral, and each time the cryptographic communication is completed, the CB is used for both transmission and reception.
Arithmetic operation is performed on the C initial value using a predetermined arithmetic expression, and the CBC initial value corresponding to the numerical value obtained by using the arithmetic expression based on the previous cryptographic communication is used in the next cryptographic communication. Therefore, if the CBC initial value is registered by the number of the parties to which the encrypted communication is made, the CBC is set for each of the communication parties.
Since it is possible to change the initial value, it is advantageous in increasing the encryption strength.
【0046】さらに、請求項3では暗号通信の相手毎に
リセット時からの通信回数を示すカウンタを有し、暗号
通信実行時には、前記秘密暗号テーブルの指定されたイ
ンデックスに対応するCBC初期値の数値データに対し
て、前記カウンタが示す数値を加味する所定の演算式を
用いて算術演算を施して、そのときのCBC初期値を設
定するものとしているので、CBC初期値を相手の数だ
け準備しなくてもよく、したがって暗号通信を請求項2
のものよりも更に簡単に行うことができる。Further, in claim 3, each counter of the encrypted communication has a counter indicating the number of communication from the time of reset, and when executing the encrypted communication, the numerical value of the CBC initial value corresponding to the designated index of the secret cipher table. Since the arithmetic operation is performed on the data using a predetermined arithmetic expression in which the numerical value indicated by the counter is added and the CBC initial value at that time is set, prepare the CBC initial value for the number of opponents. Therefore, the encrypted communication may be omitted.
It can be done much easier than
【0047】また、請求項4では、CBC初期値として
通信回数をカウントするカウンタの値をそのまま初期値
として使用するので、他に初期値を用意しておいたり、
算術演算を施したりする必要がない。Further, in claim 4, since the value of the counter for counting the number of times of communication is used as the initial value as the CBC initial value, the other initial values may be prepared.
There is no need to perform arithmetic operations.
【0048】そのうえ、上記したいずれの構成において
も、例えばエラーの発生等により同じ原稿が繰り返し送
信されることがあっても、先頭の画像データはその送信
時毎に異なるので、暗号強度が一層高まり、例えば通常
原稿の先頭部分が殆どの場合“全白"であることによる
暗号アルゴリズム強度の低下を効果的に防止することが
できる。In addition, in any of the above-mentioned configurations, even if the same document is repeatedly transmitted due to an error or the like, the leading image data is different each time it is transmitted, so the encryption strength is further increased. For example, it is possible to effectively prevent the strength of the encryption algorithm from being lowered because the leading part of the normal document is "white" in most cases.
【図1】 本発明の第1実施例に係るファクシミリ装置
の構成を示す概略ブロック図。FIG. 1 is a schematic block diagram showing the configuration of a facsimile apparatus according to a first embodiment of the present invention.
【図2】 その制御部を具体的にするとともに他の構成
部分との接続状態を示すブロック図。FIG. 2 is a block diagram showing a specific state of the control unit and a connection state with other components.
【図3】 制御部の送信に関する動作例を示すフローチ
ャート。FIG. 3 is a flowchart showing an operation example regarding transmission of a control unit.
【図4】 同制御部の受信に関する動作例を示すフロー
チャート。FIG. 4 is a flowchart showing an operation example regarding reception of the control unit.
【図5】 本発明の第2実施例に係るファクシミリ装置
における制御部の送信に関する動作例を示すフローチャ
ート。FIG. 5 is a flowchart showing an operation example relating to transmission of a control unit in the facsimile apparatus according to the second exemplary embodiment of the present invention.
【図6】 同制御部の受信に関する動作例を示すフロー
チャート。FIG. 6 is a flowchart showing an operation example regarding reception of the control unit.
【図7】 一般的なファクシミリ装置における通常の暗
号送信の手順を示すブロック図。FIG. 7 is a block diagram showing a procedure of normal cipher transmission in a general facsimile apparatus.
【図8】 送信原稿の一例を示す平面図。FIG. 8 is a plan view showing an example of a transmission document.
【図9】 一般的なファクシミリ装置における暗号化処
理部の一例を示すブロック図。FIG. 9 is a block diagram showing an example of an encryption processing unit in a general facsimile apparatus.
1 制御部 2 CPU 3 ROM 4 RAM 5 操作部 6 符号化/復号化回路 7 暗号化/平文化回路 8 変復調部モデム 9 NCU 11 読み取り部 11a スキャナ 12 画像処理部 13 送信機能部 14 受信機能部 15 記録部 15a プリント部 DESCRIPTION OF SYMBOLS 1 control part 2 CPU 3 ROM 4 RAM 5 operation part 6 encoding / decoding circuit 7 encryption / plain culture circuit 8 modulation / demodulation part modem 9 NCU 11 reading part 11a scanner 12 image processing part 13 transmission function part 14 reception function part 15 Recording unit 15a Print unit
───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 H04K 1/00 Z H04N 1/44 ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Office reference number FI Technical display location H04K 1/00 Z H04N 1/44
Claims (5)
システムの送受信モデムを構成する通信機器であって、
CBC初期値を構成する数値を、通信回数を一つの要因
とする演算式に基づいて通信の度に前記CBC初期値の
数値データを変更し、その変更した数値データをそのと
きの通信時におけるCBC初期値とする機能を有する暗
号通信部を具備していることを特徴とする通信機器。1. A communication device constituting a transmission / reception modem of a communication system for performing encrypted communication in the CBC mode,
The numerical value of the CBC initial value is changed based on an arithmetic expression in which the number of times of communication is one factor, and the numerical data of the CBC initial value is changed every communication, and the changed numerical data is used as the CBC at the time of communication. A communication device comprising a cryptographic communication unit having a function of setting an initial value.
システムの送受信モデムを構成する通信機器であって、
暗号通信の相手の数だけCBC初期値が必要な暗号通信
機能を有する暗号通信部を備え、且つ、この暗号通信部
は、前記CBC初期値を算術数字として取り扱い、暗号
通信が1回終了する毎に送受信時双方とも、前記CBC
初期値に所定の演算式を用いて算術演算を施し、次回の
暗号通信の際には、前回の暗号通信に基づき前記演算式
を用いて行った数値に対応するCBC初期値を使用する
ように構成されていることを特徴とする通信機器。2. A communication device constituting a transmission / reception modem of a communication system for performing encrypted communication in the CBC mode,
The cryptographic communication unit has a cryptographic communication function that requires the CBC initial value as many as the number of counterparts of the cryptographic communication, and the cryptographic communication unit handles the CBC initial value as an arithmetic numeral, and the cryptographic communication is completed once. Both when sending and receiving to the CBC
Arithmetic operation is performed on the initial value using a predetermined arithmetic expression, and in the next cryptographic communication, the CBC initial value corresponding to the numerical value obtained by using the arithmetic expression based on the previous cryptographic communication is used. A communication device characterized by being configured.
システムの送受信モデムを構成する通信機器であって、
複数のインデックスにそれぞれCBC初期値の数値デー
タを対応させた秘密暗号テーブルを使用する暗号通信機
能を有する暗号通信部を備え、且つ、この暗号通信部
は、暗号通信の相手毎に、リセット時からの通信回数を
示すカウンタを有し、暗号通信実行時には、前記CBC
初期値テーブルの指定されたインデックスに対応するC
BC初期値の数値データに対して、前記カウンタが示す
数値を加味する所定の演算式を用いて算術演算を施し
て、そのときのCBC初期値を設定するように構成され
ていることを特徴とする通信機器。3. A communication device constituting a transmission / reception modem of a communication system for performing encrypted communication in the CBC mode,
A cryptographic communication unit having a cryptographic communication function that uses a secret cryptographic table in which numerical data of CBC initial values are respectively associated with a plurality of indexes is provided, and this cryptographic communication unit is provided for each partner of the cryptographic communication from the time of reset. Has a counter that indicates the number of times of communication of
C corresponding to the specified index in the initial value table
An arithmetic operation is performed on the numerical data of the BC initial value using a predetermined arithmetic expression in which the numerical value indicated by the counter is added, and the CBC initial value at that time is set. Communication equipment.
システムの送受信モデムを構成する通信機器であって、
通信回数をカウントするカウンタを有し該カウンタのカ
ウント値をCBC初期値とする機能を有する暗号通信部
を具備していることを特徴とする通信機器。4. A communication device constituting a transmission / reception modem of a communication system for performing encrypted communication in the CBC mode,
A communication device comprising a cryptographic communication unit having a counter for counting the number of times of communication and having a function of setting a count value of the counter as a CBC initial value.
項1〜4のいずれかの通信機器。5. The communication device according to claim 1, which is configured as a facsimile device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP6095980A JPH07303102A (en) | 1994-05-10 | 1994-05-10 | Communication equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP6095980A JPH07303102A (en) | 1994-05-10 | 1994-05-10 | Communication equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH07303102A true JPH07303102A (en) | 1995-11-14 |
Family
ID=14152315
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP6095980A Pending JPH07303102A (en) | 1994-05-10 | 1994-05-10 | Communication equipment |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH07303102A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7155011B2 (en) | 2001-03-13 | 2006-12-26 | Victor Company Of Japan, Limited | Encryption method, decryption method, and recording and reproducing apparatus |
JP2007183514A (en) * | 2006-01-10 | 2007-07-19 | Fuji Xerox Co Ltd | Information processor and program |
JP2014197761A (en) * | 2013-03-29 | 2014-10-16 | トヨタ自動車株式会社 | Authentication system and authentication method |
-
1994
- 1994-05-10 JP JP6095980A patent/JPH07303102A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7155011B2 (en) | 2001-03-13 | 2006-12-26 | Victor Company Of Japan, Limited | Encryption method, decryption method, and recording and reproducing apparatus |
JP2007183514A (en) * | 2006-01-10 | 2007-07-19 | Fuji Xerox Co Ltd | Information processor and program |
JP2014197761A (en) * | 2013-03-29 | 2014-10-16 | トヨタ自動車株式会社 | Authentication system and authentication method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH07288514A (en) | Communication equipment | |
JP2503798B2 (en) | Encrypted facsimile machine | |
EA016739B1 (en) | Method and apparatus for secured facsimile transmission | |
JPH07303102A (en) | Communication equipment | |
JPH0698179A (en) | Facsimile equipment | |
JPH06339036A (en) | Ciphering device and method for facsimile equipment | |
JPH07288520A (en) | Communication equipment | |
JPH0937083A (en) | Cipher communication equipment | |
JPH07250249A (en) | Communication equipment | |
JPH099075A (en) | Cipher image communication equipment | |
JPH10303879A (en) | Enciphering method | |
JPH09130618A (en) | Facsimile machine | |
JP3114590B2 (en) | Color facsimile machine | |
JPH0869250A (en) | Input device for coding key or decoding key and communication device | |
JPH0993242A (en) | Data transmitter-receiver | |
JPH09139849A (en) | Enciphering method for facsimile equipment | |
JPH06189147A (en) | Encipherment device and facsimile closed network for facsimile transmission | |
JPH0884261A (en) | Communication equipment | |
JP3121981B2 (en) | Terminal device for encrypted communication | |
JPH07154615A (en) | Ciphering device for facsimile equipment | |
JPH08107410A (en) | Communication equipment | |
JPH08107409A (en) | Communication equipment | |
JPH0879236A (en) | Communication equipment | |
JPH08107411A (en) | Communication equipment | |
JPH10200761A (en) | Cipher communicating method for facsimile equipment |