JP6292195B2 - 情報処理装置及び情報処理方法 - Google Patents
情報処理装置及び情報処理方法 Download PDFInfo
- Publication number
- JP6292195B2 JP6292195B2 JP2015165174A JP2015165174A JP6292195B2 JP 6292195 B2 JP6292195 B2 JP 6292195B2 JP 2015165174 A JP2015165174 A JP 2015165174A JP 2015165174 A JP2015165174 A JP 2015165174A JP 6292195 B2 JP6292195 B2 JP 6292195B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- information processing
- round
- processing apparatus
- replacement
- 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.)
- Active
Links
- 230000010365 information processing Effects 0.000 title claims description 30
- 238000003672 processing method Methods 0.000 title claims description 4
- 238000000034 method Methods 0.000 claims description 50
- 230000009466 transformation Effects 0.000 claims description 20
- 238000004364 calculation method Methods 0.000 claims description 18
- 230000008707 rearrangement Effects 0.000 claims description 18
- 238000006243 chemical reaction Methods 0.000 claims description 17
- 238000006467 substitution reaction Methods 0.000 claims description 5
- 238000010187 selection method Methods 0.000 claims 1
- 230000008569 process Effects 0.000 description 34
- 230000006870 function Effects 0.000 description 30
- 238000010586 diagram Methods 0.000 description 10
- 230000000052 comparative effect Effects 0.000 description 6
- 230000005540 biological transmission Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Description
2.組み込みシステムによる全体処理例
3.組み込みシステムの機能構成例
<<1.組み込みシステムのハードウェア構成例>>
図1は、本発明の一実施形態に係る組み込みシステムのハードウェア構成の一例を説明するブロック図である。図示するように、組み込みシステム1は、演算装置HW1と、記憶装置HW2と、I/F(interface)HW3とを有する。
図2は、本発明の一実施形態に係る暗号化の1ラウンド当たりの処理の一例を説明するフローチャートである。以下、AES方式において、処理の単位となる16バイト(byte)の入力データに対する処理単位(以下「1ラウンド(round)」という。)について説明する。なお、1ラウンド当たりの処理は、AES方式に用いられる鍵のビット(bit)長等に合わせて、繰り返し行われる。
図2に示すステップS0101では、組み込みシステムは、サブラウンドデータを選択する。即ち、図2に示すステップS0101では、組み込みシステムは、図3に示す入力データD_INのうち、1サブラウンド当たりの処理対象となる1サブラウンドデータを選択する。
図2に示すステップS0102では、組み込みシステムは、第1テーブルに基づいて置換を行う。即ち、図3に示すように、組み込みシステムは、入力される「0」の1バイトのデータを第1テーブルに基づいて置換する。第1テーブルに基づいて置換が行われると、置換データが生成される。また、第1テーブルに基づく置換には、第1変換「g」と、第2逆変換「f−1」とが含まれる。なお、ステップS0102の詳細は、後述する。
図2に示すステップS0103では、組み込みシステムは、第2テーブルに基づいてビットを並び替える。なお、ステップS0103の詳細は、後述する。
図2に示すステップS0104では、組み込みシステムは、排他的論理和を計算する。なお、ステップS0104の詳細は、後述する。
図4は、比較例に係る暗号化の1ラウンド当たりの処理の一例を説明する模式図である。図4は、図3と同様に、入力データD_INのうち、4つの1バイトのデータに対して処理が行われ、出力データD_OUTのうち、4つの1バイトのデータが生成される1サブラウンド当たりの処理の一例を示す。図4に示す処理も、図3と同様に、1ラウンド当たりの処理では、4サブラウンドの処理が繰り返し行われる。以下、1サブラウンド当たりの処理を中心に説明する。
図3に示すように、FIPS197で定められている「ShiftRows」関数を実行した処理結果に対して、ステップS0101(図2及び図3)を行うことによって、組み込みシステムは、同様の処理結果を得ることができる。
図6は、本発明の一実施形態に係る組み込みシステムの機能構成の一例を示す機能ブロック図である。図示するように、組み込みシステム1は、選択部FN1と、置換部FN2と、並び替え部FN3と、排他的論理和計算部FN4とを含む。
D_IN 入力データ
D_OUT 出力データ
T1 第1テーブル
T2 第2テーブル
Claims (11)
- 入力データをAES方式で暗号化又は復号化する情報処理装置であって、
前記入力データのうち、4バイトのサブラウンドデータを選択する選択部と、
前記サブラウンドデータを1バイトのデータごとに、第1テーブルに基づいてそれぞれ1ステップで置換して難読化し、それぞれの置換データを生成する置換部と、
前記置換データのビットを並び替え、かつ、所定の値との排他的論理和となるように、第2テーブルに基づいて1ステップで前記置換データを置換して並替データを生成する並び替え部と、
前記並替データの排他的論理和を計算する排他的論理和計算部と
を含む情報処理装置。 - 前記入力データは、16バイトの1ラウンドデータである請求項1に記載の情報処理装置。
- 前記第1テーブルに基づく置換には、第1変換が含まれ、前記第2テーブルに基づく置換には、前記第1変換に対する第1逆変換が含まれる請求項1又は2に記載の情報処理装置。
- 前記第2テーブルに基づく置換及び前記排他的論理和の計算には、第2変換が含まれ、前記第1テーブルに基づく置換には、前記第2変換に対する第2逆変換が含まれる請求項1に記載の情報処理装置。
- 前記選択が行われると、ShiftRows関数を実行した処理結果と同様の処理結果が得られる請求項1に記載の情報処理装置。
- 前記第1テーブルに基づく置換が行われると、AddRoundKey関数及びSubBytes関数をそれぞれ実行した処理結果と同様の処理結果が含まれる請求項1に記載の情報処理装置。
- 前記第2テーブルに基づく置換及び前記排他的論理和の計算がそれぞれ行われると、MixColumns関数を実行した処理結果と同様の処理結果が含まれる請求項1に記載の情報処理装置。
- 前記第2テーブルは、サブラウンド、ラウンド、奇数ラウンド又は偶数ラウンドごとに共通して使用される請求項1に記載の情報処理装置。
- 前記情報処理装置は、組み込みシステムである請求項1に記載の情報処理装置。
- 前記AES方式は、White Box AESである請求項1に記載の情報処理装置。
- 入力データをAES方式で暗号化又は復号化し、演算装置及び記憶装置を有する情報処理装置が行う情報処理方法であって、
前記演算装置が、前記入力データのうち、4バイトのサブラウンドデータを選択する選択手順と、
前記演算装置が、前記サブラウンドデータを1バイトのデータごとに、前記記憶装置が記憶する第1テーブルに基づいてそれぞれ1ステップで置換して難読化し、それぞれの置換データを生成する置換手順と、
前記演算装置が、前記置換データのビットを並び替え、かつ、所定の値との排他的論理和となるように、前記記憶装置が記憶する第2テーブルに基づいて前記置換データを1ステップで置換して並替データを生成する並び替え手順と、
前記演算装置が、前記並替データの排他的論理和を計算する排他的論理和計算手順と
を含む情報処理方法。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015165174A JP6292195B2 (ja) | 2015-08-24 | 2015-08-24 | 情報処理装置及び情報処理方法 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015165174A JP6292195B2 (ja) | 2015-08-24 | 2015-08-24 | 情報処理装置及び情報処理方法 |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2017044757A JP2017044757A (ja) | 2017-03-02 |
JP6292195B2 true JP6292195B2 (ja) | 2018-03-14 |
Family
ID=58210030
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2015165174A Active JP6292195B2 (ja) | 2015-08-24 | 2015-08-24 | 情報処理装置及び情報処理方法 |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6292195B2 (ja) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7383949B2 (ja) | 2019-09-20 | 2023-11-21 | 富士電機株式会社 | 情報処理装置及びプログラム |
JP7383985B2 (ja) | 2019-10-30 | 2023-11-21 | 富士電機株式会社 | 情報処理装置、情報処理方法及びプログラム |
JP7459569B2 (ja) | 2020-03-05 | 2024-04-02 | 富士電機株式会社 | 情報処理装置、情報処理方法及びプログラム |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003195749A (ja) * | 2001-12-26 | 2003-07-09 | Denso Create:Kk | データ変換装置、データ変換プログラム、記録媒体及びデータ変換方法 |
JP2006235440A (ja) * | 2005-02-28 | 2006-09-07 | Seiko Epson Corp | 半導体集積回路 |
JP2007034178A (ja) * | 2005-07-29 | 2007-02-08 | Canon Inc | データ変換装置、プログラム、記憶媒体 |
WO2007105126A2 (en) * | 2006-03-10 | 2007-09-20 | Koninklijke Philips Electronics N.V. | Method and system for obfuscating a cryptographic function |
US20080019524A1 (en) * | 2006-06-29 | 2008-01-24 | Kim Moo S | Apparatus and method for low power aes cryptographic circuit for embedded system |
US7890750B2 (en) * | 2006-07-06 | 2011-02-15 | Accenture Global Services Limited | Encryption and decryption on a graphics processing unit |
EP2293487A1 (en) * | 2009-09-08 | 2011-03-09 | Thomson Licensing | A method of diversification of a round function of an encryption algorithm |
JP5439233B2 (ja) * | 2010-03-08 | 2014-03-12 | 株式会社東芝 | 制御装置 |
CN102411683B (zh) * | 2011-08-15 | 2014-04-02 | 复旦大学 | 一种适用于嵌入式系统的基于高速缓存的aes加速器 |
JP5612007B2 (ja) * | 2012-03-15 | 2014-10-22 | 株式会社東芝 | 暗号化鍵生成装置 |
-
2015
- 2015-08-24 JP JP2015165174A patent/JP6292195B2/ja active Active
Also Published As
Publication number | Publication date |
---|---|
JP2017044757A (ja) | 2017-03-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8966279B2 (en) | Securing the implementation of a cryptographic process using key expansion | |
US10148427B2 (en) | Information processing apparatus, method for processing information, and medium | |
KR102169369B1 (ko) | 경량 블록 암호화에 대한 1차 부채널 공격에 대응하는 방법 및 이를 이용한 장치 | |
JPWO2009087972A1 (ja) | データ送信装置、データ受信装置、これらの方法、コンピュータプログラム、そのデータ通信システム | |
US10044499B2 (en) | Information processing apparatus, program, and storage medium | |
JP6292195B2 (ja) | 情報処理装置及び情報処理方法 | |
US10411881B2 (en) | Data processing apparatus, method for processing data, and medium | |
KR101914453B1 (ko) | 암호화 장치 및 방법 | |
KR102565443B1 (ko) | 암호 알고리즘 생성 장치 및 방법, 암호화 장치 및 방법 | |
US10097343B2 (en) | Data processing apparatus and data processing method | |
CN113098675A (zh) | 基于多项式完全同态的二进制数据加密系统及方法 | |
KR101445339B1 (ko) | 기밀성과 무결성을 제공하는 통합 암호화 장치 및 그 방법 | |
JP5992651B2 (ja) | 暗号化方法、プログラム、および、システム | |
US8774402B2 (en) | Encryption/decryption apparatus and method using AES rijndael algorithm | |
US10181947B2 (en) | Information processing apparatus, program, and recording medium | |
JP2014240921A (ja) | 暗号装置、暗号処理方法及び暗号処理プログラム | |
JP6167721B2 (ja) | 暗号化装置、復号装置、暗号化方法、復号方法及びプログラム | |
JP7383985B2 (ja) | 情報処理装置、情報処理方法及びプログラム | |
JPWO2009090689A1 (ja) | 暗号化装置及び暗号処理方法 | |
KR101807259B1 (ko) | 암호화 장치 및 방법 | |
KR102157219B1 (ko) | 경량 블록 암호화에 대한 고차 부채널 공격에 대응하는 방법 및 이를 이용한 장치 | |
JP2015082077A (ja) | 暗号化装置、制御方法、及びプログラム | |
KR102287962B1 (ko) | 부채널 공격 대응이 용이한 128비트 경량 블록 암호화 방법 및 이를 이용한 장치 | |
KR102282363B1 (ko) | 비트 시리얼 hight 연산 장치 및 그 방법, 그 방법을 프로세서가 수행하도록 하기 위한 명령어를 포함하는 컴퓨터 판독 가능한 기록매체 및 컴퓨터 프로그램 | |
JP6070408B2 (ja) | 暗号化装置、復号装置、暗号化方法、復号方法及びプログラム |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20161219 |
|
A871 | Explanation of circumstances concerning accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A871 Effective date: 20161219 |
|
A975 | Report on accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A971005 Effective date: 20170110 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20170418 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20170612 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20170905 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20171122 |
|
A911 | Transfer to examiner for re-examination before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20171204 |
|
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: 20180116 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20180129 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6292195 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |