JP3011151B2 - Cryptographic communication device - Google Patents

Cryptographic communication device

Info

Publication number
JP3011151B2
JP3011151B2 JP9264623A JP26462397A JP3011151B2 JP 3011151 B2 JP3011151 B2 JP 3011151B2 JP 9264623 A JP9264623 A JP 9264623A JP 26462397 A JP26462397 A JP 26462397A JP 3011151 B2 JP3011151 B2 JP 3011151B2
Authority
JP
Japan
Prior art keywords
communication
data
encryption
encryption key
cryptographic
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.)
Expired - Fee Related
Application number
JP9264623A
Other languages
Japanese (ja)
Other versions
JPH11109854A (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.)
Nissin Electric Co Ltd
Original Assignee
Nissin Electric Co 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 Nissin Electric Co Ltd filed Critical Nissin Electric Co Ltd
Priority to JP9264623A priority Critical patent/JP3011151B2/en
Publication of JPH11109854A publication Critical patent/JPH11109854A/en
Application granted granted Critical
Publication of JP3011151B2 publication Critical patent/JP3011151B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、通信の安全性を高
めるために、暗号を用いて通信する暗号通信装置に関
し、特に、暗号通信に先立って行われる暗号鍵伝送時の
手間を簡略化できる暗号通信装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a cryptographic communication device for performing communication using a cipher in order to enhance the security of communication. The present invention relates to an encryption communication device.

【0002】[0002]

【従来の技術】通信装置を用いて他者と通信する際、通
信内容を示す平文が、そのまま伝送路に流されると、正
規の通信相手ではない第三者は、極めて容易に、通信内
容を盗聴したり、通信内容を改竄したりできる。したが
って、通信内容の盗聴や改竄を防止するために、従来よ
り、暗号通信装置が、広く使用されている。暗号通信装
置は、平文を暗号化して伝送路へ送出すると共に、受け
取った暗号文を平文へ復号化する。暗号通信装置を用い
ると、盗聴や改竄の虞れがある伝送路には、第三者が解
読できない暗号文のみが流れる。この結果、第三者によ
る通信内容の盗聴や改竄を防止できる。
2. Description of the Related Art When communicating with another person using a communication device, if the plain text indicating the communication content is sent as it is to a transmission path, a third party who is not a legitimate communication partner can very easily transmit the communication content. Eavesdropping and falsification of communication contents are possible. Therefore, in order to prevent eavesdropping and tampering of communication contents, cryptographic communication devices have been widely used. The encryption communication device encrypts the plaintext and sends it to the transmission path, and also decrypts the received ciphertext into plaintext. When an encryption communication device is used, only a ciphertext that cannot be decrypted by a third party flows through a transmission line where there is a risk of eavesdropping and tampering. As a result, eavesdropping and falsification of the communication contents by a third party can be prevented.

【0003】上記暗号通信装置が使用できる暗号方式
は、例えば、DES( Data Encryption Standard)暗
号、IDEA( International Data Encryption Algor
ithm)などの共有鍵暗号方式と、RSA方式などの公開
鍵暗号方式とに大別される。当該共有鍵暗号方式は、暗
号化する際と、復号化する際とで、同一の暗号鍵を使用
する方式であり、公開鍵暗号方式では、暗号化に使用す
る暗号鍵と、復号化に使用する復号鍵とが異なってい
る。
[0003] The encryption methods that can be used by the above-mentioned encryption communication device include, for example, DES (Data Encryption Standard) encryption and IDEA (International Data Encryption Algorithm).
ithm) and public key cryptosystems such as RSA. The shared key encryption method uses the same encryption key for encryption and decryption. In the public key encryption method, the encryption key used for encryption and the encryption key used for decryption are used. The decryption key to be used is different.

【0004】ここで、公開鍵暗号方式は、暗号化および
復号化に要する計算量が大きいので、例えば、認証時な
ど、伝送されるデータ量が比較的少ない場合には使用で
きても、例えば、画像や音声、数値データなどを伝送す
る場合など、伝送されるデータ量が多く、高いスループ
ットが要求される実際のデータ通信には使用することが
難しい。したがって、実際のデータ通信には、共有鍵暗
号方式が一般的に使用されている。
[0004] Here, the public key cryptosystem requires a large amount of calculation for encryption and decryption, so that it can be used when the amount of data to be transmitted is relatively small, for example, during authentication. For example, when transmitting images, voices, and numerical data, the amount of data to be transmitted is large, and it is difficult to use it for actual data communication requiring high throughput. Therefore, a common key cryptosystem is generally used for actual data communication.

【0005】当該共有鍵暗号方式では、暗号文を復号す
る場合、暗号化に使用した暗号鍵と同じ復号鍵が必要と
なるので、暗号通信を開始するまでに、送信側と受信側
との間で、暗号鍵を統一しておかなければならない。し
たがって、通常、正規の通信装置には、正規の通信装置
間で共有された暗号鍵(共有鍵)が予め格納されてい
る。
According to the shared key cryptosystem, when decrypting a ciphertext, the same decryption key as the encryption key used for encryption is required. Therefore, the encryption key must be unified. Therefore, usually, the encryption key (shared key) shared between the authorized communication devices is stored in the authorized communication device in advance.

【0006】ところで、現在の暗号化方式は、いずれも
完全なものではなく、暗号文が平文へ解読されるまで
に、極めて多くの時間が必要となるに過ぎない。したが
って、同一の暗号鍵を用いた暗号文が数多く存在する
と、暗号文が第三者によって解読される虞れがある。そ
れゆえ、通信の安全性を高めるためには、暗号鍵を通信
毎に変更する方がよい。このように、各通信用に生成さ
れる暗号鍵は、通信用暗号鍵(セッション鍵)と呼ばれ
る。なお、通信用暗号鍵が、そのまま伝送路に送出され
ると、通信用暗号鍵自体を盗聴される虞れがある。この
場合は、第三者は、当該通信用暗号鍵を用いて生成され
た暗号文を復号できるので、通信内容の秘密を守ること
ができない。
[0006] By the way, all of the current encryption methods are not perfect, and only a very long time is required until a ciphertext is decrypted into a plaintext. Therefore, if there are many ciphertexts using the same encryption key, the ciphertext may be decrypted by a third party. Therefore, in order to increase the security of communication, it is better to change the encryption key for each communication. Thus, the encryption key generated for each communication is called a communication encryption key (session key). If the communication encryption key is sent to the transmission path as it is, there is a possibility that the communication encryption key itself may be eavesdropped. In this case, the third party can decrypt the cipher text generated using the communication encryption key, and cannot protect the secret of the communication contents.

【0007】したがって、従来は、正規の通信装置に上
記共有鍵を予め配付しておくと共に、暗号通信に先立っ
て、あるデータを送出し、当該データと上記共有鍵とに
基づいて、通信用暗号鍵を生成している。具体的には、
図8に示すように、暗号通信に先立って行われるネゴシ
エーションにおいて、発呼側の暗号通信装置は、S51
aにて、乱数を生成し、S52aにて、被呼側の暗号通
信装置へ送出する。また、被呼側の暗号通信装置は、S
51bにて、当該乱数を受け取ると、S52bにて、受
け取った乱数を自らの共有鍵で暗号化して暗号化乱数を
生成する。さらに、被呼側の暗号通信装置は、S53b
にて、暗号化乱数を被呼側の暗号通信装置へ送出する。
Therefore, conventionally, the above-mentioned shared key is distributed in advance to an authorized communication device, and a certain data is sent out prior to the encrypted communication, and a communication encryption key is transmitted based on the data and the above-mentioned shared key. You are generating a key. In particular,
As shown in FIG. 8, in the negotiation performed prior to the encryption communication, the encryption communication device on the calling side performs processing in S51.
At a, a random number is generated, and at S52a, the random number is sent to the called-side cryptographic communication device. Further, the encryption communication device on the called side is S
When the random number is received at 51b, the received random number is encrypted with its own shared key to generate an encrypted random number at S52b. Further, the encryption communication device on the called side is S53b.
Sends the encrypted random number to the called-side cryptographic communication device.

【0008】一方、発呼側の暗号通信装置は、上記S5
1aにて生成した乱数を自らの共有鍵で暗号化している
(S53a)。そして、発呼側の暗号通信装置は、暗号
化乱数を受け取ると(S54a)、上記S53aに生成
した暗号化乱数と、上記S54aにて受け取った暗号化
乱数とを比較して、被呼側の暗号通信装置が正規の暗号
通信装置であるか否かを認証する(S55a)。被呼側
の暗号通信装置が正規の暗号通信装置の場合、両者の共
有鍵が一致しているので、受け取った暗号化乱数と、生
成した暗号化乱数とが一致する。これにより、発呼側の
暗号通信装置は、被呼側の暗号通信装置を認証できる。
[0008] On the other hand, the encryption communication device on the calling side performs S5
The random number generated in 1a is encrypted with its own shared key (S53a). Then, upon receiving the encrypted random number (S54a), the encryption communication device on the calling side compares the encrypted random number generated in S53a with the encrypted random number received in S54a, and It authenticates whether the encryption communication device is a legitimate encryption communication device (S55a). When the called cryptographic communication device is a legitimate cryptographic communication device, the received encrypted random number and the generated encrypted random number match because the shared keys of both devices match. This allows the calling-side cryptographic communication device to authenticate the called-side cryptographic communication device.

【0009】同様に、S61bにて、被呼側の暗号通信
装置が乱数を生成すると、以降のステップS62b〜S
65b、並びに、S61a〜S63aにおいて、両暗号
通信装置は、上記S51a〜S55a、並びに、S51
b〜S53bと同様の動作を行う。なお、S61b以降
のステップでは、発呼側と被呼側との動作が入れ代わっ
ている。これにより、被呼側の暗号通信装置は、発呼側
の暗号通信装置を認証する。
Similarly, in S61b, when the called-side cryptographic communication device generates a random number, the subsequent steps S62b to S62b
65b and S61a to S63a, both cryptographic communication devices perform the above-described S51a to S55a and S51
Operations similar to those of b to S53b are performed. In the steps after S61b, the operations of the calling side and the called side are interchanged. As a result, the called-side cryptographic communication device authenticates the calling-side cryptographic communication device.

【0010】S55aおよびS65bにおいて、両暗号
通信装置が通信相手を正規の通信相手であると判定した
場合、発呼側の暗号通信装置は、自らの共有鍵を用い
て、上記S54aにて受け取った暗号化乱数をさらに暗
号化して、通信用暗号鍵を生成する(S71a)。一
方、被呼側の暗号通信装置は、自らの共有鍵によって、
上記S53bで送出した暗号化乱数をさらに暗号化する
(S71b)。
In S55a and S65b, if both cryptographic communication devices determine that the communication partner is a legitimate communication partner, the calling cryptographic communication device uses its own shared key to receive the communication partner in S54a. The encrypted random number is further encrypted to generate a communication encryption key (S71a). On the other hand, the called-side cryptographic communication device uses its own shared key to
The encrypted random number transmitted in S53b is further encrypted (S71b).

【0011】両暗号通信装置にて生成された通信用暗号
鍵は、上記S51aにて、被呼側が生成した乱数を、共
有鍵で2回暗号化したものであり、共有鍵が共通であれ
ば、同一になる。また、当該通信用暗号鍵は、伝送路を
介して伝送された暗号化乱数に基づいて生成されるが、
通信用暗号鍵自体は、伝送されていない。したがって、
第三者が両暗号通信装置間の通信を盗聴して暗号化乱数
を取得したとしても、共有鍵を知らなければ、通信用暗
号鍵を得ることができない。この結果、両暗号通信装置
間で、安全に通信用暗号鍵を統一することができる。
The communication encryption key generated by the two encryption communication devices is obtained by encrypting the random number generated by the called party twice in step S51a with the shared key. Become identical. Also, the communication encryption key is generated based on an encrypted random number transmitted via the transmission path,
The communication encryption key itself is not transmitted. Therefore,
Even if a third party obtains an encrypted random number by eavesdropping on communication between the two encryption communication devices, a communication encryption key cannot be obtained without knowing the shared key. As a result, the encryption key for communication can be safely unified between the two encryption communication devices.

【0012】なお、図8では、発呼側の暗号通信装置が
生成した乱数に基づいて、通信用暗号鍵が生成される場
合について説明したが、上記S71a・S71bにて通
信用暗号鍵を生成する際、上記S54a・S53bの暗
号化乱数に代えて、上記S64bおよびS63aの暗号
化乱数から通信用暗号鍵を用いれば、被呼側の暗号通信
装置が生成した乱数に基づいて通信用暗号鍵を生成でき
る。
In FIG. 8, a case has been described where the communication encryption key is generated based on the random number generated by the calling-side encryption communication device. However, the communication encryption key is generated in S71a and S71b. When the communication encryption key is used from the encryption random numbers of S64b and S63a instead of the encryption random numbers of S54a and S53b, the communication encryption key is generated based on the random number generated by the called-side encryption communication device. Can be generated.

【0013】[0013]

【発明が解決しようとする課題】しかしながら、上記従
来の方法において、暗号通信装置の動作は、発呼側と被
呼側とで異なっているので、各暗号通信装置におけるネ
ゴシエーション動作が複雑になる。この結果、暗号通信
装置の開発に時間がかかると共に、不具合の入る余地が
大きくなってしまう。
However, in the above-mentioned conventional method, the operation of the cryptographic communication device differs between the calling side and the called side, so that the negotiation operation in each cryptographic communication device becomes complicated. As a result, it takes time to develop the cryptographic communication device, and there is a large room for failure.

【0014】例えば、図8では、通信用暗号鍵は、発呼
側の暗号通信装置が生成した乱数に基づいて生成され
る。したがって、暗号通信装置は、発呼する場合、自ら
が生成した乱数に基づいて通信用暗号鍵を生成し、被呼
される場合、通信相手から受け取った乱数に基づいて通
信用暗号鍵を生成する。
For example, in FIG. 8, a communication encryption key is generated based on a random number generated by an encryption communication device on the calling side. Therefore, the cryptographic communication device generates a communication encryption key based on a random number generated by itself when calling, and generates a communication encryption key based on a random number received from a communication partner when called. .

【0015】このように、発呼する場合と被呼される場
合とでネゴシエーション動作が異なっているので、暗号
通信装置の開発者は、2種類のネゴシエーション動作が
可能なように、暗号通信装置を製造する必要がある。
As described above, the negotiation operation is different between the case where a call is made and the case where a call is received, so the developer of the cryptographic communication device sets the cryptographic communication device so that two types of negotiation operations can be performed. Need to be manufactured.

【0016】さらに、発呼側と被呼側とでネゴシエーシ
ョン動作が異なるので、各暗号通信装置は、通信用暗号
鍵を生成する際、自らが発呼側であるか、あるいは被呼
側であるかを識別する必要がある。
Further, since the negotiation operation differs between the calling side and the called side, each cryptographic communication device is either the calling side or the called side when generating the communication encryption key. Need to be identified.

【0017】ここで、特に、データ通信を行う場合な
ど、各暗号通信装置が1対多または多対多で通信できる
場合には、暗号通信装置が他の暗号通信装置を発呼して
いる間に、別の暗号通信装置から被呼される場合があ
る。したがって、ネゴシエーションが複雑であると、こ
の過程で、誤識別する可能性が極めて高くなる。
Here, especially when each cryptographic communication device can perform one-to-many or many-to-many communication, such as when performing data communication, while the cryptographic communication device is calling another cryptographic communication device. In some cases, a call may be received from another cryptographic communication device. Therefore, if the negotiation is complicated, the possibility of erroneous identification becomes extremely high in this process.

【0018】発呼側と被呼側とを誤識別すると、ネゴシ
エーション後の暗号通信が不可能になる。したがって、
誤識別が発生しないように、暗号通信装置は、複雑な手
順で発呼側であるか否かを識別する必要がある。
If the calling side and the called side are erroneously identified, encrypted communication after negotiation becomes impossible. Therefore,
In order to prevent erroneous identification, the cryptographic communication device needs to identify whether or not it is the calling side by a complicated procedure.

【0019】これらの結果、暗号通信装置の動作が複雑
になり、動作を記述するプログラムが長くなる。したが
って、不具合の入る余地が大きくなり、当該プログラム
の開発に要する時間が長くなる。
As a result, the operation of the cryptographic communication device becomes complicated, and a program for describing the operation becomes longer. Therefore, there is more room for a defect, and the time required for developing the program becomes longer.

【0020】近年では、例えば、無線通信やインターネ
ットなど、有線の公衆電話回線網に比べて第三者が通信
を傍受しやすい通信手段が広く普及しつつあり、暗号通
信装置の重要性は、益々高くなっている。さらに、通信
速度が向上するに伴って、識別するために使用可能な時
間が減少すると共に、同時に接続可能な通信相手の数が
増加するに伴って、誤識別の可能性が高くなっている。
この結果、暗号通信装置の製品開発は、益々、煩わしく
なりつつあり、簡易に開発可能な暗号通信装置が切望さ
れている。
In recent years, for example, communication means, such as wireless communication and the Internet, in which a third party is more likely to intercept communication than a wired public telephone network has become widespread, and the importance of cryptographic communication devices is increasing. Is getting higher. Furthermore, as the communication speed increases, the time available for identification decreases, and as the number of simultaneously connectable communication partners increases, the possibility of erroneous identification increases.
As a result, product development of cryptographic communication devices is becoming more and more cumbersome, and there is a strong desire for cryptographic communication devices that can be easily developed.

【0021】本発明は、上記の問題点を鑑みてなされた
ものであり、その目的は、簡易に開発が可能で、かつ、
高速に暗号通信用ネゴシエーションできる暗号通信装置
を実現することにある。
The present invention has been made in view of the above-mentioned problems, and has as its object the purpose of which can be easily developed and
An object of the present invention is to realize a cryptographic communication device capable of negotiating cryptographic communication at high speed.

【0022】[0022]

【課題を解決するための手段】請求項1の発明に係る暗
号通信装置は、上記課題を解決するために、暗号通信に
先立って設定される共有の通信用暗号鍵を用いて、他の
暗号通信装置と暗号通信する暗号通信手段を有する暗号
通信装置において、通信相手へ、第1送信データを送信
する第1送信手段と、通信相手が送信した第1送信デー
タを第1受信データとして受け取る第1受信手段と、上
記第1送信データと第1受信データとの双方に基づき、
項の順番を入れ換えれば演算結果が変化するような演算
によって、上記通信用暗号鍵として、一方の順番で算出
した第1の通信用暗号鍵と他方の順番で算出した第2の
通信用暗号鍵とを生成する暗号鍵生成手段とを備え、上
記暗号通信手段は、上記第1の通信用暗号鍵を用いて、
通信相手へ送出するデータを暗号化し、上記第2の通信
用暗号鍵を用いて、通信相手から受け取ったデータを復
号化することを特徴としている。
According to a first aspect of the present invention, there is provided a cryptographic communication apparatus comprising: a cryptographic communication apparatus configured to perform a cryptographic communication using a shared cryptographic key set prior to a cryptographic communication; In a cryptographic communication device having cryptographic communication means for performing cryptographic communication with a communication device, a first transmission means for transmitting first transmission data to a communication partner, and a first transmission data receiving the first transmission data transmitted by the communication partner as first reception data. a first receiving means,-out based on both the said first transmission data and the first received data,
An operation that changes the operation result if the order of terms is changed
Accordingly, as the encryption key for the communication, calculation in one order
The first communication encryption key obtained and the second
Bei an encryption key generation means for generating a communication encryption key example, above
The encryption communication means uses the first communication encryption key,
The data to be transmitted to the communication partner is encrypted, and the second communication is performed.
Decrypts the data received from the communication partner using the
It is characterized in that-coding.

【0023】上記構成において、暗号通信に先立つネゴ
シエーション時において、暗号通信装置の第1送信手段
は、第1送信データを送信し、通信相手の暗号通信装置
における第1受信手段は、当該第1送信データを第1受
信データとして受け取る。一方、通信相手の暗号通信装
置における第1送信手段が送信した第1送信データは、
第1受信データとして受け取られる。
In the above configuration, at the time of negotiation prior to the cryptographic communication, the first transmitting means of the cryptographic communication device transmits the first transmission data, and the first receiving means of the other party's cryptographic communication device transmits the first transmission data. The data is received as first received data. On the other hand, the first transmission data transmitted by the first transmission unit in the encryption communication device of the communication partner is:
Received as first received data.

【0024】両暗号通信装置の暗号鍵生成手段は、例え
ば、暗号化や連結など、予め定められた算出方法に従っ
て、それぞれの第1送信データおよび第1受信データの
双方に基づいて通信用暗号鍵を生成する。ここで、両暗
号通信装置の第1送信データは、通信相手の第1受信デ
ータと同一である。また、算出方法として、例えば、連
結のように、項の順番を入れ換えると算出結果が異なる
算出方法採用されて おり、第1送信データと第1受信
データとから、2つの通信用暗号鍵が生成される。ここ
で、暗号通信手段は、一方の順番で算出した通信用暗号
鍵を通信用暗号化鍵として使用し、他方の順番で算出し
た通信用暗号鍵を通信用復号化鍵として使用するので、
両暗号通信装置の通信用復号化鍵は、通信相手の通信用
暗号化鍵と一致する。
The encryption key generating means of the two encryption communication device, for example, etc. encryption and consolidated, in accordance with a predetermined calculation method, communication based on both the respective first transmission data and the first received data Generate an encryption key. Here, the first transmission data of both encryption communication devices is the same as the first reception data of the communication partner . Furthermore, as a calculation method, for example, as in the connection, the results calculated to switch the order of the terms are different calculation methods are adopted, and a first transmission data and the first received data, two communication encryption key Generated. here
Then, the encryption communication means uses the communication encryption key calculated in one order as the communication encryption key, and uses the communication encryption key calculated in the other order as the communication decryption key .
Communication decoding key both encrypted communication apparatus that matches the communication encryption key of the communication partner.

【0025】ネゴシエーションが終了すると、両暗号通
信装置の暗号通信手段は、例えば、DESなどの共有鍵
方式に従って、上記通信用暗号鍵で平文を暗号化して送
出し、通信相手の暗号通信手段から受け取った暗号文を
上記通信用暗号鍵を用いて、平文へと復号化する。ここ
で、暗号鍵生成手段、項の順番を入れ換えることによ
って算出結果が変化するような算出方法を採用している
が、通信用復号化鍵は、通信相手の通信用暗号化鍵と一
致しているので、両暗号通信装置の暗号通信手段は、な
んら支障なく暗号通信できる。
When the negotiation is completed, the encryption communication means of both encryption communication devices encrypts the plaintext with the above-mentioned communication encryption key and sends it out according to the shared key method such as DES, and receives it from the other party's encryption communication means. The ciphertext decrypted into plaintext using the communication encryption key. Here, the encryption key generation means employs a calculation method in which the calculation result changes by changing the order of the terms .
However, since the communication decryption key matches the communication encryption key of the communication partner, the encryption communication means of both encryption communication devices can perform encrypted communication without any problem.

【0026】上記構成では、暗号通信において、両暗号
通信装置の間には、暗号文のみが流れる。したがって、
当該暗号文を復号化するための鍵を知らない第三者が両
暗号通信装置間を伝送されるデータを傍聴したとして
も、通信内容を把握できない。この結果、第三者から通
信内容を秘匿できる。
In the above configuration, in the cipher communication, only the cipher text flows between the two cipher communication devices. Therefore,
Even if a third party who does not know the key for decrypting the ciphertext observes the data transmitted between the two cryptographic communication devices, the content of the communication cannot be grasped. As a result, communication contents can be kept secret from third parties.

【0027】特に、通信用暗号鍵は、暗号通信毎に伝送
される第1送信データおよび第1受信データに基づいて
生成される。したがって、例えば、暗号通信毎など、両
暗号通信装置が送出する第1送信データを頻繁に変更す
ることによって、通信用暗号鍵を頻繁に変更できる。こ
れにより、暗号通信における通信内容の安全性をさらに
向上できる。
In particular, the communication encryption key is generated based on the first transmission data and the first reception data transmitted for each encryption communication. Therefore, for example, the communication encryption key can be frequently changed by frequently changing the first transmission data transmitted by the two encryption communication devices, for example, for each encrypted communication. Thereby, the security of the communication content in the encrypted communication can be further improved.

【0028】ところで、例えば、第1送信データや第1
受信データなど、上記ネゴシエーションの際に、両暗号
通信装置間を伝送されるデータは、第三者によって傍聴
される虞れがある。したがって、第三者が、これらのデ
ータから通信用暗号鍵を推測できた場合は、暗号通信に
おける通信内容の安全性を確保できない。ところが、上
記構成では、暗号鍵生成手段は、第1送信データおよび
第1受信データの双方から通信用暗号鍵を算出してお
り、通信用暗号鍵は、両暗号通信装置間を伝送されてい
ない。したがって、第三者から算出方法を秘匿できれ
ば、確実に第三者から通信用暗号鍵を秘匿できる。
By the way, for example, the first transmission data or the first transmission data
At the time of the negotiation, such as received data, data transmitted between the two cryptographic communication devices may be intercepted by a third party. Therefore, if a third party can guess the communication encryption key from these data, the security of the communication contents in the encrypted communication cannot be ensured. However, in the above configuration, the encryption key generation means calculates the communication encryption key from both the first transmission data and the first reception data, and the communication encryption key is not transmitted between the two encryption communication devices. . Therefore, if the calculation method can be concealed from a third party, the communication encryption key can be securely concealed from the third party.

【0029】通常、通信用暗号鍵の算出には、暗号アル
ゴリズムが用いられているので、その際の鍵(暗号鍵)
が取得できればよい。したがって、例えば、算出方法の
中に、正規の暗号通信装置間で予め共有された共有鍵を
用いて、各データを暗号化する工程を含ませたりすれ
ば、算出方法の安全性を十分に確保できる。この結果、
ネゴシエーションの際に両暗号通信装置間を伝送される
データを傍聴したとしても、第三者は、暗号通信におけ
る通信内容を推測できず、通信内容の安全性を第三者か
ら秘匿できる。
Normally, an encryption algorithm is used to calculate a communication encryption key, and the key (encryption key) at that time is used.
It is only necessary to be able to obtain Therefore, for example, if the calculation method includes a step of encrypting each data using a shared key that is shared in advance between the legitimate cryptographic communication devices, the security of the calculation method is sufficiently ensured. it can. As a result,
Even if the data transmitted between the two cryptographic communication devices is observed during the negotiation, the third party cannot guess the communication content in the encrypted communication and can keep the security of the communication content secret from the third party.

【0030】ここで、両暗号通信装置の暗号鍵生成手段
は、いずれの暗号通信装置が通信を開始したかに拘わら
ず、すなわち、いずれが発呼側であるかに拘わらず、自
らが送信した第1送信データと、通信相手から受け取っ
た第1受信データとの双方に基づいて通信用暗号鍵を算
出している。この結果、発呼側の暗号通信装置の動作
、被呼側の暗号通信装置の動作と同一になる。したが
って、従来とは異なり、発呼側であるか否かを判定し、
判定結果に応じて動作を変更することなく、自らの通信
用復号化鍵と、通信相手の通信用暗号化鍵とを一致させ
ることができる。
Here, the encryption key generating means of both the encryption communication devices transmits the data by itself regardless of which encryption communication device has started communication, that is, regardless of which is the calling side. The communication encryption key is calculated based on both the first transmission data and the first reception data received from the communication partner. As a result, the operation of the calling-side cryptographic communication device
Is the same as the operation of the called-side cryptographic communication device. Therefore, unlike the past , it is determined whether or not the caller,
Your own communication without changing the operation according to the judgment result
Match the decryption key for communication with the communication encryption key of the
Can be

【0031】この結果、暗号通信装置を開発する際、暗
号通信装置が発呼する場合の動作と、被呼される場合の
動作とを別々に設計する必要がなくなり、極めて簡単に
暗号通信装置を開発できる。したがって、暗号通信装置
を開発する際の手間を大幅に軽減できる。
As a result, when the cryptographic communication device is developed, it is not necessary to separately design the operation when the cryptographic communication device makes a call and the operation when the cryptographic communication device receives a call. Can be developed. Therefore, it is possible to greatly reduce the labor required for developing the cryptographic communication device.

【0032】また、請求項2の発明に係る暗号通信装置
は、暗号通信に先立って設定される共有の通信用暗号鍵
を用いて、他の暗号通信装置と暗号通信する暗号通信手
段を有する暗号通信装置において、通信相手へ、第1送
信データを送信する第1送信 手段と、当該通信相手が送
信した第1送信データを第1受信データとして受け取る
第1受信手段と、通信相手へ、第2送信データを送出す
る第2送信手段と、通信相手が送信した第2送信データ
を第2受信データとして受け取る第2受信手段と、予め
定められた共有鍵により上記第2受信データを暗号化し
て、上記第1送信データを生成する第1送信データ生成
手段と、上記第2送信データを上記共有鍵で暗号化した
データと、上記第1受信データとが一致している場合、
通信相手が正規の通信相手であると認証する認証手段
と、上記第1送信データと第1受信データとの双方に基
づき、上記通信用暗号鍵として、異なる第1の通信用暗
号鍵と第2の通信用暗号鍵とを生成する暗号鍵生成手段
とを備え、上記暗号通信手段は、上記第1の通信用暗号
鍵を用いて、通信相手へ送出するデータを暗号化し、上
記第2の通信用暗号鍵を用いて、通信相手から受け取っ
たデータを復号化することを特徴としている。
Further, according to a second aspect of the present invention, there is provided a cryptographic communication device for a shared communication key set prior to a cryptographic communication.
Cryptographic communication hand that performs cryptographic communication with another cryptographic communication device using
In a cryptographic communication device having a stage, a first transmission
First transmitting means for transmitting communication data, and
Receiving the received first transmission data as first reception data
A first receiving unit; a second transmitting unit for transmitting the second transmission data to the communication partner; a second receiving unit for receiving the second transmission data transmitted by the communication partner as the second reception data; First transmission data generating means for encrypting the second reception data with a key to generate the first transmission data; data obtained by encrypting the second transmission data with the shared key; If matches,
Authentication means to authenticate that the communication partner is a legitimate communication partner
And both the first transmission data and the first reception data.
Then, a different first communication encryption key is used as the communication encryption key.
Key generating means for generating a signal key and a second communication key
Wherein the cipher communication means comprises the first communication cipher.
Using a key, encrypt the data sent to the communication partner
Receiving from the communication partner using the second communication encryption key;
The decrypted data is decrypted .

【0033】上記構成において、ネゴシエーションの
際、第1の暗号通信装置の第2送信手段は、例えば、乱
数などによって生成した第2送信データを送出する。通
信相手の第2受信手段は、当該第2送信データを受信
し、通信相手の第1送信データ生成手段は、上記共有鍵
で当該第2送信データを暗号化する。これにより、生成
された通信相手の第1送信データは、通信相手の第1送
信手段によって送り返される。
In the above configuration, at the time of negotiation, the second transmitting means of the first cryptographic communication device transmits, for example, second transmission data generated by a random number or the like. The second receiver of the communication partner receives the second transmission data, and the first transmission data generator of the communication partner encrypts the second transmission data with the shared key. Thus, the generated first transmission data of the communication partner is returned by the first transmission unit of the communication partner.

【0034】一方、上記第2送信データを送信した側の
暗号通信装置において、認証手段は、上記第2送信デー
タを上記共有鍵で暗号化したデータと、通信相手から送
り返された第1受信データとが一致している場合、通信
相手が正規の通信相手であると認証する。
On the other hand, in the encryption communication device on the side that has transmitted the second transmission data, the authentication means includes data obtained by encrypting the second transmission data with the shared key and the first reception data returned from the communication partner. If they match, the communication partner is authenticated as a legitimate communication partner.

【0035】ここで、上記第2送信データおよび第2受
信データは、両暗号通信装置間を伝送されているので、
第三者は、これらのデータを傍聴できる。ところが、共
有鍵を知らない第三者は、これらのデータから、正しい
第1送信データを生成できない。したがって、第2送信
データを暗号化したデータと第1送信データとが一致せ
ず、認証手段は、当該通信相手が正規の通信相手ではな
いと判定する。この場合、認証手段は、例えば、通信を
切断するなどして、アクセスを拒否する。この結果、両
暗号通信装置は、通信相手を認証でき、第三者からのア
クセスを確実に拒否できる。
Here, since the second transmission data and the second reception data are transmitted between the two cryptographic communication devices,
Third parties can observe these data. However, a third party who does not know the shared key cannot generate correct first transmission data from these data. Therefore, the data obtained by encrypting the second transmission data does not match the first transmission data, and the authentication unit determines that the communication partner is not a legitimate communication partner. In this case, the authentication unit rejects access by, for example, cutting off communication. As a result, both cryptographic communication devices can authenticate the communication partner, and can surely deny access from a third party.

【0036】両暗号通信装置が通信相手を認証すると、
暗号鍵生成手段は、上記第1送信データと第1受信デー
タとの双方に基づき、異なる第1および第2の通信用暗
号鍵を生成する。さらに、両暗号通信装置間で、暗号通
信が開始されると、上記暗号通信手段は、上記第1の通
信用暗号鍵を用いて、通信相手へ送出するデータを暗号
化し、上記第2の通信用暗号鍵を用いて、通信相手から
受け取ったデータを復号化する。
When both cryptographic communication devices authenticate the communication partner,
The encryption key generation means includes a first transmission data and a first reception data.
Then, different first and second communication encryption keys are generated based on the first and second communication keys. Further, when the cryptographic communication is started between the two cryptographic communication devices , the cryptographic communication means starts the first communication.
Encrypts data sent to the communication partner using the trust encryption key
From the communication partner using the second communication encryption key.
Decrypt the received data.

【0037】上記構成では、第1送信データおよび第1
受信データは、通信用暗号鍵の生成と、通信相手の認証
との双方に使用される。したがって、通信用暗号鍵を生
成するためのデータ通信と、通信相手を認証するための
データ通信とを共用できる。さらに、同一の第1送信デ
ータおよび第1受信データから、2つの通信用暗号鍵が
生成される。この結果、両データ通信を別々に行う場合
に比べて、認証および通信用暗号鍵生成に必要な手間と
時間とを削減できる。したがって、安全に通信可能であ
りながら、ネゴシエーションが高速な暗号通信装置を実
現できる。
In the above configuration, the first transmission data and the first transmission data
The received data is used for both generation of a communication encryption key and authentication of a communication partner. Therefore, data communication for generating a communication encryption key and data communication for authenticating a communication partner can be shared. Furthermore, the same first transmission data
Data and the first received data, two communication encryption keys
Generated. As a result, labor and time required for authentication and generation of a communication encryption key can be reduced as compared with the case where both data communications are performed separately. Therefore, it is possible to realize a cryptographic communication device that can safely communicate and can negotiate at high speed.

【0038】ところで、請求項1または2記載の発明の
構成において、暗号鍵生成手段が、第1送信データと第
1受信データとから、通信用暗号鍵を算出する方法は、
例えば、連結など、種々の方法が考えられる。また、算
出する際に、例えば、両データを共有鍵で暗号化すれ
ば、通信用暗号鍵が推測される危険性を低減できる。た
だし、演算結果のビット長と、第1送信データまたは第
1受信データのビット長との比率、1:1になる場
合、通信の安全性を高めるために、通信用暗号鍵の長さ
を長くしようとすると、より長い第1送受信データを送
受する必要がある。特に、暗号化によって乱数を生成
し、当該乱数に基づいて、第1送信データや第1受信デ
ータが生成される場合、一度に生成可能な乱数の長さ
が、一度に暗号化するデータの長さに限定される。した
がって、必要な長さの乱数を生成するために必要な回数
が多くなり、生成に要する手間や時間が増大しがちであ
る。
[0038] By the way, in the configuration of the invention according to claim 1 or 2, the method in which the encryption key generation means calculates the communication encryption key from the first transmission data and the first reception data,
For example, such consolidation, various methods are conceivable. In the calculation, for example, if both data are encrypted with a shared key, the risk that the communication encryption key is guessed can be reduced. Was <br/> However, the bit length of the computation result, the ratio of the first transmission data or bit length of the first received data, 1: ing fly 1
If, in order to increase the signal of the safety passage, an attempt to increase the length of the communication encryption key, it is necessary to send and receive a longer first transceiver data. Particularly, when a random number is generated by encryption and the first transmission data or the first reception data is generated based on the random number, the length of the random number that can be generated at one time is equal to the length of the data to be encrypted at one time. Limited to Therefore, the number of times required to generate a random number of a required length increases, and the effort and time required for generation tend to increase.

【0039】なお、例えば、上記演算結果のビットを繰
り返すなどすれば、通信用暗号鍵の長さを延長できる。
しかしながら、この場合は、演算結果の情報量は、増加
しないので、通信の安全性を向上できない。
The length of the communication encryption key can be extended, for example, by repeating the bits of the operation result.
However, in this case, the information amount of the operation result does not increase, so that communication security cannot be improved.

【0040】これに対して、請求項3の発明に係る暗号
通信装置は、暗号通信に先立って設定される共有の通信
用暗号鍵を用いて、他の暗号通信装置と暗号通信する暗
号通信手段を有する暗号通信装置において、通信相手
へ、第1送信データを送信する第1送信手段と、当該通
信相手が送信した第1送信データを第1受信データとし
て受け取る第1受信手段と、上記通信用暗号鍵として、
記第1送信データに基づくデータと、上記第1受信デ
ータに基づくデータとを所定の順番で連結して第1の通
信用暗号鍵を生成すると共に、上記両データを入れ換え
て連結して第2の通信用暗号鍵を生成する暗号鍵生成手
段とを備え、上記暗号通信手段は、上記第1の通信用暗
号鍵を用いて、通信相手へ送出するデータを暗号化し、
上記第2の通信用暗号鍵を用いて、通信相手から受け取
ったデータを復号化することを特徴としている。
On the other hand, the encrypted communication apparatus according to the third aspect of the present invention provides a shared communication set prior to the encrypted communication.
Encryption communication with other cryptographic communication devices using
Communication device in a cryptographic communication device having
A first transmitting means for transmitting the first transmission data to the
The first transmission data transmitted by the other party is referred to as first reception data.
And a first receiving means for receiving the communication encryption key.
And data based on Symbol first transmission data, to generate a first communication encryption key of the data based on the first received data linked in a predetermined order, the linked by interchanging the two data Key generation method for generating the communication key 2
And the cipher communication means encrypts data to be transmitted to a communication partner using the first communication encryption key,
The second communication encryption key is used to decrypt data received from a communication partner.

【0041】なお、連結は、両データ全体を連結しても
よいし、両データを所定のビット長からなるブロックに
分割し、各ブロック毎に連結してもよい。また、第1送
信データおよび第1受信データを暗号化した後、連結し
てもよいし、連結した後、暗号化して両通信用暗号鍵を
生成してもよい。
The linking may be performed by linking both data as a whole, or by splitting both data into blocks having a predetermined bit length and linking each block. Further, the first transmission data and the first reception data may be encrypted and then connected, or after the connection, the encryption may be performed to generate an encryption key for both communications.

【0042】上記構成では、連結のように、項の順番を
入れ換えれば、演算結果が変化するような演算によって
各通信用暗号鍵が生成されているので、請求項1と同様
に、自らが発呼側であるか被呼側であるかの区別をする
ことなく、自らの通信用復号化鍵と、通信相手の通信用
暗号化鍵とを一致させることができ、暗号通信装置を開
発する際の手間を大幅に軽減できる。
In the above configuration, the order of the items is
In other words, if the operation results in a change
Since each communication encryption key is generated, the same as in claim 1
The caller or the called party
Without decryption key for own communication and communication
The encryption key can be matched and the encryption communication device can be opened.
It can greatly reduce the trouble when emitting.

【0043】さらに、連結によって、各通信用暗号鍵が
生成されているので、通信の安全性を低下させることな
く、第1送信データおよび第1送信データのビット長よ
りも長い通信用暗号鍵を生成できる。それゆえ、他の算
出方法よりも、簡単な手順、かつ、短い時間で、通信用
暗号鍵を生成できる。
Further, since each communication encryption key is generated by the concatenation, the first transmission data and the communication encryption key longer than the bit length of the first transmission data can be used without lowering the security of communication. Can be generated. Therefore, a communication encryption key can be generated in a simpler procedure and in a shorter time than other calculation methods.

【0044】また、請求項4の発明に係る暗号通信装置
は、上記課題を解決するために、暗号通信に先立って設
定される共有の通信用暗号鍵を用いて、他の暗号通信装
置と暗号通信する暗号通信手段を有する暗号通信装置に
おいて、通信相手へ、第1送信データを送信する第1送
信手段と、当該通信相手が送信した第1送信データを第
1受信データとして受け取る第1受信手段と、通信相手
へ、第2送信データを送出する第2送信手段と、通信相
手が送信した第2送信データを第2受信データとして受
け取る第2受信手段と、予め定められた共有鍵により上
記第2受信データを暗号化して、上記第1送信データを
生成する第1送信データ生成手段と、上記第2送信デー
タを上記共有鍵で暗号化したデータと、上記第1受信デ
ータとが一致している場合、通信相手が正規の通信相手
であると認証する認証手段と、上記通信用暗号鍵とし
て、上記第1送信データに基づくデータと、上記第1受
信データに基づくデータとを所定の順番で連結して第1
の通信用暗号鍵を生成すると共に、上記両データを入れ
換えて連結して第2の通信用暗号鍵を生成する暗号鍵生
成手段とを備え、上記暗号通信手段は、上記第1の通信
用暗号鍵を用いて、通信相手へ送出するデータを暗号化
し、上記第2の通信用暗号鍵を用いて、通信相手から受
け取ったデータを復号化することを特徴としている。
Further, an encryption communication device according to a fourth aspect of the present invention.
Is set prior to cryptographic communication to solve the above problems.
Using a common communication encryption key that is
Communication device having encryption communication means for performing encryption communication with the device
A first transmission of transmitting the first transmission data to a communication partner.
Communication means and the first transmission data transmitted by the communication partner.
First receiving means for receiving as one received data, and a communication partner
A second transmitting means for transmitting the second transmission data;
The second transmission data transmitted by the hand is received as the second reception data.
Using a second receiving means for decrypting and a predetermined shared key.
The second received data is encrypted, and the first transmitted data is encrypted.
First transmission data generating means for generating the second transmission data;
Data encrypted with the shared key and the first received data.
If the communication partner matches the
Authentication means for authenticating that the
The data based on the first transmission data and the first reception data
Data based on the communication data in a predetermined order
Generate the communication encryption key for
Encryption key generator for generating a second communication encryption key
Generating means, wherein the cryptographic communication means comprises:
Data to be transmitted to the communication partner using the encryption key
Then, using the second communication encryption key, receiving from the communication partner.
The decrypted data is decrypted.

【0045】なお、連結は、両データ全体を連結しても
よいし、両データを所定のビット長からなるブロックに
分割し、各ブロック毎に連結してもよい。また、第1送
信データおよび第1受信データを暗号化した後、連結し
てもよいし、連結した後、暗号化して両通信用暗号鍵を
生成してもよい。
It should be noted that even if the entire data is connected,
Or both data into blocks of a given bit length
It may be divided and connected for each block. In addition, the first transmission
After encrypting the communication data and the first reception data,
Or after concatenation, encrypt and encrypt both communication encryption keys.
May be generated.

【0046】上記構成では、請求項3と同様に、連結に
よって、各通信用暗号鍵が生成され ているので、自らが
発呼側であるか被呼側であるかの区別をすることなく、
自らの通信用復号化鍵と、通信相手の通信用暗号化鍵と
を一致させることができ、暗号通信装置を開発する際の
手間を大幅に軽減できる。また、通信の安全性を低下さ
せることなく、第1送信データおよび第1送信データの
ビット長よりも長い通信用暗号鍵を生成でき、他の算出
方法よりも、簡単な手順、かつ、短い時間で、通信用暗
号鍵を生成できる。
In the above configuration, similar to the third aspect, the connection
Therefore, since each communication encryption key has been generated ,
Without distinguishing between the calling and called parties,
Your own communication decryption key and your communication partner's
Can be matched when developing a cryptographic communication device.
The labor can be greatly reduced. In addition, the security of communication is reduced
Without transmitting the first transmission data and the first transmission data.
A communication encryption key longer than the bit length can be generated.
It is simpler procedure and shorter time than communication method.
Key can be generated.

【0047】さらに、請求項2と同様に、第1送信デー
タおよび第1受信データは、通信用暗号鍵の生成と、通
信相手の認証との双方に使用される。したがって、通信
用暗号鍵を生成するためのデータ通信と、通信相手を認
証するためのデータ通信とを共用できる。さらに、同一
の第1送信データおよび第1受信データから、2つの通
信用暗号鍵が生成される。この結果、両データ通信を別
々に行う場合に比べて、認証および通信用暗号鍵生成に
必要な手間と時間とを削減できる。したがって、安全に
通信可能でありながら、ネゴシエーションが高速な暗号
通信装置を実現できる。
Further, similar to claim 2, the first transmission data
The data and the first received data are used to generate a communication encryption key,
Used for both authentication of the peer. Therefore, communication
Data communication for generating the encryption key for
Can be shared with data communication to prove. Furthermore, the same
From the first transmission data and the first reception data of the
A trusted encryption key is generated. As a result, both data communications are separated.
Authentication and communication encryption key generation
The required labor and time can be reduced. Therefore, safely
High-speed encryption while communication is possible
A communication device can be realized.

【0048】[0048]

【発明の実施の形態】本発明の一実施形態について図1
ないし図7に基づいて説明すると以下の通りである。す
なわち、本実施形態に係る暗号通信装置は、通信内容を
示す平文から、第三者による解読が困難な暗号文へ暗号
化したり、あるいは、暗号文から平文へ復号化したりす
る装置であって、例えば、図2に示すように、ワイド・
エリア・ネットワーク(WAN)1を介して、ローカル
・エリア・ネットワーク(LAN)2aとLAN2bと
が接続されている通信システムの場合、暗号通信装置3
a・3bは、各LAN2a・2bとWAN1との間に、
それぞれ設けられている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows an embodiment of the present invention.
7 is as follows. That is, the cryptographic communication device according to the present embodiment is a device that encrypts a plaintext indicating communication contents into a ciphertext that is difficult to be decrypted by a third party, or decrypts a ciphertext into a plaintext, For example, as shown in FIG.
In the case of a communication system in which a local area network (LAN) 2a and a LAN 2b are connected via an area network (WAN) 1, an encryption communication device 3
a.3b is between each LAN 2a.2b and WAN1.
Each is provided.

【0049】なお、本実施形態に係る通信システムで
は、一方のLAN2a側の機器(LAN2aおよび暗号
通信装置3aなど)と、他方のLAN2b側の機器(L
AN2bおよび暗号通信装置3bなど)とが同様に構成
されている。したがって、以下では、説明の便宜上、L
AN2b側の機器において、LAN2a側と同じ機能を
有する部材には、例えば、LAN2bなど、末尾の英字
をaからbに変更した符号によって参照して、説明を省
略する。
In the communication system according to the present embodiment, one LAN 2a-side device (the LAN 2a and the encryption communication device 3a, etc.) and the other LAN 2b-side device (L
AN 2b and the cryptographic communication device 3b). Therefore, in the following, for convenience of explanation, L
In the device on the AN 2b side, members having the same functions as those on the LAN 2a side are referred to by reference numerals in which the last alphabetic character is changed from a to b, such as LAN 2b, and the description is omitted.

【0050】上記WAN1は、例えば、公衆電話網やイ
ンターネットなど、広い範囲で通信可能なネットワーク
である。多くのWANは、不特定多数の使用者が回線接
続可能であり、例えば、WANの運営業者と加入者契約
するなど、比較的簡単な手続きで加入できる。したがっ
て、本実施形態に係るWAN1として、これらのWAN
を採用すれば、両LAN2a・2bが配された場所まで
各LAN2a・2bを拡張する場合に比べて容易にLA
N2a・2b間で通信が可能となり、本実施形態に係る
通信システムを実現できる。
The WAN 1 is a network that can communicate over a wide range, such as a public telephone network or the Internet. In many WANs, an unspecified number of users can be connected to a line, and can join by a relatively simple procedure, for example, by subscribing to a WAN operator. Therefore, these WANs are defined as WAN1 according to the present embodiment.
Is adopted, the LA can be more easily compared to a case where the LANs 2a and 2b are extended to a place where both LANs 2a and 2b are arranged.
Communication between N2a and N2b becomes possible, and the communication system according to the present embodiment can be realized.

【0051】ただし、WAN1上に流れるデータの伝送
経路は、LAN2a・2b内の伝送経路に比べて長いの
で、上記データは、上記LAN2a・2b内を流れるデ
ータに比べて、正規の使用者ではない第三者により盗聴
や改竄が行われやすい。
However, since the transmission path of the data flowing on the WAN 1 is longer than the transmission path in the LANs 2a and 2b, the data is not an authorized user as compared with the data flowing in the LANs 2a and 2b. Eavesdropping and tampering are easily performed by third parties.

【0052】特に、携帯電話やパーソナル・ハンディホ
ン・システムのように、伝送経路の少なくとも一部で無
線通信する場合、第三者は、WAN1上に流れるデータ
を比較的容易に傍受できる。また、インターネットのよ
うに、伝送経路として、第三者の通信機器を使用する可
能性がある場合には、当該通信機器にて、上記データが
盗聴あるいは改竄される虞れがある。
In particular, when wireless communication is performed on at least a part of the transmission path as in a portable telephone or a personal handyphone system, a third party can relatively easily intercept data flowing on the WAN 1. Further, when there is a possibility that a communication device of a third party is used as a transmission path as in the Internet, there is a risk that the data may be eavesdropped or tampered with the communication device.

【0053】一方、LAN2aは、相互に通信可能な正
規の端末21a…から構成されている。上記端末21a
は、コンピュータなどであり、使用者の指示に応じて、
他の端末21aへデータを送出したり、他の端末21a
からデータを受け取ったりできる。また、LAN2aに
は、上記暗号通信装置3aが接続されており、端末21
aは、当該暗号通信装置3aを介して、他のLAN2b
の端末21bと通信できる。
On the other hand, the LAN 2a is composed of authorized terminals 21a which can communicate with each other. The terminal 21a
Is a computer, etc., and according to the instruction of the user,
Sends data to another terminal 21a,
Or receive data from Further, the LAN 2a is connected to the encryption communication device 3a,
a is connected to another LAN 2b via the cryptographic communication device 3a.
Can communicate with the terminal 21b.

【0054】上記各端末21aは、通常、社内など、第
三者が操作しにくい場所に設置されている。また、各端
末21a間を接続するネットワーク配線や中継設備など
の設置場所も限定されている。さらに、端末21aとW
AN1との間には、暗号通信装置3aが設けられてお
り、第三者がWAN1を経由して端末21aをアクセス
しようとしても、直接アクセスできない。したがって、
LAN2aを流れるデータは、WAN1を流れるデータ
に比べて、第三者による盗聴や改竄が極めて困難であ
る。
Each of the terminals 21a is usually installed in a place where it is difficult for a third party to operate, such as in a company. In addition, installation locations such as network wiring and relay facilities for connecting the terminals 21a are also limited. Further, the terminal 21a and W
An encryption communication device 3a is provided between the terminal 21a and the AN1, and even if a third party tries to access the terminal 21a via the WAN1, the terminal 21a cannot be directly accessed. Therefore,
The data flowing through the LAN 2a is much more difficult to eavesdrop or tampering by a third party than the data flowing through the WAN1.

【0055】一方、本実施形態に係る暗号通信装置3a
は、例えば、図1に示すように、暗号通信装置3a内部
で処理される内部データとWAN1上に流れるデータと
を相互変換するWANインターフェース部31と、上記
内部データとLAN2aに流れるデータとを相互変換す
るLANインターフェース部32と、暗号化および復号
化に必要なデータを記憶する記憶部33と、両インター
フェース部31・32および記憶部33を制御する制御
部34とを備えている。なお、以下では、上記両インタ
ーフェース部31・32を、それぞれ、WAN・I/F
部31、あるいは、LAN・I/F部32と略称する。
このWAN・I/F部31が、特許請求の範囲に記載の
第1および第2送信手段、並びに、第1および第2受信
手段に対応している。
On the other hand, the encryption communication device 3a according to the present embodiment
For example, as shown in FIG. 1, a WAN interface unit 31 for mutually converting internal data processed in the cryptographic communication device 3a and data flowing on the WAN 1, and a data interface between the internal data and data flowing on the LAN 2a. A LAN interface unit 32 for conversion, a storage unit 33 for storing data necessary for encryption and decryption, and a control unit 34 for controlling both the interface units 31 and 32 and the storage unit 33 are provided. In the following, the above-mentioned interface units 31 and 32 are respectively referred to as WAN / I / F
Unit 31 or the LAN / I / F unit 32.
The WAN I / F unit 31 corresponds to the first and second transmitting means and the first and second receiving means described in the claims.

【0056】上記WAN・I/F部31は、例えば、モ
デムやR/T点インターフェースなど、WAN1に合わ
せて選択されたインターフェースであって、WAN1側
からデータが送られてきた場合、当該データを受け取
り、物理的および論理的な変換を行って、制御部34が
処理可能なデータ型式に変換できる。また、LAN2a
側からの要求などに応じて、暗号通信装置3aがWAN
1へデータを送出する場合、制御部34が処理可能なデ
ータ型式から、WAN1上を伝送可能なデータ型式に変
換できる。さらに、例えば、WAN1が公衆電話回線網
の場合など、データを通信する前に発呼あるいは着呼を
行って、通信相手の暗号通信装置3bと暗号通信装置3
bとの間でコネクションを確立する必要がある場合に
は、発呼あるいは着呼した後、コネクションを確立でき
る。なお、WAN1としてインターネットを使用する場
合のように、通信に先立って、暗号通信装置3bとの間
でコネクションを確立する必要がない場合には、WAN
・I/F部31は、直接、データを送受信する。
The WAN I / F unit 31 is an interface selected according to the WAN 1 such as a modem or an R / T point interface. When data is sent from the WAN 1 side, the WAN I / F unit 31 transmits the data. Upon receiving and performing physical and logical conversions, the data can be converted into a data format that can be processed by the control unit 34. LAN2a
In response to a request from the side, the encryption communication device 3a
When sending data to the WAN 1, the data format that can be processed by the control unit 34 can be converted to a data format that can be transmitted on the WAN 1. Further, for example, when the WAN 1 is a public telephone line network, a call or an incoming call is made before data communication, and the encrypted communication device 3b of the communication partner and the encrypted communication device 3 are communicated.
If it is necessary to establish a connection with b, the connection can be established after calling or receiving a call. If it is not necessary to establish a connection with the cryptographic communication device 3b prior to communication, as in the case where the Internet is used as the WAN1, the WAN 1
The I / F unit 31 directly transmits and receives data.

【0057】また、LAN・I/F部32は、例えば、
イーサネット(商標:ゼロックス社)インターフェース
など、LAN2aに合わせて選択されたインターフェー
スであって、例えば、端末21aなど、LAN2a内の
機器からデータを受け取った場合、当該データを制御部
34が処理可能なデータ型式に変換できる。また、例え
ば、WAN1からデータを受け取った場合のように、暗
号通信装置3aがLAN2a内の機器へデータを送出す
る必要がある場合には、当該データをLAN2a上を伝
送可能なデータ型式に変換して送出できる。
The LAN / I / F unit 32 is, for example,
An interface selected according to the LAN 2a, such as an Ethernet (trademark: Xerox Corporation) interface. For example, when data is received from a device in the LAN 2a such as the terminal 21a, the data can be processed by the control unit 34. Can be converted to model. When the cryptographic communication device 3a needs to send data to devices in the LAN 2a, for example, when receiving data from the WAN 1, the data is converted into a data format that can be transmitted on the LAN 2a. Can be sent out.

【0058】一方、記憶部33は、例えば、ROM( R
ead-Only Memory )やRAM( Random access Memory
)などから構成されており、暗号通信装置3a・3b
などの正規の使用者間で予め共有されている共有鍵Oを
格納する共有鍵領域(認証手段)41と、通信相手へ送
出する暗号化乱数を格納する送信暗号化乱数領域(第1
送信手段)42と、通信相手から受け取った乱数に基づ
いて生成した暗号化乱数を格納する受信暗号化乱数領域
(第1受信手段)43とを備えている。なお、記憶部3
3には、制御部34のプログラムを記憶する領域や、制
御部34が動作する際に使用される作業領域なども設け
られている。
On the other hand, the storage unit 33 stores, for example, a ROM (R
ead-Only Memory) and RAM (Random access Memory)
) And the like, and the cryptographic communication devices 3a and 3b
A shared key area (authentication means) 41 for storing a shared key O shared in advance between authorized users, and a transmission encrypted random number area (first area) for storing an encrypted random number to be transmitted to a communication partner.
(Transmitting means) 42 and a received encrypted random number area (first receiving means) 43 for storing an encrypted random number generated based on a random number received from a communication partner. The storage unit 3
The area 3 is provided with an area for storing a program of the control unit 34, a work area used when the control unit 34 operates, and the like.

【0059】また、制御部34には、WAN・I/F部
31とLAN・I/F部32との間で暗号化および復号
化処理を行う暗号処理部51と、暗号通信に先立って、
通信用暗号鍵を生成し、暗号処理部51へ指示する暗号
鍵生成部52とが設けられている。なお、暗号処理部5
1および暗号鍵生成部52は、制御部34が所定のプロ
グラムを実行することによって実現される機能モジュー
ルである。また、暗号処理部51が、特許請求の範囲に
記載の暗号通信手段および第1送信データ生成手段に対
応し、暗号鍵生成部52が暗号鍵生成手段に対応してい
る。さらに、認証手段は、制御部34に対応している。
The control unit 34 includes an encryption processing unit 51 for performing encryption and decryption processing between the WAN / I / F unit 31 and the LAN / I / F unit 32.
An encryption key generation unit 52 that generates a communication encryption key and instructs the encryption processing unit 51 is provided. Note that the encryption processing unit 5
1 and the encryption key generation unit 52 are functional modules realized by the control unit 34 executing a predetermined program. Further, the encryption processing unit 51 corresponds to the encryption communication unit and the first transmission data generation unit described in the claims, and the encryption key generation unit 52 corresponds to the encryption key generation unit. Further, the authentication means corresponds to the control unit 34.

【0060】上記暗号処理部51は、共有鍵方式を用い
て暗号処理する処理部であって、暗号通信の際、WAN
・I/F部31からデータを受け取ると、暗号鍵生成部
52から与えられた通信用暗号鍵(復号化鍵)に基づい
て当該データを復号化し、LAN・I/F部32へ送出
する。一方、LAN・I/F部32からデータを受け取
ると、暗号鍵生成部52から与えられた通信用暗号鍵
(暗号化鍵)に基づいて、当該データを暗号化し、WA
N・I/F部31へ送出できる。
The cryptographic processing unit 51 is a processing unit for performing cryptographic processing using a shared key system.
When data is received from the I / F unit 31, the data is decrypted based on the communication encryption key (decryption key) given from the encryption key generation unit 52, and transmitted to the LAN I / F unit 32. On the other hand, when data is received from the LAN / I / F unit 32, the data is encrypted based on the communication encryption key (encryption key) given from the encryption key generation unit 52, and the WA
It can be sent to the N.I / F unit 31.

【0061】また、暗号処理部51は、暗号通信に先立
つネゴシエーション時において、通信相手から受け取っ
た乱数や、自らが生成した乱数を、上記共有鍵Oで暗号
化して、暗号化乱数を生成できる。これらの暗号化乱数
は、上記両暗号化乱数領域42・43へ、それぞれ格納
され、後述するように、通信相手の認証、および、通信
用暗号鍵の生成に使用される。
Further, the encryption processing unit 51 can generate an encrypted random number by encrypting the random number received from the communication partner or the random number generated by itself with the shared key O at the time of negotiation prior to the encrypted communication. These encrypted random numbers are stored in the encrypted random number areas 42 and 43, respectively, and are used for authentication of a communication partner and generation of a communication encryption key, as described later.

【0062】さらに、本実施形態に係る暗号処理部51
は、上記ネゴシエーション時において、乱数を生成し
て、上記暗号鍵生成部52へ与えることができる。平文
を暗号化すると、平文と全く異なり、暗号文から平文を
推測しにくいような暗号文が生成される。したがって、
例えば、順次増減する値や、日付を示すデータなど、任
意のデータを暗号化することによって、暗号処理部51
は、次に生成される値の予測が困難な、極めて良好な乱
数を生成できる。これにより、乱数を生成する部材を別
に設けることなく、通信毎に異なるデータを通信相手に
送出できる。
Further, the encryption processing unit 51 according to this embodiment
Can generate a random number at the time of the negotiation and provide the random number to the encryption key generation unit 52. When a plaintext is encrypted, a ciphertext is generated which is completely different from the plaintext and is difficult to guess from the ciphertext. Therefore,
For example, by encrypting arbitrary data such as sequentially increasing or decreasing values or data indicating a date, the encryption processing unit 51
Can generate very good random numbers, for which it is difficult to predict the next value to be generated. Thus, different data can be transmitted to the communication partner for each communication without providing a member for generating a random number separately.

【0063】ここで、暗号処理部51の一例として、I
DEA暗号方式を用いた場合における暗号処理部51の
動作について簡単に説明する。すなわち、IDEA暗号
方式は、図3に示すように、入力される平文を所定の長
さのブロック毎に区切り、各ブロック毎に、指示された
暗号鍵を用いて暗号化するブロック暗号方式である。I
DEA暗号方式では、暗号鍵の長さが128ビットに設
定されており、当該暗号鍵を用いて、1ブロックが64
ビットの平文を64ビットの暗号文へ変換する。
Here, as an example of the encryption processing unit 51, I
The operation of the encryption processing unit 51 when using the DEA encryption method will be briefly described. That is, as shown in FIG. 3, the IDEA encryption method is a block encryption method in which an input plain text is divided into blocks each having a predetermined length, and each block is encrypted using a designated encryption key. . I
In the DEA encryption system, the length of the encryption key is set to 128 bits, and one block is 64 bytes using the encryption key.
The bit plaintext is converted into a 64-bit ciphertext.

【0064】具体的には、暗号処理部51は、4つの内
部鍵を用いて入力されたデータを撹拌する奇数ラウンド
と、各奇数ラウンドの間に行われ、2つの内部鍵を用い
てデータを撹拌する偶数ラウンドとを交互に繰り返して
いる。例えば、最初の奇数ラウンドO1では、内部鍵K
1〜K4を用いて、平文を撹拌して、次の偶数ラウンド
E1へ引き渡す。当該偶数ラウンドE1は、引き渡され
たデータを、内部鍵K5・K6により撹拌して、次の奇
数ラウンドO2へ引き渡す。8つの奇数ラウンドおよび
偶数ラウンドが行われた後、最後の奇数ラウンドO9が
行われ、内部鍵K49〜K52を用いて、64ビットの
暗号文を生成する。
More specifically, the encryption processing unit 51 performs an odd round in which data inputted using four internal keys is agitated, and performs an odd round between each odd round. The even round with stirring is alternately repeated. For example, in the first odd round O1, the internal key K
Using 1 to K4, the plaintext is agitated and delivered to the next even-numbered round E1. In the even-numbered round E1, the delivered data is agitated by the internal keys K5 and K6 and delivered to the next odd-numbered round O2. After eight odd rounds and even rounds are performed, a final odd round O9 is performed to generate a 64-bit cipher text using the internal keys K49 to K52.

【0065】IDEA暗号方式では、上記内部鍵K1〜
K52は、図4に示すスケジューリング(順番)に従っ
て、与えられた128ビットの暗号鍵から生成される。
すなわち、図4(a)に示すように、暗号処理部51
は、与えられた128ビットの暗号鍵を16ビット毎に
区切って、第1〜第8の内部鍵K1〜K8を生成する。
In the IDEA encryption system, the internal keys K1 to K1
K52 is generated from the given 128-bit encryption key according to the scheduling (order) shown in FIG.
That is, as shown in FIG.
Generates the first to eighth internal keys K1 to K8 by dividing the given 128-bit encryption key in units of 16 bits.

【0066】続いて、図4(b)に示すように、暗号処
理部51は、当該暗号鍵を所定のオフセット(25ビッ
ト)だけ、ビットシフトする。なお、ビットシフトによ
って最下位からはみ出したビットは、最上位のビットと
なるので、暗号鍵の有効なビット長は、128ビットに
保たれる。ビットシフト後の暗号鍵は、16ビット毎に
区切られ、第9〜第16の内部鍵K9〜K16が生成さ
れる。
Subsequently, as shown in FIG. 4B, the encryption processing unit 51 bit-shifts the encryption key by a predetermined offset (25 bits). Note that the bits protruding from the least significant bit by the bit shift become the most significant bits, so that the effective bit length of the encryption key is kept at 128 bits. The encryption key after the bit shift is divided every 16 bits, and ninth to sixteenth internal keys K9 to K16 are generated.

【0067】同様のビットシフトおよびビットの分割
は、さらに5回繰り返される。各ビットシフト毎、すな
わち、与えられた暗号鍵におけるビット位置を基準にし
たオフセットが25ビット増加する毎に、8つずつの内
部鍵が生成される。これにより、暗号処理部51は、第
17〜第52の内部鍵K17〜K52を生成する。な
お、図4(c)に示すように、上記オフセットが125
ビットの場合、内部鍵K41〜K48が生成され、生成
されていない内部鍵は、4つである。したがって、最後
のビットシフト(上記オフセットが150ビット)の際
には、図4(d)に示すように、128ビットのうちの
上位64ビットから、4つの内部鍵K49〜K52が生
成される。
The same bit shift and bit division are repeated five more times. Eight internal keys are generated for each bit shift, ie, each time the offset based on the bit position in a given encryption key increases by 25 bits. Thereby, the encryption processing unit 51 generates the seventeenth to fifty-second internal keys K17 to K52. In addition, as shown in FIG.
In the case of bits, internal keys K41 to K48 are generated, and the number of internal keys not generated is four. Therefore, at the time of the last bit shift (the offset is 150 bits), as shown in FIG. 4D, four internal keys K49 to K52 are generated from the upper 64 bits of the 128 bits.

【0068】一方、暗号処理が可逆処理なので、復号処
理は、暗号化で行われた処理を逆にたどって行われる。
ただし、IDEA暗号方式のように、共有鍵暗号方式で
は、暗号化に使用する暗号鍵と、復号化に使用する鍵が
共通でないと、暗号文を元の平文に復号できない。
On the other hand, since the encryption process is a reversible process, the decryption process is performed in the reverse order of the encryption process.
However, in the shared key cryptosystem like the IDEA cryptosystem, the ciphertext cannot be decrypted to the original plaintext unless the encryption key used for encryption and the key used for decryption are common.

【0069】なお、暗号処理部51は、共有鍵方式なの
で、暗号処理部51へ与えられる暗号鍵、全ては、広義
の共有鍵である。しかしながら、説明の便宜上、以降で
は、各暗号通信装置3a・3b間で共有される暗号鍵の
みを、共有鍵Oと称し、暗号通信の際に使用される暗号
鍵(通信用暗号鍵)などと区別する。また、上記では、
暗号処理部51における暗号処理の一例として、IDE
A暗号方式を説明したが、共有鍵暗号方式であれば、例
えば、DES暗号方式など、他の暗号方式を採用して
も、本実施形態と同様の効果が得られる。
Since the encryption processing unit 51 is a shared key system, all encryption keys given to the encryption processing unit 51 are shared keys in a broad sense. However, for convenience of description, hereinafter, only the encryption key shared between the respective encryption communication devices 3a and 3b is referred to as a shared key O, and is referred to as an encryption key (encryption key for communication) used in the encryption communication. Distinguish. Also, in the above,
As an example of the encryption processing in the encryption processing unit 51, IDE
Although the A-encryption method has been described, the same effect as in the present embodiment can be obtained by adopting another encryption method such as the DES encryption method as long as it is a shared key encryption method.

【0070】一方、本実施形態に係る暗号鍵生成部52
は、暗号通信に先立って、後述する手順で通信相手の暗
号通信装置3bと通信してネゴシエーションする。これ
により、暗号鍵生成部52は、送信した暗号化乱数を、
上記送信暗号化乱数領域42へ格納すると共に、受信し
た暗号化乱数を、受信暗号化乱数領域43へ格納する。
さらに、暗号鍵生成部52は、両暗号化乱数に基づき、
暗号通信時に使用される通信用暗号化鍵および通信用復
号化鍵を生成して暗号処理部51へ通知できる。
On the other hand, the encryption key generation unit 52 according to the present embodiment
Communicates with the other party's cryptographic communication device 3b and negotiates with the other party's cryptographic communication device 3b in a procedure described later, prior to the cryptographic communication. Thereby, the encryption key generation unit 52 converts the transmitted encrypted random number into
The received encrypted random number is stored in the received encrypted random number area 43 while being stored in the transmission encrypted random number area 42.
Further, the encryption key generation unit 52 determines, based on both encrypted random numbers,
A communication encryption key and a communication decryption key used at the time of encrypted communication can be generated and notified to the encryption processing unit 51.

【0071】ここで、暗号通信装置3aが暗号通信装置
3bを呼び出す場合を例にして、上記構成の通信システ
ムにおけるネゴシエーション手順について説明する。な
お、以下では、説明の便宜上、暗号通信装置3aが暗号
通信装置3bを呼び出す場合を例にして説明し、暗号通
信装置3aを発呼側、暗号通信装置3bを被呼側と称す
る。しかしながら、両暗号通信装置3a・3bの動作が
対称なので、暗号通信装置3bが呼び出す場合でも同様
である。
Here, the negotiation procedure in the communication system having the above configuration will be described by taking as an example a case where the cryptographic communication device 3a calls the cryptographic communication device 3b. In the following, for convenience of explanation, a case where the cryptographic communication device 3a calls the cryptographic communication device 3b will be described as an example, and the cryptographic communication device 3a is referred to as a calling side and the cryptographic communication device 3b is referred to as a called side. However, since the operations of the two cryptographic communication devices 3a and 3b are symmetric, the same applies to the case where the cryptographic communication device 3b calls.

【0072】すなわち、図2に示す通信システムにおい
て、例えば、一方のLAN2aの端末21aが、他方の
LAN2bの端末21bと通信する場合、端末21a
は、LAN2a上に、端末21bへのデータを送出す
る。暗号通信装置3aは、例えば、当該データに付加さ
れた端末21bのアドレスなどに基づいて、当該データ
がLAN2bへ送出されるべきデータであると判定し、
WAN1を介して、暗号通信装置3bと通信を開始す
る。
That is, in the communication system shown in FIG. 2, for example, when the terminal 21a of one LAN 2a communicates with the terminal 21b of the other LAN 2b, the terminal 21a
Sends data to the terminal 21b over the LAN 2a. The encryption communication device 3a determines that the data is data to be transmitted to the LAN 2b based on, for example, the address of the terminal 21b added to the data,
The communication with the encryption communication device 3b is started via the WAN1.

【0073】例えば、WAN1が、公衆電話回線などの
場合、暗号通信装置3aは、通信に先立って、暗号通信
装置3bの電話番号をダイヤルするなどして、暗号通信
装置3bを呼び出す。これにより、両暗号通信装置3a
・3bが通信可能になる。また、WAN1がインターネ
ットの場合など、データに送信先のアドレスを付加する
ことにより、各データ毎に送信先を指定可能な場合に
は、暗号通信装置3aが暗号通信装置3bを示すアドレ
スへデータを送出すれば、通信が開始される。
For example, when the WAN 1 is a public telephone line or the like, the encryption communication device 3a calls the encryption communication device 3b by dialing the telephone number of the encryption communication device 3b prior to communication. Thereby, both encryption communication devices 3a
3b becomes communicable. When the destination address can be specified for each data by adding a destination address to the data, such as when the WAN 1 is the Internet, the encryption communication device 3a transfers the data to the address indicating the encryption communication device 3b. If sent, communication is started.

【0074】両暗号通信装置3a・3bが通信可能にな
ると、発呼側の暗号通信装置3aは、図5に示すステッ
プS1aにて、乱数A1を生成し、S2aにて、通信相
手の暗号通信装置3bへ当該乱数A1を送出する。な
お、以下では、発呼側の暗号通信装置3aが実行するス
テップには、例えば、S1aのように、符号の末尾にa
を付して参照し、被呼側の暗号通信装置3bが実行する
ステップには、S1bのように、符号の末尾にbを付し
て参照する。
When both cryptographic communication devices 3a and 3b can communicate, the calling cryptographic communication device 3a generates a random number A1 in step S1a shown in FIG. The random number A1 is transmitted to the device 3b. In the following, the steps performed by the encryption communication device 3a on the calling side include, for example, a at the end of the code, such as S1a.
The steps executed by the called-side cryptographic communication device 3b are referred to by appending b to the end of the code, as in S1b.

【0075】一方、被呼側の暗号通信装置3bは、S1
bにて、暗号通信装置3aから乱数A1を受け取ると、
S2bにおいて、予め共有された共有鍵Oを用いて、当
該乱数A1を暗号化する。これにより、暗号化乱数A2
が生成される。さらに、暗号通信装置3bは、S3bに
おいて、発呼側の暗号通信装置3aへ、生成した暗号化
乱数A2を送り返す。
On the other hand, the encrypted communication device 3b on the called side
At b, when the random number A1 is received from the cryptographic communication device 3a,
In S2b, the random number A1 is encrypted using the shared key O shared in advance. Thereby, the encrypted random number A2
Is generated. Further, in S3b, the encryption communication device 3b sends back the generated encrypted random number A2 to the encryption communication device 3a on the calling side.

【0076】ところで、発呼側の暗号通信装置3aは、
上記S2aにて、予め共有された共有鍵Oを用いて、自
らが生成した乱数A1を暗号化し、暗号化乱数A3を生
成している(S3a)。当該暗号化乱数A3は、図1に
示す受信暗号化乱数領域43に格納される。
By the way, the encryption communication device 3a on the calling side
In S2a, the self-generated random number A1 is encrypted using the shared key O shared in advance to generate an encrypted random number A3 (S3a). The encrypted random number A3 is stored in the received encrypted random number area 43 shown in FIG.

【0077】さらに、発呼側の暗号通信装置3bは、S
4aにおいて、被呼側の暗号通信装置3bが上記S3b
で生成した暗号化乱数A2を受け取ると、S5aにおい
て、上記S3aにて自らが生成した暗号化乱数A3と、
受け取った暗号化乱数A2とを比較する。ここで、正規
の使用者間では、例えば、予め共有鍵Oを配付するなど
して、共有鍵Oが統一されている。また、両暗号通信装
置3a・3bは、発呼側の暗号通信装置3aが生成した
乱数A1を当該共有鍵Oで暗号化して暗号化乱数A2・
A3を生成する。したがって、被呼側の暗号通信装置3
aが正規の暗号通信装置であれば、受け取った暗号化乱
数A2と、自らが生成した暗号化乱数A3とが一致する
はずである。それゆえ、暗号通信装置3aは、両暗号化
乱数A2・A3が一致した場合、被呼側の暗号通信装置
3bが正規の暗号通信装置であると判定する。これによ
り、発呼側の暗号通信装置3aは、被呼側の暗号通信装
置3bを認証できる。例えば、図5に示すように、乱数
A1が "firt83ao?>&#$"で、暗号化乱数A2が "si2Fe@
¥W!x5" の場合、暗号化乱数A3も"si2Fe@ ¥W!x5" と
なる。
Further, the caller's encryption communication device 3b
4a, the called-side cryptographic communication device 3b
Upon receiving the encrypted random number A2 generated in step S5a, the encrypted random number A3 generated by itself in step S3a is received in step S5a.
A comparison is made with the received encrypted random number A2. Here, the shared key O is unified among authorized users, for example, by distributing the shared key O in advance. In addition, the two cryptographic communication devices 3a and 3b encrypt the random number A1 generated by the caller's cryptographic communication device 3a with the shared key O to generate an encrypted random number A2.
Generate A3. Therefore, the called-side cryptographic communication device 3
If a is a legitimate cryptographic communication device, the received encrypted random number A2 should match the encrypted random number A3 generated by itself. Therefore, when the encrypted random numbers A2 and A3 match, the cryptographic communication device 3a determines that the called-side cryptographic communication device 3b is a legitimate cryptographic communication device. As a result, the calling-side encrypted communication device 3a can authenticate the called-side encrypted communication device 3b. For example, as shown in FIG. 5, the random number A1 is "firt83ao?>&#$" And the encrypted random number A2 is "si2Fe @
In the case of \ W! X5 ", the encrypted random number A3 is also" si2Fe @ \ W! X5 ".

【0078】なお、上記S5aにおいて、両暗号化乱数
B1が一致しなかった場合、暗号通信装置3aは、被呼
側の暗号通信装置3bが正規の暗号通信装置ではないと
判定して以降の処理を行わない。これにより、上記共有
鍵Oを知らない第三者が暗号通信装置3bにアクセスし
ようとしても、暗号通信装置3aは、当該アクセスを拒
否できる。
If the two encrypted random numbers B1 do not match in S5a, the cryptographic communication device 3a determines that the called-side cryptographic communication device 3b is not a legitimate cryptographic communication device and performs the subsequent processing. Do not do. Thus, even if a third party who does not know the shared key O attempts to access the encrypted communication device 3b, the encrypted communication device 3a can reject the access.

【0079】さらに、発呼側と被呼側とを入れ換えて、
上記S1a〜S5aおよびS1b〜S3bと同様のステ
ップが行われる(S11b〜S15bおよびS11a〜
S13a)。これらのステップでは、両暗号通信装置3
a・3bは、被呼側の暗号通信装置3bが生成した乱数
B1に基づいて、暗号化乱数B2・B3をそれぞれ生成
する。これにより、被呼側の暗号通信装置3bは、発呼
側の暗号通信装置3aを認証できる。
Further, the calling side and the called side are switched, and
Steps similar to those of S1a to S5a and S1b to S3b are performed (S11b to S15b and S11a to S11b).
S13a). In these steps, both cryptographic communication devices 3
a.3b generates encrypted random numbers B2 and B3 based on the random number B1 generated by the called-side cryptographic communication device 3b. As a result, the called-side encrypted communication device 3b can authenticate the calling-side encrypted communication device 3a.

【0080】なお、図5では、説明の便宜上、上記各ス
テップS1a〜S5aおよびS1b〜S3bは、上記各
ステップS11b〜S15bおよびS11a〜S13a
よりも早く実行されるように記載されているが、これら
の各ステップは、並列して実行できる。例えば、図5に
示すように、乱数B1が "s8e8z#a=Cs" で、暗号化乱数
B2が "lk3%uyx23"の場合、暗号化乱数B3も"lk3%uyx
23" となる。
In FIG. 5, for convenience of explanation, the above steps S1a to S5a and S1b to S3b are replaced by the above steps S11b to S15b and S11a to S13a.
Although described as being performed earlier, each of these steps can be performed in parallel. For example, as shown in FIG. 5, when the random number B1 is "s8e8z # a = Cs" and the encrypted random number B2 is "lk3% uyx23", the encrypted random number B3 is also "lk3% uyx".
23 ".

