JP2002334019A - Programmable logic element and data rewriting system for programmable logic element - Google Patents

Programmable logic element and data rewriting system for programmable logic element

Info

Publication number
JP2002334019A
JP2002334019A JP2001138192A JP2001138192A JP2002334019A JP 2002334019 A JP2002334019 A JP 2002334019A JP 2001138192 A JP2001138192 A JP 2001138192A JP 2001138192 A JP2001138192 A JP 2001138192A JP 2002334019 A JP2002334019 A JP 2002334019A
Authority
JP
Japan
Prior art keywords
data
programmable logic
circuit
key data
logic element
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2001138192A
Other languages
Japanese (ja)
Inventor
Hiromitsu Yoshii
弘光 吉井
Norikazu Kaneshiro
典和 金城
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2001138192A priority Critical patent/JP2002334019A/en
Publication of JP2002334019A publication Critical patent/JP2002334019A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a programmable logic element which can have its program rewritten with ease, hold secrecy, and easily specify decoding key data used to decode the programmable logic element and a system for rewriting the data of a programmable logic element like this way. SOLUTION: The programmable logic element A is equipped with a decoding circuit 2, a programmable logic circuit 4, a decoding key data writing circuit 6, and a decoding key storage circuit 7 which uses a nonvolatile storage circuit.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、プログラムデータ
の書換を可能としたプログラマブル論理素子、及び書換
可能なプログラマブル論理素子用データ書換システムに
関するものであり、特に機密保持が必要なプログラマブ
ル論理素子、及び機密保持が必要なプログラマブル論理
素子用のデータ書換システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a programmable logic device capable of rewriting program data, and a data rewriting system for a rewritable programmable logic device. The present invention relates to a data rewriting system for a programmable logic element requiring security.

【0002】[0002]

【従来の技術】近年、有料の音楽や映像配信サービスが
開始され、これらに対応したパーソナルコンピュータ
(PC)やセットトップボックス(STB)や携帯端末
等の製品が発売されてきている中で、これらの製品に対
する配信データのスクランブル化や、暗号化及び復号化
の処理及び課金処理などのデータ処理に関して、書換可
能なプログラマブル論理素子を利用する例が増えてきて
いる。これは、書換可能なプログラマブル論理素子を用
いたデータ処理機能を備えた製品であれば、製品を市場
に出荷した後であっても、プログラマブル論理素子に書
き込まれているプログラムデータを新しいものに変更す
るだけで新しいプログラムデータに対応した製品とする
ことができるからである。
2. Description of the Related Art In recent years, paid music and video distribution services have started, and products such as personal computers (PCs), set-top boxes (STBs), and portable terminals corresponding to these services have been released. For data processing such as scrambling of distribution data for such products, encryption and decryption processing, and billing processing, examples of using rewritable programmable logic elements are increasing. This means that if a product has a data processing function using a rewritable programmable logic element, the program data written in the programmable logic element will be changed to a new one even after the product is shipped to the market. This is because a product corresponding to the new program data can be obtained simply by performing the above operation.

【0003】例えば、STBに配信する配信データのス
クランブル方法が変わった場合、新しいスクランブル方
法による配信データを受信するには、新しいスクランブ
ル方法に対応したプログラムデータを備えたSTBを用
意しなければならないが、上述のように、書換可能なプ
ログラマブル論理素子を備えたSTBであれば、新しい
STBに買いかえることもなく、それまで使用している
STBのプログラマブル論理素子に書き込まれているス
クランブル方法に関するプログラムデータを新しいプロ
グラムデータに書きかえればよい。
For example, if the method of scrambling the distribution data to be distributed to the STB changes, to receive the distribution data according to the new scrambling method, an STB having program data corresponding to the new scrambling method must be prepared. As described above, if the STB has a rewritable programmable logic element, the program data relating to the scramble method written in the programmable logic element of the STB used so far can be used without being replaced with a new STB. Can be replaced with new program data.

【0004】しかしながら、このような目的に用いるプ
ログラマブル論理素子では、データ等の機密保持が重要
になってくる。つまり、上述の例であれば、新しいプロ
グラムデータへの書換を有料で行う場合であれば、契約
者以外の第三者に、新しいプログラムデータの内容を知
られないようにする必要があり、その為に機密保持する
ことが大切になるのである。
However, in a programmable logic element used for such a purpose, it is important to keep data and the like confidential. In other words, in the above example, if rewriting to new program data is performed for a fee, it is necessary to prevent a third party other than the contractor from knowing the contents of the new program data. Therefore, keeping confidentiality is important.

【0005】このように用いられるプログラマブル論理
素子について、従来の例を図面を参照しつつ説明する。
図4は、従来のプログラマブル論理素子Xの構造を示す
図である。図4に示すように、このプログラマブル論理
素子Xは、プログラムデータ書込回路3と、プログラマ
ブル論理部4と、を備えている。尚、図中13はプログ
ラマブル論理素子用プログラムデータである。
A conventional example of the programmable logic element used as described above will be described with reference to the drawings.
FIG. 4 is a diagram showing a structure of a conventional programmable logic element X. As shown in FIG. 4, the programmable logic element X includes a program data writing circuit 3 and a programmable logic unit 4. In the figure, reference numeral 13 denotes program data for a programmable logic element.

【0006】このように構成されるプログラマブル論理
素子Xの動作について説明する。プログラマブル論理素
子Xに、外部から供給されるプログラマブル論理素子用
プログラムデータ13が、プログラムデータ書込回路3
の働きにより プログラマブル論理部4に書き込まれ
る。この結果、プログラマブル論理部4では、それまで
プログラマブル論理部4に規定されていた論理動作を破
棄し、新たにプログラマブル論理素子用プログラムデー
タ13によって書き込まれたプログラムデータに規定さ
れた論理動作を実行する。
[0006] The operation of the programmable logic element X thus configured will be described. Program data 13 for the programmable logic element supplied from outside to the programmable logic element X is stored in the program data writing circuit 3.
Is written into the programmable logic unit 4. As a result, the programmable logic unit 4 discards the logic operation previously defined in the programmable logic unit 4 and executes the logic operation newly defined in the program data written by the programmable logic element program data 13. .

【0007】ちなみに、このプログラマブル論理部4に
は、揮発性メモリを用いて構成されるものと不揮発性メ
モリを用いて構成されるものと、の2種類がある。プロ
グラマブル論理部4が揮発性メモリで構成されている場
合は、このプログラマブル論理素子を備えた装置の電源
を投入する度に、プログラムデータ書込回路3の働きに
より、プログラマブル論理素子用プログラムデータ13
がプログラマブル論理部4に書き込まれる必要がある。
[0007] Incidentally, there are two types of the programmable logic unit 4, one using a volatile memory and one using a nonvolatile memory. When the programmable logic unit 4 is formed of a volatile memory, the program data writing circuit 3 operates the program data 13 for the programmable logic element every time the power supply of the device including the programmable logic element is turned on.
Must be written to the programmable logic unit 4.

【0008】プログラマブル論理部4が不揮発性メモリ
で構成されている場合は、このプログラマブル論理素子
によって実現している論理動作の内容を変更する為にプ
ログラマブル論理素子用プログラムデータ13を変更す
る場合に限り、プログラムデータ書込回路3が、新しい
プログラマブル論理素子用プログラムデータ13をプロ
グラマブル論理部4に書き込む。
When the programmable logic unit 4 is composed of a nonvolatile memory, only when the program data 13 for the programmable logic device is changed in order to change the contents of the logic operation realized by the programmable logic device. The program data writing circuit 3 writes the new programmable logic element program data 13 into the programmable logic unit 4.

【0009】従来のプログラマブル論理素子Xはこのよ
うに構成されているので、このプログラマブル論理素子
Xでは、必要に応じて、常に最新のプログラマブル論理
素子用プログラムデータに書き換えておくことが可能で
あり、即ちこのようなプログラマブル論理素子Xを備え
たPCやSTBであれば、外部から新しいプログラムデ
ータを入力するだけで、常に最新のプログラムデータを
備えた製品とすることが出来る。
Since the conventional programmable logic element X is configured as described above, it is possible to always rewrite the programmable logic element X with the latest programmable logic element program data as needed. That is, a PC or STB provided with such a programmable logic element X can always be a product provided with the latest program data simply by inputting new program data from the outside.

【0010】[0010]

【発明が解決しようとする課題】しかし、上述したよう
に、従来のプログラマブル論理素子Xであれば、プログ
ラマブル論理素子用プログラムデータ13はプログラマ
ブル論理素子Xの外部から供給される形態であるため、
プログラマブル論理素子Xに測定器を接続することで、
書込みが行われる際に、新たに書き込まれるプログラム
データを外部から読みとることができるという問題があ
った。また、プログラマブル論理素子Xの構造がわかる
場合には、読みとった内容からプログラマブル論理素子
Xで実現している動作を解析することが可能になり、や
はり問題であった。
However, as described above, in the case of the conventional programmable logic element X, since the programmable logic element program data 13 is supplied from outside the programmable logic element X,
By connecting a measuring device to the programmable logic element X,
When writing is performed, there is a problem that newly written program data can be read from the outside. In addition, if the structure of the programmable logic element X is known, it is possible to analyze the operation realized by the programmable logic element X from the read contents, which is also a problem.

【0011】即ち、従来のプログラムデータが書換可能
なプログラマブル論理素子Xを備えた製品を出荷した後
であっても、プログラムデータを書き換えることによ
り、その機能を変更できるという大きな利点があるが、
プログラマブル論理素子Xで実現している機能に関する
プログラムデータの機密保持が難しい、という欠点があ
った。
That is, there is a great advantage that the function can be changed by rewriting the program data even after the conventional product provided with the programmable logic element X in which the program data is rewritable.
There is a drawback in that it is difficult to keep program data related to functions implemented by the programmable logic element X confidential.

【0012】また、このようなプログラマブル論理素子
Xを用いたPCやSTB等の製品であって、その製品毎
に異なった暗号化鍵データや復号化鍵データを使用して
いる場合、製品出荷後に、ある製品に使用されているプ
ログラマブル論理素子Xの復号化に使用する復号化鍵デ
ータが、どのような復号化鍵データであったのか、を特
定するのが難しいという欠点を有していた。
Further, in the case of a product such as a PC or STB using such a programmable logic element X, which uses different encryption key data and decryption key data for each product, However, it has a drawback that it is difficult to specify what kind of decryption key data is used for decrypting the programmable logic element X used in a certain product.

【0013】そこで本発明はこのような問題点に鑑みて
為されたものであり、その目的は、プログラムデータを
容易に書きかえることが可能であり、かつ機密を保持す
ることが可能であり、またプログラマブル論理素子の復
号化に使用する復号化鍵データを容易に特定化できるこ
とを可能としたプログラマブル論理素子、及びこのよう
なプログラマブル論理素子のデータを書き換えるデータ
書換えシステムを提供することである。
Accordingly, the present invention has been made in view of such a problem, and an object of the present invention is to make it possible to easily rewrite program data and to maintain confidentiality. It is another object of the present invention to provide a programmable logic element capable of easily specifying decryption key data used for decrypting a programmable logic element, and a data rewriting system for rewriting data of such a programmable logic element.

【0014】[0014]

【課題を解決するための手段】上記課題を達成するた
め、本発明の請求項1に記載のプログラマブル論理素子
では、プログラマブル論理素子の論理動作を規定したプ
ログラマブル論理素子用プログラムデータを暗号化した
プログラマブル論理素子用暗号化プログラムデータを復
号化する復号化鍵データを入力する復号化鍵データ書込
回路と、前記復号化鍵データ書込回路で入力された前記
復号化鍵データを記憶する不揮発性回路である復号化鍵
データ用記憶回路と、前記プログラマブル論理素子用暗
号化プログラムデータを入力し、これを前記復号化鍵デ
ータ用記憶回路に記憶された前記復号化鍵データを用い
て復号化する復号化回路と、前記復号化回路で復号化さ
れた前記プログラマブル論理素子用暗号化プログラムデ
ータに規定された論理動作を実現するプログラマブル論
理回路と、前記復号化されたプログラマブル論理素子用
暗号化プログラムデータを前記プログラマブル論理回路
に書き込むプログラムデータ書込回路と、を備えたこ
と、を特徴とする。
According to a first aspect of the present invention, there is provided a programmable logic device, comprising: a programmable logic device which encrypts program data for a programmable logic device defining a logic operation of the programmable logic device; A decryption key data writing circuit for inputting decryption key data for decrypting logic element encryption program data, and a non-volatile circuit for storing the decryption key data input by the decryption key data writing circuit A decryption key data storage circuit and the programmable logic element encryption program data, and decryption using the decryption key data stored in the decryption key data storage circuit. Circuit defined in the encrypted program data for the programmable logic element decrypted by the decryption circuit. A programmable logic circuit for implementing an operation, to the decoded programmable logic devices for encrypting program data has been provided with a program data write circuit for writing in the programmable logic circuit, and wherein.

【0015】本発明の請求項2に記載のプログラマブル
論理素子では、プログラマブル論理素子の論理動作を規
定したプログラマブル論理素子用プログラムデータを暗
号化鍵データを用いて暗号化したプログラマブル論理素
子用暗号化プログラムデータを復号化する復号化鍵デー
タを、前記暗号化鍵データと、前記暗号化鍵データに対
応する前記復号化鍵データと、前記暗号化鍵データ及び
前記復号化鍵データの組み合わせを識別する識別用コー
ドデータと、より構成される鍵データテーブルから抽出
し、これを入力する復号化鍵データ書込回路と、前記復
号化鍵データ書込回路で入力された前記復号化鍵データ
を記憶する不揮発性回路である復号化鍵データ用記憶回
路と、前記プログラマブル論理素子用暗号化プログラム
データを入力し、これを前記復号化鍵データ用記憶回路
に記憶された前記復号化鍵データを用いて復号化する復
号化回路と、前記復号化回路で復号化された前記プログ
ラマブル論理素子用暗号化プログラムデータに規定され
た論理動作を実現するプログラマブル論理回路と、前記
復号化されたプログラマブル論理素子用暗号化プログラ
ムデータを前記プログラマブル論理回路に書き込むプロ
グラムデータ書込回路と、前記識別用コードデータを前
記鍵データテーブルから抽出する識別用コードデータ読
み書き回路と、前記識別用コードデータ読み書き回路で
抽出された前記識別用コードデータを記憶する不揮発性
記憶回路である識別用コードデータ記憶回路と、を備え
たこと、を特徴とする。
According to a second aspect of the present invention, in the programmable logic element, an encryption program for a programmable logic element, wherein program data for a programmable logic element defining a logic operation of the programmable logic element is encrypted using encryption key data. Identification for identifying a combination of the encryption key data, the decryption key data corresponding to the encryption key data, and the encryption key data and the decryption key data; Key data table and a decryption key data writing circuit for inputting the key data table, and a nonvolatile memory for storing the decryption key data input by the decryption key data writing circuit Storage circuit for decryption key data, which is a security circuit, and inputs the encryption logic program data for the programmable logic element, A decryption circuit for decrypting the data using the decryption key data stored in the decryption key data storage circuit; and a programmable logic element encrypted program data decrypted by the decryption circuit. A programmable logic circuit that implements the logic operation, a program data writing circuit that writes the decrypted encrypted program data for the programmable logic element to the programmable logic circuit, and the identification code data from the key data table. An identification code data read / write circuit to be extracted; and an identification code data storage circuit that is a nonvolatile storage circuit that stores the identification code data extracted by the identification code data read / write circuit. And

