JPS62192836A - Enciphered storage device - Google Patents
Enciphered storage deviceInfo
- Publication number
- JPS62192836A JPS62192836A JP61036172A JP3617286A JPS62192836A JP S62192836 A JPS62192836 A JP S62192836A JP 61036172 A JP61036172 A JP 61036172A JP 3617286 A JP3617286 A JP 3617286A JP S62192836 A JPS62192836 A JP S62192836A
- Authority
- JP
- Japan
- Prior art keywords
- circuit
- exclusive
- data
- random pattern
- signal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 230000006870 function Effects 0.000 abstract 1
- 238000006243 chemical reaction Methods 0.000 description 14
- 238000010586 diagram Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 1
- 238000000034 method Methods 0.000 description 1
- 238000005215 recombination Methods 0.000 description 1
- 230000006798 recombination Effects 0.000 description 1
Landscapes
- Storage Device Security (AREA)
Abstract
Description
【発明の詳細な説明】
(産業上の利用分野)
本発明は、暗号化記憶装置に関し、特に不当なコピーや
内容のIf#gを防止する暗号化記憶装置に関する。DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to an encrypted storage device, and particularly to an encrypted storage device that prevents unauthorized copying and If#g of contents.
(従来の技術)
従来、この種の暗号化記憶装置では、特公昭59−19
988号に「記憶データのBe保護方法」として開示さ
れているように、配列変換回路によるビット組替を、メ
モリへデータを書込む時に行なうことにより、秘密デー
タの漏洩を防止している。(Prior art) Conventionally, in this type of encrypted storage device,
As disclosed in No. 988 as "Be protection method for stored data," leakage of secret data is prevented by rearranging bits using an array conversion circuit when writing data to memory.
(発明が解決しようとする問題点)
上述した従来の暗号化記憶装置は、配列変換回路による
ビット、組替によっているので、例えばメモリ全体に対
して固定的な秘密保持をする場合には好適である。しか
し、データの属性、すなわち所有者や秘密保持のレベル
等に適応した機密保護が要求される場合には、かかる暗
号化記憶装置を用いると多踵類の配列変換回路が必要と
なり、それだけコストが嵩んでしまうことになる。また
、かかる暗号化記憶装置では多)l′ii類の配列変換
回路と接続するとそれだけノイズ成分を取込む可能性が
高くなり、回路の信頼性を低下させる。(Problems to be Solved by the Invention) The conventional encrypted storage device described above uses bit recombination by an array conversion circuit, so it is not suitable, for example, when maintaining fixed secrecy for the entire memory. be. However, in cases where security protection that is appropriate for data attributes, such as ownership or confidentiality level, is required, using such an encrypted storage device requires multiple array conversion circuits, which increases costs. It will become bulky. Furthermore, when such an encrypted storage device is connected to a type I'ii array conversion circuit, the possibility of introducing noise components increases accordingly, reducing the reliability of the circuit.
本発明の目的は、簡単な回路構成でデータの属性に適応
した機冨保誂ができる暗号化記憶装置を提供することに
ある。SUMMARY OF THE INVENTION An object of the present invention is to provide an encrypted storage device that has a simple circuit configuration and is capable of ensuring functionality tailored to the attributes of data.
(問題点を解決するだめの手段)
本発明が上記問題を解決するために提供する暗号化記憶
装置は入力される暗号鍵データに応じた疑似ランダムパ
ターンを発生する疑似ランダムパターン発生回路と、書
込みデータと前記疑似ランダムパターンとを入力とする
第1の排他的論理和回路と、この第1の排他的論理和回
路の出力を記憶するメモリ回路と、前記メモリ回路から
読み出したデータと前記ランダムパターン発生回路で発
生する疑似ランダムパターンとを入力とする第2の排他
的論理和回路とを備え、この第2の排他的論理和回路の
出力を読出データとすることを特徴とする暗号化記憶装
置。(Means for solving the problem) The encrypted storage device provided by the present invention to solve the above problem includes a pseudo-random pattern generation circuit that generates a pseudo-random pattern according to input encryption key data, and a write a first exclusive OR circuit that receives data and the pseudo-random pattern as input; a memory circuit that stores the output of the first exclusive OR circuit; and the data read from the memory circuit and the random pattern. An encrypted storage device comprising a second exclusive OR circuit which receives as input a pseudorandom pattern generated by a generation circuit, and uses the output of the second exclusive OR circuit as read data. .
(実施例)
次に、本発明の暗号化記憶装置について添附図面を参照
して詳細に説明する。(Example) Next, an encrypted storage device of the present invention will be described in detail with reference to the accompanying drawings.
第1図は本発明の暗号化記憶装置の一実施例を示すブロ
ック図である。この図において、符号1はメモリー回路
、2,3はパラレル−シリアル変換回路、4.5はクリ
アルーパラレル変換回路、6.7は排他的論理和回路、
8は疑似ランダムパターン発生回路である。この疑似ラ
ンダムパターン発生回路8はフィードバック型のシフト
レジスタを用いていて、そのレジスタの段数及びフィー
ドバックパルスの取出し位置を変えることによって発生
するパルス系列の周期やパルスパターンを容易に変える
ことができる。符号10は書込データ、11は読出しデ
ータである。符号12は暗号鍵データで、疑似ランダム
パターン発生回路8に暗号鍵データ12が入力すると、
その暗号データに基づいて疑似ランダムパターンパルス
の繰り返し周期が決定される。パラレル−シリアル変換
回路2に入力する書込みデータ10は、パラレル−シリ
アル変換回路2で直列信号に変換されて排他的論理和回
路6に入力される。また、排他的論理和回路6へ入力さ
れるもう一方の信号は、疑似ランダムパターン発生回路
8に入力する暗号鍵データ12に基づいて疑似ランダム
パターン発生回路8で発生する疑似ランダムパターン1
3である。FIG. 1 is a block diagram showing an embodiment of the encrypted storage device of the present invention. In this figure, numeral 1 is a memory circuit, 2 and 3 are parallel-to-serial conversion circuits, 4.5 is a clear-to-parallel conversion circuit, 6.7 is an exclusive OR circuit,
8 is a pseudo-random pattern generation circuit. This pseudo-random pattern generation circuit 8 uses a feedback type shift register, and by changing the number of stages of the register and the take-out position of the feedback pulse, the period and pulse pattern of the generated pulse series can be easily changed. Reference numeral 10 represents write data, and 11 represents read data. Reference numeral 12 is encryption key data, and when the encryption key data 12 is input to the pseudo-random pattern generation circuit 8,
The repetition period of the pseudo-random pattern pulse is determined based on the encrypted data. Write data 10 input to the parallel-serial conversion circuit 2 is converted into a serial signal by the parallel-serial conversion circuit 2 and input to the exclusive OR circuit 6. The other signal input to the exclusive OR circuit 6 is a pseudo-random pattern 1 generated by the pseudo-random pattern generation circuit 8 based on the encryption key data 12 input to the pseudo-random pattern generation circuit 8.
It is 3.
この疑似ランダムパターン13は、排他的論理和回路6
でシリアルの書込みデータ14にスクランブルをかける
。排他的論理和回路6は、第2図(a)、(b) に示
すように、入力信号のどちらか一方だけが論理喧「1」
の時にのみ出方信号15を論理値「1」にする。排他的
論理和回路らの出力信号15を第2図(c)に示す。次
に、シリアル−パラレル変換回路4はかかる信号15を
並列の信号に変換する。メモリ回路1はクリアルーパラ
レル変換回路4の出力信号15の表示データを記憶する
。一方、信号の読み出しは次のようにして行なわれる。This pseudo-random pattern 13 is generated by the exclusive OR circuit 6
The serial write data 14 is scrambled. As shown in FIGS. 2(a) and 2(b), the exclusive OR circuit 6 is configured such that only one of the input signals has a logical value of "1".
The output signal 15 is set to a logical value "1" only when this happens. The output signal 15 of the exclusive OR circuits is shown in FIG. 2(c). Next, the serial-parallel conversion circuit 4 converts the signal 15 into a parallel signal. The memory circuit 1 stores display data of the output signal 15 of the clear-to-parallel conversion circuit 4. On the other hand, signal reading is performed as follows.
先ず、メモリ回路りに記憶したデータを並列信号として
+’R,み出す。この読み出し信号17を第2図(d)
に示す。そして、パラレル−シリアル変換回路3では直
列信号を並列信号に変換し、変換された信号18を排他
的論理和回路7に出力する。この際には、前記疑似ラン
ダムハル−y発生回路8かも疑似ランダムパターン13
が排他的論理和回路7に入力される。このときの疑似ラ
ンダムパターン13は同図(b)と同じ疑似ランダム信
号(同図(e))にする。すなわち、書込みの際に疑似
ランダムパターン発生回路8に入力したものと同じ暗号
鍵データ12を疑似ランダムパターン発生回路8に入力
する。排他的論理和回路7は2つの入力信号のうちいず
れかが論理値「1」の時にのみ出力信号19の論理呟を
rlJにして、書込みデータを復元する。シリアル−パ
ラレル変換回路5は、排他的論理和出力(直列信号)1
9を並列信号に変換して、読出しデータ11として出力
する。この読出しデータを同図(f)に示す。First, the data stored in the memory circuit is extracted as a parallel signal. This readout signal 17 is shown in FIG. 2(d).
Shown below. Then, the parallel-serial conversion circuit 3 converts the serial signal into a parallel signal, and outputs the converted signal 18 to the exclusive OR circuit 7. In this case, the pseudo-random Hull-y generating circuit 8 may also be used as the pseudo-random pattern 13.
is input to the exclusive OR circuit 7. The pseudorandom pattern 13 at this time is the same pseudorandom signal ((e) in the same figure) as in (b) of the same figure. That is, the same encryption key data 12 that was input to the pseudo-random pattern generation circuit 8 at the time of writing is input to the pseudo-random pattern generation circuit 8. The exclusive OR circuit 7 restores the write data by setting the logic value of the output signal 19 to rlJ only when either of the two input signals has a logic value of "1". The serial-parallel conversion circuit 5 has an exclusive OR output (serial signal) 1
9 is converted into a parallel signal and output as read data 11. This read data is shown in FIG. 4(f).
本実施例の暗号化記憶装置では、書込みの際に入力した
暗号鍵データ12を読出しの(祭までオペレータが記憶
し、読出しの際にその暗号鍵データ12を疑似ランダム
パターン発生回路8に入力しない限り書込みデータ10
をメモリー回路1から読み出すことができないので、デ
ータの4比に適応した(良能保護をすることができる。In the encrypted storage device of this embodiment, the operator memorizes the encryption key data 12 input at the time of writing until it is read out, and does not input the encryption key data 12 to the pseudo-random pattern generation circuit 8 at the time of reading. Write data as long as 10
cannot be read out from the memory circuit 1, so it is possible to adapt to the 4-ratio of data (good protection).
また本実施例の暗号化記憶装置は回路構成が簡単である
ので、低コスト化を図ることができる。Furthermore, since the encrypted storage device of this embodiment has a simple circuit configuration, it is possible to reduce costs.
(発明の効果)
以上説明したように本発明によれば、データの属性に適
応した機密保護をすることができるので、データの漏洩
や盗用を防止できる。また、本発明の暗号化記憶装置は
回路構成が簡単であるから低コスト化を図ることができ
る。(Effects of the Invention) As described above, according to the present invention, it is possible to perform security protection that is appropriate to the attributes of data, thereby preventing data leakage and theft. Furthermore, since the encrypted storage device of the present invention has a simple circuit configuration, it is possible to reduce costs.
第1図は本発明暗号化記憶装置の一実施例を示すブロッ
ク図、第2図(a)〜(f)は第1図実施例の動作を説
明するタイミングナヤートである。
l・・・メモリー回路、2,3・・・パラレル−シリア
ル変換回路、4,5・・・/リアルーパラレル変換回路
、6,7・・・排他的論理和回路、8・・・疑似ランダ
ムパターン発生回路。
第1図FIG. 1 is a block diagram showing an embodiment of the encrypted storage device of the present invention, and FIGS. 2(a) to 2(f) are timing diagrams explaining the operation of the embodiment of FIG. 1...Memory circuit, 2, 3...Parallel-serial conversion circuit, 4, 5.../Real-to-parallel conversion circuit, 6, 7...Exclusive OR circuit, 8...Pseudo-random pattern generation circuit. Figure 1
Claims (1)
を発生する疑似ランダムパターン発生回路と、書込みデ
ータと前記疑似ランダムパターンとを入力とする第1の
排他的論理和回路と、この第1の排他的論理和回路の出
力を記憶するメモリ回路と、前記メモリ回路から読み出
したデータと前記ランダムパターン発生回路で発生する
疑似ランダムパターンとを入力とする第2の排他的論理
和回路とを備え、この第2の排他的論理和回路の出力を
読出データとすることを特徴とする暗号化記憶装置。a pseudo-random pattern generation circuit that generates a pseudo-random pattern according to input encryption key data; a first exclusive OR circuit that receives write data and the pseudo-random pattern; comprising a memory circuit that stores the output of the OR circuit; and a second exclusive OR circuit that receives as input the data read from the memory circuit and the pseudo-random pattern generated by the random pattern generation circuit; An encrypted storage device characterized in that the output of two exclusive OR circuits is read data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61036172A JPS62192836A (en) | 1986-02-20 | 1986-02-20 | Enciphered storage device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61036172A JPS62192836A (en) | 1986-02-20 | 1986-02-20 | Enciphered storage device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS62192836A true JPS62192836A (en) | 1987-08-24 |
Family
ID=12462328
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP61036172A Pending JPS62192836A (en) | 1986-02-20 | 1986-02-20 | Enciphered storage device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS62192836A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
FR2659763A1 (en) * | 1990-03-16 | 1991-09-20 | Amstrad Plc | COMPUTER SYSTEM, PROGRAM SOURCE AND METHOD FOR SELECTIVE VALIDATION OF FUNCTIONS IN SUCH A COMPUTER SYSTEM. |
-
1986
- 1986-02-20 JP JP61036172A patent/JPS62192836A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
FR2659763A1 (en) * | 1990-03-16 | 1991-09-20 | Amstrad Plc | COMPUTER SYSTEM, PROGRAM SOURCE AND METHOD FOR SELECTIVE VALIDATION OF FUNCTIONS IN SUCH A COMPUTER SYSTEM. |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5388157A (en) | Data security arrangements for semiconductor programmable devices | |
JP3866105B2 (en) | Microprocessor device with encryption function | |
US4168396A (en) | Microprocessor for executing enciphered programs | |
KR100297154B1 (en) | Pseudorandom number generation circuit and data communication system employing the same | |
JP6714735B2 (en) | Random code generator | |
US7640436B2 (en) | Encryption device and method | |
CA2193196A1 (en) | Pseudorandom number generator | |
JP2003318883A (en) | Key generation device, encrypting/decrypting device and data receiver | |
JPH06244684A (en) | Method and circuit device for generating dummy random number row | |
US5224165A (en) | High speed word generator | |
JPH06243046A (en) | Information protection method and information media | |
US20020168067A1 (en) | Copy protection method and system for a field-programmable gate array | |
JPS62192836A (en) | Enciphered storage device | |
US20240249000A1 (en) | Encryption with enhanced tweak generation | |
JPH045298B2 (en) | ||
KR100446317B1 (en) | System for protecting data of code ROM in code ROM test | |
JP2000076144A (en) | Logic circuit, microcomputer and communication method between logic circuit and storage device | |
JPH02112082A (en) | Microprocessor and ic card to use same | |
JPS5843743B2 (en) | Encryption method | |
JPS5917750A (en) | Cipher system | |
US12197629B2 (en) | Storage device and data access method | |
US7424111B2 (en) | System and method of applying parity bits to protect transmitting and receiving data | |
JPS62107352A (en) | Encipherment rom device | |
SU1477893A1 (en) | Combination lock control device | |
JPH04246681A (en) | Random number generating circuit |