JP4783104B2 - 暗号化/復号装置 - Google Patents
暗号化/復号装置 Download PDFInfo
- Publication number
- JP4783104B2 JP4783104B2 JP2005285596A JP2005285596A JP4783104B2 JP 4783104 B2 JP4783104 B2 JP 4783104B2 JP 2005285596 A JP2005285596 A JP 2005285596A JP 2005285596 A JP2005285596 A JP 2005285596A JP 4783104 B2 JP4783104 B2 JP 4783104B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- random number
- circuit
- encryption
- exclusive
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/002—Countermeasures against attacks on cryptographic mechanisms
- H04L9/003—Countermeasures against attacks on cryptographic mechanisms for power analysis, e.g. differential power analysis [DPA] or simple power analysis [SPA]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2209/00—Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
- H04L2209/04—Masking or blinding
- H04L2209/046—Masking or blinding of operations, operands or results of the operations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2209/00—Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
- H04L2209/08—Randomization, e.g. dummy operations or using noise
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2209/00—Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
- H04L2209/12—Details relating to cryptographic hardware or logic circuitry
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Storage Device Security (AREA)
Description
DPAは、破壊行為を伴わない攻撃であるため、外見を見ただけでは攻撃によって鍵情報が取り出されたかどうか判断できず、不正利用による被害が拡大する恐れがある。このため、暗号演算回路において、DPAへの対策が必須となってきている。
"An implementation of DES and AES, secure against some attacks," Proceedings of CHES 2001, LNCS 2162, pp.309−318, 2001
=(DataA^RN)^(DataB^RN)
=DataA^DataB^RN^RN
=DataA^DataB
このように、記憶手段のデータの変化量に着目すると、データをマスクしているマスク用データの部分が消去され、2つのマスクのかかっていないデータの排他的論理和の結果だけが残る。これはまさに、記憶手段の連続する2つのデータの変化量に相当する。したがって、攻撃者は、記憶手段の変化量を正しく推定することが可能となっており、その結果、秘密情報を導出されることになり、安全性が保障できない(なお、2つの連続するデータの変化量に着目した解析モデルを、状態遷移モデルと呼ぶ)。
以上
11 演算回路
12 乱数供給部
13、15 排他的論理和回路
14 レジスタ回路
16 選択信号生成部
21 乱数生成部
22 乱数保持部
31 入力タイミング制御部
33−1、33−2、33−3 データ保持部
34 データ選択部
40 テーブル
Claims (5)
- 同一の演算処理を繰り返し行うことで、外部から入力される平文データ/暗号文データを暗号化/復号する暗号化/復号装置において、
乱数を生成する乱数供給部と、
前記平文データ/暗号文データと前記乱数供給部の乱数とを排他的論理和演算する第1排他的論理和回路と、
前記演算処理を行うものであって、初回は、前記第1排他的論理和回路で排他的論理和されたデータを演算処理する演算回路と、
複数のデータ保持部を備えており、複数のデータ保持部の一つを指定する選択信号を入力する毎に、前記演算回路からのデータを、前記選択信号に基づき選択された一のデータ保持部に書き込み保持するデータレジスタ回路と、
最終回の前記演算回路での演算処理後に前記データレジスタ回路の前記一のデータ保持部に保持されたデータと、前記乱数供給部の乱数とを排他的論理和演算する第2排他的論理和回路とを備え、
前記演算回路は、2回目以降は、前記データレジスタ回路の前記一のデータ保持部に保持されたデータを演算し、
前記第2排他的論理和演算の結果である暗号化データ/平文データを出力する
こと特徴とする暗号化/復号装置。 - 前記選択信号は、連続して同じデータ保持部を指定しないことを特徴とする前記請求項1に記載の暗号化/復号装置。
- 前記選択信号で選択されなかったデータ保持部の保持内容をリセットするようにしたことを特徴とする前記請求項1乃至2に記載の暗号化/復号装置。
- 前記選択信号で選択されなかったデータ保持部の保持内容を反転するようにしたことを特徴とする前記請求項1乃至2に記載の暗号化/復号装置。
- 前記選択信号で選択されなかったデータ保持部の保持内容を予め定められた2値列または乱数で書き換えるようにしたことを特徴とする前記請求項1乃至2に記載の暗号化/復号装置。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005285596A JP4783104B2 (ja) | 2005-09-29 | 2005-09-29 | 暗号化/復号装置 |
US11/511,401 US8023643B2 (en) | 2005-09-29 | 2006-08-29 | Encryption/decryption apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005285596A JP4783104B2 (ja) | 2005-09-29 | 2005-09-29 | 暗号化/復号装置 |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2007096973A JP2007096973A (ja) | 2007-04-12 |
JP4783104B2 true JP4783104B2 (ja) | 2011-09-28 |
Family
ID=37893975
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005285596A Expired - Fee Related JP4783104B2 (ja) | 2005-09-29 | 2005-09-29 | 暗号化/復号装置 |
Country Status (2)
Country | Link |
---|---|
US (1) | US8023643B2 (ja) |
JP (1) | JP4783104B2 (ja) |
Families Citing this family (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100585119B1 (ko) * | 2004-01-07 | 2006-06-01 | 삼성전자주식회사 | 암호화 장치, 암호화 방법 및 그 기록매체 |
JP4909018B2 (ja) | 2006-11-16 | 2012-04-04 | 富士通株式会社 | 共通鍵暗号のための暗号化装置 |
JP4936996B2 (ja) | 2007-05-24 | 2012-05-23 | 株式会社東芝 | 非線形データ変換器、暗号化装置、および復号装置 |
JP2009027472A (ja) * | 2007-07-19 | 2009-02-05 | Toshiba Corp | 暗号演算装置 |
KR101311963B1 (ko) * | 2007-08-06 | 2013-09-26 | 삼성전자주식회사 | 파워 어택으로부터 안전하게 데이터를 쓰고 읽을 수 있는반도체 메모리 장치 및 그 방법 |
CA2688592C (en) * | 2007-10-01 | 2014-04-15 | Research In Motion Limited | Substitution table masking for cryptographic processes |
KR100946907B1 (ko) | 2007-10-29 | 2010-03-09 | 주식회사 케이티테크 | 멀티미디어 데이터의 암호화 장치, 멀티미디어 데이터의암호화 방법 및 멀티미디어 데이터의 암호화 기능을 구비한휴대용 단말기 |
JPWO2009118829A1 (ja) * | 2008-03-25 | 2011-07-21 | 三菱電機株式会社 | 暗号演算装置及び暗号演算プログラム及び記録媒体 |
WO2011101994A1 (ja) * | 2010-02-22 | 2011-08-25 | 株式会社東芝 | 暗号化装置 |
CN102254110A (zh) * | 2010-05-20 | 2011-11-23 | 中国人民解放军国防科学技术大学 | 寄存器翻转时刻随机化控制电路 |
JP5327493B1 (ja) | 2011-11-28 | 2013-10-30 | 日本電気株式会社 | 暗号化処理回路及び復号処理回路、その方法並びにそのプログラム |
DE102012024856A1 (de) * | 2012-12-19 | 2014-06-26 | Giesecke & Devrient Gmbh | Verfahren zum Betreiben eines Sicherheitsmoduls sowie ein solches Sicherheitsmodul |
TWI517655B (zh) * | 2013-05-23 | 2016-01-11 | 晨星半導體股份有限公司 | 密碼裝置以及密鑰保護方法 |
CN103593628B (zh) * | 2013-11-07 | 2016-06-01 | 中国科学院信息工程研究所 | 一种逻辑复合寄存器系统及抵抗能量分析攻击的方法 |
US9483640B2 (en) | 2014-04-01 | 2016-11-01 | Georgetown University | System and method for deterring malicious network attacks |
FR3101983B1 (fr) | 2019-10-11 | 2021-11-12 | St Microelectronics Grenoble 2 | Détermination d'un bit indicateur |
FR3101982B1 (fr) | 2019-10-11 | 2024-03-08 | St Microelectronics Grenoble 2 | Détermination d'un bit indicateur |
FR3101980B1 (fr) * | 2019-10-11 | 2021-12-10 | St Microelectronics Grenoble 2 | Processeur |
JP2024053189A (ja) * | 2022-10-03 | 2024-04-15 | キヤノン株式会社 | 暗号処理装置、暗号処理装置の暗号処理方法およびプログラム |
Family Cites Families (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5237615A (en) * | 1982-05-20 | 1993-08-17 | The United States Of America As Represented By The National Security Agency | Multiple independent binary bit stream generator |
JP3088337B2 (ja) * | 1997-05-30 | 2000-09-18 | 三菱電機株式会社 | 暗号処理装置、icカード及び暗号処理方法 |
JP3600454B2 (ja) * | 1998-08-20 | 2004-12-15 | 株式会社東芝 | 暗号化・復号装置、暗号化・復号方法、およびそのプログラム記憶媒体 |
JP4083925B2 (ja) * | 1999-06-24 | 2008-04-30 | 株式会社日立製作所 | 情報処理装置、カード部材および情報処理システム |
US6295606B1 (en) * | 1999-07-26 | 2001-09-25 | Motorola, Inc. | Method and apparatus for preventing information leakage attacks on a microelectronic assembly |
CA2298990A1 (en) * | 2000-02-18 | 2001-08-18 | Cloakware Corporation | Method and system for resistance to power analysis |
JP2001282650A (ja) * | 2000-03-29 | 2001-10-12 | Mitsubishi Electric Corp | データバッファリング装置およびこのデータバッファリング装置を用いた分散制御システム |
JP4596686B2 (ja) * | 2001-06-13 | 2010-12-08 | 富士通株式会社 | Dpaに対して安全な暗号化 |
JP3950661B2 (ja) * | 2001-10-05 | 2007-08-01 | ジーイー・メディカル・システムズ・グローバル・テクノロジー・カンパニー・エルエルシー | データ伝達装置 |
JP4045777B2 (ja) * | 2001-10-30 | 2008-02-13 | 株式会社日立製作所 | 情報処理装置 |
JP4357815B2 (ja) * | 2002-09-11 | 2009-11-04 | 株式会社東芝 | 暗号演算回路 |
WO2004053683A2 (en) * | 2002-12-12 | 2004-06-24 | Arm Limited | Processing activity masking in a data processing system |
WO2005073825A2 (en) * | 2004-01-27 | 2005-08-11 | Koninklijke Philips Electronics N.V. | Protection against power analysis attacks |
-
2005
- 2005-09-29 JP JP2005285596A patent/JP4783104B2/ja not_active Expired - Fee Related
-
2006
- 2006-08-29 US US11/511,401 patent/US8023643B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
US20070071235A1 (en) | 2007-03-29 |
JP2007096973A (ja) | 2007-04-12 |
US8023643B2 (en) | 2011-09-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4783104B2 (ja) | 暗号化/復号装置 | |
US8724804B2 (en) | Encryption processing apparatus | |
JP4960044B2 (ja) | 暗号処理回路及びicカード | |
US8428251B2 (en) | System and method for stream/block cipher with internal random states | |
US9515818B2 (en) | Multi-block cryptographic operation | |
US9503256B2 (en) | SMS4 acceleration hardware | |
JP2007195132A (ja) | 暗号処理装置 | |
US8010587B2 (en) | Random number generator | |
JPWO2006100801A1 (ja) | キーストリーム暗号化装置および方法ならびにプログラム | |
US9565018B2 (en) | Protecting cryptographic operations using conjugacy class functions | |
US8675866B2 (en) | Multiplicative splits to protect cipher keys | |
US11436946B2 (en) | Encryption device, encryption method, decryption device, and decryption method | |
JP6735926B2 (ja) | 暗号化装置、復号装置、暗号化方法、復号方法、暗号化プログラム及び復号プログラム | |
US8699702B2 (en) | Securing cryptographic process keys using internal structures | |
KR100888614B1 (ko) | 보안 알고리즘 회로 및 데이터 암호화 방법 | |
JP5755970B2 (ja) | 演算装置 | |
KR102141843B1 (ko) | 암호화 방법을 실행하기 위한 장치 및 방법 | |
JP2010039838A (ja) | 乱数生成回路及びコンピュータシステム | |
JP5020115B2 (ja) | 暗号化装置および復号化装置 | |
JP2005204128A (ja) | 個別鍵生成装置及びプログラム | |
JP2002229444A (ja) | ブロック暗号化、復号回路 | |
CN114826562A (zh) | 一种数据加密方法、装置、电子设备及存储介质 | |
CN115242393A (zh) | 加密装置、解密装置、加密方法、解密方法和电子设备 | |
JP2013167740A (ja) | 暗号化装置、暗号化方法および暗号化プログラム | |
JP2005050116A (ja) | 命令実行装置およびその方法 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20100309 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100413 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100611 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110107 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110308 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110329 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110527 |
|
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: 20110614 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20110708 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140715 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140715 Year of fee payment: 3 |
|
LAPS | Cancellation because of no payment of annual fees |