【0016】本発明の請求項3に記載のプログラマブル
論理素子用データ書換システムでは、請求項2に記載の
プログラマブル論理素子に書き込まれているプログラマ
ブル論理素子用プログラムデータを書き換えるデータ書
換システムであって、前記鍵データテーブルを記憶する
不揮発性記憶回路である鍵データテーブル記憶回路と、
前記プログラムデータを入力すると共に、前記鍵データ
テーブル記憶回路から前記暗号化鍵データを読み出し
て、これを前記プログラムデータの暗号化に用いて前記
プログラマブル論理素子用暗号化プログラムデータを作
成する暗号化回路と、前記暗号化回路で暗号化された前
記プログラマブル論理素子用暗号化プログラムデータを
出力するプログラムデータ出力手段と、前記鍵データテ
ーブル記憶回路から前記復号化鍵データを出力する復号
化鍵データ出力手段と、前記鍵データテーブル記憶回路
から前記識別用コードデータを入出力する識別用コード
データ入出力手段と、を備えたこと、を特徴とする。
According to a third aspect of the present invention, there is provided a data rewriting system for rewriting program data for a programmable logic element, which is written in the programmable logic element according to the second aspect. A key data table storage circuit that is a nonvolatile storage circuit that stores the key data table;
An encryption circuit for inputting the program data, reading the encryption key data from the key data table storage circuit, and using the read key data to encrypt the program data to create the programmable logic element encrypted program data; Program data output means for outputting the encrypted logic element encrypted program data encrypted by the encryption circuit, and decryption key data output means for outputting the decryption key data from the key data table storage circuit And identification code data input / output means for inputting / outputting the identification code data from the key data table storage circuit.

【0017】[0017]

【発明の実施の形態】以下、本発明の実施の形態につい
て図面を参照しながら説明する。尚、ここで示す実施の
形態はあくまでも一例であって、必すしもこの実施の形
態に限定されるものではない。
Embodiments of the present invention will be described below with reference to the drawings. The embodiment described here is merely an example, and the present invention is not necessarily limited to this embodiment.

【0018】(実施の形態1)まず、本発明の請求項1
に記載のプログラマブル論理素子につき、これを第1の
実施の形態として、図面を参照しつつ説明する。本実施
の形態1に係るプログラマブル論理素子Aは、図1に示
すように、復号化回路2と、プログラムデータ書込回路
3と、プログラマブル論理回路4と、復号化鍵データ書
込回路6と、不揮発性記憶回路を使用した復号化鍵デー
タ用記憶回路7と、を備えている。また、図中1はプロ
グラム論理素子Aの論理動作を規定したプログラムデー
タを暗号化したものであるプログラマブル論理素子用暗
号化プログラムデータ、5はプログラマブル論理素子用
暗号化プログラムデータを作成する際に用いた暗号化鍵
を復号するための復号化鍵に関する復号化鍵データ、で
ある。
(Embodiment 1) First, claim 1 of the present invention
Will be described as a first embodiment with reference to the drawings. As shown in FIG. 1, the programmable logic element A according to the first embodiment includes a decryption circuit 2, a program data writing circuit 3, a programmable logic circuit 4, a decryption key data writing circuit 6, And a decryption key data storage circuit 7 using a nonvolatile storage circuit. In the figure, reference numeral 1 denotes encrypted program data for a programmable logic element, which is obtained by encrypting program data defining the logical operation of the program logic element A. Reference numeral 5 denotes an encrypted program data for creating a programmable logic element. And decryption key data relating to a decryption key for decrypting the encrypted encryption key.

【0019】このように構成されるプログラマブル論理
素子Aの各構成要素について説明する。復号化鍵データ
書込回路6は、プログラマブル論理素子Aの論理動作を
規定したプログラマブル論理素子用プログラムデータを
暗号化したプログラマブル論理素子用暗号化プログラム
データ1を復号化する復号化鍵データ5を入力する。復
号化鍵用記憶回路7は、復号化鍵データ書込回路6で入
力された復号化鍵データ5を記憶する不揮発性回路であ
る復号化鍵データ用記憶回路である。
Each component of the programmable logic element A thus configured will be described. The decryption key data writing circuit 6 inputs the decryption key data 5 for decrypting the programmable logic element encrypted program data 1 obtained by encrypting the programmable logic element program data defining the logical operation of the programmable logic element A. I do. The decryption key storage circuit 7 is a non-volatile circuit for storing the decryption key data 5 input by the decryption key data writing circuit 6 and is a decryption key data storage circuit.

【0020】復号化回路2は、プログラマブル論理素子
用暗号化プログラムデータ1を入力し、これを復号化鍵
データ用記憶回路7に記憶された復号化鍵データ5を用
いて復号化する。プログラマブル論理回路4は、復号化
回路2で復号化されたプログラマブル論理素子用暗号化
プログラムデータ1に規定された論理動作を実現する。
プログラムデータ書込回路3は、復号化されたプログラ
マブル論理素子用暗号化プログラムデータ1をプログラ
マブル論理回路4に書き込むプログラムデータ書込回路
である。
The decryption circuit 2 receives the encrypted logic element encryption program data 1 and decrypts it using the decryption key data 5 stored in the decryption key data storage circuit 7. The programmable logic circuit 4 implements the logical operation specified in the encrypted logic device encrypted program data 1 decrypted by the decryption circuit 2.
The program data writing circuit 3 is a program data writing circuit that writes the decrypted encrypted program data 1 for a programmable logic element into the programmable logic circuit 4.

【0021】次に、このように構成されたプログラマブ
ル論理素子Aの動作について説明する。まず、復号化鍵
データ書込回路6の働きにより、復号化鍵データ5は復
号化用鍵記憶回路7に書き込まれる。この書込みは、通
常はプログラマブル論理素子Aを備えた製品を出荷する
時に、1度だけ行われる。また、本実施の形態にかかる
復号化鍵データ記憶回路7は不揮発性記憶回路を使用し
ているが、これは「ワンタイム」と呼ばれる1回だけ書
込みが可能な構造であってもよいし、複数回の書込みが
可能な構造であっても構わない。
Next, the operation of the programmable logic element A thus configured will be described. First, the decryption key data writing circuit 6 writes the decryption key data 5 into the decryption key storage circuit 7. This writing is usually performed only once when a product including the programmable logic element A is shipped. Although the decryption key data storage circuit 7 according to the present embodiment uses a nonvolatile storage circuit, it may have a structure called “one time” that can be written only once, A structure in which writing can be performed a plurality of times may be used.

【0022】次に、プログラマブル論理素子用暗号化プ
ログラムデータ1が復号化回路2に入力される。次いで
復号化回路2は、復号化鍵データ記憶回路7から復号化
鍵データ5を入力し、これを用いてプログラマブル論理
素子用暗号化プログラムデータ1の復号化を行う。
Next, the encrypted logic element encrypted program data 1 is input to the decryption circuit 2. Next, the decryption circuit 2 inputs the decryption key data 5 from the decryption key data storage circuit 7 and uses this to decrypt the encrypted logic element encrypted program data 1.

【0023】復号化回路2においてプログラマブル論理
素子用暗号化プログラムデータ1の復号化が完了する
と、これをプログラムデータ書込回路3を経て、プログ
ラマブル論理回路4に書き込む。この結果、プログラマ
ブル論理回路4は、それまで書き込まれていたプログラ
ムデータに規定された論理動作を破棄し、新たに書き込
まれたプログラマブル論理素子用暗号化プログラムデー
タ1に規定された論理動作を実現するようになる。
When the decryption of the encrypted logic program data for programmable logic element 1 is completed in the decryption circuit 2, it is written to the programmable logic circuit 4 via the program data writing circuit 3. As a result, the programmable logic circuit 4 discards the logic operation specified in the program data written so far, and realizes the logic operation specified in the newly written programmable logic element encrypted program data 1. Become like

【0024】本実施の形態1においてはプログラマブル
論理素子をこのように構成したので、プログラマブル論
理素子自体に入力されるプログラムデータを暗号化し、
プログラマブル論理素子内部で暗号を復号化可能な構成
としたので、プログラマブル論理回路で実現している機
能の機密保持を実現できる効果がある。
In the first embodiment, since the programmable logic element is configured as described above, program data input to the programmable logic element itself is encrypted,
Since the configuration is such that the encryption can be decrypted inside the programmable logic element, there is an effect that secrecy of the function realized by the programmable logic circuit can be realized.

【0025】尚、本実施の形態に係るプログラマブル論
理素子Aを用いた製品であって、その生産数が大きく、
かつ、機密保持の重要度が高い製品である場合には、プ
ログラマブル論理素子用暗号化プログラムデータ1と復
号化鍵データ5との組み合わせは、製品1台毎にすべて
異なったプログラマブル論理素子用暗号化プログラムデ
ータ1と復号化鍵データ5を用いるようにすることも可
能である。また機密保持の重要度が低い場合は、全ての
製品に対して共通した1種類のプログラマブル論理素子
用暗号化プログラムデータ1と復号化鍵データ5を用い
ることにより、製品出荷後の管理及び製品生産の手間を
省くことも可能である。
The product using the programmable logic element A according to the present embodiment has a large number of products,
In addition, in the case of a product having a high degree of confidentiality, the combination of the encryption logic program data 1 for the programmable logic element and the decryption key data 5 is different for each product. It is also possible to use the program data 1 and the decryption key data 5. When the importance of confidentiality is low, the use of one kind of programmable logic element encryption program data 1 and decryption key data 5 common to all products enables management after product shipment and product production. It is also possible to save time and effort.

【0026】(実施の形態2)次に、本発明の請求項2
に記載のプログラマブル論理素子につき、これを第2の
実施の形態として、図面を参照しつつ説明する。本実施
の形態2に係るプログラマブル論理素子Bは、図2に示
すように、復号化回路2と、プログラムデータ書込回路
3と、プログラマブル論理回路4と、復号化鍵データ書
込回路6と、不揮発性記憶回路を使用した復号化鍵デー
タ用記憶回路7と、識別用コードデータ読み書き回路9
と、識別用コードデータ記憶回路10と、を備えてい
る。また、図中11はプログラム論理素子Bの論理動作
を規定したプログラマブル論理素子用プログラムデータ
を暗号化する為に用いる暗号化鍵データ、1はプログラ
ム論理素子Bの論理動作を規定したプログラムデータを
暗号化したものであるプログラマブル論理素子用暗号化
プログラムデータ、5はプログラマブル論理素子用暗号
化プログラムデータを復号するのに用いるものであり、
かつ暗号化鍵データ11に対応する復号化鍵データ、8
は暗号化鍵データ11とこれに対応する復号化鍵データ
5との組み合わせを識別する為の識別用コードデータ、
12は暗号化鍵データ11及び復号化鍵データ5と、識
別用コードデータ8と、より構成される鍵データテーブ
ル、13は新たにプログラマブル論理素子Bに書き込ま
れるプログラマブル論理素子用プログラムデータであ
る。
(Embodiment 2) Next, claim 2 of the present invention
Will be described as a second embodiment with reference to the drawings. As shown in FIG. 2, the programmable logic element B according to the second embodiment includes a decryption circuit 2, a program data writing circuit 3, a programmable logic circuit 4, a decryption key data writing circuit 6, Decryption key data storage circuit 7 using a nonvolatile storage circuit, and identification code data read / write circuit 9
And an identification code data storage circuit 10. In the figure, reference numeral 11 denotes encryption key data used to encrypt the program data for the programmable logic element defining the logic operation of the program logic element B, and 1 denotes the encryption of the program data defining the logic operation of the program logic element B. 5 is used to decrypt the encrypted logic device encrypted program data,
And decryption key data corresponding to the encryption key data 11, 8
Is identification code data for identifying a combination of the encryption key data 11 and the corresponding decryption key data 5,
Reference numeral 12 denotes a key data table including the encryption key data 11 and the decryption key data 5, and the identification code data 8. Reference numeral 13 denotes programmable logic element program data to be newly written to the programmable logic element B.

【0027】尚、復号化用鍵データ記憶回路7、及び識
別用コードデータ記憶回路10は、不揮発性記憶回路を
使用している。このように構成されるプログラマブル論
理素子Bの各構成要素について説明するが、前述のプロ
グラマブル論理素子Aと同様の動作をする構成要素につ
いては、その説明を省略する。
The decryption key data storage circuit 7 and the identification code data storage circuit 10 use nonvolatile storage circuits. The components of the programmable logic element B configured as described above will be described, but the description of the components that perform the same operation as the programmable logic element A will be omitted.

【0028】復号化鍵データ書込回路6は、プログラマ
ブル論理素子Bの論理動作を規定したプログラマブル論
理素子用プログラムデータ13を暗号化鍵データ11を
用いて暗号化したプログラマブル論理素子用暗号化プロ
グラムデータ1を復号化する復号化鍵データ5を鍵デー
タテーブル12から抽出し、これを入力する。
The decryption key data writing circuit 6 encrypts the programmable logic element program data 13 defining the logic operation of the programmable logic element B using the encryption key data 11 and encrypts the programmable logic element program data. The decryption key data 5 for decrypting 1 is extracted from the key data table 12 and input.

【0029】識別用コードデータ読み書き回路9は、識
別用コードデータ8を鍵データテーブル12から抽出す
る。識別用コードデータ記憶回路10は、識別用コード
データ読み書き回路9で抽出された識別用コードデータ
8を記憶する。
The identification code data read / write circuit 9 extracts the identification code data 8 from the key data table 12. The identification code data storage circuit 10 stores the identification code data 8 extracted by the identification code data read / write circuit 9.

【0030】このように構成される本実施の形態2に係
るプログラマブル論理素子Bの動作について説明する。
まず最初に、プログラマブル論理素子Bを備えた製品を
製造し出荷する際に、復号化鍵データ書込回路6の働き
により、復号化鍵データ5が復号化用鍵記憶回路7に書
き込まれる。また、識別用コードデータ読み書き回路9
の働きにより、識別用コードデータ8が識別用コードデ
ータ記憶回路10に書き込まれる。この書込みは、通常
はプログラマブル論理素子Bを備えた製品を出荷する時
に、1度だけ行われる。また、本実施の形態に係る復号
化鍵データ記憶回路7は不揮発性記憶回路を使用してい
るが、これは「ワンタイム」と呼ばれる1回だけ書込み
が可能な構造であってもよいし、複数回の書込みが可能
な構造であっても構わない。
The operation of the programmable logic element B according to the second embodiment will be described.
First, when a product including the programmable logic element B is manufactured and shipped, the decryption key data writing circuit 6 writes the decryption key data 5 into the decryption key storage circuit 7. The identification code data read / write circuit 9
, The identification code data 8 is written into the identification code data storage circuit 10. This writing is usually performed only once when a product having the programmable logic element B is shipped. Although the decryption key data storage circuit 7 according to the present embodiment uses a nonvolatile storage circuit, it may have a structure called “one time” that can be written only once, A structure in which writing can be performed a plurality of times may be used.

【0031】このように復号化鍵データ5及び識別用コ
ードデータ8が書き込まれたプログラマブル論理素子B
を備えた製品に対して、予め書き込まれているプログラ
マブル論理素子用プログラムデータを書き換える場合、
まず最初に、識別用コードデータ記憶回路10から識別
用コードデータ読み書き回路9の動作により識別用コー
ドデータ8が読み出される。
The programmable logic element B in which the decryption key data 5 and the identification code data 8 are written as described above.
When rewriting the program data for the programmable logic element that has been written in advance for a product with
First, the identification code data 8 is read from the identification code data storage circuit 10 by the operation of the identification code data read / write circuit 9.

【0032】次に読み出された識別用コードデータ8を
用いて鍵データテーブル12を参照することで、この識
別用コードデータ8に対応した暗号化用鍵データ11及
び復号化鍵データ5を知ることができる。ここで復号化
鍵データ5は、製品出荷時に書き込まれた復号化鍵デー
タ5そのものである。
Next, by referring to the key data table 12 using the read identification code data 8, the encryption key data 11 and the decryption key data 5 corresponding to the identification code data 8 are known. be able to. Here, the decryption key data 5 is the decryption key data 5 written at the time of product shipment.

【0033】この暗号化用鍵データ11を用いて、書き
換える予定のプログラマブル論理素子用プログラムデー
タ13を暗号化し、プログラマブル論理素子用暗号化プ
ログラムデータ1を作成する。
Using the encryption key data 11, the programmable logic element program data 13 to be rewritten is encrypted to create the programmable logic element encrypted program data 1.

【0034】次に、プログラマブル論理素子用暗号化プ
ログラムデータ1が復号化回路2に入力される。次いで
復号化回路2は、復号化鍵データ記憶回路7から復号化
鍵データ5を入力し、これを用いてプログラマブル論理
素子用暗号化プログラムデータ1の復号化を行う。
Next, the encrypted logic device encrypted program data 1 is input to the decryption circuit 2. Next, the decryption circuit 2 inputs the decryption key data 5 from the decryption key data storage circuit 7 and uses this to decrypt the encrypted logic element encrypted program data 1.

【0035】復号化回路2においてプログラマブル論理
素子用暗号化プログラムデータ1の復号化が完了する
と、これをプログラムデータ書込回路3を経て、プログ
ラマブル論理回路4に書き込む。この結果、プログラマ
ブル論理回路4は、それまで書き込まれていたプログラ
ムデータに規定された論理動作を破棄し、新たに書き込
まれたプログラマブル論理素子用暗号化プログラムデー
タ1に規定された論理動作を実現するようになる。
When the decryption of the programmable logic element encrypted program data 1 is completed in the decryption circuit 2, it is written into the programmable logic circuit 4 via the program data writing circuit 3. As a result, the programmable logic circuit 4 discards the logic operation specified in the program data written so far, and realizes the logic operation specified in the newly written programmable logic element encrypted program data 1. Become like

【0036】本実施の形態2においては、プログラマブ
ル論理素子Bをこのように構成したので、製品毎に異な
った鍵を使用していた場合に、製品出荷後に、製品に使
用されているプログラマブル論理素子の復号化に使用す
る鍵を特定化するのが難しいという欠点を持つことな
く、機能変更することが可能になる。
In the second embodiment, since the programmable logic element B is configured as described above, when a different key is used for each product, the programmable logic element used for the product after the product is shipped. The function can be changed without the disadvantage that it is difficult to specify the key used for decrypting the key.

【0037】また、本実施の形態2において、復号化鍵
データ5と暗号化鍵データ11とは、別の値としている
が、暗号及び復号アルゴリズムによっては、同一の値と
なる場合がある。
In the second embodiment, the decryption key data 5 and the encryption key data 11 have different values, but may have the same value depending on the encryption and decryption algorithms.

【0038】(実施の形態3)次に、本発明の請求項3
に記載のプログラマブル論理素子用データ書換システム
につき、これを第3の実施の形態として、図面を参照し
つつ説明する。本実施の形態3に係るプログラマブル論
理素子用データ書換システムCは、図3に示すように、
プログラマブル論理素子用暗号化プログラムデータ1
と、復号化鍵データ5と、識別用コードデータと、暗号
化鍵データ11と、暗号化回路14と、鍵データテーブ
ル記憶回路15と、プログラマブル論理素子用暗号化プ
ログラムデータのプログラムデータ出力手段16と、復
号化鍵データの出力手段である復号化鍵データ出力手段
17と、識別用コードデータの入出力手段である識別用
コードデータ入出力手段18と、を備えている。また、
図中13はプログラマブル論理素子用プログラムデー
タ、Bは上記実施の形態2で説明したプログラマブル論
理素子、である。尚、復号化鍵データ5と、暗号化鍵デ
ータ11と、識別用コードデータ8と、によって鍵デー
タテーブル12が構成されており、これは鍵データテー
ブル記憶回路15に記憶されている。また、鍵データテ
ーブル記憶回路15は不揮発性記憶回路を使用してい
る。
(Embodiment 3) Next, claim 3 of the present invention will be described.
The data rewriting system for programmable logic elements described in (1) will be described as a third embodiment with reference to the drawings. The data rewriting system C for a programmable logic element according to the third embodiment includes, as shown in FIG.
Encrypted program data for programmable logic element 1
, Decryption key data 5, identification code data, encryption key data 11, encryption circuit 14, key data table storage circuit 15, and program data output means 16 for encrypted logic element encrypted program data. And decryption key data output means 17 as output means for decryption key data, and identification code data input / output means 18 as input / output means for identification code data. Also,
In the figure, 13 is program data for a programmable logic device, and B is the programmable logic device described in the second embodiment. The key data table 12 is composed of the decryption key data 5, the encryption key data 11, and the identification code data 8, and this is stored in the key data table storage circuit 15. The key data table storage circuit 15 uses a nonvolatile storage circuit.

【0039】このように構成されるプログラマブル論理
素子用データ書換システムCの各構成要素について説明
する。鍵データテーブル記憶回路15は、鍵データテー
ブル12を記憶する。暗号化回路14は、プログラマブ
ル論理素子用プログラムデータ13を入力すると共に、
鍵データテーブル記憶回路15から暗号化鍵データ11
を読み出して、これをプログラマブル論理素子用プログ
ラムデータ13の暗号化に用いて、プログラマブル論理
素子用暗号化プログラムデータ1を作成する。
Each component of the data rewriting system C for a programmable logic device having the above configuration will be described. The key data table storage circuit 15 stores the key data table 12. The encryption circuit 14 inputs the programmable logic element program data 13 and
From the key data table storage circuit 15 to the encrypted key data 11
Is read out and used for encrypting the program data 13 for the programmable logic element to create the encrypted logic program data 1 for the programmable logic element.

【0040】プログラムデータ出力手段16は、暗号化
回路14で暗号化されたプログラマブル論理素子用暗号
化プログラムデータ1を出力する。復号化鍵データ出力
手段17は、鍵データテーブル記憶回路15から復号化
鍵データ5を出力する。識別用コードデータ入出力手段
18は、鍵データテーブル記憶回路15から前記識別用
コードデータを入出力する。
The program data output means 16 outputs the encrypted logic element encrypted program data 1 encrypted by the encryption circuit 14. The decryption key data output means 17 outputs the decryption key data 5 from the key data table storage circuit 15. The identification code data input / output unit 18 inputs and outputs the identification code data from the key data table storage circuit 15.

【0041】このように構成される本実施の形態3のプ
ログラマブル論理素子用データ書換システムCの動作に
ついて、以下に説明する。尚、このプログラマブル論理
素子用データ書換システムCがデータの書き換えを行う
プログラマブル論理素子は、前述の実施の形態2におい
て説明したプログラマブル論理素子Bそのものである。
The operation of the data rewriting system C for a programmable logic element according to the third embodiment will be described below. The programmable logic element for which the data rewriting system C for programmable logic elements rewrites data is the programmable logic element B itself described in the second embodiment.

【0042】まず、プログラマブル論理素子Bに、初め
てデータを書き込む場合について説明する。まずプログ
ラマブル論理素子用プログラムデータ13を暗号化する
のに用いる暗号化鍵データ11と、それに対応した復号
化鍵データ5とを決定する。これは乱数発生器などを用
いて任意に決定してもよい。次に、プログラマブル論理
素子Bを備えた製品1台づつに対して異なる識別用コー
ドデータ8を決定する。これには、シリアル番号や管理
用コードなどを含んでもよい。そして、以上決定された
暗号化鍵データ11と、復号化鍵データ5と、識別用コ
ードデータ5と、をひとまとめの鍵データテーブル12
として鍵データテーブル記憶回路15に書き込む。
First, a case where data is written to the programmable logic element B for the first time will be described. First, the encryption key data 11 used to encrypt the programmable logic element program data 13 and the corresponding decryption key data 5 are determined. This may be arbitrarily determined using a random number generator or the like. Next, different identification code data 8 is determined for each product including the programmable logic element B. This may include a serial number, a management code, and the like. The encryption key data 11, the decryption key data 5, and the identification code data 5 determined above are combined into a key data table 12
Is written in the key data table storage circuit 15.

【0043】次いで、プログラマブル論理素子用データ
書換システムCにプログラマブル論理素子用プログラム
データ13を入力する。これに対して、上記決定された
暗号化鍵データ11を用いて、これを暗号化手段14に
おいて暗号化する。ここで作成されたプログラマブル論
理素子用暗号化プログラムデータ1は、プログラムデー
タ出力手段16により、プログラマブル論理素子Bの復
号化回路2に対して出力する。同様に、上記決定された
復号化鍵データ5は、復号化鍵データ出力手段17によ
りプログラマブル論理素子Bの復号化鍵データ書込回路
6に、上記決定された識別用コードデータ8は、識別用
データコード入出力手段18によりプログラマブル論理
素子Bの識別用コードデータ読み書き回路9に、それぞ
れ出力する。
Next, the programmable logic element program data 13 is input to the programmable logic element data rewriting system C. On the other hand, using the determined encryption key data 11, the data is encrypted by the encryption means 14. The encrypted program data for programmable logic element 1 created here is output by the program data output means 16 to the decryption circuit 2 of the programmable logic element B. Similarly, the determined decryption key data 5 is supplied to the decryption key data writing circuit 6 of the programmable logic element B by the decryption key data output means 17 and the determined identification code data 8 is transmitted to the identification code data. The data is output to the identification code data read / write circuit 9 of the programmable logic element B by the data code input / output means 18.

【0044】このようにして、おのおののデータがプロ
グラマブル論理素子B内に書き込また製品を出荷した後
に、プログラマブル論理素子Bのデータを書き換える場
合について、以下に説明する。
The case where the data of the programmable logic element B is rewritten after shipping a product in which each data is written in the programmable logic element B will be described below.

【0045】プログラムデータの書き換えを行う時に、
予め出荷時にプログラマブル論理素子Bに書き込まれて
いた識別用コードデータ8を、識別用コードデータ読み
書き回路9、及び識別用コードデータ入出力手段18を
通して読み出す。このようにして読み出された識別用コ
ードデータ8を鍵データテーブル記憶回路15に入力す
ることにより、ここで記憶されている鍵データテーブル
12を参照することにより、識別用コードデータ8に対
応する暗号化鍵データ11を抽出する。
When rewriting program data,
The identification code data 8 previously written in the programmable logic element B at the time of shipment is read through the identification code data read / write circuit 9 and the identification code data input / output means 18. By inputting the identification code data 8 thus read out to the key data table storage circuit 15, the key data table 12 stored therein is referred to, and the identification code data 8 corresponding to the identification code data 8 is stored. The encryption key data 11 is extracted.

【0046】次に、書き換えるプログラマブル論理素子
用プログラムデータ13を入力し、暗号化手段14にお
いて、上記のようにして抽出された暗号化用鍵データ1
1を用いて暗号化を行い、プログラマブル論理素子用暗
号化プログラムデータ1を作成する。これをプログラム
データ出力手段16によって、プログラマブル論理素子
Bに出力することにより、プログラマブル論理素子Bに
書かれているプログラムデータを書き換える。
Next, the program data 13 for the programmable logic element to be rewritten is inputted, and the encryption key data 1 extracted as described above is inputted to the encryption means 14.
1 to generate encrypted program data 1 for programmable logic elements. This is output to the programmable logic element B by the program data output means 16, thereby rewriting the program data written in the programmable logic element B.

【0047】本実施の形態に係るプログラマブル論理素
子用データ書換システムであれば、実施の形態2による
プログラマブル論理素子を、製品生産時にプログラムデ
ータの入力をし、その後の製品出荷後に、書き換えを効
率よく行えるようになる。尚、本システムには、操作者
とのインターフェースの為に、表示画面とキーボードや
マウスなどの入力装置を含んでもよい。
In the data rewriting system for a programmable logic device according to the present embodiment, the programmable logic device according to the second embodiment is configured to receive program data at the time of product production, and to efficiently rewrite after the product is shipped. Will be able to do it. The system may include a display screen and input devices such as a keyboard and a mouse for an interface with the operator.

【0048】[0048]

【発明の効果】以上のように、本発明の請求項1に記載
のプログラマブル論理素子によれば、暗号化されたプロ
グラマブル論理素子用のプログラムデータを復号化する
為の回路と、その復号化に使用する鍵を記憶する為の不
揮発性記憶回路を、備えていることにより、プログラマ
ブル論理部で実現している機能の機密保持を実現するこ
とができる。
As described above, according to the programmable logic device of the first aspect of the present invention, a circuit for decrypting the encrypted program data for the programmable logic device, and a decryption circuit for decrypting the program data. By providing a nonvolatile storage circuit for storing a key to be used, confidentiality of a function realized by the programmable logic unit can be realized.

【0049】本発明の請求項2に記載のプログラマブル
論理素子によれば、暗号化されたプログラマブル論理素
子用のプログラムデータを復号化する為の回路と、その
復号化に使用する鍵を記憶する為の不揮発性記憶回路
と、識別用データを記憶するための不揮発性記憶回路を
持つことにより、製品毎に異なった鍵を使用していた場
合に、製品出荷後に、製品に使用されているプログラマ
ブル論理素子の復号化に使用する鍵を特定化するのが難
しいという欠点を持つことなく、機能変更することが可
能になる。
According to the programmable logic device of the second aspect of the present invention, a circuit for decrypting the encrypted program data for the programmable logic device and a key for storing the key used for the decryption are stored. By using a non-volatile memory circuit for storing the identification data and a non-volatile memory circuit for storing the identification data, when a different key is used for each product, the programmable logic used for the product after the product is shipped. The function can be changed without the disadvantage that it is difficult to specify the key used for decrypting the element.

【0050】本発明の請求項3に記載のプログラマブル
論理素子用データ書換システムによれば、プログラマブ
ル論理素子から読み出された識別用コードデータの入出
力手段と、プログラマブル論理素子用のプログラムデー
タの暗号化手段と、その暗号化及び復号化に使用する鍵
と識別用データを対応させたテーブルを格納する不揮発
性記憶手段と、その復号化用鍵データを出力する手段
と、プログラマブル論理素子用のプログラムデータの出
力手段を持つことにより、請求項2によるプログラマブ
ル論理素子を、製品生産時にプログラムデータの入力を
し、その後の製品出荷後に、書き換えを効率よく行うこ
とが可能になる。
According to the data rewriting system for a programmable logic element according to the third aspect of the present invention, the input / output means of the identification code data read from the programmable logic element and the encryption of the program data for the programmable logic element Storage means for storing a table in which keys used for encryption and decryption and identification data are associated with each other, means for outputting the decryption key data, and a program for a programmable logic element. Providing the data output means enables the programmable logic element according to claim 2 to input program data at the time of product production, and to efficiently rewrite after the product is shipped.

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

【図1】本発明の実施の形態1において、プログラマブ
ル論理素子の特徴部分を中心に示すブロック図である。
FIG. 1 is a block diagram mainly showing features of a programmable logic element according to a first embodiment of the present invention.

【図2】本発明の実施の形態2において、プログラマブ
ル論理素子の特徴部分を中心に示すブロック図である。
FIG. 2 is a block diagram mainly showing a characteristic portion of a programmable logic element in Embodiment 2 of the present invention.

【図3】本発明の実施の形態3において、プログラマブ
ル論理素子の特徴部分を中心に示すブロック図である。
FIG. 3 is a block diagram mainly showing characteristic portions of a programmable logic element in a third embodiment of the present invention.

【図4】従来のプログラマブル論理素子の一例を示すブ
ロック図である
FIG. 4 is a block diagram showing an example of a conventional programmable logic element.

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

1 プログラマブル論理素子用暗号化プログラムデータ 2 復号化回路 3 プログラムデータ書込回路部 4 プログラマブル論理回路 5 復号化鍵データ 6 復号化鍵データ書込回路 7 復号化鍵データ記憶回路 8 識別用コードデータ 9 識別用コードデータ読み書き回路 10 識別用コードデータ記憶回路 11 暗号化鍵データ 12 鍵データテーブル 13 プログラマブル論理素子用プログラムデータ 14 暗号化回路 15 鍵データテーブル記憶回路 16 プログラムデータ出力手段 17 復号化鍵データ出力手段 18 識別用コードデータ入出力手段 DESCRIPTION OF SYMBOLS 1 Encrypted program data for programmable logic elements 2 Decryption circuit 3 Program data writing circuit part 4 Programmable logic circuit 5 Decryption key data 6 Decryption key data writing circuit 7 Decryption key data storage circuit 8 Identification code data 9 Identification code data read / write circuit 10 Identification code data storage circuit 11 Encryption key data 12 Key data table 13 Program data for programmable logic element 14 Encryption circuit 15 Key data table storage circuit 16 Program data output means 17 Decryption key data output Means 18 Identification code data input / output means

フロントページの続き Fターム(参考) 5B017 AA03 BA07 CA15 5B076 FA01 FA16 5J104 AA01 AA16 EA04 EA17 NA02Continued on the front page F term (reference) 5B017 AA03 BA07 CA15 5B076 FA01 FA16 5J104 AA01 AA16 EA04 EA17 NA02

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 プログラマブル論理素子の論理動作を規
定したプログラマブル論理素子用プログラムデータを暗
号化したプログラマブル論理素子用暗号化プログラムデ
ータを復号化する復号化鍵データを入力する復号化鍵デ
ータ書込回路と、 前記復号化鍵データ書込回路で入力された前記復号化鍵
データを記憶する不揮発性回路である復号化鍵データ用
記憶回路と、 前記プログラマブル論理素子用暗号化プログラムデータ
を入力し、これを前記復号化鍵データ用記憶回路に記憶
された前記復号化鍵データを用いて復号化する復号化回
路と、 前記復号化回路で復号化された前記プログラマブル論理
素子用暗号化プログラムデータに規定された論理動作を
実現するプログラマブル論理回路と、 前記復号化されたプログラマブル論理素子用暗号化プロ
グラムデータを前記プログラマブル論理回路に書き込む
プログラムデータ書込回路と、 を備えたこと、 を特徴とするプログラマブル論理素子。
1. A decryption key data writing circuit for inputting decryption key data for decrypting encrypted program data for a programmable logic element, which is obtained by encrypting program data for a programmable logic element that defines the logic operation of the programmable logic element. A decryption key data storage circuit that is a non-volatile circuit that stores the decryption key data input by the decryption key data writing circuit; and inputs the programmable logic element encryption program data. The decryption key data stored in the decryption key data storage circuit, and a programmable logic element encrypted program data decrypted by the decryption circuit. Logic circuit for realizing a logical operation, and encryption for the decrypted programmable logic element Further comprising a program data write circuit for writing program data to the programmable logic circuit, a programmable logic device characterized.
【請求項2】 プログラマブル論理素子の論理動作を規
定したプログラマブル論理素子用プログラムデータを暗
号化鍵データを用いて暗号化したプログラマブル論理素
子用暗号化プログラムデータを復号化する復号化鍵デー
タを、前記暗号化鍵データと、前記暗号化鍵データに対
応する前記復号化鍵データと、前記暗号化鍵データ及び
前記復号化鍵データの組み合わせを識別する識別用コー
ドデータと、より構成される鍵データテーブルから抽出
し、これを入力する復号化鍵データ書込回路と、 前記復号化鍵データ書込回路で入力された前記復号化鍵
データを記憶する不揮発性回路である復号化鍵データ用
記憶回路と、 前記プログラマブル論理素子用暗号化プログラムデータ
を入力し、これを前記復号化鍵データ用記憶回路に記憶
された前記復号化鍵データを用いて復号化する復号化回
路と、 前記復号化回路で復号化された前記プログラマブル論理
素子用暗号化プログラムデータに規定された論理動作を
実現するプログラマブル論理回路と、 前記復号化されたプログラマブル論理素子用暗号化プロ
グラムデータを前記プログラマブル論理回路に書き込む
プログラムデータ書込回路と、 前記識別用コードデータを前記鍵データテーブルから抽
出する識別用コードデータ読み書き回路と、 前記識別用コードデータ読み書き回路で抽出された前記
識別用コードデータを記憶する不揮発性記憶回路である
識別用コードデータ記憶回路と、 を備えたこと、 を特徴とするプログラマブル論理素子。
2. The method according to claim 1, wherein the decryption key data for decrypting the program data for the programmable logic element, which defines the logic operation of the programmable logic element using the encryption key data, is used as the decryption key data. A key data table comprising: encryption key data; the decryption key data corresponding to the encryption key data; and identification code data for identifying a combination of the encryption key data and the decryption key data. And a decryption key data writing circuit that inputs the decryption key data, and a decryption key data storage circuit that is a non-volatile circuit that stores the decryption key data input by the decryption key data writing circuit. The programmable logic element encryption program data is input, and stored in the decryption key data storage circuit. A decryption circuit that decrypts using the encryption key data; a programmable logic circuit that implements a logical operation defined by the programmable logic element encrypted program data decrypted by the decryption circuit; A program data writing circuit for writing the encrypted program data for programmable logic elements to the programmable logic circuit; an identification code data reading / writing circuit for extracting the identification code data from the key data table; and the identification code data. An identification code data storage circuit that is a non-volatile storage circuit that stores the identification code data extracted by the read / write circuit.
【請求項3】 請求項2に記載のプログラマブル論理素
子に書き込まれているプログラマブル論理素子用プログ
ラムデータを書き換えるデータ書換システムであって、 前記鍵データテーブルを記憶する不揮発性記憶回路であ
る鍵データテーブル記憶回路と、 前記プログラムデータを入力すると共に、前記鍵データ
テーブル記憶回路から前記暗号化鍵データを読み出し
て、これを前記プログラムデータの暗号化に用いて前記
プログラマブル論理素子用暗号化プログラムデータを作
成する暗号化回路と、 前記暗号化回路で暗号化された前記プログラマブル論理
素子用暗号化プログラムデータを出力するプログラムデ
ータ出力手段と、 前記鍵データテーブル記憶回路から前記復号化鍵データ
を出力する復号化鍵データ出力手段と、 前記鍵データテーブル記憶回路から前記識別用コードデ
ータを入出力する識別用コードデータ入出力手段と、 を備えたこと、 を特徴とする、プログラマブル論理素子用データ書換シ
ステム。
3. A data rewriting system for rewriting program data for a programmable logic element written in the programmable logic element according to claim 2, wherein the key data table is a nonvolatile storage circuit for storing the key data table. A storage circuit, inputting the program data, reading the encryption key data from the key data table storage circuit, and using the read key data for encrypting the program data to create the programmable logic element encrypted program data; An encryption circuit that performs encryption, program data output means that outputs the encrypted logic element encrypted program data encrypted by the encryption circuit, and decryption that outputs the decryption key data from the key data table storage circuit. Key data output means, and the key data Further comprising the identification code data input means for inputting and outputting the identification code data from the table storage circuit, and characterized by the data rewriting system for a programmable logic device.
JP2001138192A 2001-05-09 2001-05-09 Programmable logic element and data rewriting system for programmable logic element Pending JP2002334019A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001138192A JP2002334019A (en) 2001-05-09 2001-05-09 Programmable logic element and data rewriting system for programmable logic element

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001138192A JP2002334019A (en) 2001-05-09 2001-05-09 Programmable logic element and data rewriting system for programmable logic element

Publications (1)

Publication Number Publication Date
JP2002334019A true JP2002334019A (en) 2002-11-22

Family

ID=18985167

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001138192A Pending JP2002334019A (en) 2001-05-09 2001-05-09 Programmable logic element and data rewriting system for programmable logic element

Country Status (1)

Country Link
JP (1) JP2002334019A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005078459A (en) * 2003-09-01 2005-03-24 Toshiba Corp Microprocessor
US7127616B2 (en) 2002-03-22 2006-10-24 Kabushiki Kaisha Toshiba Semiconductor integrated circuits, data transfer systems, and the method for data transfer
JP2007142591A (en) * 2005-11-15 2007-06-07 Matsushita Electric Ind Co Ltd Encryption management method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7127616B2 (en) 2002-03-22 2006-10-24 Kabushiki Kaisha Toshiba Semiconductor integrated circuits, data transfer systems, and the method for data transfer
JP2005078459A (en) * 2003-09-01 2005-03-24 Toshiba Corp Microprocessor
JP2007142591A (en) * 2005-11-15 2007-06-07 Matsushita Electric Ind Co Ltd Encryption management method

Similar Documents

Publication Publication Date Title
US7428306B2 (en) Encryption apparatus and method for providing an encrypted file system
JP5337411B2 (en) Information concealment method and information concealment device
US10255450B2 (en) Customer load of field programmable gate arrays
JP2006295916A (en) Programmable logic device
US20100296651A1 (en) Encryption apparatus and method therefor
US9288046B2 (en) Device for generating an encrypted key and method for providing an encrypted key to a receiver
US10452564B2 (en) Format preserving encryption of object code
TWI662474B (en) Method and apparatus for performing firmware programming on microcontroller chip, and associated microcontroller chip
JP2009245227A (en) Information storage device
JP4758904B2 (en) Confidential information processing method
US10102386B2 (en) Decrypting content protected with initialization vector manipulation
KR20130067849A (en) Fpga apparatus and method for protecting bitstream
US9729319B2 (en) Key management for on-the-fly hardware decryption within integrated circuits
CN103853943A (en) Program protection method and device
JP4119882B2 (en) Memory information protection system, memory information protection method, and semiconductor memory
JP2005322963A (en) Ic card for encryption or decryption processing, and encryption communication system and encryption communication method employing the same
US7333613B2 (en) Cyphering of the content of a memory external to a processor
JP2002334019A (en) Programmable logic element and data rewriting system for programmable logic element
KR20180059217A (en) Apparatus and method for secure processing of memory data
CN116361849A (en) Backup data encryption and decryption method and device for encrypted database
US20210303702A1 (en) Protection system and protection method for software and firmware or information
JP4287397B2 (en) Ciphertext generation apparatus, ciphertext decryption apparatus, ciphertext generation program, and ciphertext decryption program
US20090202077A1 (en) Apparatus and method for secure data processing
TW201642621A (en) Key protecting device and key protecting method
CN105117666A (en) Encryption and decryption methods and devices for internet protocol (IP) configuration parameter of integrated circuit