KR102219029B1 - 보호되지 않는 하드웨어 레지스터로의 비밀 데이터의 안전한 로딩 - Google Patents
보호되지 않는 하드웨어 레지스터로의 비밀 데이터의 안전한 로딩 Download PDFInfo
- Publication number
- KR102219029B1 KR102219029B1 KR1020197002856A KR20197002856A KR102219029B1 KR 102219029 B1 KR102219029 B1 KR 102219029B1 KR 1020197002856 A KR1020197002856 A KR 1020197002856A KR 20197002856 A KR20197002856 A KR 20197002856A KR 102219029 B1 KR102219029 B1 KR 102219029B1
- Authority
- KR
- South Korea
- Prior art keywords
- register
- hardware
- sensitive data
- hardware registers
- registers
- 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
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/70—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
- G06F21/71—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information
- G06F21/72—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information in cryptographic circuits
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/602—Providing cryptographic facilities or services
-
- 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]
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2207/00—Indexing scheme relating to methods or arrangements for processing data by operating upon the order or content of the data handled
- G06F2207/72—Indexing scheme relating to groups G06F7/72 - G06F7/729
- G06F2207/7219—Countermeasures against side channel or fault attacks
- G06F2207/7223—Randomisation as countermeasure against side channel attacks
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2207/00—Indexing scheme relating to methods or arrangements for processing data by operating upon the order or content of the data handled
- G06F2207/72—Indexing scheme relating to groups G06F7/72 - G06F7/729
- G06F2207/7219—Countermeasures against side channel or fault attacks
- G06F2207/7223—Randomisation as countermeasure against side channel attacks
- G06F2207/7257—Random modification not requiring correction
-
- 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)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Storage Device Security (AREA)
Abstract
Description
도 1은 본 발명을 실행하는 컴퓨터 프로그램을 획득하기 위한 방법의 순서도를 개략적으로 나타낸다.
도 2는 본 발명의 방법의 순서도를 개략적으로 나타낸다.
도 3은 본 발명의 방법의 세번째 단계의 실시예를 개략적으로 나타낸다.
도 4는 본 발명의 방법의 실시예를 개략적으로 나타낸다.
도 5는 본 발명의 방법의 레지스터 라이트 시퀀스 셔플링 단계를 개략적으로 나타낸다.
Claims (5)
- 하드웨어 암호화 작업을 지원하는 칩(CH) 상의 민감한 데이터(K)로 민감한 데이터 하드웨어 레지스터(KR)의 세트에 안전하게 로딩하기 위한 방법에 있어서, 상기 방법은 소프트웨어의 각각의 실행에서, 소프트웨어 명령어에 의해 모니터링된 다음 단계를 포함하는데,
칩 아키텍쳐 내에서, 사용되고 있지 않은 하드웨어 레지스터 및 민감한 데이터를 다루지 않고, 로딩될 때, 칩 기능을 중단시키지 않는 관련된 하드웨어 레지스터를 나열하는 미리정의된 리스트로 나열된 사용가능한 하드웨어 레지스터(AR)의 세트(ARs)를 선택하는 단계(P1)와,
민감한 데이터 하드웨어 레지스터(KR)의 어드레스 및 사용가능한 하드웨어 레지스터의 세트(ARs) 내 하드웨어 레지스터의 어드레스의 인덱스 가능한 레지스터 리스트(RL)를 구축하는 단계(P2)와,
루프에서, 민감한 데이터(K)의 부분이 라이트(write)되는 민감한 데이터 하드웨어 레지스터(KR)의 각각에서의 마지막 라이팅을 제외하고 랜덤 데이터로, 랜덤 횟수(number of times)로, 랜덤 순서로, 레지스터 리스트(RL) 내의 각각의 하드웨어 레지스터에 라이트(P3)하는 단계를 포함하는, 방법. - 제 1 항에 있어서, 다른 암호화 하드웨어의 키 레지스터를 추가 선택하는 단계를 포함하는, 방법.
- 제 1 항에 있어서, 라이트 단계(P3)는,
복수의 로드 타임(FWC)을 인덱스가능한 레지스터 리스트(RL) 내의 각각의 하드웨어 레지스터에 연결시키는 단계(T1)와,
레지스터 어드레스를 나열하는 레지스터 라이트 시퀀스(RWS)를 관련된 로드 시간(FWC)과 동일한 횟수로 구축하는 단계(T2)와,
셔플된 레지스터 라이트 시퀀스(RWSs) 내의 프로세싱 순서를 결정하기 위해, 레지스터 라이트 시퀀스(RWS)를 셔플하는 단계(T3)와,
셔플된 레지스터 라이트 시퀀스(RWSs) 내의 민감한 데이터 레지스터(KR)에 대한 마지막 발생을 식별하는 단계와,
셔플된 레지스터 라이트 시퀀스 내의 전체 세트의 어드레스에 대하여, 랜덤 데이터로 각각의 하드웨어 레지스터에 라이트하는 단계를 포함하는, 방법. - 제 1 항과 제 2 항 중 어느 한 항의 방법을 실행하는 칩(CH).
- 제 1 항 내지 제 3 항 중 어느 한 항의 방법을 실행하기 위한 명령어를 포함하며, 컴퓨터 판독 가능한 기록매체에 저장된 컴퓨터 프로그램.
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| EP16305841.5A EP3267354A1 (en) | 2016-07-04 | 2016-07-04 | Secure loading of secret data to non-protected hardware registers |
| EP16305841.5 | 2016-07-04 | ||
| PCT/EP2017/064494 WO2018007113A1 (en) | 2016-07-04 | 2017-06-14 | Secure loading of secret data to non-protected hardware registers |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| KR20190024985A KR20190024985A (ko) | 2019-03-08 |
| KR102219029B1 true KR102219029B1 (ko) | 2021-02-22 |
Family
ID=56896484
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| KR1020197002856A Active KR102219029B1 (ko) | 2016-07-04 | 2017-06-14 | 보호되지 않는 하드웨어 레지스터로의 비밀 데이터의 안전한 로딩 |
Country Status (6)
| Country | Link |
|---|---|
| US (1) | US11157658B2 (ko) |
| EP (2) | EP3267354A1 (ko) |
| JP (1) | JP6704071B2 (ko) |
| KR (1) | KR102219029B1 (ko) |
| ES (1) | ES2843098T3 (ko) |
| WO (1) | WO2018007113A1 (ko) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| DE102017116411B4 (de) * | 2017-07-20 | 2022-02-03 | Infineon Technologies Ag | Elektronischen Steuerungseinheit, Gatewayschaltung für eine elektronische Airbag-Steuerungseinheit, Sicherheitssystem für ein Fahrzeug und Umgebungssensorelement |
| CN112906015B (zh) * | 2021-01-26 | 2023-11-28 | 浙江大学 | 一种基于硬件标签的内存敏感数据加密保护系统 |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2003081398A2 (de) * | 2002-03-25 | 2003-10-02 | Infineon Technologies Ag | Vorrichtung und verfahren zum sicheren laden von nutzdaten |
| US20120144205A1 (en) * | 2004-06-08 | 2012-06-07 | Hrl Laboratories, Llc | Cryptographic Architecture with Instruction Masking and other Techniques for Thwarting Differential Power Analysis |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH11191149A (ja) * | 1997-12-26 | 1999-07-13 | Oki Electric Ind Co Ltd | Icカード用lsiおよびその使用方法 |
| JP2000165375A (ja) * | 1998-11-30 | 2000-06-16 | Hitachi Ltd | 情報処理装置、icカード |
| EP2180631A1 (en) * | 2008-10-24 | 2010-04-28 | Gemalto SA | Cryptographic algorithm fault protections |
| GB2489405B (en) * | 2011-03-22 | 2018-03-07 | Advanced Risc Mach Ltd | Encrypting and storing confidential data |
| US9201656B2 (en) * | 2011-12-02 | 2015-12-01 | Arm Limited | Data processing apparatus and method for performing register renaming for certain data processing operations without additional registers |
-
2016
- 2016-07-04 EP EP16305841.5A patent/EP3267354A1/en not_active Withdrawn
-
2017
- 2017-06-14 JP JP2018568759A patent/JP6704071B2/ja active Active
- 2017-06-14 EP EP17729871.8A patent/EP3479287B1/en active Active
- 2017-06-14 ES ES17729871T patent/ES2843098T3/es active Active
- 2017-06-14 US US16/315,105 patent/US11157658B2/en active Active
- 2017-06-14 KR KR1020197002856A patent/KR102219029B1/ko active Active
- 2017-06-14 WO PCT/EP2017/064494 patent/WO2018007113A1/en not_active Ceased
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2003081398A2 (de) * | 2002-03-25 | 2003-10-02 | Infineon Technologies Ag | Vorrichtung und verfahren zum sicheren laden von nutzdaten |
| US20120144205A1 (en) * | 2004-06-08 | 2012-06-07 | Hrl Laboratories, Llc | Cryptographic Architecture with Instruction Masking and other Techniques for Thwarting Differential Power Analysis |
Also Published As
| Publication number | Publication date |
|---|---|
| ES2843098T3 (es) | 2021-07-15 |
| EP3267354A1 (en) | 2018-01-10 |
| EP3479287A1 (en) | 2019-05-08 |
| US11157658B2 (en) | 2021-10-26 |
| US20190311154A1 (en) | 2019-10-10 |
| JP6704071B2 (ja) | 2020-06-03 |
| WO2018007113A1 (en) | 2018-01-11 |
| KR20190024985A (ko) | 2019-03-08 |
| EP3479287B1 (en) | 2020-11-25 |
| JP2019519866A (ja) | 2019-07-11 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7949883B2 (en) | Cryptographic CPU architecture with random instruction masking to thwart differential power analysis | |
| Bos et al. | Differential computation analysis: Hiding your white-box designs is not enough | |
| US9495111B2 (en) | System and method for reducing information leakage from memory | |
| US9047448B2 (en) | Branch auditing in a computer program | |
| JP5136416B2 (ja) | 擬似乱数生成装置、ストリーム暗号処理装置及びプログラム | |
| US20190197216A1 (en) | Method, apparatus, and computer-readable medium for executing a logic on a computing device and protecting the logic against reverse engineering | |
| KR102219029B1 (ko) | 보호되지 않는 하드웨어 레지스터로의 비밀 데이터의 안전한 로딩 | |
| US9646160B2 (en) | Apparatus and method for providing resilience to attacks on reset of the apparatus | |
| JP2004510213A (ja) | パイプライン・アーキテクチャ準拠マイクロコントローラのための機密保護対策方法 | |
| EP2674892B1 (en) | A method, a device and a computer program support for execution of encrypted computer code | |
| Kinsy et al. | Sphinx: A secure architecture based on binary code diversification and execution obfuscation | |
| US20170134379A1 (en) | Method for securing an application and data | |
| CN101281574B (zh) | 一种防止软件保护装置被非法共享的技术方法 | |
| KR101889243B1 (ko) | 다수의 상이하고 독립적인 분기를 사용하여 민감한 계산을 실행하는 방법 | |
| CN109711202B (zh) | 数据处理 | |
| JP2009515449A (ja) | 組み込みシステム上での暗号アルゴリズム実行中にデータを安全に処理するための方法 | |
| Badier et al. | Protecting Behavioral IPs During Design Time: Key-Based Obfuscation Techniques for HLS in the Cloud | |
| Sehrawat et al. | Strengthening Software Diversity Through Targeted Diversification | |
| KR20200061124A (ko) | PUF Key를 이용한 데이터 난독화 기술 방법 및 장치 | |
| US20080244753A1 (en) | Instruction Transform for the Prevention and Propagation of Unauthorized Code Injection |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A201 | Request for examination | ||
| PA0105 | International application |
Patent event date: 20190129 Patent event code: PA01051R01D Comment text: International Patent Application |
|
| PA0201 | Request for examination | ||
| PG1501 | Laying open of application | ||
| E902 | Notification of reason for refusal | ||
| PE0902 | Notice of grounds for rejection |
Comment text: Notification of reason for refusal Patent event date: 20200409 Patent event code: PE09021S01D |
|
| E701 | Decision to grant or registration of patent right | ||
| PE0701 | Decision of registration |
Patent event code: PE07011S01D Comment text: Decision to Grant Registration Patent event date: 20201225 |
|
| GRNT | Written decision to grant | ||
| PR0701 | Registration of establishment |
Comment text: Registration of Establishment Patent event date: 20210217 Patent event code: PR07011E01D |
|
| PR1002 | Payment of registration fee |
Payment date: 20210217 End annual number: 3 Start annual number: 1 |
|
| PG1601 | Publication of registration | ||
| PR1001 | Payment of annual fee |
Payment date: 20240130 Start annual number: 4 End annual number: 4 |
|
| PR1001 | Payment of annual fee |
Payment date: 20250210 Start annual number: 5 End annual number: 5 |