JPH04264922A - Program input circuit and program transferring method for information processor - Google Patents

Program input circuit and program transferring method for information processor

Info

Publication number
JPH04264922A
JPH04264922A JP3026368A JP2636891A JPH04264922A JP H04264922 A JPH04264922 A JP H04264922A JP 3026368 A JP3026368 A JP 3026368A JP 2636891 A JP2636891 A JP 2636891A JP H04264922 A JPH04264922 A JP H04264922A
Authority
JP
Japan
Prior art keywords
program
circuit
key code
decryption key
decoding
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
JP3026368A
Other languages
Japanese (ja)
Inventor
Yoshihiko Kon
義彦 今
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP3026368A priority Critical patent/JPH04264922A/en
Publication of JPH04264922A publication Critical patent/JPH04264922A/en
Pending legal-status Critical Current

Links

Landscapes

  • Complex Calculations (AREA)

Abstract

PURPOSE:To improve the versatility of a digital signal processor (DSP) by providing a decoding circuit to decode an encoded program on the basis of a decoding code taken out by a control circuit. CONSTITUTION:At the time of operating the DSP 11, at first, a microcomputer 12 sends a control signal to the DSP 11, and afterwards, it starts the serial transfer of a decoding key code and the encoded program in order. A decoding key extraction circuit 4 is turned into an operating state by the impressing of the control signal, and when it inputs the decoding key code transferred first by eight bits, it sends this decoding key code to the decoding circuit 15 so as to preset it in a random number generation circuit in the decoding circuit 15. The decoding circuit 15 decodes the program by taking the E-OR output of a random number generated successively and the instruction code of the encoded program inputted successively.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、プログラムを記憶する
メモリがRAM(ランダム・アクセス・メモリ)で構成
され、外部からRAMにプログラムがローディングされ
る情報処理装置のプログラム入力回路に及びプログラム
転送方法に関する。
[Industrial Field of Application] The present invention relates to a program input circuit of an information processing device in which a memory for storing a program is constituted by a RAM (Random Access Memory) and a program is loaded into the RAM from the outside, and a program transfer method. Regarding.

【0002】0002

【従来の技術】一般に、DSP(デジタル・シグナル・
プロセッサ)は、プログラムに従って各種のデジタル処
理を実現できるため、幅広い分野で利用されている。通
常、単一半導体基板上に形成されるDSPは、汎用性を
備えるために、外部からプログラムを受け、このプログ
ラムを保持しておくためのSRAMを内蔵している。と
ころが、外部装置からプログラムをDSPに供給するた
めの端子及び配線が存在するために、第3者がこの端子
及び配線からプログラムを容易に取り出すことができ、
プログラム上の秘密が漏洩する可能性がある。
[Prior Art] Generally, DSP (digital signal processor)
Processors) are used in a wide range of fields because they can perform various digital processes according to programs. Generally, a DSP formed on a single semiconductor substrate has a built-in SRAM for receiving programs from the outside and storing the programs in order to provide versatility. However, since there are terminals and wiring for supplying the program from an external device to the DSP, a third party can easily take out the program from these terminals and wiring.
Program secrets may be leaked.

【0003】そこで従来は、プログラムを作成した後に
、これを暗号化してDSPに送り、DSP側に保持して
いる復号キーに従って復号することによって秘密漏洩を
行う方法が実現されている。図4は、従来のプログラム
作成とDSPを使用したシステムのブロック図であり、
1はプログラム開発装置、2は暗号化装置、3はDSP
、4はDSPにプログラムを供給するためのマイコンで
ある。
[0003] Conventionally, a method of leaking secrets has been realized by creating a program, encrypting it, sending it to the DSP, and decrypting it according to a decryption key held on the DSP side. FIG. 4 is a block diagram of a system using conventional program creation and DSP.
1 is a program development device, 2 is an encryption device, 3 is a DSP
, 4 is a microcomputer for supplying programs to the DSP.

【0004】図4において、プログラム作成者は、DS
P3に行わせようとする処理プログラムをプログラム開
発装置1によって作成する。作成されたプログラムは、
暗号化装置2によって特定の暗号キーに基いて暗号化さ
れる。この暗号化は、例えば、暗号キーをプリセットし
た乱数発生器の出力とプログラムコードとのE−OR出
力を得ることによって行われる。そして、暗号化された
プログラムは、DSP3を制御するマイコン4のROM
5内にマイコンのプログラムと共に書き込まれる。
[0004] In FIG. 4, the program creator
A processing program to be executed by P3 is created by the program development device 1. The created program is
It is encrypted by the encryption device 2 based on a specific encryption key. This encryption is performed, for example, by obtaining an E-OR output between the output of a random number generator with a preset encryption key and the program code. The encrypted program is stored in the ROM of the microcomputer 4 that controls the DSP 3.
5 along with the microcomputer program.

【0005】DSP3を動作させる場合、マイコン4の
ROM5に保持されている暗号化されたプログラムをD
SP3に転送する。DSP3は、予めDSP3内のRO
M6に暗号化キーに対応する復号キーを保持しており、
この保持された復号キーによって転送された暗号化プロ
グラムを復号回路7によって元のプログラムに復号し、
復号されたプログラムは、プログラム記憶用のSRAM
8に記憶される。
[0005] When operating the DSP 3, the encrypted program held in the ROM 5 of the microcomputer 4 is
Transfer to SP3. The DSP3 has previously set the RO inside the DSP3.
The M6 holds the decryption key corresponding to the encryption key,
The encrypted program transferred using this held decryption key is decrypted into the original program by the decryption circuit 7,
The decrypted program is stored in SRAM for program storage.
8 is stored.

【0006】[0006]

【発明が解決しようとする課題】図4に示されたシステ
ムによると、DSP3のROM6に復号キーが固定的に
記憶されるため、このDSP3は、この暗号キー及び復
号キーを使用するユーザーだけが使用可能であり、第3
者が使用することはできなかった。即ち、プログラムメ
モリをSRAMで構成することによってDSPの汎用性
が向上する利点が阻害されてしまう不都合があった。
According to the system shown in FIG. 4, since the decryption key is permanently stored in the ROM 6 of the DSP 3, the DSP 3 can be used only by the user who uses the encryption key and the decryption key. Available and 3rd
could not be used by anyone. That is, the advantage of improving the versatility of the DSP by configuring the program memory with SRAM is disadvantageously hindered.

【0007】[0007]

【課題を解決するための手段】本発明は、上述した点に
鑑みて創作されたものであり、暗号化されたプログラム
を復号化するための復号キーコードと暗号化されたプロ
グラムが入力される前に外部制御装置から印加される制
御信号により動作し、以後入力される復号キーコードを
取り出すための復号キー抽出回路と、該制御回路によっ
て取り出された復号キーコードに基いて暗号化されたプ
ログラムを復号する復号回路とを備えることにより、情
報処理装置(DSP)の汎用性を向上するものである。
[Means for Solving the Problem] The present invention was created in view of the above points, and a decryption key code for decrypting an encrypted program and an encrypted program are input. A decryption key extraction circuit that is operated by a control signal previously applied from an external control device and extracts a decryption key code that is subsequently input, and a program that is encrypted based on the decryption key code extracted by the control circuit. By including a decoding circuit that decodes the data, the versatility of the information processing device (DSP) is improved.

【0008】[0008]

【作用】本発明によれば、DSP内部に復号キーを取り
出すための復号キー抽出回路があるために、暗号化した
プログラムの先頭に復号キーを配置してDSPに転送す
ることより、復号キーがDSP内部に取り出され、この
復号キーに基いて、以降転送される暗号化されたプログ
ラムが復号されるので、ユーザーが暗号キー及び復号キ
ーを自由に設定でき、DSPの汎用性が確保できる。
[Operation] According to the present invention, since there is a decryption key extraction circuit inside the DSP for extracting the decryption key, the decryption key can be extracted by placing the decryption key at the beginning of the encrypted program and transferring it to the DSP. Since the encrypted program that is taken out into the DSP and transferred thereafter is decrypted based on this decryption key, the user can freely set the encryption key and decryption key, and the versatility of the DSP can be ensured.

【0009】[0009]

【実施例】図1は本発明の実施例を示すブロック図であ
り、9はプログラム開発装置、10は暗号化装置、11
はDSP、12は制御用のマイコンである。プログラム
作成者は、従来と同様に、DSP11に行わせる処理プ
ログラムをプログラム開発装置9によって作成する。作
成されたプログラムは、暗号化装置10によって暗号化
されるが、このときプログラム作成者は、暗号化装置1
0に任意の暗号キーコードを入力する。暗号キーコード
は例えば8ビットで構成される。
[Embodiment] FIG. 1 is a block diagram showing an embodiment of the present invention, in which 9 is a program development device, 10 is an encryption device, and 11 is a block diagram showing an embodiment of the present invention.
is a DSP, and 12 is a control microcomputer. The program creator uses the program development device 9 to create a processing program to be executed by the DSP 11, as in the past. The created program is encrypted by the encryption device 10, but at this time, the program creator
Enter any encryption key code in 0. The encryption key code is composed of, for example, 8 bits.

【0010】暗号化の方式は、暗号キーコードを乱数発
生回路(図示せず)にプリセットすることによって順次
得られる8ビットの乱数コードとプログラムを構成する
8ビットの命令コードとのE−ORによって行うもので
ある。これは、DSP11で行う復号方式は全く同じと
なる。詳細は後述する。暗号化されたプログラムは、暗
号化キーコード、即ち、復号化キーコードが最初にDS
P11に転送されるように暗号化されたプログラムと共
にマイコン12の製造時にROM13に書き込まれる。
[0010] The encryption method is performed by E-ORing an 8-bit random number code sequentially obtained by presetting an encryption key code into a random number generation circuit (not shown) and an 8-bit instruction code constituting the program. It is something to do. The decoding method performed by the DSP 11 is exactly the same. Details will be described later. The encrypted program must first have the encryption key code, i.e. the decryption key code, DS
When the microcomputer 12 is manufactured, it is written into the ROM 13 together with the encrypted program so as to be transferred to the P11.

【0011】一方、マイコン12のプログラム転送用の
端子に接続されたDSP11のプログラム入力回路は、
復号キー抽出回路14と復号回路15とから概略構成さ
れる。DSP11を動作させるにあたり、マイコン12
は先ず制御信号をDSP11に送出した後、復号キーコ
ード、暗号化されたプログラムの順でシリアル転送を開
始する。復号キー抽出回路14は、制御信号の印加によ
って動作状態となり、最初に転送されて来る復号キーコ
ードを8ビット入力すると、この復号キーコードを復号
回路15に送り、復号回路15内の乱数発生回路(後述
する)にプリセットする。復号回路15は、順次発生さ
れる乱数と順次入力されて来る暗号化されたプログラム
の命令コードとのE−OR出力を得ることによってプロ
グラムを復号する。
On the other hand, the program input circuit of the DSP 11 connected to the program transfer terminal of the microcomputer 12 is
It is roughly composed of a decryption key extraction circuit 14 and a decryption circuit 15. In order to operate the DSP11, the microcontroller 12
first sends a control signal to the DSP 11, and then starts serial transfer of the decryption key code and the encrypted program in that order. The decryption key extraction circuit 14 enters the operating state by applying a control signal, and when the first 8 bits of the decryption key code that is transferred is input, this decryption key code is sent to the decryption circuit 15, and the random number generation circuit in the decryption circuit 15 outputs the decryption key code. (described later). The decryption circuit 15 decrypts the program by obtaining an E-OR output of sequentially generated random numbers and sequentially input encrypted program instruction codes.

【0012】復号されたプログラムの命令コードは、順
次プログラムを格納するSRAM16に書き込まれる。 プログラムの復号及び書き込みが終了すると、DSP1
1は、順次SRAM16をプログラムカウンタ(図示せ
ず)でアドレス指定することにより、プログラムで指定
された信号処理を行う。次に、図1で示されたDSP1
1のプログラム入力回路の詳細な回路ブロックを図2に
示す。
The instruction codes of the decoded programs are sequentially written into the SRAM 16 which stores the programs. When the decoding and writing of the program is completed, DSP1
1 performs signal processing specified by a program by sequentially addressing the SRAM 16 with a program counter (not shown). Next, DSP1 shown in FIG.
FIG. 2 shows a detailed circuit block of the program input circuit No. 1.

【0013】図2において、復号キー抽出回路14は、
マイコン12から端子SINに出力される制御信号CO
NTがセット端子Sに印加されるFF(フリップフロッ
プ)17と、FF17の出力Qが印加され、出力CNT
DがFF17のリセット入力Rに印加されるANDゲー
ト18と、FF17の反転出力*Qが印加されるAND
ゲート19とから構成される。
In FIG. 2, the decryption key extraction circuit 14 is
Control signal CO output from microcomputer 12 to terminal SIN
FF (flip-flop) 17 to which NT is applied to the set terminal S, and the output Q of FF17 is applied to the output CNT.
AND gate 18 to which D is applied to the reset input R of FF17, and AND gate 18 to which the inverted output *Q of FF17 is applied.
It consists of a gate 19.

【0014】また、復号回路15は、マイコン12から
シリアルに転送される復号キーコード及び暗号化された
プログラムが印加されるデータ入力端子DINに接続さ
れたE−ORゲート21と、出力がE−ORゲート21
に接続され入力の一方にFF17の反転出力*Qが印加
されたANDゲート22と、ANDゲート22の他方の
入力に出力が印加される乱数発生回路23とから構成さ
れる。ここで、乱数発生回路23は、クロック入力端子
CINにマイコン12から印加される転送クロックSC
Kによって制御される、例えば、8ビットのシフトレジ
スタ24と、シフトレジスタ24の所定2ビットの出力
が印加され、出力がシフトレジスタ24のデータ入力D
に接続されたE−ORゲート25から構成される。
The decryption circuit 15 also includes an E-OR gate 21 connected to a data input terminal DIN to which a decryption key code and an encrypted program serially transferred from the microcomputer 12 are applied, and an E-OR gate 21 whose output is connected to an E-OR gate DIN. OR gate 21
It is composed of an AND gate 22 which is connected to one input and has the inverted output *Q of the FF 17 applied to one of its inputs, and a random number generation circuit 23 whose output is applied to the other input of the AND gate 22. Here, the random number generation circuit 23 uses a transfer clock SC applied from the microcomputer 12 to the clock input terminal CIN.
For example, an 8-bit shift register 24 controlled by K and a predetermined 2-bit output of the shift register 24 are applied, and the output is applied to the data input D of the shift register 24.
The E-OR gate 25 is connected to the E-OR gate 25.

【0015】更に、プログラム入力回路は、クロック入
力端子をCINに印加された転送クロックSCKを8個
計数する毎に出力OVCをANDゲート18及び19に
印加するカウンタ26と、E−ORゲート21の出力が
データ入力Dに接続され、転送クロックSCKによって
シフト動作を行うシフトレジスタ27と、ANDゲート
18の出力CNTDによって制御され、シフトレジスタ
27のデータをシフトレジスタ24にプリセットする伝
送ゲート28と、ANDゲート19の出力CNTPによ
って制御され、シフトレジスタ27のデータを送出する
伝送ゲート29と、伝送ゲート29から送出されたデー
タを保持し、プログラムRAM(図示せず)にデータを
出力するラッチ回路30とを有している。
Furthermore, the program input circuit includes a counter 26 which applies the output OVC to the AND gates 18 and 19 every time eight transfer clocks SCK applied to the clock input terminal CIN are counted, and an E-OR gate 21. A shift register 27 whose output is connected to the data input D and performs a shift operation in accordance with the transfer clock SCK; a transmission gate 28 which is controlled by the output CNTD of the AND gate 18 and presets the data in the shift register 27 to the shift register 24; A transmission gate 29 that is controlled by the output CNTP of the gate 19 and transmits data from the shift register 27, and a latch circuit 30 that holds the data transmitted from the transmission gate 29 and outputs the data to a program RAM (not shown). have.

【0016】次に図3の動作タイミング図を参照して図
2に示されたプログラム入力回路の動作を説明する。先
ず、復号キーコード及び暗号化されたプログラムを転送
する前に制御信号CONTを「H」レベルのパルスとし
て出力する。この制御信号CONTの立ち上がりにより
、FF17がセットされ、カウンタ26がリセットされ
る。これにより、FF17の出力Qが「H」レベルとな
ってANDゲート18が開き、出力*Qが「L」レベル
となってANDゲート19が閉じる。
Next, the operation of the program input circuit shown in FIG. 2 will be explained with reference to the operation timing diagram of FIG. First, before transferring the decryption key code and the encrypted program, the control signal CONT is output as an "H" level pulse. The rise of the control signal CONT sets the FF 17 and resets the counter 26. As a result, the output Q of the FF 17 becomes "H" level and the AND gate 18 opens, and the output *Q becomes "L" level and the AND gate 19 closes.

【0017】次に、8ビットから成る復号キーコードを
転送クロックSCKによってDSP11に印加する。こ
のとき、FF17の出力*Qが「L」レベルであるため
、ANDゲート22の出力は「L」レベルとなっている
。従って、E−ORゲート21は、データ入力端DIN
に印加された復号キーコードをそのまま出力することに
なる。よって、シフトレジスタ27は、転送クロックS
CKにより復号キーコードを順次シフトする。一方、カ
ウンタ26は、この転送クロックSCKの計数を開始し
、計数値が「8」になったとき、即ち、シフトレジスタ
27に復号キーコードが8ビット全部取り込まれたとき
、図4に示す如く、転送クロックSCKのパルス幅に等
しい「H」レベルの出力OVCを出力する。この出力O
VCは、開かれているANDゲート18を介して出力C
NTDとして出力され、転送ゲート28を開く。これに
より、シフトレジスタ27に取り込まれた復号キーコー
ドが乱数発生回路23のシフトレジスタ24にプリセッ
トされる。
Next, a decoding key code consisting of 8 bits is applied to the DSP 11 using the transfer clock SCK. At this time, since the output *Q of the FF 17 is at the "L" level, the output of the AND gate 22 is at the "L" level. Therefore, the E-OR gate 21 connects the data input terminal DIN
The decryption key code applied to is output as is. Therefore, the shift register 27 uses the transfer clock S
The decryption key code is sequentially shifted by CK. On the other hand, the counter 26 starts counting this transfer clock SCK, and when the count value reaches "8", that is, when all 8 bits of the decryption key code are taken into the shift register 27, as shown in FIG. , outputs an "H" level output OVC equal to the pulse width of the transfer clock SCK. This output O
VC is connected to the output C through the AND gate 18 which is open.
It is output as NTD and opens the transfer gate 28. As a result, the decryption key code taken into the shift register 27 is preset into the shift register 24 of the random number generation circuit 23.

【0018】更に、出力CNTDはFF17のリセット
入力Rに印加され、FF17はリセットされ、出力Qが
「L」レベル、出力*Qが「H」レベルとなる。これに
より、ANDゲート18は閉じられ、ANDゲート19
及びANDゲート22が開かれる。その後、順次暗号化
されたプログラムが転送クロックSCKによってDSP
11に印加される。このとき、転送クロックSCKが印
加される毎に乱数発生回路23のシフトレジスタ24か
ら復号キーコードに基いて作成された乱数が順次1ビッ
トづつ出力される。この乱数出力は、開らかれているA
NDゲート22からE−ORゲート21に出力される。 従って、データ入力端子DINに印加された暗号化され
たプログラムは、1ビット毎に乱数出力とE−ORゲー
ト21によって加算され、シフトレジスタ27に印加さ
れる。即ち、暗号化されたプログラムの復号化がE−O
Rゲート21によって成されるのである。
Further, the output CNTD is applied to the reset input R of the FF 17, the FF 17 is reset, the output Q becomes the "L" level, and the output *Q becomes the "H" level. As a result, AND gate 18 is closed and AND gate 19 is closed.
and AND gate 22 is opened. After that, the sequentially encrypted programs are transferred to the DSP using the transfer clock SCK.
11. At this time, each time the transfer clock SCK is applied, the shift register 24 of the random number generation circuit 23 sequentially outputs a random number created based on the decryption key code one bit at a time. This random number output is an open A
It is output from the ND gate 22 to the E-OR gate 21. Therefore, the encrypted program applied to the data input terminal DIN is added bit by bit to the random number output by the E-OR gate 21 and applied to the shift register 27. That is, decryption of an encrypted program is E-O
This is accomplished by the R gate 21.

【0019】一方、カウンタ26は、暗号化されたプロ
グラムの転送クロックSCKを計数し、計数値が「8」
になる毎に出力OVCを出力する。この出力OVCは、
開いているANDゲート19の出力CNTPとして出力
させるため、転送ゲート29が開き、シフトレジスタ2
7に取り込まれた8ビットの復号化されたプログラムが
ラッチ回路30に転送されラッチされる。ラッチ回路3
0にラッチされたプログラムは、シフトレジスタ27の
シフト動作が行われている間に、プログラム保持用のS
RAMに順次転送され記憶される。
On the other hand, the counter 26 counts the transfer clock SCK of the encrypted program, and when the count value is "8",
The output OVC is output every time. This output OVC is
In order to output the output CNTP of the open AND gate 19, the transfer gate 29 opens and the shift register 2
The 8-bit decoded program loaded into the 8-bit program is transferred to the latch circuit 30 and latched. Latch circuit 3
The program latched to 0 is stored in S for holding the program while the shift register 27 is being shifted.
The data is sequentially transferred and stored in RAM.

【0020】このようにして、マイコンから復号キーコ
ードを最初に送り、続いて暗号化されたプログラムを送
ることにより、復号キーコードがDSP11に取り出さ
れ、暗号化されたプログラムが復号される。このとき、
データ入力端子DINから第3者に復号キー及び暗号化
されたプログラムが知られてしまうが、復号キーによっ
てどのような乱数を発生しているか、あるいは、乱数発
生のシステムが知られない限り、プログラムを解読する
ことは困難であり、プログラムの秘密を保護することが
できる。
[0020] In this way, by first sending the decryption key code from the microcomputer and then sending the encrypted program, the decryption key code is taken out to the DSP 11 and the encrypted program is decrypted. At this time,
The decryption key and the encrypted program will be known to a third party through the data input terminal DIN, but unless the type of random numbers generated by the decryption key or the system for generating random numbers is known, the program cannot be accessed. It is difficult to decipher and can protect the secret of the program.

【0021】[0021]

【発明の効果】上述の如く本発明によれば、DSPのプ
ログラム入力回路に復号キーコードを取り出して、復号
する機能を備えるため、ユーザーが任意に復号キーコー
ドを設定できる利点、及び、DSPが特定のユーザー向
けに限定されることがないため、DSPが持っている汎
用性が阻害されることがなくなる。
As described above, according to the present invention, since the program input circuit of the DSP is equipped with the function of extracting and decoding the decoding key code, there is an advantage that the user can set the decoding key code arbitrarily, and that the DSP can Since it is not limited to specific users, the versatility of DSP is not hindered.

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

【図1】本発明の実施例を示すシステムブロック図であ
る。
FIG. 1 is a system block diagram showing an embodiment of the present invention.

【図2】本発明の実施例を示すプログラム入力回路のブ
ロック図である。
FIG. 2 is a block diagram of a program input circuit showing an embodiment of the present invention.

【図3】図3に示されたブロック図の動作を示すタイミ
ング図である。
FIG. 3 is a timing diagram showing the operation of the block diagram shown in FIG. 3;

【図4】従来技術を示すシステムブロック図である。FIG. 4 is a system block diagram showing a prior art.

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

9          プログラム開発装置10   
       暗号化装置 11          DSP 12          マイコン 13          ROM 14          復号キー抽出回路15   
       復号回路 16          SRAM 17          FF 18,19    ANDゲート 21          E−ORゲート22    
      ANDゲート23          乱
数発生回路24          シフトレジスタ2
5          E−ORゲート26     
     カウンタ 27          シフトレジスタ28,29 
   転送ゲート 30          ラッチ回路
9 Program development device 10
Encryption device 11 DSP 12 Microcomputer 13 ROM 14 Decryption key extraction circuit 15
Decoding circuit 16 SRAM 17 FF 18, 19 AND gate 21 E-OR gate 22
AND gate 23 Random number generation circuit 24 Shift register 2
5 E-OR gate 26
Counter 27 Shift register 28, 29
Transfer gate 30 latch circuit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】  外部制御装置から所定の法則に従って
暗号化されたプログラムを入力するプログラム入力回路
において、前記暗号化されたプログラムを復号するため
の復号キーコードと前記暗号化されたプログラムの入力
に先立って前記外部制御装置から印加される制御信号に
より動作し、前記復号キーコードを取り出すための復号
キー抽出回路と、該制御回路によって取り出された復号
キーコードに基いて前記暗号化されたプログラムを復号
する復号回路とを備えたことを特徴とする情報処理装置
のプログラム入力回路。
Claim 1: A program input circuit for inputting a program encrypted according to a predetermined rule from an external control device, comprising: a decryption key code for decrypting the encrypted program; and a decryption key code for inputting the encrypted program. A decryption key extracting circuit that operates according to a control signal applied from the external control device in advance and extracts the decryption key code; and a decryption key extraction circuit that extracts the decryption key code from the control circuit; A program input circuit for an information processing device, comprising a decoding circuit for decoding.
【請求項2】  外部制御装置から所定の法則に従って
暗号化されたプログラムを情報処理装置に転送するプロ
グラム転送方法において、前記プログラムを暗号化する
際に使用した暗号キーコードに対応する複合キーコード
と暗号化されたプログラムを前記外部制御装置内部の記
憶装置に記憶し、前記複合キーコードを前記情報処理装
置に転送した後前記暗号化されたプログラムを前記情報
処理装置に転送することを特徴とするプログラム転送方
法。
2. A program transfer method for transferring a program encrypted according to a predetermined rule from an external control device to an information processing device, comprising: a composite key code corresponding to an encryption key code used when encrypting the program; The method is characterized in that the encrypted program is stored in a storage device inside the external control device, and after the composite key code is transferred to the information processing device, the encrypted program is transferred to the information processing device. Program transfer method.
JP3026368A 1991-02-20 1991-02-20 Program input circuit and program transferring method for information processor Pending JPH04264922A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3026368A JPH04264922A (en) 1991-02-20 1991-02-20 Program input circuit and program transferring method for information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3026368A JPH04264922A (en) 1991-02-20 1991-02-20 Program input circuit and program transferring method for information processor

Publications (1)

Publication Number Publication Date
JPH04264922A true JPH04264922A (en) 1992-09-21

Family

ID=12191561

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3026368A Pending JPH04264922A (en) 1991-02-20 1991-02-20 Program input circuit and program transferring method for information processor

Country Status (1)

Country Link
JP (1) JPH04264922A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002543476A (en) * 1999-04-30 2002-12-17 トムソン ライセンシング ソシエテ アノニム Multi-format personal digital audio player
US6526511B1 (en) 1997-12-25 2003-02-25 Nippon Telegraph And Telephone Corporation Apparatus and method for modifying microprocessor system at random and maintaining equivalent functionality in spite of modification, and the same microprocessor system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6526511B1 (en) 1997-12-25 2003-02-25 Nippon Telegraph And Telephone Corporation Apparatus and method for modifying microprocessor system at random and maintaining equivalent functionality in spite of modification, and the same microprocessor system
JP2002543476A (en) * 1999-04-30 2002-12-17 トムソン ライセンシング ソシエテ アノニム Multi-format personal digital audio player

Similar Documents

Publication Publication Date Title
Sorkin Lucifer, a cryptographic algorithm
US4316055A (en) Stream/block cipher crytographic system
US5008935A (en) Efficient method for encrypting superblocks of data
US4386234A (en) Cryptographic communication and file security using terminals
US4238854A (en) Cryptographic file security for single domain networks
US4369332A (en) Key variable generator for an encryption/decryption device
JP2002328845A (en) Semiconductor integrated circuit and method for protecting security of ic card
EP0002389A1 (en) Multiple domain data communication
US5671284A (en) Data encryptor having a scalable clock
JPH0242840A (en) Method and apparatus for confidental data transmission
JPS6016779B2 (en) Block unit encryption device
JPS6127751B2 (en)
US6845159B1 (en) Processing method and apparatus for converting information from a first format into a second format
JPH1055135A (en) Ciphering/deciphering device and method using programmable logic element/device
Rueppel New approaches to stream ciphers
US4133974A (en) System for locally enciphering prime data
JP3586475B2 (en) Method and circuit device for generating pseudo-random number sequence
US7809141B2 (en) Ciphering by blocks of the content of a memory external to a processor
JPH04264922A (en) Program input circuit and program transferring method for information processor
JP2001325153A (en) Circuit information protecting method for field programmable gate array
KR20040038777A (en) Data encryption method
GB2124808A (en) Security system
JPH045298B2 (en)
CN108777611A (en) Doubly linked list ordered encryption decryption method based on dual key stream cipher
US6516415B1 (en) Device and method of maintaining a secret code within an integrated circuit package