【0081】これらの結果、発呼側の暗号通信装置3a
は、発呼側の暗号通信装置3aが生成した暗号化乱数B
2を、図1に示す送信暗号化乱数領域42に格納し、通
信相手、すなわち、被呼側の暗号通信装置3bが生成し
た暗号化乱数A2を受信暗号化乱数領域43へ格納でき
る。同様に、被呼側の暗号通信装置3bの送信暗号化乱
数領域42には、暗号通信装置3bの生成した暗号化乱
数A2が格納され、受信暗号化乱数領域43には、発呼
側の暗号通信装置3aの生成した暗号化乱数B2が格納
される。したがって、両暗号通信装置3a・3bでは、
自らの送信暗号化乱数領域42に格納されている暗号化
乱数と、通信相手の受信暗号化乱数領域43に格納され
ている暗号化乱数とが一致する。
As a result, the caller's cryptographic communication device 3a
Is the encrypted random number B generated by the calling-side cryptographic communication device 3a.
2 can be stored in the transmission encrypted random number area 42 shown in FIG. 1, and the communication partner, that is, the encrypted random number A2 generated by the called-side encrypted communication device 3b can be stored in the reception encrypted random number area 43. Similarly, the encryption random number A2 generated by the encryption communication device 3b is stored in the transmission encryption random number region 42 of the encryption communication device 3b on the called side, and the encryption random number region 43 of the calling side is stored in the reception encryption random number region 43. The encrypted random number B2 generated by the communication device 3a is stored. Therefore, in both encryption communication devices 3a and 3b,
The encryption random number stored in its own transmission encryption random number area 42 matches the encryption random number stored in the communication partner's reception encryption random number area 43.

【0082】両暗号通信装置3a・3bが通信相手によ
る認証に成功すると、図6に示すように、上記両暗号化
乱数A2・B2に基づいて、暗号通信に使用される通信
用暗号鍵が生成される。すなわち、発呼側の暗号通信装
置3aは、S21aにおいて、自ら(発呼側)が生成し
た暗号化乱数B2を共有鍵Oで暗号化して、暗号化デー
タB4を生成する。また、S22aにおいて、受け取っ
た暗号化乱数A2を共有鍵Oで暗号化して、暗号化デー
タA5を生成する。
When both the encryption communication devices 3a and 3b succeed in the authentication by the communication partner, a communication encryption key used for the encryption communication is generated based on the two encrypted random numbers A2 and B2 as shown in FIG. Is done. That is, the encryption communication device 3a on the calling side encrypts the encrypted random number B2 generated by itself (calling side) with the shared key O in S21a to generate encrypted data B4. In S22a, the received encrypted random number A2 is encrypted with the shared key O to generate encrypted data A5.

【0083】さらに、暗号通信装置3aは、S23aに
おいて、上記暗号化データB4が下位に、上記暗号化デ
ータA5が上位になるように、両暗号化データA5・B
4を連結して、通信用暗号化鍵C1を生成する。また、
S24aでは、上記暗号化データB4が上位に、上記暗
号化データA5が下位になるように、両暗号化データB
4・A5を連結して、通信用復号化鍵C2が生成され
る。
Further, in S23a, the encrypted communication device 3a sets both encrypted data A5 and B5 so that the encrypted data B4 is lower and the encrypted data A5 is higher.
4 to generate a communication encryption key C1. Also,
In S24a, the two encrypted data B are set so that the encrypted data B4 is higher and the encrypted data A5 is lower.
4. A5 is concatenated to generate a communication decryption key C2.

【0084】一方、被呼側の暗号通信装置3bでは、S
21b〜S24bにおいて、上記S21a〜S24aと
同様の処理が行われ、両暗号化データB5およびA4、
並びに、通信用暗号化鍵C3および通信用復号化鍵C4
が生成される。
On the other hand, in the called-side cryptographic communication device 3b, S
At 21b to S24b, the same processing as at S21a to S24a is performed, and both encrypted data B5 and A4,
And a communication encryption key C3 and a communication decryption key C4.
Is generated.

【0085】ここで、両暗号通信装置3a・3bは、各
暗号化データを生成する際の共有鍵Oが互いに同一であ
る。また、上述したように、両暗号通信装置3a・3b
では、自らの送信暗号化乱数領域42に格納されている
暗号化乱数と、通信相手の受信暗号化乱数領域43に格
納されている暗号化乱数とが同一である。したがって、
両暗号通信装置3a・3bにおいて、生成された通信用
暗号化鍵は、通信相手の通信用復号化鍵と同一となり、
通信用復号化鍵は、通信相手の通信用暗号化鍵と同一に
なる。
Here, the shared keys O for generating the respective encrypted data are the same in both the encrypted communication devices 3a and 3b. Also, as described above, the two encryption communication devices 3a and 3b
In this example, the encrypted random number stored in the transmission encrypted random number area 42 of the communication partner is the same as the encryption random number stored in the reception encrypted random number area 43 of the communication partner. Therefore,
In both encryption communication devices 3a and 3b, the generated communication encryption key is the same as the communication decryption key of the communication partner,
The communication decryption key is the same as the communication encryption key of the communication partner.

【0086】例えば、図6に示すように、発呼側の暗号
通信装置3aにおいて、暗号化データB4およびA5
が、それぞれ、"oe[9w8yx","Pia;l#O&3h" の場合、通信
用暗号化鍵C1は、"Pia;l#O&3hoe[9w8yx"となり、通信
用復号化鍵C2は、"oe[9w8yxPia;l#O&3h"となる。同様
に、被呼側の暗号通信装置3bにおいて、暗号化データ
A4およびB5が、"Pia;l#O&3h","oe[9w8yx" となる。
したがって、通信用暗号化鍵C3は、"oe[9w8yxPia;l#O
&3h"となり、発呼側の通信用復号化鍵C2と一致する。
さらに、通信用復号化鍵C4、"Pia;l#O&3hoe[9w8yx"と
なり、発呼側の通信用暗号化鍵C1と一致する。
For example, as shown in FIG. 6, encrypted data B4 and A5
Are "oe [9w8yx" and "Pia; l # O &3h", respectively, the communication encryption key C1 is "Pia; l # O & 3hoe [9w8yx", and the communication decryption key C2 is "oe [ 9w8yxPia; l # O & 3h ". Similarly, in the called-side encrypted communication device 3b, the encrypted data A4 and B5 are "Pia; l # O &3h" and "oe [9w8yx".
Therefore, the communication encryption key C3 is "oe [9w8yxPia; l # O
& 3h ", which matches the communication decryption key C2 on the calling side.
Further, the communication decryption key C4 becomes "Pia; l # O & 3hoe [9w8yx"", which matches the communication encryption key C1 on the calling side.

【0087】ネゴシエーションが終了すると、各暗号通
信装置3a(3b)は、LAN2a(2b)から受け取
ったデータを、通信用暗号化鍵C1(C3)で暗号化し
てWAN1へ送出する。一方、各暗号通信装置3a(3
b)は、WAN1から受け取ったデータを通信用復号化
鍵C2(C4)で復号して、LAN2a(2b)へ送出
する。上記ネゴシエーションによって、通信用復号化鍵
が通信相手の通信用暗号化鍵と一致しているので、両暗
号通信装置3a・3bは、受け取った暗号文を正しい平
文に復号できる。それゆえ、LAN2aの端末21a
と、LAN2bの端末21bとは、何ら支障なく暗号通
信できる。
When the negotiation is completed, each encryption communication device 3a (3b) encrypts the data received from the LAN 2a (2b) with the communication encryption key C1 (C3) and sends it to the WAN 1. On the other hand, each encryption communication device 3a (3
b) decrypts the data received from WAN1 with the communication decryption key C2 (C4) and sends it to the LAN 2a (2b). By the negotiation, since the communication decryption key matches the communication encryption key of the communication partner, the two encryption communication devices 3a and 3b can decrypt the received ciphertext into correct plaintext. Therefore, the terminal 21a of the LAN 2a
And the terminal 21b of the LAN 2b can perform encrypted communication without any trouble.

【0088】ここで、暗号通信時において、WAN1を
流れるデータは、ネゴシエーションにて設定された通信
用暗号化鍵で暗号化された暗号文である。また、各通信
用暗号化鍵は、通信毎に変更される。したがって、現暗
号通信における通信用暗号鍵を知らない第三者が、WA
N1上のデータを傍聴したとしても、通信内容を把握で
きない。さらに、当該データを改竄したとしても、改竄
されたデータは、復号化できない。なお、改竄されたデ
ータが偶然復号化できたとしても、意味のある平文には
ならない。したがって、暗号通信装置3a・3bの使用
者は、改竄されたデータをたやすく発見できる。これら
の結果、暗号通信における通信内容は、第三者の傍聴や
改竄から確実に保護される。
Here, at the time of the encrypted communication, the data flowing through the WAN 1 is a cipher text encrypted with the communication encryption key set in the negotiation. Further, each communication encryption key is changed for each communication. Therefore, a third party who does not know the encryption key for communication in the current encryption communication can use WA
Even if the data on N1 is observed, the communication contents cannot be grasped. Further, even if the data is falsified, the falsified data cannot be decrypted. Even if the falsified data is accidentally decoded, it does not become a meaningful plain text. Therefore, the users of the cryptographic communication devices 3a and 3b can easily find the falsified data. As a result, the communication contents in the encrypted communication can be reliably protected from observation or tampering by a third party.

【0089】ところで、ネゴシエーション時にWAN1
を流れるデータに基づいて、第三者が通信用暗号化鍵を
容易に推測できる場合、第三者は、暗号化されていて
も、通信内容を改竄あるいは傍聴できる。ところが、ネ
ゴシエーション時にWAN1を流れるデータは、乱数A
1・B1および暗号化乱数A2・B2であり、通信用暗
号化鍵C1〜C4は、両暗号化乱数を共有鍵Oで暗号化
したデータから生成される。したがって、共有鍵Oを知
らない第三者が、上記乱数および暗号化乱数を傍聴した
としても、暗号化データB4・A5(A4・B5)を生
成できない。この結果、第三者は、両暗号通信装置3a
・3bの通信用暗号化鍵を推測できず、暗号通信におけ
る通信内容を確実に保護できる。
By the way, at the time of negotiation, WAN1
If the third party can easily guess the communication encryption key based on the data flowing through the communication, the third party can falsify or observe the communication contents even if the communication contents are encrypted. However, the data flowing through WAN1 at the time of negotiation is a random number A.
1 and B1 and the encrypted random numbers A2 and B2, and the communication encryption keys C1 to C4 are generated from data obtained by encrypting both encrypted random numbers with the shared key O. Therefore, even if a third party who does not know the shared key O observes the random number and the encrypted random number, the encrypted data B4 and A5 (A4 and B5) cannot be generated. As a result, the third party communicates with both cryptographic communication devices 3a.
The communication encryption key of 3b cannot be guessed, and the communication contents in the encrypted communication can be reliably protected.

【0090】なお、上記説明では、両暗号通信装置3a
(3b)が両暗号化データB4・A5(A4・B5)を
連結して、各通信用暗号鍵を生成する場合を例にして説
明したが、これに限らず、種々の算出方法を適用でき
る。算出方法に拘わらず、両暗号化データから通信用暗
号鍵が生成されれば、本実施形態と同様の効果が得られ
る。
In the above description, both encryption communication devices 3a
(3b) has been described as an example in which both encrypted data B4 and A5 (A4 and B5) are connected to generate each communication encryption key, but the present invention is not limited to this, and various calculation methods can be applied. . Regardless of the calculation method, if a communication encryption key is generated from both encrypted data, the same effect as in the present embodiment can be obtained.

【0091】例えば、他の算出方法として、積、和、あ
るいは、ビット毎の排他的論理和など、項の順番を入れ
換えても演算結果が同一となる2項演算を採用すると、
通信用暗号化鍵と通信用復号化鍵とが同一となる。した
がって、この場合は、項の順番を入れ換えて演算する場
合に比べて簡単な手順で通信用暗号鍵を生成できる。な
お、2項演算は、ビット毎の演算でも、暗号化データ全
体を一つの数値とする演算でもよい。
For example, as another calculation method, if a binary operation, such as a product, a sum, or an exclusive OR for each bit, is used, the operation result of which is the same even if the order of the items is changed, is adopted.
The communication encryption key and the communication decryption key are the same. Therefore, in this case, the communication encryption key can be generated in a simpler procedure than in the case where the order of the terms is changed and calculation is performed. The binary operation may be an operation for each bit or an operation for making the entire encrypted data one numerical value.

【0092】ここで、上記算出方法のうち、和や積を用
いると、通信用暗号鍵のビットが0または1の一方に偏
る虞れがある。また、演算方法を複雑にすれば、演算回
路が複雑になったり、演算時間が長くなったりする。し
たがって、これらの2項演算を使用する場合には、ビッ
ト毎の排他的論理和を用いる方がよい。これにより、他
の2項演算を使用する場合に比べて演算時間を短縮でき
る。さらに、演算回路をハードウェアで実現する場合に
は、回路規模を縮小できる。
Here, if the sum or the product is used in the above calculation methods, the bit of the communication encryption key may be biased to one of 0 or 1. Further, if the operation method is complicated, the operation circuit becomes complicated and the operation time becomes long. Therefore, when using these binary operations, it is better to use exclusive OR for each bit. As a result, the operation time can be reduced as compared with the case where another binary operation is used. Further, when the arithmetic circuit is realized by hardware, the circuit scale can be reduced.

【0093】ただし、上述の2項演算では、暗号化デー
タの長さと、通信用暗号鍵との長さが同一になる。した
がって、例えば、暗号処理部51を用いて乱数を生成す
る場合のように、1度に生成可能な乱数の長さが制限さ
れている場合には、通信用暗号鍵として必要な長さの暗
号化データを生成するため、複数回に分けて乱数を生成
する必要がある。この結果、ネゴシエーション時の手順
が複雑になり、必要な時間が長くなる。特に、IDEA
暗号方式では、一度に生成可能な暗号文の長さが暗号鍵
の長さよりも短いので、上述の2項演算を用いた場合、
複数回に分けて乱数を生成しなければならない。
However, in the above-described binary operation, the length of the encrypted data is equal to the length of the communication encryption key. Therefore, for example, when the length of a random number that can be generated at one time is limited, such as when a random number is generated using the cryptographic processing unit 51, a cryptographic key having a length required as a communication encryption key is used. In order to generate coded data, it is necessary to generate random numbers in a plurality of times. As a result, the procedure at the time of negotiation becomes complicated, and the required time is lengthened. In particular, IDEA
In the encryption method, the length of a ciphertext that can be generated at one time is shorter than the length of the encryption key.
Random numbers must be generated multiple times.

【0094】これに対して、本実施形態に示すように、
連結を用いれば、通信用暗号鍵の長さの半分の暗号化デ
ータから、通信用暗号鍵を生成できる。このように、各
項の長さよりも、演算結果の長さの方が長くなるような
演算を使用すれば、通信用暗号鍵を生成するために必要
な乱数の生成回数を削減できる。したがって、ネゴシエ
ーション時の手順を簡略化でき、必要な時間を短縮でき
る。
On the other hand, as shown in this embodiment,
If the concatenation is used, a communication encryption key can be generated from encrypted data that is half the length of the communication encryption key. As described above, by using an operation in which the length of the operation result is longer than the length of each term, the number of times of generation of random numbers required to generate the communication encryption key can be reduced. Therefore, the procedure at the time of negotiation can be simplified, and the required time can be reduced.

【0095】ここで、連結のように、項の順番を入れ換
えれば、演算結果が変化するような演算によって通信用
暗号鍵を生成した場合、同一の暗号化データから、2つ
の通信用暗号鍵が生成される。この場合は、一方の順番
で生成した通信用暗号鍵を暗号化に使用し、かつ、他方
の順番で生成した通信用暗号鍵を復号に使用すれば、自
らが発呼側であるか被呼側であるかの区別をすることな
く、自らの通信用復号化鍵と、通信相手の通信用暗号化
鍵とを一致させることができる。
Here, if the communication encryption key is generated by an operation in which the operation result changes if the order of the terms is changed, as in the case of concatenation, the two communication encryption keys are generated from the same encrypted data. Is generated. In this case, if the communication encryption key generated in one order is used for encryption and the communication encryption key generated in the other order is used for decryption, It is possible to match the communication decryption key of the communication partner with the communication encryption key of the communication partner without distinguishing whether the communication partner is the communication side.

【0096】なお、本実施形態では、暗号化データを連
結する際、暗号化データ全体を一括して連結している
が、これに限るものではない。暗号化データを所定のビ
ットからなるブロックに分割し、各ブロック毎に連結し
てもよい。また、本実施形態では、両暗号化乱数を暗号
化して暗号化データを生成した後で、両暗号化データを
連結しているが、これに限らず、両暗号化乱数を連結し
た後で、さらに暗号化してもよい。ただし、連結した後
で暗号化する場合は、両暗号化乱数が揃ってからでない
と暗号化できない。これに対して、暗号化した後で連結
する場合は、暗号化乱数のうち、一方を取得した時点
で、暗号化データを生成できる。したがって、両暗号化
乱数を取得してから通信用暗号鍵が生成するまでの時間
を、さらに短縮できる。
In the present embodiment, when linking the encrypted data, the entire encrypted data is linked together, but the present invention is not limited to this. The encrypted data may be divided into blocks each having a predetermined bit, and the blocks may be connected to each other. Further, in the present embodiment, both encrypted data are connected after encrypting both encrypted random numbers to generate encrypted data. However, the present invention is not limited to this. Further, it may be encrypted. However, when encryption is performed after linking, encryption cannot be performed unless both encrypted random numbers are available. On the other hand, in the case of linking after encryption, encrypted data can be generated when one of the encrypted random numbers is obtained. Therefore, the time from acquisition of both encrypted random numbers to generation of a communication encryption key can be further reduced.

【0097】また、本実施形態では、図5のステップS
1a・S2a、および、S11b・S12bに示すよう
に、両暗号通信装置3a・3bが乱数を生成して送出す
る場合について説明したが、これに限るものではない。
例えば、日付や時刻、あるいは、シーケンス番号などを
用いてもよい。両暗号通信装置3a・3bが通信毎に異
なるデータを送出すれば、本実施形態と同様の効果が得
られる。
In the present embodiment, step S in FIG.
As described in 1a and S2a and S11b and S12b, a case has been described in which both cryptographic communication devices 3a and 3b generate and transmit random numbers, but the present invention is not limited to this.
For example, a date, a time, a sequence number, or the like may be used. If the two cryptographic communication devices 3a and 3b transmit different data for each communication, the same effect as in the present embodiment can be obtained.

【0098】なお、本実施形態に係る暗号通信装置3a
(3b)は、図1に示すように、送信暗号化乱数領域4
2および受信暗号化乱数領域43を備え、暗号化乱数B
2・A3(A2・B3)を直接記憶しているが、これに
限るものではない。例えば、暗号化データや乱数などで
もよい。両暗号化乱数を示すデータ、すなわち、通信用
暗号鍵を生成可能なデータであれば、本実施形態と同様
の効果が得られる。
Note that the encryption communication device 3a according to this embodiment
(3b), as shown in FIG. 1, the transmission encrypted random number area 4
2 and a received encrypted random number area 43, and the encrypted random number B
Although 2.A3 (A2.B3) is directly stored, it is not limited to this. For example, encrypted data or random numbers may be used. As long as the data indicates both encrypted random numbers, that is, data for which a communication encryption key can be generated, the same effect as in the present embodiment can be obtained.

【0099】さらに、図2では、各LAN2a(2b)
と、WAN1との間に、暗号通信装置3a(3b)を、
それぞれ設け、LAN2a(2b)内を平文が伝送され
る場合を例にして説明したが、これに限るものではな
い。暗号通信装置3a・3bが正規の端末間に配されて
いれば、暗号通信装置3a・3b間において、通信内容
を秘匿できるので、本実施形態と略同様の効果が得られ
る。
Further, in FIG. 2, each LAN 2a (2b)
And the WAN 1 and the encryption communication device 3a (3b),
Each case has been described, and the case where plaintext is transmitted in the LAN 2a (2b) has been described as an example, but the present invention is not limited to this. If the cryptographic communication devices 3a and 3b are arranged between authorized terminals, the communication contents can be concealed between the cryptographic communication devices 3a and 3b, so that substantially the same effects as in the present embodiment can be obtained.

【0100】例えば、図7に示すように、各端末21a
(21b)に代えて、暗号通信装置3a(3b)の機能
を付加した端末22a(22b)を設けてもよい。ま
た、端末21a(21b)がLAN2a(2b)へ接続
するまでの間に、暗号通信装置3a(3b)を設けても
よい。これら両構成では、端末21a(21b)とLA
N2a(2b)との間、または、端末22a(22b)
内で、平文と暗号文との変換が行われるので、LAN2
a(2b)上には暗号文が流れる。この結果、第三者が
LAN2a(2b)を流れるデータを傍聴できた場合で
あっても、第三者から通信内容を秘匿でき、さらに、安
全性を向上できる。
For example, as shown in FIG.
Instead of (21b), a terminal 22a (22b) to which the function of the encryption communication device 3a (3b) is added may be provided. Further, the encryption communication device 3a (3b) may be provided before the terminal 21a (21b) is connected to the LAN 2a (2b). In both of these configurations, the terminal 21a (21b) and the LA
N2a (2b) or terminal 22a (22b)
Within the LAN2, the conversion between plaintext and ciphertext is performed.
A ciphertext flows over a (2b). As a result, even if the third party can observe the data flowing through the LAN 2a (2b), the communication contents can be kept secret from the third party, and the security can be further improved.

【0101】また、本実施形態では、LAN2a側の機
器(例えば、LAN2aや暗号通信装置3aなど)と、
LAN2b側の機器とが、同じ構成の場合を例にして説
明しているが、これに限るものではない。例えば、LA
N2a側では、図2に示すように、暗号通信装置3aと
端末21aとを分離し、LAN2b側では、図7に示す
ように、暗号通信装置3bと端末22bとが一体になっ
た構成でもよい。いずれの場合であっても、図2に示す
LAN2a内の部分や図7に示す端末22a内の部分な
ど、LAN2a側にて平文のデータが処理される部分か
ら、LAN2b側にて平文のデータが処理される部分ま
での間に、暗号通信装置3aおよび暗号通信装置3bが
介在していれば、本実施形態と同様の効果が得られる。
In the present embodiment, devices on the LAN 2a side (for example, the LAN 2a and the encryption communication device 3a)
Although the case where the LAN 2b side device has the same configuration has been described as an example, the present invention is not limited to this. For example, LA
On the N2a side, as shown in FIG. 2, the cryptographic communication device 3a and the terminal 21a may be separated, and on the LAN 2b side, as shown in FIG. 7, the cryptographic communication device 3b and the terminal 22b may be integrated. . In any case, from the part where the plaintext data is processed on the LAN 2a side, such as the part in the LAN 2a shown in FIG. 2 and the part in the terminal 22a shown in FIG. As long as the cryptographic communication device 3a and the cryptographic communication device 3b are interposed between the parts to be processed, the same effects as in the present embodiment can be obtained.

【0102】さらに、本実施形態では、コンピュータ間
のデータ通信を想定し、各端末21a・21b・22a
・22bが、LAN2a・2bに接続されたコンピュー
タの場合を例にして説明したが、これに限るものではな
い。例えば、端末は、LANを介さず、公衆電話回線網
に直接接続される電話器やファクシミリであってもよ
い。暗号通信装置が各端末間の伝送経路中に配されてい
れば、各端末間で伝送されるデータの内容に拘わらず、
同様の効果が得られる。ただし、暗号通信装置は、デジ
タル処理によって暗号化/復号化しているので、アナロ
グ信号を入出力する場合には、アナログ信号とデジタル
信号とを変換する必要がある。
Furthermore, in this embodiment, data communication between computers is assumed, and each terminal 21a, 21b, 22a
The case where the computer 22b is a computer connected to the LANs 2a and 2b has been described as an example, but the present invention is not limited to this. For example, the terminal may be a telephone or a facsimile directly connected to a public telephone network without going through a LAN. If the cryptographic communication device is arranged in the transmission path between the terminals, regardless of the content of the data transmitted between the terminals,
Similar effects can be obtained. However, since the encryption communication device performs encryption / decryption by digital processing, it is necessary to convert an analog signal and a digital signal when inputting / outputting an analog signal.

【0103】[0103]

【発明の効果】請求項1の発明に係る暗号通信装置は、
以上のように、通信相手へ、第1送信データを送信する
第1送信手段と、当該通信相手が送信した第1送信デー
タを第1受信データとして受け取る第1受信手段と、上
記第1送信データと第1受信データとの双方に基づき、
項の順番を入れ換えれば演算結果が変化するような演算
によって、上記通信用暗号鍵として、一方の順番で算出
した第1の通信用暗号鍵と他方の順番で算出した第2の
通信用暗号鍵とを生成する暗号鍵生成手段とを備え、上
記暗号通信手段は、上記第1の通信用暗号鍵を用いて、
通信相手へ送出するデータを暗号化し、上記第2の通信
用暗号鍵を用いて、通信相手から受け取ったデータを復
号化する構成である。
According to the first aspect of the present invention, there is provided an encryption communication device comprising:
As described above, the first transmission means for transmitting the first transmission data to the communication partner, the first reception means for receiving the first transmission data transmitted by the communication partner as the first reception data, and the first transmission data When based-out in both the first received data,
An operation that changes the operation result if the order of terms is changed
Accordingly, as the encryption key for the communication, calculation in one order
The first communication encryption key obtained and the second
Bei an encryption key generation means for generating a communication encryption key example, above
The encryption communication means uses the first communication encryption key,
The data to be transmitted to the communication partner is encrypted, and the second communication is performed.
Decrypts the data received from the communication partner using the
This is a configuration for encoding.

【0104】上記構成では、上記第1および第2通信用
暗号鍵は、自らが送信した第1送信データと、通信相手
から受け取った第1受信データとの双方に基づき、上記
演算によって生成される。したがって、発呼側の暗号通
信装置の動作、被呼側の暗号通信装置の動作と同一に
なる。この結果、自らが発呼側であるか被呼側であるか
の区別をすることなく、自らの通信用復号化鍵と、通信
相手の通信用暗号化鍵とを一致させることができ、暗号
通信装置を開発する際の手間を大幅に軽減できるという
効果を奏する。
In the above configuration, the first and second communication encryption keys are based on both the first transmission data transmitted by itself and the first reception data received from the communication partner.
Generated by arithmetic . Therefore, the operation of the calling side encrypted communication device becomes the same as the operation of the cryptographic communication device of the called side. As a result, whether you are the calling or called party
Without distinguishing between the communication decryption key and the communication
This makes it possible to match with the communication encryption key of the other party, and it is possible to greatly reduce the labor required for developing the encryption communication device.

【0105】請求項2の発明に係る暗号通信装置は、以
上のように、請求項1記載の第1送信手段および第1受
信手段に加えて、通信相手へ、第2送信データを送出す
る第2送信手段と、通信相手が送信した第2送信データ
を第2受信データとして受け取る第2受信手段と、予め
定められた共有鍵により上記第2受信データを暗号化し
て、上記第1送信データを生成する第1送信データ生成
手段と、上記第2送信データを上記共有鍵で暗号化した
データと、上記第1受信データとが一致している場合、
通信相手が正規の通信相手であると認証する認証手段
、上記第1送信データと第1受信データとの双方に基
づき、異なる第1の通信用暗号鍵と第2の通信用暗号鍵
とを生成する暗号鍵生成手段とを備え、暗号通信手段
は、上記第1の通信用暗号鍵を用いて、通信相手へ送出
するデータを暗号化し、上記第2の通信用暗号鍵を用い
て、通信相手から受け取ったデータを復号化する構成で
ある。
According to the second aspect of the present invention, as described above, the first transmitting means and the first receiving means are provided.
In addition to the communication means, a second transmission means for transmitting the second transmission data to the communication partner, a second reception means for receiving the second transmission data transmitted by the communication partner as the second reception data, First transmission data generating means for encrypting the second reception data with a key to generate the first transmission data; data obtained by encrypting the second transmission data with the shared key; If matches,
An authentication unit that authenticates that the communication partner is a legitimate communication partner; and an authentication unit based on both the first transmission data and the first reception data.
Different first communication encryption key and second communication encryption key
Encryption key generation means for generating
Is transmitted to a communication partner using the first communication encryption key.
And encrypts the data to be encrypted using the second communication encryption key.
And decrypts data received from the communication partner .

【0106】上記構成では、同一の第1送信データおよ
び第1受信データから、2つの通信用暗号鍵が生成され
ると共に、通信用暗号鍵を生成するためのデータ通信
と、通信相手を認証するためのデータ通信とを共用でき
る。この結果、安全に通信可能でありながら、両データ
通信を別々に行う場合に比べて、ネゴシエーションが高
速な暗号通信装置を実現できるという効果を奏する。
In the above configuration, the same first transmission data and the same
And two communication encryption keys are generated from the first received data.
In addition, data communication for generating a communication encryption key and data communication for authenticating a communication partner can be shared. As a result, it is possible to realize an encrypted communication device that can perform negotiation at a higher speed than in the case where both data communications are performed separately, while enabling secure communication.

【0107】請求項3の発明に係る暗号通信装置は、以
上のように、請求項1記載の第1送信手段および第1受
信手段に加えて、上記第1送信データに基づくデータ
と、上記第1受信データに基づくデータとを所定の順番
で連結して第1の通信用暗号鍵を生成すると共に、上記
両データを入れ換えて連結して第2の通信用暗号鍵を生
する暗号鍵生成手段とを備え、暗号通信手段は、上記
第1の通信用暗号鍵を用いて、通信相手へ送出するデー
タを暗号化し、上記第2の通信用暗号鍵を用いて、通信
相手から受け取ったデータを復号化する構成である。
According to the third aspect of the present invention, as described above, the first transmitting means and the first receiving means according to the first aspect are provided.
In addition to the communication means, data based on the first transmission data and data based on the first reception data are connected in a predetermined order to generate a first communication encryption key, and the two data are exchanged. and a cryptographic key generating means for generating a second communication encryption key linked Te, cryptographic communication means using the first communication encryption key to encrypt the data to be transmitted to the communication partner, The second communication encryption key is used to decrypt data received from a communication partner.

【0108】上記構成では、連結によって、各通信用暗
号鍵が生成されているので、通信の安全性を低下させる
ことなく、第1送信データおよび第1受信データのビッ
ト長よりも長い通信用暗号鍵を生成できる。それゆえ、
請求項1の効果に加えて、他の算出方法よりも、簡単な
手順、かつ、短い時間で、通信用暗号鍵を生成できると
いう効果を奏する。
In the above configuration, since each communication encryption key is generated by concatenation, a communication encryption key longer than the bit length of the first transmission data and the first reception data can be obtained without lowering the security of communication. Keys can be generated. therefore,
In addition to the effect of the first aspect, there is an effect that a communication encryption key can be generated in a simpler procedure and in a shorter time than other calculation methods.

【0109】請求項4の発明に係る暗号通信装置は、
上のように、請求項1記載の第1送信手段および第1受
信手段、並びに、請求項2記載の第2送信手段、第2受
信手段、第1送信データ生成手段および認証手段と、上
記第1送信データに基づくデータと、上記第1受信デー
タに基づくデータとを所定の順番で連結して第1の通信
用暗号鍵を生成すると共に、上記両データを入れ換えて
連結して第2の通信用暗号鍵を生成する暗号鍵生成手段
とを備え、暗号通信手段は、上記第1の通信用暗号鍵を
用いて、通信相手へ送出するデータを暗号化し、上記第
2の通信用暗号鍵を用いて、通信相手から受け取ったデ
ータを復号化する構成である。
[0109] cryptographic communication device according to a fourth aspect of the present invention, as described above, the first transmission means and the first receiving claim 1, wherein
Communication means, and the second transmission means and the second reception means according to claim 2.
Communication means, first transmission data generation means, and authentication means;
The data based on the first transmission data and the first reception data
The first communication is performed by linking data based on data in a predetermined order.
Generate an encryption key for
Encryption key generation means for generating a second communication encryption key by concatenation
Wherein the cryptographic communication means stores the first communication encryption key
Data to be transmitted to the communication partner using
The data received from the communication partner is
This is a configuration for decoding data.

【0110】それゆえ、請求項3と同様に、自らが発呼
側であるか被呼側であるかの区別をすることなく、簡単
な手順、かつ、短い時間で、自らの通信用復号化鍵と、
通信相手の通信用暗号化鍵とを一致させることができ、
暗号通信装置を開発する際の手間を大幅に軽減できると
いう効果を奏する。
Therefore, in the same manner as in claim 3, the call originates by itself.
Simple without distinguishing between the caller and the callee
Procedure and in a short period of time,
The communication encryption key of the communication partner can be matched,
It would greatly reduce the time and effort required to develop a cryptographic communication device.
This has the effect of

【0111】加えて、請求項2と同様に、上記構成で
は、同一の第1送信データおよび第1受信データから、
2つの通信用暗号鍵が生成されると共に、通信用暗号鍵
を生成するためのデータ通信と、通信相手を認証するた
めのデータ通信とを共用できる。この結果、安全に通信
可能でありながら、両データ通信を別々に行う場合に比
べて、ネゴシエーションが高速な暗号通信装置を実現で
きるという効果を併せて奏する。
In addition, similar to the second aspect, in the above configuration,
Is, from the same first transmission data and first reception data,
Two communication encryption keys are generated and a communication encryption key is generated.
Data communication to generate the
Can be shared with data communication. As a result, secure communication
It is possible, but compared to performing both data communications separately.
In all, it is possible to realize a high-speed cryptographic communication device with negotiation.
It also has the effect of cutting.

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

【図1】本発明の一実施形態を示すものであり、暗号通
信装置の要部を示すブロック図である。
FIG. 1 illustrates an embodiment of the present invention, and is a block diagram illustrating a main part of an encryption communication device.

【図2】上記暗号通信装置を有する通信システムを示す
ブロック図である。
FIG. 2 is a block diagram showing a communication system having the encryption communication device.

【図3】上記暗号通信装置の暗号処理部の一例を示すブ
ロック図である。
FIG. 3 is a block diagram illustrating an example of an encryption processing unit of the encryption communication device.

【図4】上記暗号処理部にて生成される内部鍵の鍵スケ
ジューリングを示す説明図である。
FIG. 4 is an explanatory diagram showing key scheduling of an internal key generated by the encryption processing unit.

【図5】ネゴシエーション時における上記暗号通信装置
の動作を示すフローチャートであり、暗号通信装置が認
証する際の動作を示している。
FIG. 5 is a flowchart showing an operation of the cryptographic communication device at the time of negotiation, and shows an operation when the cryptographic communication device performs authentication.

【図6】ネゴシエーション時における上記暗号通信装置
の動作を示すフローチャートであり、暗号通信装置が通
信用暗号鍵を生成する際の動作を示している。
FIG. 6 is a flowchart showing an operation of the encryption communication device at the time of negotiation, and shows an operation when the encryption communication device generates a communication encryption key.

【図7】上記通信システムの一変形例を示すブロック図
である。
FIG. 7 is a block diagram showing a modification of the communication system.

【図8】従来の暗号通信装置において、ネゴシエーショ
ン時の動作を示すフローチャートである。
FIG. 8 is a flowchart showing an operation at the time of negotiation in a conventional cryptographic communication device.

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

31 WAN・I/F部(第1および第2送信手段、第
1および第2受信手段) 34 制御部(認証手段) 41 共有鍵領域(認証手段) 42 送信暗号化乱数領域(第1送信手段) 43 受信暗号化乱数領域(第1受信手段) 51 暗号処理部(暗号通信手段、第1送信データ生成
手段) 52 暗号鍵生成部(暗号鍵生成手段)
31 WAN / I / F unit (first and second transmission means, first and second reception means) 34 control unit (authentication means) 41 shared key area (authentication means) 42 transmission encrypted random number area (first transmission means) ) 43 Received encrypted random number area (first receiving means) 51 Cryptographic processing section (cryptographic communication means, first transmission data generating means) 52 cryptographic key generating section (cryptographic key generating means)

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平4−129441(JP,A) 特開 平5−75598(JP,A) 特開 平9−74408(JP,A) 特開 平10−51439(JP,A) 特開 平4−35538(JP,A) (58)調査した分野(Int.Cl.7,DB名) G09C 1/00 - 5/00 H04K 1/00 - 3/00 H04L 9/00 ──────────────────────────────────────────────────続 き Continuation of front page (56) References JP-A-4-129441 (JP, A) JP-A-5-75598 (JP, A) JP-A-9-74408 (JP, A) JP-A-10- 51439 (JP, A) JP-A-4-35538 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) G09C 1/00-5/00 H04K 1/00-3/00 H04L 9/00

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】暗号通信に先立って設定される共有の通信
用暗号鍵を用いて、他の暗号通信装置と暗号通信する暗
号通信手段を有する暗号通信装置において、 通信相手へ、第1送信データを送信する第1送信手段
と、 当該通信相手が送信した第1送信データを第1受信デー
タとして受け取る第1受信手段と、 上記第1送信データと第1受信データとの双方に基づ
き、項の順番を入れ換えれば演算結果が変化するような
演算によって、上記通信用暗号鍵として、一方の順番で
算出した第1の通信用暗号鍵と他方の順番で算出した第
2の通信用暗号鍵とを生成する暗号鍵生成手段とを備
え、 上記暗号通信手段は、上記第1の通信用暗号鍵を用い
て、通信相手へ送出するデータを暗号化し、上記第2の
通信用暗号鍵を用いて、通信相手から受け取ったデータ
を復号化するこ とを特徴とする暗号通信装置。
A cryptographic communication apparatus having cryptographic communication means for performing cryptographic communication with another cryptographic communication apparatus using a shared communication encryption key set prior to cryptographic communication, wherein the first transmission data is transmitted to a communication partner. A first transmission unit for transmitting the first transmission data transmitted by the communication partner as first reception data; and a first reception unit for receiving the first transmission data and the first reception data based on both the first transmission data and the first reception data.
If you change the order of the terms,
By the calculation, as the communication encryption key, in one order
The calculated first communication encryption key and the other
Encryption key generation means for generating an encryption key for communication
For example, the encryption communication means, using the first communication encryption key
To encrypt the data to be transmitted to the communication partner,
Data received from the communication partner using the communication encryption key
Encryption communication device, wherein the decoding child a.
【請求項2】暗号通信に先立って設定される共有の通信
用暗号鍵を用いて、他の暗号通信装置と暗号通信する暗
号通信手段を有する暗号通信装置において、 通信相手へ、第1送信データを送信する第1送信手段
と、 当該通信相手が送信した第1送信データを第1受信デー
タとして受け取る第1受信手段と、 通信相手へ、第2送信データを送出する第2送信手段
と、 通信相手が送信した第2送信データを第2受信データと
して受け取る第2受信手段と、 予め定められた共有鍵により上記第2受信データを暗号
化して、上記第1送信データを生成する第1送信データ
生成手段と、 上記第2送信データを上記共有鍵で暗号化したデータ
と、上記第1受信データとが一致している場合、通信相
手が正規の通信相手であると認証する認証手段と 上記第1送信データと第1受信データとの双方に基づ
き、上記通信用暗号鍵として、異なる第1の通信用暗号
鍵と第2の通信用暗号鍵とを生成する暗号鍵生成手段と
を備え、 上記暗号通信手段は、上記第1の通信用暗号鍵を用い
て、通信相手へ送出するデータを暗号化し、上記第2の
通信用暗号鍵を用いて、通信相手から受け取ったデータ
を復号化することを特徴とする暗号通信装置。
2. Shared communication set prior to encrypted communication
Encryption communication with other cryptographic communication devices using
Transmitting means for transmitting first transmission data to a communication partner in a cryptographic communication device having signal communication means
And the first transmission data transmitted by the communication partner.
First receiving means for receiving the second transmission data to the communication partner; second receiving means for receiving the second transmission data transmitted by the communication partner as the second reception data; First transmission data generating means for generating the first transmission data by encrypting the second reception data with the obtained shared key; data obtained by encrypting the second transmission data with the shared key; If the received data matches, authentication means for communication partner authenticated as an authorized communication counterpart, based on both the said first transmission data and the first received data
A different first communication encryption key as the communication encryption key.
Encryption key generation means for generating a key and a second communication encryption key;
Wherein the encryption communication means uses the first communication encryption key.
To encrypt the data to be transmitted to the communication partner,
Data received from the communication partner using the communication encryption key
A cryptographic communication device for decrypting a password.
【請求項3】暗号通信に先立って設定される共有の通信
用暗号鍵を用いて、他の暗号通信装置と暗号通信する暗
号通信手段を有する暗号通信装置において、 通信相手へ、第1送信データを送信する第1送信手段
と、 当該通信相手が送信した第1送信データを第1受信デー
タとして受け取る第1受信手段と、 上記通信用暗号鍵として、上 記第1送信データに基づく
データと、上記第1受信データに基づくデータとを所定
の順番で連結して第1の通信用暗号鍵を生成すると共
に、上記両データを入れ換えて連結して第2の通信用暗
号鍵を生成する暗号鍵生成手段とを備え、 上記暗号通信手段は、上記第1の通信用暗号鍵を用い
て、通信相手へ送出するデータを暗号化し、上記第2の
通信用暗号鍵を用いて、通信相手から受け取ったデータ
を復号化することを特徴とする暗号通信装置。
3. Shared communication set prior to encrypted communication
Encryption communication with other cryptographic communication devices using
Transmitting means for transmitting first transmission data to a communication partner in a cryptographic communication device having signal communication means
And the first transmission data transmitted by the communication partner.
A first receiving means for receiving a data, as the encryption key for the communication, the upper SL and data based on the first transmission data, the first communication encryption by the data based on the first received data linked in a predetermined order An encryption key generating means for generating a key, exchanging the two data and connecting them to generate a second communication encryption key , wherein the encryption communication means uses the first communication encryption key to generate a second communication encryption key. , encrypts the data to be sent to the communication partner, the second using an encryption key for communication, cryptographic communication device you wherein decoding the received from the communication partner data.
【請求項4】暗号通信に先立って設定される共有の通信
用暗号鍵を用いて、他の暗号通信装置と暗号通信する暗
号通信手段を有する暗号通信装置において、 通信相手へ、第1送信データを送信する第1送信手段
と、 当該通信相手が送信した第1送信データを第1受信デー
タとして受け取る第1受信手段と、 通信相手へ、第2送信データを送出する第2送信手段
と、 通信相手が送信した第2送信データを第2受信データと
して受け取る第2受信手段と、 予め定められた共有鍵により上記第2受信データを暗号
化して、上記第1送信データを生成する第1送信データ
生成手段と、 上記第2送信データを上記共有鍵で暗号化したデータ
と、上記第1受信データとが一致している場合、通信相
手が正規の通信相手であると認証する認証手段と、 上記通信用暗号鍵として、上記第1送信データに基づく
データと、上記第1受信データに基づくデータとを所定
の順番で連結して第1の通信用暗号鍵を生成すると共
に、上記両データを入れ換えて連結して第2の通信用暗
号鍵を生成する暗号鍵生成手段とを備え、 上記暗号通信手段は、上記第1の通信用暗号鍵を用い
て、通信相手へ送出するデータを暗号化し、上記第2の
通信用暗号鍵を用いて、通信相手から受け取ったデータ
を復号化することを特徴とする暗号通信装置。
4. Shared communication set prior to encrypted communication
Encryption communication with other cryptographic communication devices using
Transmitting means for transmitting first transmission data to a communication partner in a cryptographic communication device having signal communication means
And the first transmission data transmitted by the communication partner.
First receiving means for receiving as data, and second transmitting means for transmitting second transmission data to a communication partner
And the second transmission data transmitted by the communication partner as the second reception data.
Receiving means for receiving the second received data, and encrypting the second received data with a predetermined shared key.
First transmission data for generating the first transmission data
Generating means, and data obtained by encrypting the second transmission data with the shared key
And the first received data, the communication phase
An authentication means for authenticating that the hand is a legitimate communication partner; and a communication encryption key based on the first transmission data.
Data and data based on the first received data are predetermined
To generate the first communication encryption key
Then, the two data are exchanged and connected to form a second communication password.
Encryption key generation means for generating an encryption key, wherein the encryption communication means uses the first communication encryption key.
To encrypt the data to be transmitted to the communication partner,
Data received from the communication partner using the communication encryption key
A cryptographic communication device for decrypting a password.
JP9264623A 1997-09-29 1997-09-29 Cryptographic communication device Expired - Fee Related JP3011151B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9264623A JP3011151B2 (en) 1997-09-29 1997-09-29 Cryptographic communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9264623A JP3011151B2 (en) 1997-09-29 1997-09-29 Cryptographic communication device

Publications (2)

Publication Number Publication Date
JPH11109854A JPH11109854A (en) 1999-04-23
JP3011151B2 true JP3011151B2 (en) 2000-02-21

Family

ID=17405918

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9264623A Expired - Fee Related JP3011151B2 (en) 1997-09-29 1997-09-29 Cryptographic communication device

Country Status (1)

Country Link
JP (1) JP3011151B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4604523B2 (en) * 2004-03-15 2011-01-05 株式会社日立製作所 Data transfer method and data storage device
JP4592337B2 (en) * 2004-06-14 2010-12-01 シャープ株式会社 Data storage
JP2014183539A (en) 2013-03-21 2014-09-29 Panasonic Corp Radio communication device

Also Published As

Publication number Publication date
JPH11109854A (en) 1999-04-23

Similar Documents

Publication Publication Date Title
JP2942913B2 (en) Remote party authentication / encryption key distribution method
US6266418B1 (en) Encryption and authentication methods and apparatus for securing telephone communications
JP4331848B2 (en) Security method for communication network and secure data transfer method
US5003593A (en) Teleconferencing method for a secure key management system
JP2883243B2 (en) Remote party authentication / encryption key distribution method
JPH04506137A (en) Key distribution method in public communication networks considering security level
US6742115B2 (en) Method for negotiating weakened keys in encryption systems
JPH0918469A (en) Equipment and system for cipher communication and ciphering device
JPH09312643A (en) Key sharing method and ciphering communication method
US20040255121A1 (en) Method and communication terminal device for secure establishment of a communication connection
JP3011151B2 (en) Cryptographic communication device
GB2385740A (en) Voice over IP telephone subscriber unit with encryption facilities
JPH11239184A (en) Switching hub
JPH10164048A (en) Secret keeping communication method in large-scale service and subscriber equipment and server therefor
JP3230726B2 (en) Encrypted communication method
JPH02195377A (en) Ic card provided with key sharing function
JPS63155930A (en) Enciphered data communication system
JPH0479462A (en) Telephone conference method for safety key management system
JPH09326789A (en) Opposite party verification method and system in communication between portable radio terminal equipments
JPH0677955A (en) Certifying system
JPH0465939A (en) Cryptographic device
JPH0389738A (en) Data ciphering device and data deciphering device with certifying functions
JPH05167574A (en) Privacy communication system
JPH06315026A (en) Digital communication method
JP2004356783A (en) Communication system, communication terminal for use therein and its operation control method

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees