JP2000322319A - Security circuit for semiconductor storage device and security system - Google Patents

Security circuit for semiconductor storage device and security system

Info

Publication number
JP2000322319A
JP2000322319A JP11129951A JP12995199A JP2000322319A JP 2000322319 A JP2000322319 A JP 2000322319A JP 11129951 A JP11129951 A JP 11129951A JP 12995199 A JP12995199 A JP 12995199A JP 2000322319 A JP2000322319 A JP 2000322319A
Authority
JP
Japan
Prior art keywords
password
unit
security
input
circuit
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.)
Granted
Application number
JP11129951A
Other languages
Japanese (ja)
Other versions
JP3789056B2 (en
Inventor
Shigekazu Takada
栄和 高田
Yasuyuki Aikawa
康之 相川
Ken Sumitani
憲 隅谷
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.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP12995199A priority Critical patent/JP3789056B2/en
Publication of JP2000322319A publication Critical patent/JP2000322319A/en
Application granted granted Critical
Publication of JP3789056B2 publication Critical patent/JP3789056B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Storage Device Security (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a security circuit for a semiconductor storage device and a security system having a security function which is further strong and difficult to clarify. SOLUTION: An arithmetic circuit 20 performs a prescribed arithmetic operation based on an uncertain value generated by an uncertain value generating circuit 16. In an outside system which performs access to a semiconductor storage device, the same arithmetic operation is executed in the same way as the arithmetic circuit 20 based on the uncertain value, and the arithmetic result is inputted to an interface circuit 3 as an input password. When a specific password signal 21 indicating the arithmetic result is made coincident with a password signal 12 indicating an input password by the arithmetic circuit 20, a security release signal 14 is outputted from a comparator circuit 13. At the time of receiving the security release signal 14 from the comparator circuit 13, a bus control circuit 6 activates a memory space 9 after confirming that a security release condition is fulfilled.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、半導体記憶装置
に対する不正アクセスや誤アクセスを防止できる半導体
記憶装置用セキュリティ回路およびセキュリティシステ
ムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a security circuit and a security system for a semiconductor memory device which can prevent unauthorized or erroneous access to the semiconductor memory device.

【0002】[0002]

【従来の技術】不揮発性半導体記憶装置の記憶内容に
は、個人のプライバシーに関わる情報や著作権で保護さ
れる情報など、第三者の読み出しまたは書き換えが望ま
しくないデータが含まれていることがある。また、EE
PROM(電気的消去書込み可能な読出し専用メモリ)な
どの書き換え可能な不揮発性半導体記憶装置では、シス
テムや不揮発性半導体記憶装置自身のノイズ等に起因し
てデータの誤書き換えが起こり得る。これらの期待しな
いメモリ内容のアクセスからメモリ内容を保護するた
め、不揮発性半導体記憶装置にセキュリティ回路を組み
込んだものがある。
2. Description of the Related Art Data stored in a nonvolatile semiconductor memory device may contain data that is not desirable to be read or rewritten by a third party, such as information relating to personal privacy or information protected by copyright. is there. Also, EE
In a rewritable nonvolatile semiconductor memory device such as a PROM (electrically erasable and readable read-only memory), erroneous data rewriting can occur due to noise of the system or the nonvolatile semiconductor memory device itself. In order to protect the memory contents from accessing these unexpected memory contents, there is a nonvolatile semiconductor memory device in which a security circuit is incorporated.

【0003】図5は上記セキュリティ回路が組み込まれ
た不揮発性半導体記憶装置のセキュリティ動作を説明す
る概略ブロック図を示している。
FIG. 5 is a schematic block diagram illustrating a security operation of a nonvolatile semiconductor memory device in which the above security circuit is incorporated.

【0004】図5において、503は外部のシステム
(図示せず)からの入力信号501が入力され、データ入
出力バス502を介して外部のシステムに接続されたイ
ンターフェース回路、506は上記インターフェース回
路503からのアドレス信号504が入力され、インタ
ーフェース回路503にデータ入出力バス505を介し
て接続されたバス制御回路、509は上記バス制御回路
506からのアドレス信号507が入力され、バス制御
回路506にデータ入出力バス508を介して接続され
たメモリ空間である。上記インターフェース部503と
バス制御回路506とでセキュリティ回路を構成してい
る。
In FIG. 5, reference numeral 503 denotes an external system.
(Not shown), and an interface circuit 506 connected to an external system via a data input / output bus 502. An address signal 504 from the interface circuit 503 is input to the interface circuit 506. A bus control circuit connected to the bus control circuit 506 via a data input / output bus 505, an address signal 507 from the bus control circuit 506 is input to the bus control circuit 506, and a memory space connected to the bus control circuit 506 via the data input / output bus 508 It is. The interface section 503 and the bus control circuit 506 constitute a security circuit.

【0005】次に、上記不揮発性半導体記憶装置の読み
出しのセキュリティ動作を説明する。上記不揮発性半導
体記憶装置には、読み出し命令と読み出すアドレスが入
力信号501によって入力される。そして、上記インタ
ーフェイス回路503は、入力信号501を解析して、
読み出し動作が要求されていると、読み出しアドレスを
アドレス信号504によってバス制御回路506に送信
し、バス制御回路506より、出力するデータをデータ
入出力バス505を介して受け取る。このとき、バス制
御回路506は、送られてきたアドレス信号504の示
すアドレスが読み出し動作が許可されているメモリ空間
内にあるか否かを判定する。そして、バス制御回路50
6がアドレス信号504の示すアドレスが読み出しを許
可されていないメモリ空間内に位置すると判定すると、
データ入出力バス505や読み出すアドレス信号507
に何らかの操作を施し、正しくないデータを出力して、
正常な読み出し動作は行わない。一方、アドレス信号5
04の示すアドレスが読み出し許可されているメモリ空
間内に位置するとバス制御回路506が判定すると、バ
ス制御回路506は、アドレス信号507を正しく発行
し、メモリ空間509の指定のアドレスに書かれている
データをデータ入出力バス508を介して読み出して、
データ入出力バス505を介して正しく出力する。そう
して、正しい出力を受け取ったインターフェイス回路5
03は、受け取った正しいデータを外部のシステムに接
続されたデータ入出力バス502に出力する。
Next, a read security operation of the nonvolatile semiconductor memory device will be described. A read command and a read address are input to the nonvolatile semiconductor memory device by an input signal 501. Then, the interface circuit 503 analyzes the input signal 501 and
When a read operation is requested, a read address is transmitted to the bus control circuit 506 by an address signal 504, and data to be output is received from the bus control circuit 506 via the data input / output bus 505. At this time, the bus control circuit 506 determines whether or not the address indicated by the transmitted address signal 504 is in the memory space where the read operation is permitted. Then, the bus control circuit 50
6 determines that the address indicated by the address signal 504 is located in a memory space where reading is not permitted,
Data input / output bus 505 and read address signal 507
Perform some operation on the, output incorrect data,
No normal read operation is performed. On the other hand, address signal 5
When the bus control circuit 506 determines that the address indicated by the address 04 is located in the memory space where reading is permitted, the bus control circuit 506 correctly issues an address signal 507 and the address signal 507 is written at the designated address in the memory space 509. Data is read out via the data input / output bus 508,
Output correctly via the data input / output bus 505. Then, the interface circuit 5 receiving the correct output
03 outputs the received correct data to a data input / output bus 502 connected to an external system.

【0006】なお、正しくないデータを出力する手段と
しては、データ入出力信号に一定の値を出力する手段以
外に、アドレス信号を発生しない手段(特開昭59−1
52599号公報参照)や、アドレス信号を撹乱する手
段(特開昭63−225839号公報参照)および受け取
ったデータを撹乱する手段(特開平6−250929号
公報参照)等がある。
As means for outputting incorrect data, means for not generating an address signal other than means for outputting a fixed value to a data input / output signal (Japanese Patent Laid-Open No. 59-1).
There are means for disturbing the address signal (see JP-A-63-225839) and means for disturbing the received data (see JP-A-6-250929).

【0007】また、図6はパスワードの入力をセキュリ
ティ解除手段とするセキュリティ回路が組み込まれた不
揮発性半導体記憶装置の概略ブロック図である。図6に
おいて、603は外部のシステム(図示せず)からの入力
信号601が入力され、データ入出力バス602を介し
て外部のシステムに接続されたインターフェース回路、
606は上記インターフェース回路603からのアドレ
ス信号604が入力され、上記インターフェース回路6
03にデータ入出力バス605を介して接続されたバス
制御回路、609は上記バス制御回路606からのアド
レス信号607が入力され、上記バス制御回路606に
データ入出力バス608を介して接続されたメモリ空
間、610は固有パスワード信号611を出力する固有
パスワード記憶回路、613は上記固有パスワード記憶
回路610からの固有パスワード信号611および上記
インターフェース回路603からのパスワード信号61
2を受けて、セキュリティ解除信号614をバス制御回
路606に出力する比較回路である。上記インターフェ
ース回路603,バス制御回路606,固有パスワード記
憶回路610および比較回路613でセキュリティ回路
を構成している。
FIG. 6 is a schematic block diagram of a nonvolatile semiconductor memory device in which a security circuit using password input as security releasing means is incorporated. 6, an input circuit 603 receives an input signal 601 from an external system (not shown) and is connected to an external system via a data input / output bus 602.
An address signal 604 from the interface circuit 603 is input to the interface circuit 606.
03, a bus control circuit connected via a data input / output bus 605; 609, an address signal 607 from the bus control circuit 606 is input and connected to the bus control circuit 606 via a data input / output bus 608. A memory space; 610, a unique password storage circuit for outputting a unique password signal 611; 613, a unique password signal 611 from the unique password storage circuit 610; and a password signal 61 from the interface circuit 603.
2 is a comparison circuit that receives the security release signal 2 and outputs a security release signal 614 to the bus control circuit 606. The interface circuit 603, the bus control circuit 606, the unique password storage circuit 610, and the comparison circuit 613 constitute a security circuit.

【0008】次に、上記構成の不揮発性半導体記憶装置
のセキュリティ解除動作を説明する。外部から「パスワ
ード入力コマンド」が入力信号601によりインターフ
ェイス回路603に入力されることで、不揮発性半導体
記憶装置は、データ入出力バス602から「入力パスワ
ード」を受け取る。そして、インターフェイス回路60
3は「入力パスワード」を表すパスワード信号612を
比較回路613に送る。また、固有パスワード記憶回路
610は、「固有パスワード」を記憶しており、その「固
有パスワード」を表す固有パスワード信号611を比較
回路613に送る。そして、上記比較回路613は、
「固有パスワード」を表す固有パスワード信号611と
「入力パスワード」を表すパスワード信号612とを比
較して、固有パスワード信号611とパスワード信号6
12とが一致した場合にはセキュリティ解除信号614
を発行する。そうして、バス制御回路606は、セキュ
リティ解除信号614が発行されると、保護されていた
メモリ空間への以後のアクセスを正常に行う。
Next, the security release operation of the nonvolatile semiconductor memory device having the above configuration will be described. When a “password input command” is externally input to the interface circuit 603 by the input signal 601, the nonvolatile semiconductor memory device receives the “input password” from the data input / output bus 602. Then, the interface circuit 60
3 sends a password signal 612 indicating “input password” to the comparison circuit 613. The unique password storage circuit 610 stores the “unique password” and sends a unique password signal 611 representing the “unique password” to the comparison circuit 613. Then, the comparison circuit 613
By comparing the unique password signal 611 representing the “unique password” with the password signal 612 representing the “input password”, the unique password signal 611 and the password signal 6 are compared.
12 and the security release signal 614
Issue Then, when the security release signal 614 is issued, the bus control circuit 606 normally performs subsequent access to the protected memory space.

【0009】[0009]

【発明が解決しようとする課題】しかしながら、上記不
揮発性半導体記憶装置のセキュリティ解除条件に「固有
パスワード」の入力を利用する手法は、入力信号のプロ
ービングによって「固有パスワード」および「パスワード
入力コマンド」が容易に解明されるという欠点がある。
また、セキュリティ制御用に専用のコマンドを装備する
ことは、入力信号の解析によって解除動作の手法を解明
するための大きな手掛かりとなるという欠点がある。
However, in the method of using the input of the "unique password" for the security release condition of the nonvolatile semiconductor memory device, the "unique password" and the "password input command" are determined by probing the input signal. It has the disadvantage of being easily clarified.
In addition, the provision of a dedicated command for security control has a drawback in that it is a great clue to clarifying the method of the release operation by analyzing the input signal.

【0010】そこで、この発明の目的は、より強固で解
明が困難なセキュリティ機能を有する半導体記憶装置用
セキュリティ回路およびセキュリティシステムを提供す
ることにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a security circuit and a security system for a semiconductor memory device which have a stronger and harder to understand security function.

【0011】[0011]

【課題を解決するための手段】上記目的を達成するた
め、請求項1の半導体記憶装置用セキュリティ回路は、
所定のメモリ空間をセキュリティ設定条件により非活性
化する一方、上記所定のメモリ空間をセキュリティ解除
条件により活性化する半導体記憶装置用セキュリティ回
路において、1または2以上の不定値を生成して、その
不定値を出力する不定値生成部と、上記不定値生成部か
らの上記不定値に基づいて所定の演算を行う演算部と、
外部から入力パスワードが入力されるパスワード入力部
と、上記演算部の演算結果と上記パスワード入力部に入
力された入力パスワードとが一致するか否かを判別する
パスワード判別部と、上記パスワード判別部が上記演算
部の演算結果と上記入力パスワードとが一致したと判別
すると、上記セキュリティ解除条件を満足したとして上
記所定のメモリ空間を活性化するメモリ活性化部とを備
えたことを特徴としている。
In order to achieve the above object, a security circuit for a semiconductor memory device according to claim 1 is provided.
A security circuit for a semiconductor memory device that activates a predetermined memory space according to a security setting condition while activating the predetermined memory space according to a security release condition generates one or two or more indefinite values. An indefinite value generation unit that outputs a value, and an operation unit that performs a predetermined operation based on the indefinite value from the indefinite value generation unit,
A password input unit to which an input password is input from the outside, a password determination unit that determines whether a calculation result of the calculation unit matches the input password input to the password input unit, and a password determination unit. A memory activating unit that activates the predetermined memory space when it is determined that the operation result of the operation unit matches the input password, that the security release condition is satisfied.

【0012】上記請求項1の半導体記憶装置用セキュリ
ティ回路によれば、上記所定のメモリ空間をセキュリテ
ィ設定条件により非活性化した状態から活性化させる場
合、半導体記憶装置をアクセスする外部システムは、上
記不定値生成部により生成された1または2以上の不定
値を読み出し、その不定値に基づいて上記演算部と同じ
所定の演算を行う。次に、上記外部システムにより演算
された演算結果を入力パスワードとして、上記パスワー
ド入力部に入力する。そうすると、上記パスワード判別
部は、上記パスワード判別部が上記演算部の演算結果と
上記入力パスワードとが一致するか否かを判別する。こ
のとき、外部システムから入力された入力パスワード
は、上記不定値に基づいて上記演算部と同じ所定の演算
を行って求めたものであるから、上記演算部の演算結果
と一致する。したがって、上記パスワード判別部は、上
記演算部の演算結果と上記入力パスワードとが一致した
と判別する。そして、上記パスワード判別部が上記演算
部の演算結果と上記入力パスワードとが一致したと判別
すると、上記メモリ活性化部は、セキュリティ解除条件
を満足したとして上記所定のメモリ空間を活性化する。
このようにして、セキュリティ解除毎に上記不定値生成
部による不定値が毎回変わることによって、セキュリテ
ィを解除するための入力パスワードすなわち上記演算部
の演算結果を変えることを可能にする。したがって、保
護されたメモリ空間に対する不正なアクセスが極めて困
難になり、より強固で解明が困難なセキュリティ機能を
有する半導体記憶装置を実現できる。
According to the security circuit for a semiconductor memory device of the first aspect, when the predetermined memory space is activated from a state of being inactivated by a security setting condition, the external system accessing the semiconductor memory device includes: One or more indefinite values generated by the indefinite value generation unit are read out, and the same predetermined operation as that of the operation unit is performed based on the indefinite values. Next, the calculation result calculated by the external system is input to the password input unit as an input password. Then, the password determination unit determines whether or not the password determination unit matches the calculation result of the calculation unit with the input password. At this time, since the input password input from the external system is obtained by performing the same predetermined calculation as that of the arithmetic unit based on the indefinite value, it matches the arithmetic result of the arithmetic unit. Therefore, the password determination unit determines that the calculation result of the calculation unit matches the input password. Then, when the password determination unit determines that the calculation result of the calculation unit matches the input password, the memory activation unit determines that the security release condition is satisfied and activates the predetermined memory space.
In this way, the input value for releasing security, that is, the calculation result of the calculation unit, can be changed by changing the indefinite value by the indefinite value generation unit every time security is released. Therefore, unauthorized access to the protected memory space becomes extremely difficult, and a more robust and difficult-to-understand semiconductor memory device having a security function can be realized.

【0013】また、請求項2の半導体記憶装置用セキュ
リティ回路は、所定のメモリ空間をセキュリティ設定条
件により非活性化する一方、上記所定のメモリ空間をセ
キュリティ解除条件により活性化する半導体記憶装置用
セキュリティ回路において、1または2以上の不定値を
生成して、その不定値を出力する不定値生成部、上記不
定値生成部からの上記不定値に基づいて所定の演算を行
う演算部と、外部からパスワード入力コマンドが入力さ
れるパスワード入力コマンド入力部と、上記演算部の演
算結果と上記パスワード入力コマンド入力部に入力され
たパスワード入力コマンドとが一致するか否かを判別す
るパスワード入力コマンド判別部と、上記パスワード入
力コマンド判別部が上記演算部の演算結果と上記パスワ
ード入力コマンドとが一致したと判別すると、入力パス
ワードを入力するパスワード入力部と、上記パスワード
入力部に入力された上記入力パスワードと予め設定され
た固有パスワードとが一致するか否かを判別するパスワ
ード判別部と、上記パスワード判別部が上記入力パスワ
ードと上記固有パスワードとが一致したと判別すると、
セキュリティ解除条件を満足したとして上記所定のメモ
リ空間を活性化するメモリ活性化部とを備えたことを特
徴としている。
According to a second aspect of the present invention, a security circuit for a semiconductor memory device inactivates a predetermined memory space according to a security setting condition and activates the predetermined memory space according to a security release condition. A circuit for generating one or more indefinite values in the circuit, outputting an indefinite value, an indefinite value generation unit, an operation unit for performing a predetermined operation based on the indefinite value from the indefinite value generation unit, A password input command input unit into which a password input command is input; and a password input command determination unit that determines whether the calculation result of the calculation unit matches the password input command input to the password input command input unit. The password input command discriminating unit is configured to calculate the operation result of the operation unit and the password input command When it is determined that matches, a password input unit that inputs an input password, a password determination unit that determines whether or not the input password input to the password input unit matches a preset unique password, When the password determination unit determines that the input password and the unique password match,
A memory activating unit that activates the predetermined memory space on condition that the security release condition is satisfied.

【0014】上記請求項2の半導体記憶装置用セキュリ
ティ回路によれば、上記所定のメモリ空間をセキュリテ
ィ設定条件により非活性化した状態から活性化させる場
合、半導体記憶装置をアクセスする外部システムは、上
記不定値生成部により生成された1または2以上の不定
値を読み出し、その不定値に基づいて上記演算部と同じ
所定の演算を行う。次に、上記外部システムにより演算
された演算結果をパスワード入力コマンドとして、上記
パスワード入力コマンド入力部に入力する。そうする
と、上記パスワード入力コマンド判別部は、上記演算部
の演算結果と上記パスワード入力コマンドとが一致する
か否かを判別する。このとき、外部システムから入力さ
れたパスワード入力コマンドは、上記不定値に基づいて
上記演算部と同じ所定の演算を行って求めたものである
から、上記演算部の演算結果と一致する。したがって、
上記パスワード入力コマンド判別部は、上記演算部の演
算結果と上記パスワード入力コマンドとが一致したと判
別する。そして、上記パスワード入力コマンド判別部が
上記演算部の演算結果と上記パスワード入力コマンドと
が一致したと判別すると、上記パスワード入力部は、入
力パスワードの入力が許可されて、外部システムからの
入力パスワード(後述する固有パスワードと同じ内容)を
入力する。そうして、上記パスワード判別部が上記入力
パスワードと予め設定された固有パスワードとが一致し
たと判別すると、上記メモリ活性化部は、セキュリティ
解除条件を満足したとして上記所定のメモリ空間を活性
化する。このようにして、セキュリティ解除毎に上記不
定値生成部による不定値が毎回変わることによって、セ
キュリティを解除する入力パスワードを入力ためのパス
ワード入力コマンドすなわち上記演算部の演算結果を変
えることを可能にする。したがって、保護されたメモリ
空間に対する不正なアクセスが極めて困難になり、より
強固で解明が困難なセキュリティ機能を有する半導体記
憶装置を実現できる。
According to the security circuit for a semiconductor memory device of the second aspect, when the predetermined memory space is activated from a state of being inactivated by a security setting condition, the external system accessing the semiconductor memory device includes: One or more indefinite values generated by the indefinite value generation unit are read out, and the same predetermined operation as that of the operation unit is performed based on the indefinite values. Next, the calculation result calculated by the external system is input to the password input command input unit as a password input command. Then, the password input command determination unit determines whether the calculation result of the calculation unit matches the password input command. At this time, since the password input command input from the external system is obtained by performing the same predetermined calculation as that of the arithmetic unit based on the indefinite value, the password input command coincides with the arithmetic result of the arithmetic unit. Therefore,
The password input command determination unit determines that the calculation result of the calculation unit matches the password input command. Then, when the password input command determining unit determines that the calculation result of the calculating unit matches the password input command, the password input unit is permitted to input the input password, and receives the input password ( (The same content as the unique password described later). When the password determining unit determines that the input password matches the preset unique password, the memory activating unit activates the predetermined memory space as satisfying the security release condition. . In this manner, the undefined value generated by the indefinite value generator changes every time security is released, thereby making it possible to change the password input command for inputting the input password for releasing security, that is, the calculation result of the calculation unit. . Therefore, unauthorized access to the protected memory space becomes extremely difficult, and a more robust and difficult-to-understand semiconductor memory device having a security function can be realized.

【0015】また、請求項3の半導体記憶装置用セキュ
リティ回路は、請求項1または2の半導体記憶装置用セ
キュリティ回路において、上記不定値生成部は、生成さ
れた不定値を記憶する書き換え可能な不揮発性メモリセ
ルを有することを特徴としている。
According to a third aspect of the present invention, there is provided a security circuit for a semiconductor memory device according to the first or second aspect, wherein the indefinite value generating section stores the generated indefinite value. Characterized by having a volatile memory cell.

【0016】上記請求項3の半導体記憶装置用セキュリ
ティ回路によれば、上記不定値生成部により生成された
不定値を書き換え可能な不揮発性メモリセルを記憶する
ことによって、電源切断時に不定値がクリアされないで
記憶されるため、半導体記憶装置に何らかの操作の累積
回数を不定値に用いることや、混合合同法により生成さ
れる擬似乱数を不定値に用いることができ、次に不定値
を生成するのに有効となる。
According to the security circuit for a semiconductor memory device of the third aspect, by storing the non-volatile memory cell in which the indefinite value generated by the indefinite value generation section is rewritable, the indefinite value is cleared when the power is turned off. Since it is stored without being stored, the accumulated number of operations in the semiconductor memory device can be used as an indefinite value, or a pseudo-random number generated by a mixed congruential method can be used as an indefinite value. It is effective for

【0017】また、請求項4の半導体記憶装置用セキュ
リティ回路は、所定のメモリ空間をセキュリティ設定条
件により非活性化する一方、上記所定のメモリ空間をセ
キュリティ解除条件により活性化する半導体記憶装置用
セキュリティ回路において、外部から数値が入力される
数値入力部と、上記数値入力部に入力された数値に基づ
いて所定の演算を行う演算部と、外部から入力パスワー
ドが入力されるパスワード入力部と、上記演算部の演算
結果と上記パスワード入力部に入力された上記入力パス
ワードとが一致するか否かを判別するパスワード判別部
と、上記パスワード判別部が上記演算部の演算結果と上
記入力パスワードとが一致したと判別すると、上記セキ
ュリティ解除条件を満足したとして上記所定のメモリ空
間を活性化するメモリ活性化部とを備えたことを特徴と
している。
According to a fourth aspect of the present invention, a security circuit for a semiconductor memory device inactivates a predetermined memory space according to a security setting condition and activates the predetermined memory space according to a security release condition. In the circuit, a numerical value input unit to which a numerical value is externally input, an operation unit that performs a predetermined operation based on the numerical value input to the numerical value input unit, a password input unit to which an input password is externally input, A password discriminating unit for discriminating whether or not the calculation result of the calculating unit matches the input password input to the password input unit; and the password discriminating unit matches the calculation result of the calculating unit with the input password. When it is determined that the security release condition is satisfied, the predetermined memory space is activated. It is characterized in that a re-activation unit.

【0018】上記請求項4の半導体記憶装置用セキュリ
ティ回路によれば、上記所定のメモリ空間をセキュリテ
ィ設定条件により非活性化した状態から活性化させる場
合、半導体記憶装置をアクセスする外部システムから上
記数値入力部に数値を入力し、その数値入力部に入力さ
れた数値に基づいて上記演算部は演算を行う。次に、上
記外部システムは、上記数値に基づいて上記演算部と同
じ演算を行い、その演算結果を入力パスワードとして、
上記パスワード入力部に入力する。そうすると、上記パ
スワード判別部は、上記パスワード判別部が上記演算部
の演算結果と上記入力パスワードとが一致するか否かを
判別する。このとき、外部システムから入力された入力
パスワードは、上記数値入力部に入力した上記数値に基
づいて上記演算部と同じ所定の演算を行って求めたもの
であるから、上記演算部の演算結果と一致する。したが
って、上記パスワード判別部は、上記演算部の演算結果
と上記入力パスワードとが一致したと判別する。そし
て、上記パスワード判別部が上記演算部の演算結果と上
記入力パスワードとが一致したと判別すると、上記メモ
リ活性化部は、セキュリティ解除条件を満足したとして
上記所定のメモリ空間を活性化する。このようにして、
セキュリティ解除毎に上記数値入力部に入力する数値を
変えることによって、セキュリティを解除するための入
力パスワードすなわち上記演算部の演算結果を変えるこ
とを可能にする。したがって、保護されたメモリ空間に
対する不正なアクセスが極めて困難になり、より強固で
解明が困難なセキュリティ機能を有する半導体記憶装置
を実現できる。
According to the security circuit for a semiconductor memory device of the fourth aspect, when the predetermined memory space is activated from the inactive state according to the security setting condition, the numerical value is obtained from an external system accessing the semiconductor memory device. A numerical value is input to the input unit, and the arithmetic unit performs an operation based on the numerical value input to the numerical input unit. Next, the external system performs the same operation as the operation unit based on the numerical value, and uses the operation result as an input password,
Enter the password in the password input section. Then, the password determination unit determines whether or not the password determination unit matches the calculation result of the calculation unit with the input password. At this time, since the input password input from the external system is obtained by performing the same predetermined calculation as the calculation unit based on the numerical value input to the numerical value input unit, the calculation result of the calculation unit and Matches. Therefore, the password determination unit determines that the calculation result of the calculation unit matches the input password. Then, when the password determination unit determines that the calculation result of the calculation unit matches the input password, the memory activation unit determines that the security release condition is satisfied and activates the predetermined memory space. In this way,
By changing the numerical value input to the numerical value input unit every time security is released, it is possible to change the input password for releasing security, that is, the calculation result of the arithmetic unit. Therefore, unauthorized access to the protected memory space becomes extremely difficult, and a more robust and difficult-to-understand semiconductor memory device having a security function can be realized.

【0019】また、請求項5の半導体記憶装置用セキュ
リティ回路は、所定のメモリ空間をセキュリティ設定条
件により非活性化する一方、上記所定のメモリ空間をセ
キュリティ解除条件により活性化する半導体記憶装置用
セキュリティ回路において、外部から数値が入力される
数値入力部と、上記数値入力部に入力された数値に基づ
いて所定の演算を行う演算部と、外部からパスワード入
力コマンドが入力されるパスワード入力コマンド入力部
と、上記演算部の演算結果と上記パスワード入力コマン
ド入力部に入力されたパスワード入力コマンドとが一致
するか否かを判別するパスワード入力コマンド判別部
と、上記パスワード入力コマンド判別部が上記演算部の
演算結果と上記パスワード入力コマンドとが一致したと
判別すると、入力パスワードを入力するパスワード入力
部と、上記パスワード入力部に入力された上記入力パス
ワードと予め設定された固有パスワードとが一致するか
否かを判別するパスワード判別部と、上記パスワード判
別部が上記入力パスワードと上記固有パスワードとが一
致したと判別すると、上記セキュリティ解除条件を満足
したとして上記所定のメモリ空間を活性化するメモリ活
性化部とを備えたことを特徴としている。
According to a fifth aspect of the present invention, a security circuit for a semiconductor memory device inactivates a predetermined memory space according to a security setting condition and activates the predetermined memory space according to a security release condition. A circuit for inputting a numerical value from the outside; a calculating unit for performing a predetermined operation based on the numerical value input to the numerical input unit; and a password input command input unit for receiving a password input command from the outside A password input command determining unit that determines whether a calculation result of the calculation unit matches the password input command input to the password input command input unit; and If it is determined that the calculation result matches the password input command, the input password is determined. A password input unit for inputting a password, a password discriminating unit for discriminating whether or not the input password inputted to the password input unit matches a preset unique password; and And a memory activating unit that activates the predetermined memory space when it is determined that the password and the unique password match, and determines that the security release condition is satisfied.

【0020】上記請求項5の半導体記憶装置用セキュリ
ティ回路によれば、上記所定のメモリ空間をセキュリテ
ィ設定条件により非活性化した状態から活性化させる場
合、半導体記憶装置をアクセスする外部システムから上
記数値入力部に数値を入力し、その数値入力部に入力さ
れた数値に基づいて上記演算部は演算を行う。次に、外
部システムは、上記数値に基づいて上記演算部と同じ演
算を行い、その演算結果をパスワード入力コマンドとし
て、上記パスワード入力コマンド入力部に入力する。そ
うすると、上記パスワード入力コマンド判別部は、上記
演算部の演算結果と上記パスワード入力コマンドとが一
致するか否かを判別する。このとき、外部システムから
入力されたパスワード入力コマンドは、上記数値に基づ
いて上記演算部と同じ所定の演算を行って求めたもので
あるから、上記演算部の演算結果と一致する。したがっ
て、上記パスワード入力コマンド判別部は、上記演算部
の演算結果と上記パスワード入力コマンドとが一致した
と判別する。そして、上記パスワード入力コマンド判別
部が上記演算部の演算結果と上記パスワード入力コマン
ドとが一致したと判別すると、上記パスワード入力部
は、入力パスワードの入力が許可されて、外部システム
からの入力パスワード(後述する固有パスワードと同じ
内容)を入力する。そうして、上記パスワード判別部が
上記入力パスワードと予め設定された固有パスワードと
が一致したと判別すると、上記メモリ活性化部は、セキ
ュリティ解除条件を満足したとして上記所定のメモリ空
間を活性化する。セキュリティ解除毎に上記数値入力部
に入力する数値を変えることによって、セキュリティを
解除する入力パスワードの入力ためのパスワード入力コ
マンドすなわち上記演算部の演算結果を変えることを可
能にする。したがって、保護されたメモリ空間に対する
不正なアクセスが極めて困難になり、より強固で解明が
困難なセキュリティ機能を有する半導体記憶装置を実現
できる。
According to the security circuit for a semiconductor memory device of the present invention, when the predetermined memory space is activated from a state of being inactivated by a security setting condition, the numerical value is obtained from an external system accessing the semiconductor memory device. A numerical value is input to the input unit, and the arithmetic unit performs an operation based on the numerical value input to the numerical input unit. Next, the external system performs the same operation as the operation unit based on the numerical value, and inputs the operation result to the password input command input unit as a password input command. Then, the password input command determination unit determines whether the calculation result of the calculation unit matches the password input command. At this time, since the password input command input from the external system is obtained by performing the same predetermined calculation as that of the arithmetic unit based on the numerical value, it matches the arithmetic result of the arithmetic unit. Therefore, the password input command determination unit determines that the calculation result of the calculation unit matches the password input command. Then, when the password input command determining unit determines that the calculation result of the calculating unit matches the password input command, the password input unit is permitted to input the input password, and receives the input password ( (The same content as the unique password described later). When the password determining unit determines that the input password matches the preset unique password, the memory activating unit activates the predetermined memory space as satisfying the security release condition. . By changing the numerical value input to the numerical value input unit every time security is released, it is possible to change a password input command for inputting an input password for releasing security, that is, a calculation result of the arithmetic unit. Therefore, unauthorized access to the protected memory space becomes extremely difficult, and a more robust and difficult-to-understand semiconductor memory device having a security function can be realized.

【0021】また、請求項6の半導体記憶装置用セキュ
リティ回路は、請求項1,2,4または5のいずれか1つ
の半導体記憶装置用セキュリティ回路において、上記演
算部は、所定の条件で設定された定数を記憶する書き換
え可能な不揮発性メモリセルを有し、その書き換え可能
な不揮発性メモリセルに記憶された定数を演算に用いる
ことを特徴としている。
According to a sixth aspect of the present invention, in the security circuit for a semiconductor memory device according to any one of the first, second, fourth, and fifth aspects, the arithmetic unit is set under a predetermined condition. A rewritable nonvolatile memory cell for storing a constant stored therein, and using a constant stored in the rewritable nonvolatile memory cell for calculation.

【0022】上記請求項6の半導体記憶装置用セキュリ
ティ回路によれば、上記不揮発性メモリセルに記憶され
た定数を書き換えることによって、上記演算部の演算内
容を変更することが容易にできる。
According to the security circuit for a semiconductor memory device of the sixth aspect, it is possible to easily change the operation content of the operation unit by rewriting the constant stored in the nonvolatile memory cell.

【0023】また、請求項7の半導体記憶装置用セキュ
リティ回路は、請求項1または4の半導体記憶装置用セ
キュリティ回路において、上記パスワード判別部が上記
演算部の演算結果と上記パスワード入力部に入力された
上記入力パスワードとが一致しないと判別すると、上記
演算部は、その演算結果にさらに演算を加えて、演算結
果を変更することを特徴としている。
According to a seventh aspect of the present invention, in the security circuit for a semiconductor storage device according to the first or fourth aspect, the password discriminating unit is inputted to the password input unit and the operation result of the operation unit. When it is determined that the input password does not match, the arithmetic unit further performs an operation on the operation result to change the operation result.

【0024】上記請求項7の半導体記憶装置用セキュリ
ティ回路によれば、上記演算部の演算結果と上記入力パ
スワードとが一致しなかった場合に、上記演算部の演算
結果にさらに演算を加えて、演算結果を変更するので、
パスワード入力コマンドや入力パスワードの組み合わせ
の全てを試行することによりセキュリティ解除条件が解
明されるのを防止できる。
According to the security circuit for a semiconductor storage device of the present invention, when the operation result of the operation unit does not match the input password, the operation result is further added to the operation result of the operation unit. Since the calculation result is changed,
By trying all combinations of the password input command and the input password, the security release condition can be prevented from being clarified.

【0025】また、請求項8の半導体記憶装置用セキュ
リティ回路は、請求項2または5の半導体記憶装置用セ
キュリティ回路において、上記パスワード入力コマンド
判別部が上記演算部の演算結果と上記パスワード入力コ
マンド入力部に入力されたパスワード入力コマンドとが
一致しない判別すると、上記演算部は、その演算結果に
さらに演算を加えて、演算結果を変更することを特徴と
している。
According to a second aspect of the present invention, in the security circuit for a semiconductor memory device according to the second or fifth aspect, the password input command discriminating section is configured to determine a result of the operation by the operation section and the password input command input. When it is determined that the password input command does not match the password input command input to the unit, the operation unit further performs an operation on the operation result to change the operation result.

【0026】上記請求項8の半導体記憶装置用セキュリ
ティ回路によれば、上記演算部の演算結果と上記パスワ
ード入力コマンドとが一致しなかった場合に、上記演算
部の演算結果にさらに演算を加えて、演算結果を変更す
るので、パスワード入力コマンドや入力パスワードの組
み合わせの全てを試行することによりセキュリティ解除
条件が解明されるのを防止できる。
According to the security circuit for a semiconductor memory device of the present invention, when the operation result of the operation unit does not match the password input command, the operation result is further added to the operation result of the operation unit. Since the calculation result is changed, it is possible to prevent the security release condition from being clarified by trying all combinations of the password input command and the input password.

【0027】また、請求項9の半導体記憶装置用セキュ
リティ回路は、請求項1,2,4または5のいずれか1つ
の半導体記憶装置用セキュリティ回路において、所定の
条件で設定された鍵アドレスが選択されると、上記演算
部は、その演算結果にさらに演算を加えて、演算結果を
変更することを特徴としている。
According to a ninth aspect of the present invention, there is provided a security circuit for a semiconductor memory device according to any one of the first, second, fourth, and fifth aspects, wherein a key address set under predetermined conditions is selected. Then, the operation unit adds another operation to the operation result to change the operation result.

【0028】上記請求項9の半導体記憶装置用セキュリ
ティ回路によれば、セキュリティ制御とは一見関係のな
い鍵アドレスの選択によって、上記演算部の演算結果に
さらに演算を加えて、演算結果を変更するので、第三者
がセキュリティ解除条件を解明することが困難になる。
According to the security circuit for a semiconductor storage device of the ninth aspect, the operation result is changed by further performing an operation on the operation result of the operation unit by selecting a key address that has no apparent relation to the security control. Therefore, it becomes difficult for a third party to understand the security release condition.

【0029】また、請求項10の半導体記憶装置用セキ
ュリティ回路は、請求項1乃至9のいずれか1つの半導
体記憶装置用セキュリティ回路において、上記演算部の
演算結果を記憶する書き換え可能な不揮発性メモリセル
を備えたことを特徴としている。
According to a tenth aspect of the present invention, there is provided a security circuit for a semiconductor storage device according to any one of the first to ninth aspects, wherein the rewritable nonvolatile memory stores an operation result of the operation unit. It is characterized by having a cell.

【0030】上記請求項10の半導体記憶装置用セキュ
リティ回路によれば、上記演算部の演算結果を書き換え
可能な不揮発性メモリセルを記憶することによって、電
源切断時に演算結果がクリアされないで記憶されるた
め、次にその演算結果を用いて演算内容を変えることが
可能となり、第三者がセキュリティ解除条件を解明する
ことが困難になる。
According to the security circuit for a semiconductor memory device of the tenth aspect, by storing the non-volatile memory cell in which the operation result of the operation unit is rewritable, the operation result is stored without being cleared when the power is turned off. Therefore, it is possible to change the operation content using the operation result next time, and it becomes difficult for a third party to clarify the security release condition.

【0031】また、請求項11の半導体記憶装置用セキ
ュリティ回路は、請求項9の半導体記憶装置用セキュリ
ティ回路において、上記鍵アドレスを書き換え可能な不
揮発性メモリセルに記憶することを特徴としている。
Further, a security circuit for a semiconductor memory device according to claim 11 is the security circuit for a semiconductor memory device according to claim 9, wherein the key address is stored in a rewritable nonvolatile memory cell.

【0032】上記請求項11の半導体記憶装置用セキュ
リティ回路によれば、上記鍵アドレスを書き換え可能な
不揮発性メモリセルに記憶することによって、セキュリ
ティ解除のたびに鍵アドレスを変更することができ、不
正にセキュリティが解除されるのをより確実に防止でき
る。
According to the security circuit for a semiconductor memory device of the eleventh aspect, by storing the key address in the rewritable nonvolatile memory cell, it is possible to change the key address every time security is released. Security can be more reliably prevented from being released.

【0033】また、請求項12の半導体記憶装置用セキ
ュリティ回路は、請求項11の半導体記憶装置用セキュ
リティ回路において、上記鍵アドレスを記憶する書き換
え可能な不揮発性メモリセルとして、半導体記憶装置の
メモリの一部を構成する冗長メモリセルを用いたことを
特徴としている。
The security circuit for a semiconductor memory device according to the twelfth aspect of the present invention is the security circuit for a semiconductor memory device according to the eleventh aspect, wherein the rewritable nonvolatile memory cell for storing the key address includes It is characterized in that redundant memory cells constituting a part thereof are used.

【0034】上記請求項12の半導体記憶装置用セキュ
リティ回路によれば、半導体記憶装置のメモリの一部を
構成する冗長メモリセルのうちの使用されない冗長メモ
リセルに、上記鍵アドレスを記憶することによって、上
記鍵アドレスの記憶用に別にメモリセルを設ける必要が
なくなり、コストダウンが図れる。
According to the security circuit for a semiconductor memory device of the twelfth aspect, the key address is stored in unused redundant memory cells among redundant memory cells constituting a part of the memory of the semiconductor memory device. Therefore, it is not necessary to provide a separate memory cell for storing the key address, and the cost can be reduced.

【0035】また、請求項13の半導体記憶装置用セキ
ュリティ回路は、請求項11の半導体記憶装置用セキュ
リティ回路において、上記鍵アドレスを記憶する書き換
え可能な不揮発性メモリセルとして、所定の条件で設定
されたアドレスに割り当てられたメモリセルを用いたこ
とを特徴としている。
According to a thirteenth aspect of the present invention, in the security circuit for a semiconductor storage device according to the eleventh aspect, the rewritable nonvolatile memory cell for storing the key address is set under a predetermined condition. A memory cell assigned to the assigned address.

【0036】上記請求項13の半導体記憶装置用セキュ
リティ回路によれば、半導体記憶装置のメモリの所定の
条件で設定されたアドレスに割り当てられたメモリセル
に、上記鍵アドレスを記憶することによって、上記鍵ア
ドレスの記憶用に別にメモリセルを設ける必要がなくな
り、コストダウンが図れる。
According to the security circuit for a semiconductor memory device of the thirteenth aspect, the key address is stored in a memory cell assigned to an address set under a predetermined condition in a memory of the semiconductor memory device. It is not necessary to provide a separate memory cell for storing the key address, and the cost can be reduced.

【0037】また、請求項14のセキュリティシステム
は、請求項1乃至13のいずれか1つの半導体記憶装置
用セキュリティ回路と、半導体記憶装置を含む複数の半
導体装置とを備えたセキュリティシステムであって、上
記各半導体装置の少なくとも1つは、上記半導体記憶装
置の所定のメモリ空間を非活性化するセキュリティ設定
部を有し、上記半導体記憶装置は、上記半導体記憶装置
用セキュリティ回路の上記メモリ活性化部を有し、上記
各半導体装置の少なくとも1つは、上記半導体記憶装置
用セキュリティ回路から上記メモリ活性化部を除いた構
成のセキュリティ解除部を有することを特徴としてい
る。
A security system according to a fourteenth aspect is a security system comprising the security circuit for a semiconductor memory device according to any one of the first to thirteenth aspects, and a plurality of semiconductor devices including the semiconductor memory device. At least one of the semiconductor devices has a security setting unit for deactivating a predetermined memory space of the semiconductor storage device, and the semiconductor storage device is provided with the memory activation unit of the security circuit for the semiconductor storage device. Wherein at least one of the semiconductor devices includes a security release unit having a configuration obtained by removing the memory activation unit from the security circuit for the semiconductor storage device.

【0038】上記請求項14のセキュリティシステムに
よれば、上記セキュリティ解除部を有する上記半導体装
置において、セキュリティ解除部のセキュリティ解除条
件が満足すると、セキュリティ解除部よりセキュリティ
を解除するセキュリティ解除信号を上記半導体記憶装置
の上記メモリ活性化部に出力する。そうして、セキュリ
ティ解除信号を受けたメモリ活性化部は、上記半導体記
憶装置の所定のメモリ空間を活性化する。したがって、
より強固で解明が困難なセキュリティ機能を有するセキ
ュリティシステムを実現できる。
According to the security system of the present invention, in the semiconductor device having the security release unit, when the security release condition of the security release unit is satisfied, the security release signal is transmitted from the security release unit to the semiconductor device. Output to the memory activation unit of the storage device. Then, the memory activation unit receiving the security release signal activates a predetermined memory space of the semiconductor memory device. Therefore,
It is possible to realize a security system having a security function that is more robust and difficult to understand.

【0039】また、請求項15のセキュリティシステム
は、請求項14のセキュリティシステムにおいて、上記
セキュリティ解除部を有する上記半導体装置は複数であ
って、上記半導体記憶装置の上記メモリ活性化部は、複
数の上記半導体装置の上記セキュリティ解除部からのセ
キュリティ解除信号に基づいて所定のメモリ空間を活性
化することを特徴としている。
According to a fifteenth aspect of the present invention, in the security system according to the fourteenth aspect, the semiconductor device having the security release section is plural, and the memory activating section of the semiconductor memory device is plural. A predetermined memory space is activated based on a security release signal from the security release unit of the semiconductor device.

【0040】上記請求項15のセキュリティシステムに
よれば、上記セキュリティ解除部を有する各半導体装置
において、セキュリティ解除部のセキュリティ解除条件
が満足すると、各半導体装置のセキュリティ解除部より
上記セキュリティ解除信号を半導体記憶装置の上記メモ
リ活性化部に夫々出力する。そうして、各半導体記憶装
置からのセキュリティ解除信号を受けたメモリ活性化部
は、上記半導体記憶装置の所定のメモリ空間を活性化す
る。例えば、このセキュリティ解除部を有する全ての半
導体装置でセキュリティ解除条件を満足しない場合は、
メモリ活性化部が半導体記憶装置のメモリ空間を活性化
しないようにすることによって、セキュリティ機能をよ
り強固にできる。なお、セキュリティ解除部を有する半
導体装置の少なくとも1つがセキュリティ解除条件を満
足したとき、メモリ活性化部によりメモリ空間を活性化
してもよい。
According to the security system of the present invention, in each of the semiconductor devices having the security release unit, when the security release condition of the security release unit is satisfied, the security release signal of each semiconductor device is transmitted from the semiconductor release device to the semiconductor device. The data is output to the memory activation unit of the storage device. Then, the memory activating unit that has received the security release signal from each semiconductor storage device activates a predetermined memory space of the semiconductor storage device. For example, if all the semiconductor devices having the security release unit do not satisfy the security release condition,
By preventing the memory activation unit from activating the memory space of the semiconductor memory device, the security function can be further strengthened. When at least one of the semiconductor devices having the security release unit satisfies the security release condition, the memory activation unit may activate the memory space.

【0041】[0041]

【発明の実施の形態】以下、この発明の半導体記憶装置
用セキュリティ回路およびセキュリティシステムを図示
の実施の形態により詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, a security circuit and a security system for a semiconductor memory device according to the present invention will be described in detail with reference to the illustrated embodiments.

【0042】(第1実施形態)図1はこの発明の第1実
施形態の半導体記憶装置用セキュリティ回路を用いた不
揮発性半導体記憶装置の構成を示す概略ブロック図であ
る。図1において、3は外部のシステム(図示せず)から
の入力信号1が入力され、外部のシステムにデータ入出
力バス2を介して接続されたインターフェース回路、6
は上記インターフェース回路3からのアドレス信号4が
入力され、上記インターフェース回路3にデータ入出力
バス5を介して接続されたメモリ活性化部としてのバス
制御回路、9は上記バス制御回路6からのアドレス信号
7が入力され、上記バス制御回路6にデータ入出力バス
8を介して接続されたメモリ空間である。上記メモリ空
間9は、この不揮発性半導体記憶装置の全メモリ領域で
もよいし、メモリ領域の一部でもよい。また、16は上
記インターフェース回路3からの不定値生成命令信号1
5を受けて、不定値出力信号17を上記インターフェー
ス回路3に出力する不定値生成部としての不定値生成回
路、20は上記不定値生成回路16からの不定値出力信
号17と上記インターフェース回路3からの追加演算命
令信号18とを受けて、パスワード入力コマンド信号1
9をインターフェース回路3に出力すると共に、固有パ
スワード信号21を出力する演算部としての演算回路、
13は上記演算回路20からの固有パスワード信号21
と上記インターフェース回路3からのパスワード信号1
2とを受けて、セキュリティ解除信号14を上記バス制
御回路6に出力するパスワード判別部としての比較回路
である。上記インターフェース回路3は、パスワード入
力部,パスワード入力コマンド入力部およびパスワード
入力コマンド判別部を兼ねている。また、上記インター
フェース回路3,バス制御回路6,不定値生成回路16,
演算回路20および比較回路13で半導体記憶装置用セ
キュリティ回路を構成している。
(First Embodiment) FIG. 1 is a schematic block diagram showing a configuration of a nonvolatile semiconductor memory device using a security circuit for a semiconductor memory device according to a first embodiment of the present invention. In FIG. 1, reference numeral 3 denotes an interface circuit which receives an input signal 1 from an external system (not shown) and is connected to the external system via a data input / output bus 2;
Is a bus control circuit as a memory activating unit which receives an address signal 4 from the interface circuit 3 and is connected to the interface circuit 3 via a data input / output bus 5; A memory space to which a signal 7 is input and connected to the bus control circuit 6 via a data input / output bus 8. The memory space 9 may be the entire memory area of the nonvolatile semiconductor memory device or a part of the memory area. Reference numeral 16 denotes an indefinite value generation instruction signal 1 from the interface circuit 3.
5, an indefinite value generation circuit as an indefinite value generation section that outputs an indefinite value output signal 17 to the interface circuit 3; and an indefinite value output signal 17 from the indefinite value generation circuit 16 and the indefinite value output signal 17 from the interface circuit 3. Of the password input command signal 1
9 to the interface circuit 3 and an arithmetic circuit as an arithmetic unit for outputting the unique password signal 21;
13 is a unique password signal 21 from the arithmetic circuit 20
And the password signal 1 from the interface circuit 3
2 is a comparison circuit serving as a password discriminating unit that outputs a security release signal 14 to the bus control circuit 6 in response to the request. The interface circuit 3 also functions as a password input unit, a password input command input unit, and a password input command determination unit. Further, the interface circuit 3, the bus control circuit 6, the indefinite value generation circuit 16,
The arithmetic circuit 20 and the comparison circuit 13 constitute a security circuit for a semiconductor memory device.

【0043】上記構成の不揮発性半導体記憶装置におい
て、セキュリティが設定された状態では、バス制御回路
6によってメモリ空間9へのアクセスは正常に動作しな
い。このセキュリティが設定された状態からセキュリテ
ィを解除するために、まず外部から「不定値生成コマン
ド」を入力信号1によりインターフェイス回路3に入力
する。上記インターフェイス回路3は、この「不定値生
成コマンド」を受けると、不定値生成回路16に対して
不定値生成命令信号15を発行する。
In the nonvolatile semiconductor memory device having the above configuration, when security is set, access to the memory space 9 by the bus control circuit 6 does not operate normally. In order to release the security from the state where the security is set, first, an “undefined value generation command” is externally input to the interface circuit 3 by the input signal 1. When receiving the “undefined value generation command”, the interface circuit 3 issues an undefined value generation command signal 15 to the undefined value generation circuit 16.

【0044】次に、上記不定値生成命令信号15を受け
た不定値生成回路16は、不定値を生成して、その不定
値をインターフェイス回路3と演算回路20とに送る。
上記インターフェイス回路3は、外部から「不定値読み
出しコマンド」が入力されると、現在設定されている不
定値をデータ入出力バス2を介して外部に出力する。そ
して、上記演算回路20は、不定値生成回路16から送
られた不定値出力信号17を元に特定の演算を施すこと
により、「パスワード入力コマンド」と「固有パスワー
ド」とを生成し、「固有パスワード」を表すパスワード
信号21を比較回路13に送信し、「パスワード入力コ
マンド」を表すパスワード入力コマンド信号19をイン
ターフェイス回路3に送信する。また、上記インターフ
ェイス回路3は、外部から入力された制御信号がパスワ
ード入力コマンド信号19と一致すると、外部からの
「入力パスワード」の入力を受けて、「入力パスワード」
を表すパスワード信号12を比較回路13に送信する。
次に、比較回路13は、演算回路20で生成された「固
有パスワード」を表す固有パスワード信号21と「入力
パスワード」を表すパスワード信号12とを比較して、
固有パスワード信号21とパスワード信号12とが一致
すると、セキュリティ解除信号14を発行する。そし
て、上記バス制御回路6がセキュリティ解除信号14を
受け取ると、バス制御回路6はセキュリティを解除し、
保護されていたメモリ空間への以後のアクセスを正常に
実行する。
Next, the indefinite value generation circuit 16 receiving the indefinite value generation command signal 15 generates an indefinite value, and sends the indefinite value to the interface circuit 3 and the arithmetic circuit 20.
When an “undefined value read command” is input from outside, the interface circuit 3 outputs the currently set undefined value to the outside via the data input / output bus 2. The arithmetic circuit 20 generates a “password input command” and a “unique password” by performing a specific operation based on the indefinite value output signal 17 sent from the indefinite value generation circuit 16, A password signal 21 representing “password” is transmitted to the comparison circuit 13, and a password input command signal 19 representing “password input command” is transmitted to the interface circuit 3. When the control signal input from the outside matches the password input command signal 19, the interface circuit 3 receives the input of the “input password” from the outside and outputs the “input password”.
Is transmitted to the comparison circuit 13.
Next, the comparison circuit 13 compares the unique password signal 21 representing the “unique password” generated by the arithmetic circuit 20 with the password signal 12 representing the “input password”.
When the unique password signal 21 and the password signal 12 match, a security release signal 14 is issued. When the bus control circuit 6 receives the security release signal 14, the bus control circuit 6 releases the security,
Perform subsequent access to the protected memory space normally.

【0045】したがって、セキュリティを解除するため
に外部のシステムは、この不揮発性半導体記憶装置から
不定値を読み出し、演算回路20と同じ演算を実行し
て、「パスワード入力コマンド」と「固有パスワード」を
計算する。そうして、外部のシステムの演算結果と半導
体装置内部の演算結果が一致したときのみセキュリティ
解除が可能になる。したがって、保護されたメモリ空間
9に対する不正なアクセスが極めて困難になり、より強
固で解明が困難なセキュリティ機能を有する不揮発性半
導体記憶装置を実現することができる。
Therefore, in order to release the security, an external system reads an indefinite value from this nonvolatile semiconductor memory device, executes the same operation as that of the arithmetic circuit 20, and generates a “password input command” and a “unique password”. calculate. Thus, security can be released only when the operation result of the external system matches the operation result inside the semiconductor device. Therefore, unauthorized access to the protected memory space 9 becomes extremely difficult, and a non-volatile semiconductor memory device having a stronger and harder to understand security function can be realized.

【0046】また、上記インターフェイス部3は、外部
から特定の命令を受けると、追加演算命令信号18を発
行し、それを受け取った演算回路20は、現在の「パス
ワード入力コマンド」および「固有パスワード」にさら
なる演算を加えることで、同一の不定値が生成されたと
きでも、その後の外部からの操作により「パスワード入
力コマンド」および「固有パスワード」を変更すること
ができる。上記追加演算命令信号18の発行条件として
は、例えば鍵アドレスの選択やID読み出し命令等のセ
キュリティ制御とは一見無関係の制御を利用することに
よって、セキュリティ解除条件が解明されることをより
困難にできる。なお、追加演算命令信号18を利用する
ときは、外部のシステムも追加演算の発生する条件,追
加演算の内容を把握しておく必要がある。
When the interface unit 3 receives a specific command from the outside, it issues an additional operation command signal 18, and upon receiving the signal, the operation circuit 20 sends the current "password input command" and "unique password". Further, even when the same indefinite value is generated, the “password input command” and the “unique password” can be changed by an external operation. As a condition for issuing the additional operation command signal 18, for example, a control that is seemingly unrelated to security control such as selection of a key address or an ID read command can be used to make it more difficult to clarify the security release condition. . When the additional operation command signal 18 is used, it is necessary for an external system to know the conditions under which the additional operation occurs and the contents of the additional operation.

【0047】また、上記鍵アドレスを書き換え可能な不
揮発性メモリセルに記憶することによって、セキュリテ
ィ解除を行うたびに鍵アドレスを毎回変更することがで
き、不正にセキュリティが解除されるのをより確実に防
止することができる。
Further, by storing the key address in a rewritable nonvolatile memory cell, the key address can be changed every time security is released, so that unauthorized release of security can be ensured. Can be prevented.

【0048】また、上記鍵アドレスを記憶する書き換え
可能な不揮発性メモリセルを不揮発性半導体記憶装置の
メモリの一部を構成する冗長メモリセルのうちの使用さ
れない冗長メモリセルに鍵アドレスを記憶するか、また
は、所定の条件で設定されたアドレスに割り当てられた
メモリセルに鍵アドレスを記憶することによって、鍵ア
ドレスの記憶用に別にメモリセルを設ける必要がなくな
り、コストダウンが図れる。
The rewritable nonvolatile memory cell for storing the key address may be stored in an unused redundant memory cell among redundant memory cells constituting a part of the memory of the nonvolatile semiconductor memory device. Alternatively, by storing a key address in a memory cell assigned to an address set under a predetermined condition, it is not necessary to provide a separate memory cell for storing the key address, and cost can be reduced.

【0049】また、この第1実施形態によれば、「パス
ワード入力コマンド」および「固有パスワード」の組み
合わせを全て試行することによりセキュリティが解除さ
れるのを防止するため、「パスワード入力コマンド」や
「固有パスワード」が演算結果と一致しなかった場合に
不定値を新規に生成するか、または、追加演算命令信号
18を発行することによって、「パスワード入力コマン
ド」や「固有パスワード」を更新することができる。し
たがって、「パスワード入力コマンド」や「固有パスワー
ド」を変化させることが可能になるため、入力信号のプ
ロービングだけでセキュリティ解除条件が解明されるこ
とが困難なる。
According to the first embodiment, in order to prevent the security from being released by trying all combinations of the "password input command" and the "unique password", the "password input command" and the "password input command" If the “unique password” does not match the operation result, an undefined value is newly generated, or the additional operation instruction signal 18 is issued to update the “password input command” or the “unique password”. it can. Therefore, since the "password input command" and the "unique password" can be changed, it is difficult to clarify the security release condition only by probing the input signal.

【0050】また、上記演算回路20で実行される演算
に書き換え可能な不揮発性メモリセルに記憶された定数
を用いることにより、その書き換え可能な不揮発性メモ
リセルの内容を書き換えることで演算を変更することが
可能になる。特に、EEPROM等の書き換え可能な不
揮発性メモリセルを利用することで、チップ毎に異なる
演算方法を利用することや演算方法を後から変更するこ
とが容易になる。
Further, by using the constant stored in the rewritable nonvolatile memory cell for the operation executed by the arithmetic circuit 20, the operation is changed by rewriting the contents of the rewritable nonvolatile memory cell. It becomes possible. In particular, by using a rewritable nonvolatile memory cell such as an EEPROM, it becomes easy to use a different calculation method for each chip or to change the calculation method later.

【0051】また、「パスワード入力コマンド」と「固有
パスワード」は、必ずしもその両方ともに演算結果を用
いる必要はなく、どちらか一方を固定にしてもよい。上
記「パスワード入力コマンド」または「固有パスワード」
のいずれか一方を固定することにより安全性は減少する
が、セキュリティ解除の手間は低減できる。
It is not always necessary to use the operation result for both the “password input command” and the “unique password”, and one of them may be fixed. The above "password input command" or "unique password"
The security is reduced by fixing either one of them, but the trouble of releasing the security can be reduced.

【0052】また、利用する「不定値」および「パスワー
ド」は単一である必要はなく、複数の「不定値」および
「パスワード」を設定することができる。この場合、
「不定値」および「パスワード」の組み合わせが増大する
ことによって、偶発的にセキュリティ解除条件が解明さ
れる確率は低くなる。
The "undefined value" and "password" to be used do not need to be a single value, and a plurality of "undefined values" and "passwords" can be set. in this case,
By increasing the combination of the “undefined value” and the “password”, the probability that the security release condition is accidentally solved is reduced.

【0053】図2はこの第1実施形態の不定値生成回路
16(図1に示す)の具体例の概略ブロック図を示してお
り、31は電源電圧、32は電源投入検知回路、33は
電源投入信号、34はカウンター回路、35は累計電源
投入回数の読み出しデータバス、36は累計電源投入回
数の書き込みデータバス、37は書き換え可能な不揮発
性メモリセルである。この不定値生成回路では、書き換
え可能な不揮発性メモリセルを設けることにより、「不
定値」として累積電源投入回数を利用する。
FIG. 2 is a schematic block diagram of a specific example of the indefinite value generating circuit 16 (shown in FIG. 1) according to the first embodiment. Reference numeral 31 denotes a power supply voltage; 32, a power-on detection circuit; An input signal, 34 is a counter circuit, 35 is a read data bus for the total number of power-on times, 36 is a write data bus for the total number of power-on times, and 37 is a rewritable nonvolatile memory cell. In this indefinite value generation circuit, by providing a rewritable nonvolatile memory cell, the cumulative power-on count is used as the “undefined value”.

【0054】次に、上記不定値生成回路の動作を説明す
る。図1に示す不揮発性半導体記憶装置の電源投入時、
電源投入検知回路32は、電源31の投入を検知して電
源投入信号33を発行する。そして、上記カウンター回
路34は、電源投入信号33を受け取ると、それまでの
累積電源投入回数を不揮発性メモリセル37から累計電
源投入回数の読み出しデータバス35を介して読み出
し、それをインクリメントして不揮発性メモリセル37
に累計電源投入回数の書き込みデータバス36を介して
書き込む。この不揮発性メモリセル37に記憶された累
積電源投入回数は、電源投入時に毎回変化するので、第
1実施形態で使用する「不定値」として利用することが
可能である。「不定値」や演算結果を不揮発性メモリセ
ル37に書き込むことは、次の「不定値」を生成するた
めに非常に有効である。電源切断時にクリアされないた
め、不揮発性半導体記憶装置に対するなんらかの操作
(例えば図2で示した電源投入等)の累積回数を「不定
値」に用いることや、混合合同法によって生成される疑
似乱数を「不定値」に用いてもよい。
Next, the operation of the indefinite value generating circuit will be described. When the power supply of the nonvolatile semiconductor memory device shown in FIG.
The power-on detection circuit 32 detects power-on and issues a power-on signal 33. When the counter circuit 34 receives the power-on signal 33, the counter circuit 34 reads the cumulative power-on count from that time through the read data bus 35 of the total power-on count from the non-volatile memory cell 37, and increments the read count by turning it on. Memory cell 37
Is written via the write data bus 36 of the total number of power-on times. Since the cumulative power-on count stored in the nonvolatile memory cell 37 changes every time the power is turned on, it can be used as an “undefined value” used in the first embodiment. Writing the “undefined value” and the operation result to the nonvolatile memory cell 37 is very effective for generating the next “undefined value”. Some operations on the nonvolatile semiconductor memory device are not cleared when the power is turned off.
The cumulative number of times (for example, turning on the power supply shown in FIG. 2) may be used as the “undefined value”, or a pseudo random number generated by the mixed congruential method may be used as the “undefined value”.

【0055】上記第1実施形態では、演算部としての演
算回路20により「不定値」に基づいて「パスワード入
力コマンド」と「固有パスワード」とを所定の演算により
求めたが、演算部は「固有パスワード」のみを演算によ
り求めて、「パスワード入力コマンド」については固定
された条件としてもよい。一方、演算部としての演算回
路20により「不定値」に基づいて「パスワード入力コ
マンド」のみを演算により求めて、「固有パスワード」に
ついては固定された条件としてもよい。
In the first embodiment, the “password input command” and the “unique password” are determined by the arithmetic circuit 20 as the arithmetic unit based on the “undefined value” by a predetermined arithmetic operation. Only the "password" may be obtained by calculation, and the "password input command" may be set as a fixed condition. On the other hand, only the “password input command” may be calculated by the arithmetic circuit 20 as the arithmetic unit based on the “undefined value”, and the “unique password” may be a fixed condition.

【0056】(第2実施形態)図3はこの発明の第2実
施形態の半導体記憶装置用セキュリティ回路を用いた不
揮発性半導体記憶装置の概略ブロック図を示しており、
103は外部のシステム(図示せず)からの入力信号10
1が入力され、外部のシステムにデータ入出力バス10
2を介して接続されたインターフェース回路、106は
上記インターフェース回路103からのアドレス信号1
04が入力され、上記インターフェース回路103にデ
ータ入出力バス105を介して接続されたメモリ活性化
部としてのバス制御回路、109は上記バス制御回路1
06からのアドレス信号107が入力され、上記バス制
御回路106にデータ入出力バス108を介して接続さ
れたメモリ空間、120は上記インターフェース回路1
03からの「固有パスワード」および「パスワード入力コ
マンド」の元になる外部からの任意の「数値」を表す信
号115を受けて、上記インターフェース回路103に
パスワード入力コマンド信号119を出力すると共に、
固有パスワード信号121を出力する演算部としての演
算回路、113は上記演算回路120からの固有パスワ
ード信号121および上記インターフェース回路103
からのパスワード信号112を受けて、セキュリティ解
除信号114をバス制御回路106に出力するパスワー
ド判別部としての比較回路である。上記インターフェー
ス回路103は、数値入力部,パスワード入力部,パスワ
ード入力コマンド入力部およびパスワード入力コマンド
判別部を兼ねている。また、上記インターフェース回路
103,バス制御回路106,演算回路120および比較
回路113で半導体記憶装置用セキュリティ回路を構成
している。また、上記メモリ空間109は、この不揮発
性半導体記憶装置の全メモリ領域でもよいし、メモリ領
域の一部でもよい。
(Second Embodiment) FIG. 3 is a schematic block diagram of a nonvolatile semiconductor memory device using a security circuit for a semiconductor memory device according to a second embodiment of the present invention.
103 is an input signal 10 from an external system (not shown).
1 is input to the external system and the data input / output bus 10
The interface circuit 106 is connected via the interface signal 103 to the address signal 1 from the interface circuit 103.
04 is input, and a bus control circuit as a memory activation unit connected to the interface circuit 103 via the data input / output bus 105, and 109 is the bus control circuit 1
An address signal 107 is input from the interface circuit 1 to the bus control circuit 106 via a data input / output bus 108.
Receiving a signal 115 representing an arbitrary “numeric value” from the outside which is the source of the “unique password” and the “password input command” from step 03, outputs a password input command signal 119 to the interface circuit 103,
An arithmetic circuit serving as an arithmetic unit for outputting the unique password signal 121 is provided with a unique password signal 121 from the arithmetic circuit 120 and the interface circuit 103.
Is a comparison circuit as a password discriminating unit that receives the password signal 112 from the CPU and outputs a security release signal 114 to the bus control circuit 106. The interface circuit 103 also serves as a numerical value input section, a password input section, a password input command input section, and a password input command determination section. The interface circuit 103, the bus control circuit 106, the arithmetic circuit 120, and the comparison circuit 113 constitute a security circuit for a semiconductor memory device. Further, the memory space 109 may be the entire memory area of the nonvolatile semiconductor memory device or a part of the memory area.

【0057】上記構成の不揮発性半導体記憶装置におい
て、セキュリティが設定された状態では、バス制御回路
106によって、特定のメモリ空間へのアクセスは正常
に動作しない。このセキュリティが設定された状態から
セキュリティを解除するために、まず外部から任意の
「数値」をデータ入出力バス102を介してインターフ
ェイス回路103に入力する。上記インターフェイス回
路103は、この「数値」を表す信号115を演算回路
120に送る。そして、上記演算回路120は、「数
値」を表す信号115を元に特定の演算を施すことで、
固有パスワード信号121とパスワード入力コマンド信
号119を生成する。外部のシステムで上記演算回路1
20と同じ演算を実行して生成された「パスワード入力
コマンド」が入力信号101により入力されると、イン
ターフェイス回路103は、この入力信号101をパス
ワード信号112として比較回路113に送信する。上
記比較回路113は、演算回路120で生成された固有
パスワード信号121と外部から入力されたパスワード
信号112を比較して、固有パスワード信号121とパ
スワード信号112とが一致すると、セキュリティ解除
信号114を発行する。そして、バス制御回路106が
セキュリティ解除信号114を受け取ると、バス制御回
路106はセキュリティを解除し、保護されていたメモ
リ空間への以後のアクセスを正常に実行する。
In the nonvolatile semiconductor memory device having the above configuration, when security is set, access to a specific memory space by the bus control circuit 106 does not operate normally. In order to release the security from the state in which the security is set, first, an arbitrary “numerical value” is externally input to the interface circuit 103 via the data input / output bus 102. The interface circuit 103 sends a signal 115 representing this “numerical value” to the arithmetic circuit 120. Then, the arithmetic circuit 120 performs a specific arithmetic operation based on the signal 115 representing “numerical value”,
A unique password signal 121 and a password input command signal 119 are generated. The above operation circuit 1 in an external system
When a “password input command” generated by executing the same operation as in step 20 is input by the input signal 101, the interface circuit 103 transmits the input signal 101 to the comparison circuit 113 as a password signal 112. The comparison circuit 113 compares the unique password signal 121 generated by the arithmetic circuit 120 with the password signal 112 input from the outside, and issues a security release signal 114 when the unique password signal 121 and the password signal 112 match. I do. Then, when the bus control circuit 106 receives the security release signal 114, the bus control circuit 106 releases the security and normally executes the subsequent access to the protected memory space.

【0058】また、この第2実施形態は、第1実施形態
と同様に、特定の操作をすることで演算回路20に追加
演算をさせることも可能である。
In the second embodiment, as in the first embodiment, it is possible to cause the arithmetic circuit 20 to perform an additional operation by performing a specific operation.

【0059】また、セキュリティを解除するために外部
のシステムは、不揮発性半導体記憶装置に入力した「数
値」に演算回路120と同じ演算を実行し、「パスワード
入力コマンド」と「固有パスワード」を計算する必要が
ある。この第2実施形態では、第1実施形態と異なり、
不揮発性半導体記憶装置内に「不定値」を生成する回路
を組み込む必要がない。また、外部に乱数などの「不定
値」の生成手段を有する場合、外部で生成された「不定
値」を、「固有パスワード」および「パスワード入力コマ
ンド」の元になる「数値」として入力することによっ
て、第1実施形態と同様の効果が得られ、かつ、第1実
施形態の不定値生成回路が不要になる。また、上記不揮
発性半導体記憶装置では、同一の「数値」が入力された
場合は同一の「固有パスワード」および「パスワード入力
コマンド」が生成されるため、正確には第1実施形態と
同じ効果が得られるわけではないが、毎回異なる任意の
「数値」,「固有パスワード」,「パスワード入力コマン
ド」を利用できるため、セキュリティ解除条件が解明さ
れる上で入力を特定できないという点において第1実施
形態と同等の効果が得られる。
In order to release the security, the external system executes the same operation as the arithmetic circuit 120 on the “numeric value” input to the nonvolatile semiconductor memory device, and calculates the “password input command” and the “unique password”. There is a need to. In the second embodiment, unlike the first embodiment,
There is no need to incorporate a circuit for generating an “undefined value” in the nonvolatile semiconductor memory device. Also, if there is an externally generated means for generating an “undefined value” such as a random number, input the “undefined value” generated externally as a “numeric value” that is the basis of the “unique password” and “password input command”. Accordingly, the same effect as that of the first embodiment can be obtained, and the indefinite value generation circuit of the first embodiment becomes unnecessary. In the nonvolatile semiconductor memory device, when the same “numeric value” is input, the same “unique password” and “password input command” are generated, so that exactly the same effects as in the first embodiment are obtained. Although it is not possible to obtain, the first embodiment is different from the first embodiment in that any "numeric value", "unique password", and "password input command" that can be used each time can be used, and the input cannot be specified after the security release condition is clarified. The same effect can be obtained.

【0060】したがって、保護されたメモリ空間109
に対する不正なアクセスが極めて困難になり、より強固
で解明が困難なセキュリティ機能を有する不揮発性半導
体記憶装置を実現することができる。
Therefore, the protected memory space 109
It becomes extremely difficult to make unauthorized access to the device, and it is possible to realize a nonvolatile semiconductor memory device having a stronger and harder to understand security function.

【0061】上記第2実施形態では、演算部としての演
算回路120により「パスワード入力コマンド」と「固
有パスワード」とを所定の演算により求めたが、演算部
は「固有パスワード」のみを演算により求めて、「パス
ワード入力コマンド」については固定された条件として
もよい。一方、演算部としての演算回路20により「パ
スワード入力コマンド」のみを演算により求めて、「固
有パスワード」については固定された条件としてもよ
い。
In the second embodiment, the "password input command" and the "unique password" are obtained by the predetermined operation by the operation circuit 120 as the operation unit. However, the operation unit obtains only the "unique password" by the operation. The "password input command" may be a fixed condition. On the other hand, only the “password input command” may be calculated by the arithmetic circuit 20 as an arithmetic unit, and the “unique password” may be set as a fixed condition.

【0062】(第3実施形態)図4はこの発明の第3実
施形態のセキュリティシステムの構成を示す概略ブロッ
ク図である。図4に示すように、不揮発性半導体記憶装
置A(以下、装置Aという)は、外部のシステム(図示せ
ず)からの入力信号201が入力され、外部のシステム
にデータ入出力バス202を介して接続されたインター
フェース回路203と、上記インターフェース回路20
3からのアドレス信号204が入力され、上記インター
フェース回路203にデータ入出力バス205を介して
接続されたバス制御回路206と、上記バス制御回路2
06からのアドレス信号207が入力され、上記バス制
御回路206にデータ入出力バス208を介して接続さ
れたメモリ空間209とを備えている。また、不揮発性
半導体記憶装置B(以下、装置Bという)は、入力信号2
22が入力されたインターフェース回路223と、上記
インターフェース回路223からの入力信号が入力さ
れ、装置Aのバス制御回路206にセキュリティ解除信
号214を出力するセキュリティ設定部およびセキュリ
ティ解除部としてのセキュリティシステム回路224と
を備えている。上記装置Bのセキュリティシステム回路
224は、第1実施形態で示した不定値生成回路,演算
回路および比較回路で構成される回路か、または、第2
実施形態で示した演算回路,比較回路で構成される回路
などが利用できる。
(Third Embodiment) FIG. 4 is a schematic block diagram showing the configuration of a security system according to a third embodiment of the present invention. As shown in FIG. 4, an input signal 201 from an external system (not shown) is input to a nonvolatile semiconductor memory device A (hereinafter, device A), and the nonvolatile semiconductor memory device A is connected to the external system via a data input / output bus 202. Interface circuit 203 connected to the
3, the bus control circuit 206 connected to the interface circuit 203 via the data input / output bus 205, and the bus control circuit 2
An address signal 207 is input to the bus control circuit 206 and a memory space 209 is connected to the bus control circuit 206 via a data input / output bus 208. The non-volatile semiconductor storage device B (hereinafter referred to as device B) receives the input signal 2
And a security system circuit 224 serving as a security setting unit and a security canceling unit which receives an input signal from the interface circuit 223 and outputs a security canceling signal 214 to the bus control circuit 206 of the device A. And The security system circuit 224 of the device B is a circuit composed of the indefinite value generation circuit, the arithmetic circuit, and the comparison circuit shown in the first embodiment, or the second system.
The circuit including the arithmetic circuit and the comparison circuit described in the embodiment can be used.

【0063】上記構成のセキュリティシステムにおい
て、セキュリティが設定された状態では、バス制御回路
206によって、装置Aの特定のメモリ空間へのアクセ
スは正常に動作しない。このセキュリティが設定された
状態からセキュリティを解除するには、まず外部から
「セキュリティ解除コマンド」を装置Bに入力する。そ
うすると、装置Bのインターフェイス回路223は、こ
の「セキュリティ解除コマンド」を受けて、セキュリテ
ィシステム回路224にセキュリティ制御の実行命令を
入力信号225により発行する。そして、セキュリティ
制御の実行命令を受けたセキュリティシステム回路22
4は、セキュリティ制御を実行する。このセキュリティ
制御とは、第1実施形態で示した不定値生成回路により
生成した「不定値」を元に、特定の演算を施すことでパ
スワードを生成し、外部から入力されるパスワードとの
比較を実行する制御か、または、第2実施形態で示した
外部から入力される任意の「数値」を元に、特定の演算
を施すことでパスワードを生成し、外部から入力される
パスワードとの比較を実行する制御などを利用する。上
記セキュリティシステム回路224は、セキュリティ制
御においてセキュリティ解除を認めると、セキュリティ
解除信号214を装置Aに発行する。そして、上記装置
Aのバス制御回路226は、セキュリティ解除信号21
4を受け取ると、セキュリティを解除し、以後の保護さ
れていた装置Aのメモリ空間へのアクセスを正常に実行
する。
In the security system having the above configuration, when security is set, access to a specific memory space of the device A by the bus control circuit 206 does not operate normally. To release the security from the state in which the security is set, first, a “security release command” is externally input to the device B. Then, in response to the “security release command”, the interface circuit 223 of the device B issues a security control execution command to the security system circuit 224 by the input signal 225. Then, the security system circuit 22 receiving the security control execution instruction
4 executes security control. This security control is to generate a password by performing a specific operation based on the “undefined value” generated by the undefined value generation circuit shown in the first embodiment, and to compare the password with an externally input password. A password is generated by performing a specific operation based on the control to be executed or an arbitrary “numeric value” input from the outside shown in the second embodiment, and comparison with the password input from the outside is performed. Use the control to be executed. The security system circuit 224 issues a security release signal 214 to the device A when the security release is permitted in the security control. Then, the bus control circuit 226 of the device A sends the security release signal 21
Upon receipt of No. 4, the security is released and the subsequent access to the protected memory space of the device A is normally performed.

【0064】したがって、より強固で解明が困難なセキ
ュリティ機能を有するセキュリティシステムを実現する
ことができる。
Therefore, it is possible to realize a security system having a security function that is more robust and difficult to understand.

【0065】上記第3実施形態では、装置A内のバス制
御回路206にセキュリティ解除信号214を入力する
ことにより、セキュリティ制御を実行したが、このセキ
ュリティ解除信号をインターフェイス回路203に入力
することにより、セキュリティ制御を実行してもよい。
In the third embodiment, the security control is executed by inputting the security release signal 214 to the bus control circuit 206 in the device A, but by inputting this security release signal to the interface circuit 203, Security control may be performed.

【0066】また、上記第3実施形態では、セキュリテ
ィ解除信号214は単一である必要はなく、複数のセキ
ュリティ解除信号を用いてセキュリティ制御を実行する
ことも可能である。
Further, in the third embodiment, the security release signal 214 does not need to be a single signal, and the security control can be executed using a plurality of security release signals.

【0067】また、上記第3実施形態では、半導体装置
として2つの不揮発性半導体記憶装置を有するセキュリ
ティシステムについて説明したが、セキュリティシステ
ムはこれに限らず、少なくとも1つの半導体記憶装置を
含む複数の半導体装置を備えたものでもよい。また、同
時に複数の半導体記憶装置に対しても同様の手法でセキ
ュリティ制御を行ってもよい。
In the third embodiment, a security system having two nonvolatile semiconductor memory devices as semiconductor devices has been described. However, the security system is not limited to this, and a plurality of semiconductor devices including at least one semiconductor memory device may be used. It may be provided with a device. Also, security control may be performed on a plurality of semiconductor storage devices at the same time in the same manner.

【0068】上記第1〜第3実施形態では、半導体記憶
装置用セキュリティ回路を不揮発性半導体記憶装置に適
用したが、不揮発性を有しない半導体記憶装置にこの発
明を適用してもよい。
In the first to third embodiments, the security circuit for a semiconductor memory device is applied to a nonvolatile semiconductor memory device. However, the present invention may be applied to a semiconductor memory device having no nonvolatile memory.

【0069】[0069]

【発明の効果】以上より明らかなように、請求項1の発
明の半導体記憶装置用セキュリティ回路によれば、セキ
ュリティ解除毎に不定値生成部による不定値が毎回変わ
ることによって、セキュリティを解除するための入力パ
スワードすなわち演算部の演算結果を変えることが可能
になり、保護されたメモリ空間に対する不正なアクセス
が極めて困難になるので、半導体記憶装置のセキュリテ
ィ機能を強化でき、不正な(または誤った)読み出し,書
き込みおよび複製を防止することに極めて効果的であ
る。
As is clear from the above description, according to the security circuit for a semiconductor memory device of the first aspect of the present invention, the security is released by changing the indefinite value by the indefinite value generation unit every time the security is released. Input password, that is, the operation result of the operation unit can be changed, and unauthorized access to the protected memory space becomes extremely difficult, so that the security function of the semiconductor memory device can be strengthened and illegal (or incorrect) It is very effective in preventing reading, writing and duplication.

【0070】また、請求項2の発明の半導体記憶装置用
セキュリティ回路によれば、セキュリティ解除毎に不定
値生成部による不定値が毎回変わることによって、入力
パスワードを入力するためのパスワード入力コマンドす
なわち上記演算部の演算結果を変えることが可能にな
り、保護されたメモリ空間に対する不正なアクセスが極
めて困難になるので、半導体記憶装置のセキュリティ機
能を強化でき、不正な(または誤った)読み出し,書き込
みおよび複製を防止することに極めて効果的である。
According to the security circuit for a semiconductor memory device of the second aspect of the present invention, the password input command for inputting the input password, that is, the password input command for inputting the input password, is changed by the variable value generated by the variable value generator every time security is released. It is possible to change the operation result of the operation unit, and it becomes extremely difficult to illegally access the protected memory space, so that the security function of the semiconductor memory device can be strengthened, and illegal (or erroneous) reading, writing and It is extremely effective in preventing duplication.

【0071】また、請求項3の発明の半導体記憶装置用
セキュリティ回路によれば、請求項1または4の半導体
記憶装置用セキュリティ回路において、上記不定値生成
部により生成された不定値を書き換え可能な不揮発性メ
モリセルを記憶することによって、電源切断時に不定値
がクリアされないで記憶されるため、記憶された不定値
は次に不定値を生成するのに有効に利用できる。
According to the security circuit for a semiconductor memory device of the invention of claim 3, in the security circuit for a semiconductor memory device of claim 1 or 4, the indefinite value generated by the indefinite value generation section can be rewritten. By storing the nonvolatile memory cell, the indefinite value is stored without being cleared when the power is turned off, so that the stored indefinite value can be effectively used to generate the next indefinite value.

【0072】また、請求項4の発明の半導体記憶装置用
セキュリティ回路によれば、セキュリティ解除毎に数値
入力部に入力する数値を毎回変えることによって、セキ
ュリティを解除するためのパスワードすなわち演算部の
演算結果を変えることが可能になるり、保護されたメモ
リ空間に対する不正なアクセスが極めて困難になるの
で、半導体記憶装置のセキュリティ機能を強化でき、不
正な(または誤った)読み出し,書き込みおよび複製を防
止することに極めて効果的である。
According to the security circuit for a semiconductor memory device of the present invention, the password for releasing the security, that is, the operation of the operation unit, is changed by changing the numerical value input to the numerical value input unit every time the security is released. The ability to alter results and make unauthorized access to protected memory space extremely difficult enhances the security capabilities of semiconductor memory devices and prevents unauthorized (or erroneous) reads, writes and duplications It is extremely effective in doing.

【0073】また、請求項5の発明の半導体記憶装置用
セキュリティ回路によれば、セキュリティ解除毎に数値
入力部に入力する数値を毎回変えることによって、入力
パスワードを入力するためのパスワード入力コマンドす
なわち演算部の演算結果を変えることが可能になり、保
護されたメモリ空間に対する不正なアクセスが極めて困
難になるので、半導体記憶装置のセキュリティ機能を強
化でき、不正な(または誤った)読み出し,書き込みおよ
び複製を防止することに極めて効果的である。
According to the security circuit for a semiconductor memory device of the present invention, the password input command for inputting the input password, that is, the arithmetic operation, is changed by changing the numerical value input to the numerical value input unit every time security is released. It is possible to change the operation result of the section, and it becomes extremely difficult to make unauthorized access to the protected memory space, so that the security function of the semiconductor memory device can be strengthened and illegal (or erroneous) reading, writing and duplication It is extremely effective in preventing.

【0074】また、請求項6の発明の半導体記憶装置用
セキュリティ回路によれば、請求項1,2,4または5の
いずれか1つの半導体記憶装置用セキュリティ回路にお
いて、上記演算部の演算に用いられる定数を書き換え可
能な不揮発性メモリセルに記憶するので、その書き換え
可能な不揮発性メモリセルに記憶された定数を書き換え
ることによって、上記演算部の演算内容を変更すること
が容易にできる。
According to the security circuit for a semiconductor memory device of the invention of claim 6, in the security circuit for a semiconductor memory device according to any one of claims 1, 2, 4, and 5, the security circuit for use in the operation of the arithmetic unit is used. Since the constant is stored in the rewritable nonvolatile memory cell, it is possible to easily change the operation content of the arithmetic unit by rewriting the constant stored in the rewritable nonvolatile memory cell.

【0075】また、請求項7の発明の半導体記憶装置用
セキュリティ回路によれば、請求項1または4の半導体
記憶装置用セキュリティ回路において、上記パスワード
判別部が上記演算部の演算結果と上記パスワード入力部
に入力された入力パスワードとが一致しない場合に、上
記演算部の演算結果にさらに演算を加えて、演算結果を
変更するので、パスワード入力コマンドや入力パスワー
ドの組み合わせの全てを試行することによりセキュリテ
ィ解除条件が解明されるのを防止できる。
Further, according to the security circuit for a semiconductor memory device of the present invention, in the security circuit for a semiconductor memory device according to the first or fourth aspect, the password discriminating unit is configured to determine a result of the operation by the operation unit and the password input. If the input password entered in the section does not match, the operation result is changed by further adding the operation to the operation result of the operation section. The cancellation condition can be prevented from being clarified.

【0076】また、請求項8の発明の半導体記憶装置用
セキュリティ回路によれば、請求項2または5の半導体
記憶装置用セキュリティ回路において、上記パスワード
入力コマンド判別部が上記演算部の演算結果と上記パス
ワード入力コマンド入力部に入力されたパスワード入力
コマンドとが一致しない場合に、上記演算部の演算結果
にさらに演算を加えて、演算結果を変更するので、パス
ワード入力コマンドや入力パスワードの組み合わせの全
てを試行することによりセキュリティ解除条件が解明さ
れるのを防止できる。
According to the security circuit for a semiconductor memory device of the present invention, in the security circuit for a semiconductor memory device according to the second or fifth aspect, the password input command discriminating unit determines the result of the operation by the operation unit and the password input command determination unit. If the password input command input to the password input command input unit does not match, the operation result is further added to the operation result of the operation unit and the operation result is changed, so that all combinations of the password input command and the input password are changed. Attempting to prevent the security release condition from being clarified can be prevented.

【0077】また、請求項9の発明の半導体記憶装置用
セキュリティ回路によれば、請求項1,2,4または5の
いずれか1つの半導体記憶装置用セキュリティ回路にお
いて、セキュリティ制御とは一見関係のない鍵アドレス
の選択によって、上記演算部の演算結果にさらに演算を
加えて、演算結果を変更するので、セキュリティが解除
されるのをより確実に防止できる。
According to the security circuit for a semiconductor memory device according to the ninth aspect of the present invention, in the security circuit for a semiconductor memory device according to any one of the first, second, fourth, and fifth aspects, the security control is apparently related to security control. By selecting a non-existent key address, an operation is added to the operation result of the operation unit to change the operation result, so that security can be more reliably prevented from being released.

【0078】また、請求項10の発明の半導体記憶装置
用セキュリティ回路によれば、請求項1乃至9のいずれ
か1つの半導体記憶装置用セキュリティ回路において、
上記演算部の演算結果を書き換え可能な不揮発性メモリ
セルを記憶することによって、電源切断時に演算結果が
クリアされないため、次にその演算結果を用いて演算内
容を変えることが可能となる。
According to the security circuit for a semiconductor memory device of the present invention, in the security circuit for a semiconductor memory device according to any one of the first to ninth aspects,
By storing the non-volatile memory cell in which the operation result of the operation unit is rewritable, the operation result is not cleared when the power is turned off, so that the operation content can be changed using the operation result next.

【0079】また、請求項11の発明の半導体記憶装置
用セキュリティ回路によれば、請求項9の半導体記憶装
置用セキュリティ回路において、上記鍵アドレスを書き
換え可能な不揮発性メモリセルに記憶することによっ
て、鍵アドレスを書き換えることができ、不正にセキュ
リティが解除されるのをより確実に防止できる。
According to the security circuit for a semiconductor memory device of the present invention, the key address is stored in a rewritable nonvolatile memory cell. The key address can be rewritten, and the security can be more reliably prevented from being illegally released.

【0080】また、請求項12の発明の半導体記憶装置
用セキュリティ回路によれば、請求項11の半導体記憶
装置用セキュリティ回路において、半導体記憶装置のメ
モリの一部を構成する冗長メモリセルのうちの使用され
ない冗長メモリセルに、上記鍵アドレスを記憶すること
によって、鍵アドレスの記憶用にメモリセルを新たに設
ける必要がなく、コストダウンが図れる。
Further, according to the security circuit for a semiconductor memory device of the twelfth aspect of the present invention, in the security circuit for a semiconductor memory device according to the eleventh aspect, of the redundant memory cells constituting a part of the memory of the semiconductor memory device, By storing the key address in a redundant memory cell that is not used, it is not necessary to newly provide a memory cell for storing the key address, and the cost can be reduced.

【0081】また、請求項13の発明の半導体記憶装置
用セキュリティ回路によれば、請求項11の半導体記憶
装置用セキュリティ回路において、半導体記憶装置のメ
モリの所定の条件で設定されたアドレスに割り当てられ
たメモリセルに、上記鍵アドレスを記憶することによっ
て、上記鍵アドレスの記憶用にメモリセルを新たに設け
る必要がなく、コストダウンが図れる。
According to the security circuit for a semiconductor memory device of the present invention, in the security circuit for a semiconductor memory device of the present invention, an address assigned to an address set under a predetermined condition in a memory of the semiconductor memory device is provided. By storing the key address in the memory cell, it is not necessary to newly provide a memory cell for storing the key address, and the cost can be reduced.

【0082】また、請求項14の発明のセキュリティシ
ステムによれば、請求項1乃至13のいずれか1つの半
導体記憶装置用セキュリティ回路と、半導体記憶装置を
含む複数の半導体装置とを備えたセキュリティシステム
であって、上記セキュリティ解除部を有する半導体装置
において、セキュリティ解除部のセキュリティ解除条件
が満足すると、セキュリティ解除部よりセキュリティ解
除信号を上記半導体記憶装置のメモリ活性化部に出力し
て、セキュリティ解除信号を受けたメモリ活性化部は、
上記半導体記憶装置の所定のメモリ空間を活性化するの
で、より強固で解明が困難なセキュリティ機能を有する
セキュリティシステムを実現できる。
According to the security system of the invention, a security system comprising the semiconductor memory device security circuit according to any one of claims 1 to 13 and a plurality of semiconductor devices including the semiconductor memory device. In the semiconductor device having the security release unit, when the security release condition of the security release unit is satisfied, a security release signal is output from the security release unit to the memory activation unit of the semiconductor storage device, and the security release signal is output. The memory activation unit receiving the
Since a predetermined memory space of the semiconductor memory device is activated, a more robust security system having a security function that is difficult to understand can be realized.

【0083】また、請求項15の発明のセキュリティシ
ステムによれば、請求項14のセキュリティシステムに
おいて、上記セキュリティ解除部を有する上記半導体装
置は複数であって、上記半導体記憶装置のメモリ活性化
部は、複数の半導体装置のセキュリティ解除部からのセ
キュリティ解除信号に基づいて所定のメモリ空間を活性
化するので、より強固で解明が困難なセキュリティ機能
を有するセキュリティシステムを実現できる。
According to the security system of the fifteenth aspect, in the security system of the fourteenth aspect, the semiconductor device having the security release unit is plural, and the memory activation unit of the semiconductor storage device is Since a predetermined memory space is activated based on a security release signal from a security release unit of a plurality of semiconductor devices, a security system having a more robust and difficult to understand security function can be realized.

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

【図1】 図1はこの発明の第1実施形態の半導体記憶
装置用セキュリティ回路を用いた不揮発性半導体記憶装
置の概略ブロック図である。
FIG. 1 is a schematic block diagram of a nonvolatile semiconductor memory device using a security circuit for a semiconductor memory device according to a first embodiment of the present invention.

【図2】 図2は上記不揮発性半導体記憶装置に使用さ
れる不定値生成回路の具体例の概略ブロック図である。
FIG. 2 is a schematic block diagram of a specific example of an indefinite value generation circuit used in the nonvolatile semiconductor memory device.

【図3】 図3はこの発明の第2実施形態の半導体記憶
装置用セキュリティ回路を用いた不揮発性半導体記憶装
置の概略ブロック図である。
FIG. 3 is a schematic block diagram of a nonvolatile semiconductor memory device using a security circuit for a semiconductor memory device according to a second embodiment of the present invention.

【図4】 図4はこの発明の第3実施形態のセキュリテ
ィシステムの概略ブロック図である。
FIG. 4 is a schematic block diagram of a security system according to a third embodiment of the present invention.

【図5】 図5は従来の半導体記憶装置用セキュリティ
回路を用いた不揮発性半導体記憶装置の概略ブロック図
である。
FIG. 5 is a schematic block diagram of a nonvolatile semiconductor memory device using a conventional security circuit for a semiconductor memory device.

【図6】 図6は従来の他の半導体記憶装置用セキュリ
ティ回路を用いた不揮発性半導体記憶装置の概略ブロッ
ク図である。
FIG. 6 is a schematic block diagram of a nonvolatile semiconductor memory device using another conventional security circuit for a semiconductor memory device.

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

1…入力信号、 2…データ入出力バス、 3…インターフェイス回路、 4…アドレス信号、 5…データ入出力バス、 6…バス制御回路、 7…アドレス信号、 8…データ入出力バス、 9…メモリ空間、 12…パスワード信号、 13…比較回路、 14…セキュリティ解除信号、 15…不定値生成命令信号、 16…不定値生成回路、 17…不定値出力信号、 18…追加演算命令信号、 19…パスワード入力コマンド信号、 20…演算回路、 21…固有パスワード信号、 31…電源電圧、 32…電源投入検知回路、 33…電源投入信号、 34…カウンター回路、 35…累計電源投入回数の読み出しデータバス、 36…累計電源投入回数の書き込みデータバス、 37…不揮発性メモリセル、 101…入力信号、 102…データ入出力バス、 103…インターフェイス回路、 104…アドレス信号、 105…データ入出力バス、 106…バス制御回路、 107…アドレス信号、 108…データ入出力バス、 109…メモリ空間、 113…比較回路、 114…セキュリティ解除信号、 115…パスワードの元になる数値を表す信号、 119…パスワード入力コマンド信号、 120…演算回路、 121…固有パスワード信号、 201…入力信号、 202…データ入出力バス、 203…インターフェイス回路、 204…アドレス信号、 205…データ入出力バス、 206…バス制御回路、 207…アドレス信号、 208…データ入出力バス、 209…メモリ空間、 222…入力信号、 223…インターフェイス回路、 224…セキュリティシステム回路、 225…入力信号、 214…セキュリティ解除信号。 DESCRIPTION OF SYMBOLS 1 ... Input signal, 2 ... Data input / output bus, 3 ... Interface circuit, 4 ... Address signal, 5 ... Data input / output bus, 6 ... Bus control circuit, 7 ... Address signal, 8 ... Data input / output bus, 9 ... Memory Space 12 password signal 13 comparison circuit 14 security release signal 15 undefined value generation instruction signal 16 undefined value generation circuit 17 undefined value output signal 18 additional operation instruction signal 19 password Input command signal, 20: arithmetic circuit, 21: unique password signal, 31: power supply voltage, 32: power-on detection circuit, 33: power-on signal, 34: counter circuit, 35: data bus for reading the total number of power-on times, 36 ... write data bus for the total number of power-on times, 37 ... non-volatile memory cell, 101 ... input signal, 102 ... data input / output bus Reference numeral 103: Interface circuit 104: Address signal 105: Data input / output bus 106: Bus control circuit 107: Address signal 108: Data input / output bus 109: Memory space 113: Comparison circuit 114: Security release 115, a signal representing a numerical value that is a source of a password, 119, a password input command signal, 120, an arithmetic circuit, 121, a unique password signal, 201, an input signal, 202, a data input / output bus, 203, an interface circuit, 204 .., An address signal, 205, a data input / output bus, 206, a bus control circuit, 207, an address signal, 208, a data input / output bus, 209, a memory space, 222, an input signal, 223, an interface circuit, 224, a security system circuit, 225… input Force signal 214 Security release signal.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 隅谷 憲 大阪府大阪市阿倍野区長池町22番22号 シ ャープ株式会社内 Fターム(参考) 5B017 AA01 AA06 AA08 BA05 BB03 BB05 BB10 CA12 CA16  ──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Ken Sumiya 22-22 Nagaikecho, Abeno-ku, Osaka-shi, Osaka F-term (reference) 5B017 AA01 AA06 AA08 BA05 BB03 BB05 BB10 CA12 CA16

Claims (15)

【特許請求の範囲】[Claims] 【請求項1】 所定のメモリ空間をセキュリティ設定条
件により非活性化する一方、上記所定のメモリ空間をセ
キュリティ解除条件により活性化する半導体記憶装置用
セキュリティ回路において、 1または2以上の不定値を生成して、その不定値を出力
する不定値生成部と、 上記不定値生成部からの上記不定値に基づいて所定の演
算を行う演算部と、 外部から入力パスワードが入力されるパスワード入力部
と、 上記演算部の演算結果と上記パスワード入力部に入力さ
れた入力パスワードとが一致するか否かを判別するパス
ワード判別部と、 上記パスワード判別部が上記演算部の演算結果と上記入
力パスワードとが一致したと判別すると、上記セキュリ
ティ解除条件を満足したとして上記所定のメモリ空間を
活性化するメモリ活性化部とを備えたことを特徴とする
半導体記憶装置用セキュリティ回路。
1. A semiconductor memory security circuit for inactivating a predetermined memory space according to a security setting condition and activating the predetermined memory space according to a security release condition, wherein one or more indefinite values are generated. An indefinite value generation unit that outputs the indefinite value, an operation unit that performs a predetermined operation based on the indefinite value from the indefinite value generation unit, a password input unit that receives an input password from outside, A password discriminator for discriminating whether or not the calculation result of the calculation unit matches the input password input to the password input unit; and the password discrimination unit matches the calculation result of the calculation unit with the input password. And determining that the security release condition has been satisfied, and activating the predetermined memory space. The semiconductor memory device for a security circuit characterized in that the.
【請求項2】 所定のメモリ空間をセキュリティ設定条
件により非活性化する一方、上記所定のメモリ空間をセ
キュリティ解除条件により活性化する半導体記憶装置用
セキュリティ回路において、 1または2以上の不定値を生成して、その不定値を出力
する不定値生成部、 上記不定値生成部からの上記不定値に基づいて所定の演
算を行う演算部と、 外部からパスワード入力コマンドが入力されるパスワー
ド入力コマンド入力部と、 上記演算部の演算結果と上記パスワード入力コマンド入
力部に入力されたパスワード入力コマンドとが一致する
か否かを判別するパスワード入力コマンド判別部と、 上記パスワード入力コマンド判別部が上記演算部の演算
結果と上記パスワード入力コマンドとが一致したと判別
すると、入力パスワードを入力するパスワード入力部
と、 上記パスワード入力部に入力された上記入力パスワード
と予め設定された固有パスワードとが一致するか否かを
判別するパスワード判別部と、 上記パスワード判別部が上記入力パスワードと上記固有
パスワードとが一致したと判別すると、セキュリティ解
除条件を満足したとして上記所定のメモリ空間を活性化
するメモリ活性化部とを備えたことを特徴とする半導体
記憶装置用セキュリティ回路。
2. A security circuit for a semiconductor memory device for inactivating a predetermined memory space according to a security setting condition and activating the predetermined memory space according to a security release condition, wherein one or more indefinite values are generated. An indeterminate value generator that outputs the indefinite value; an operation unit that performs a predetermined operation based on the indefinite value from the indefinite value generator; and a password input command input unit that receives a password input command from outside A password input command determining unit that determines whether a calculation result of the calculating unit matches the password input command input to the password input command input unit; and If it is determined that the calculation result matches the password input command, the input password is input. A password input unit, a password determination unit that determines whether the input password input to the password input unit matches a preset unique password, and the password determination unit determines whether the input password and the unique password And a memory activating unit for activating the predetermined memory space when it is determined that the security release condition is satisfied.
【請求項3】 請求項1または2に記載の半導体記憶装
置用セキュリティ回路において、 上記不定値生成部は、生成された不定値を記憶する書き
換え可能な不揮発性メモリセルを有することを特徴とす
る半導体記憶装置用セキュリティ回路。
3. The security circuit for a semiconductor memory device according to claim 1, wherein the indefinite value generation unit has a rewritable nonvolatile memory cell that stores the generated indefinite value. Security circuits for semiconductor storage devices.
【請求項4】 所定のメモリ空間をセキュリティ設定条
件により非活性化する一方、上記所定のメモリ空間をセ
キュリティ解除条件により活性化する半導体記憶装置用
セキュリティ回路において、 外部から数値が入力される数値入力部と、 上記数値入力部に入力された数値に基づいて所定の演算
を行う演算部と、 外部から入力パスワードが入力されるパスワード入力部
と、 上記演算部の演算結果と上記パスワード入力部に入力さ
れた上記入力パスワードとが一致するか否かを判別する
パスワード判別部と、 上記パスワード判別部が上記演算部の演算結果と上記入
力パスワードとが一致したと判別すると、上記セキュリ
ティ解除条件を満足したとして上記所定のメモリ空間を
活性化するメモリ活性化部とを備えたことを特徴とする
半導体記憶装置用セキュリティ回路。
4. A security circuit for a semiconductor memory device in which a predetermined memory space is deactivated according to a security setting condition and a predetermined memory space is activated according to a security release condition. Unit, an operation unit for performing a predetermined operation based on the numerical value input to the numerical value input unit, a password input unit to which an input password is externally input, and an operation result of the operation unit and input to the password input unit A password discriminating unit for discriminating whether or not the input password matches the input password, and when the password discriminating unit discriminates that the calculation result of the calculating unit matches the input password, the security release condition is satisfied. And a memory activating unit for activating the predetermined memory space.置用 security circuit.
【請求項5】 所定のメモリ空間をセキュリティ設定条
件により非活性化する一方、上記所定のメモリ空間をセ
キュリティ解除条件により活性化する半導体記憶装置用
セキュリティ回路において、 外部から数値が入力される数値入力部と、 上記数値入力部に入力された数値に基づいて所定の演算
を行う演算部と、 外部からパスワード入力コマンドが入力されるパスワー
ド入力コマンド入力部と、 上記演算部の演算結果と上記パスワード入力コマンド入
力部に入力されたパスワード入力コマンドとが一致する
か否かを判別するパスワード入力コマンド判別部と、 上記パスワード入力コマンド判別部が上記演算部の演算
結果と上記パスワード入力コマンドとが一致したと判別
すると、入力パスワードを入力するパスワード入力部
と、 上記パスワード入力部に入力された上記入力パスワード
と予め設定された固有パスワードとが一致するか否かを
判別するパスワード判別部と、 上記パスワード判別部が上記入力パスワードと上記固有
パスワードとが一致したと判別すると、上記セキュリテ
ィ解除条件を満足したとして上記所定のメモリ空間を活
性化するメモリ活性化部とを備えたことを特徴とする半
導体記憶装置用セキュリティ回路。
5. A semiconductor memory security circuit for inactivating a predetermined memory space according to a security setting condition and activating the predetermined memory space according to a security release condition, wherein a numerical value input from the outside is performed. Unit, a calculation unit for performing a predetermined calculation based on the numerical value input to the numerical value input unit, a password input command input unit for externally inputting a password input command, a calculation result of the calculation unit, and the password input A password input command determining unit that determines whether or not the password input command input to the command input unit matches; and that the password input command determining unit matches the calculation result of the calculation unit with the password input command. If it is determined, the password input section for inputting the input password and the password A password discriminating unit for discriminating whether or not the input password input to the password input unit matches a preset unique password; and that the password discriminating unit matches the input password and the unique password. A memory activating unit for activating the predetermined memory space upon determining that the security release condition is satisfied; and a security circuit for a semiconductor memory device.
【請求項6】 請求項1,2,4または5のいずれか1つ
に記載の半導体記憶装置用セキュリティ回路において、 上記演算部は、所定の条件で設定された定数を記憶する
書き換え可能な不揮発性メモリセルを有し、その書き換
え可能な不揮発性メモリセルに記憶された定数を演算に
用いることを特徴とする半導体記憶装置用セキュリティ
回路。
6. The security circuit for a semiconductor memory device according to claim 1, wherein the arithmetic unit is configured to store a constant set under a predetermined condition. A security circuit for a semiconductor memory device, comprising a volatile memory cell and using a constant stored in the rewritable nonvolatile memory cell for calculation.
【請求項7】 請求項1または4に記載の半導体記憶装
置用セキュリティ回路において、 上記パスワード判別部が上記演算部の演算結果と上記パ
スワード入力部に入力された上記入力パスワードとが一
致しないと判別すると、上記演算部は、その演算結果に
さらに演算を加えて、演算結果を変更することを特徴と
する半導体記憶装置用セキュリティ回路。
7. The security circuit for a semiconductor memory device according to claim 1, wherein said password discriminating unit discriminates that a result of operation of said computing unit does not match the input password input to said password input unit. Then, the operation section adds an operation to the operation result to change the operation result, thereby providing a security circuit for a semiconductor memory device.
【請求項8】 請求項2または5に記載の半導体記憶装
置用セキュリティ回路において、 上記パスワード入力コマンド判別部が上記演算部の演算
結果と上記パスワード入力コマンド入力部に入力された
パスワード入力コマンドとが一致しない判別すると、上
記演算部は、その演算結果にさらに演算を加えて、演算
結果を変更することを特徴とする半導体記憶装置用セキ
ュリティ回路。
8. The security circuit for a semiconductor memory device according to claim 2, wherein the password input command discriminating unit determines the result of the operation by the operation unit and the password input command input to the password input command input unit. When it is determined that they do not match, the arithmetic unit further performs an operation on the operation result to change the operation result, and the result is changed.
【請求項9】 請求項1,2,4または5のいずれか1つ
に記載の半導体記憶装置用セキュリティ回路において、 所定の条件で設定された鍵アドレスが選択されると、上
記演算部は、その演算結果にさらに演算を加えて、演算
結果を変更することを特徴とする半導体記憶装置用セキ
ュリティ回路。
9. The semiconductor memory device security circuit according to claim 1, wherein when a key address set under a predetermined condition is selected, the arithmetic unit includes: A security circuit for a semiconductor memory device, wherein the operation result is further changed by adding an operation to the operation result.
【請求項10】 請求項1乃至9のいずれか1つに記載
の半導体記憶装置用セキュリティ回路において、 上記演算部の演算結果を記憶する書き換え可能な不揮発
性メモリセルを備えたことを特徴とする半導体記憶装置
用セキュリティ回路。
10. The security circuit for a semiconductor memory device according to claim 1, further comprising a rewritable nonvolatile memory cell for storing a result of the operation performed by said operation unit. Security circuits for semiconductor storage devices.
【請求項11】 請求項9に記載の半導体記憶装置用セ
キュリティ回路において、 上記鍵アドレスを書き換え可能な不揮発性メモリセルに
記憶することを特徴とする半導体記憶装置用セキュリテ
ィ回路。
11. The security circuit for a semiconductor memory device according to claim 9, wherein the key address is stored in a rewritable nonvolatile memory cell.
【請求項12】 請求項11に記載の半導体記憶装置用
セキュリティ回路において、 上記鍵アドレスを記憶する書き換え可能な不揮発性メモ
リセルとして、半導体記憶装置のメモリの一部を構成す
る冗長メモリセルを用いたことを特徴とする半導体記憶
装置用セキュリティ回路。
12. The security circuit for a semiconductor memory device according to claim 11, wherein a redundant memory cell forming a part of a memory of the semiconductor memory device is used as the rewritable nonvolatile memory cell for storing the key address. A security circuit for a semiconductor memory device.
【請求項13】 請求項11に記載の半導体記憶装置用
セキュリティ回路において、 上記鍵アドレスを記憶する書き換え可能な不揮発性メモ
リセルとして、所定の条件で設定されたアドレスに割り
当てられたメモリセルを用いたことを特徴とする半導体
記憶装置用セキュリティ回路。
13. The security circuit for a semiconductor memory device according to claim 11, wherein a memory cell assigned to an address set under a predetermined condition is used as a rewritable nonvolatile memory cell for storing the key address. A security circuit for a semiconductor memory device.
【請求項14】 請求項1乃至13のいずれか1つに記
載の半導体記憶装置用セキュリティ回路と、半導体記憶
装置を含む複数の半導体装置とを備えたセキュリティシ
ステムであって、 上記各半導体装置の少なくとも1つは、上記半導体記憶
装置の所定のメモリ空間を非活性化するセキュリティ設
定部を有し、 上記半導体記憶装置は、上記半導体記憶装置用セキュリ
ティ回路の上記メモリ活性化部を有し、 上記各半導体装置の少なくとも1つは、上記半導体記憶
装置用セキュリティ回路から上記メモリ活性化部を除い
た構成のセキュリティ解除部を有することを特徴とする
セキュリティシステム。
14. A security system comprising: the semiconductor memory device security circuit according to claim 1; and a plurality of semiconductor devices including the semiconductor memory device. At least one has a security setting unit that deactivates a predetermined memory space of the semiconductor storage device. The semiconductor storage device has the memory activation unit of the security circuit for the semiconductor storage device. A security system, wherein at least one of the semiconductor devices has a security release unit having a configuration obtained by removing the memory activation unit from the security circuit for the semiconductor storage device.
【請求項15】 請求項14に記載のセキュリティシス
テムにおいて、 上記セキュリティ解除部を有する上記半導体装置は複数
であって、 上記半導体記憶装置の上記メモリ活性化部は、複数の上
記半導体装置の上記セキュリティ解除部からのセキュリ
ティ解除信号に基づいて所定のメモリ空間を活性化する
ことを特徴とするセキュリティシステム。
15. The security system according to claim 14, wherein a plurality of said semiconductor devices having said security release unit are provided, and said memory activation unit of said semiconductor storage device is said security device of said plurality of semiconductor devices. A security system for activating a predetermined memory space based on a security release signal from a release unit.
JP12995199A 1999-05-11 1999-05-11 Security circuit and security system for semiconductor memory device Expired - Fee Related JP3789056B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12995199A JP3789056B2 (en) 1999-05-11 1999-05-11 Security circuit and security system for semiconductor memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12995199A JP3789056B2 (en) 1999-05-11 1999-05-11 Security circuit and security system for semiconductor memory device

Publications (2)

Publication Number Publication Date
JP2000322319A true JP2000322319A (en) 2000-11-24
JP3789056B2 JP3789056B2 (en) 2006-06-21

Family

ID=15022480

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12995199A Expired - Fee Related JP3789056B2 (en) 1999-05-11 1999-05-11 Security circuit and security system for semiconductor memory device

Country Status (1)

Country Link
JP (1) JP3789056B2 (en)

Also Published As

Publication number Publication date
JP3789056B2 (en) 2006-06-21

Similar Documents

Publication Publication Date Title
KR101010801B1 (en) Method and apparatus for determining access permission
KR100929870B1 (en) How to keep BIOS security of computer system
US10354073B2 (en) Information processor device verifying software and method of controlling information processor device
US7917716B2 (en) Memory protection for embedded controllers
US9208356B2 (en) Semiconductor device including encryption section, semiconductor device including external interface, and content reproduction method
JP2001306400A (en) Semiconductor storage device, its control device and electronic equipment
US20080263256A1 (en) Logic Device with Write Protected Memory Management Unit Registers
JP2001356963A (en) Semiconductor device and its control device
CN110020561B (en) Semiconductor device and method of operating semiconductor device
US20130124845A1 (en) Embedded device and control method thereof
JP6518798B2 (en) Device and method for managing secure integrated circuit conditions
KR20060110796A (en) Semiconductor memory device
US20060221718A1 (en) Memory module and memory system having data protection function, and method for controlling the memory module
US20120060215A1 (en) Mobile terminal and method for protecting its system data
US7054121B2 (en) Protection circuit for preventing unauthorized access to the memory device of a processor
US20080022119A1 (en) Method and apparatus for preventing illegal access in electronic device
CN111026683A (en) Method for accessing memory
JP2000322319A (en) Security circuit for semiconductor storage device and security system
JPH11232884A (en) Nonvolatile memory device
JP6652669B2 (en) Information processing apparatus and information processing apparatus control method
CN113688380A (en) Password protection method, device and medium
JP2007064762A (en) Semiconductor device and test mode control circuit
JP2004288179A (en) Microprocessor system and replacement detection method of module in system
JP2003203012A (en) Microcomputer device
JP2002229855A (en) Semiconductor memory preventing unauthorised use

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050530

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050607

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050804

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20060322

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060327

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090407

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100407

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100407

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110407

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120407

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120407

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130407

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees