+ All Categories
Home > Documents > Deployment of EMC-Compliant IC Chip Techniques in Design ... · 2019.4.24 Japan-French Security...

Deployment of EMC-Compliant IC Chip Techniques in Design ... · 2019.4.24 Japan-French Security...

Date post: 18-Jul-2020
Category:
Upload: others
View: 2 times
Download: 0 times
Share this document with a friend
30
2019.4.24 Japan-French Security Workshop, Kyoto Deployment of EMC-Compliant IC Chip Techniques in Design for Hardware Security Makoto Nagata Graduate School of Science, Technology and Innovation, Kobe University, Japan [email protected] http://www.edu.kobe-u.ac.jp/stin-secafy/index.html
Transcript
Page 1: Deployment of EMC-Compliant IC Chip Techniques in Design ... · 2019.4.24 Japan-French Security Workshop, Kyoto Deployment of EMC-Compliant IC Chip Techniques in Design for Hardware

2019.4.24 Japan-French Security Workshop, Kyoto

Deployment of EMC-Compliant IC Chip Techniques in Design

for Hardware SecurityMakoto Nagata

Graduate School of Science, Technology and Innovation, Kobe University, [email protected]

http://www.edu.kobe-u.ac.jp/stin-secafy/index.html

Page 2: Deployment of EMC-Compliant IC Chip Techniques in Design ... · 2019.4.24 Japan-French Security Workshop, Kyoto Deployment of EMC-Compliant IC Chip Techniques in Design for Hardware

Copyright Makoto Nagata, Kobe University -2-

Kobe University, Japan

Around 16,000 students (1,200 oversea students), 1,600 teaching members.

Kobe Kyoto

Tokyo

Page 3: Deployment of EMC-Compliant IC Chip Techniques in Design ... · 2019.4.24 Japan-French Security Workshop, Kyoto Deployment of EMC-Compliant IC Chip Techniques in Design for Hardware

Copyright Makoto Nagata, Kobe University -3-

Research lab. overview

19 students (5 under graduate, 10 master course, 4 doctoral course), 8 staffs (including professors/guest professors.)Design methodologies of IC chips and systems for hardware security and safety – “Secafy,” with deep background of analog, digital, mixed-signal IC techniques.

Page 4: Deployment of EMC-Compliant IC Chip Techniques in Design ... · 2019.4.24 Japan-French Security Workshop, Kyoto Deployment of EMC-Compliant IC Chip Techniques in Design for Hardware

Copyright Makoto Nagata, Kobe University -4-

Makoto Nagata, Jean-Luc Danger, Noriyuki Miura, "Creating a Safe and Robust Digitally-Connected World," Impact, Vol. 2018, No. 11, pp. 22-25, Dec. 2018. DOI:10.21820/23987073.2018.11.22

FR-JP partnership

Page 5: Deployment of EMC-Compliant IC Chip Techniques in Design ... · 2019.4.24 Japan-French Security Workshop, Kyoto Deployment of EMC-Compliant IC Chip Techniques in Design for Hardware

Copyright Makoto Nagata, Kobe University -5-

IC chips for ECU, PMU,Connectivity, Sensor I/F, Actuator I/F, etc.

Aerospace/Aviation

Automotive

Medical/Healthcare

Hardware security to be assessed in productization or assured by design of IC chips and electronics assembly for critical applications Security performance (Cryptography, Digital signature, Attack resistance, etc.) Authenticity, Validation, Authentication of IC chips Side-channel leakage suppression, Fault injection tolerance

IC chips and systems in critical applications

Page 6: Deployment of EMC-Compliant IC Chip Techniques in Design ... · 2019.4.24 Japan-French Security Workshop, Kyoto Deployment of EMC-Compliant IC Chip Techniques in Design for Hardware

Copyright Makoto Nagata, Kobe University -6-

ECE-R10* (Rev. 5 in 2014)Immunity to radiated and conducted disturbances (EMS)Control of unwanted radiated and conducted emissions (EMI)

EMC as automotive standards

*The United Nations Economic Commission for Europe

Electromagnetic compatibility (EMC)

Anechoic chamberAntenna

ConnectedElectric/Electronic

Vehicle

EMC = EMI + EMS

Page 7: Deployment of EMC-Compliant IC Chip Techniques in Design ... · 2019.4.24 Japan-French Security Workshop, Kyoto Deployment of EMC-Compliant IC Chip Techniques in Design for Hardware

Copyright Makoto Nagata, Kobe University -7-

Safety zone at IC chip

5mm**Magnified

Leakage observed on PCB〜100mm

Leakage through far EM emanation

1m〜

Objective: Securing crypto-engines in the areas of ICs

Physical dimensions at board, package and chip levels.EM radiation, EM sensing, EM injection

Physical attacks in dimensions

Page 8: Deployment of EMC-Compliant IC Chip Techniques in Design ... · 2019.4.24 Japan-French Security Workshop, Kyoto Deployment of EMC-Compliant IC Chip Techniques in Design for Hardware

Copyright Makoto Nagata, Kobe University -8-

Chip issues- Power integrity (PI)- Signal integrity (SI) - Substrate noise (SN)- Timing variation- Performance degradation - Operation failures

EMC issues - emission- susceptibility

VLSI system concerns- Digital and analog/RF

mixed integration- Three dimensional (3D)

heterogeneous integration

Power noise problems in IC chip

Relevant to side-channel (SC) concerns in cryptographic chips

Page 9: Deployment of EMC-Compliant IC Chip Techniques in Design ... · 2019.4.24 Japan-French Security Workshop, Kyoto Deployment of EMC-Compliant IC Chip Techniques in Design for Hardware

Copyright Makoto Nagata, Kobe University -9-

IEC61967-6: Magnetic probe method, measurement of IC chip for conducted EM emission in 150 kHz – 1 GHz.IEC62132-4: Direct RF power injection method, measurement of IC chip for conducted EM immunity in 150 kHz – 1 GHz.

IC chip level EMC test standards

EMS

EMI

Page 10: Deployment of EMC-Compliant IC Chip Techniques in Design ... · 2019.4.24 Japan-French Security Workshop, Kyoto Deployment of EMC-Compliant IC Chip Techniques in Design for Hardware

Copyright Makoto Nagata, Kobe University -10-

Digital data paths are main channels of cryptographic processing. Power current consumption and electromagnetic (EM) emanation are potential side channels that might deliver secret information.

Side channel information leakageAnalysis models (Attacker)- Simple power analysis (SPA)- Differential power analysis (DPA)- Correlation power analysis (CPA)- Local EM analysis (LEMA)

EM probe(Attacker)

IC chip with crypto engine

Package and PCB

EM emanation

Page 11: Deployment of EMC-Compliant IC Chip Techniques in Design ... · 2019.4.24 Japan-French Security Workshop, Kyoto Deployment of EMC-Compliant IC Chip Techniques in Design for Hardware

Copyright Makoto Nagata, Kobe University -11-

Side channel information leakage

Page 12: Deployment of EMC-Compliant IC Chip Techniques in Design ... · 2019.4.24 Japan-French Security Workshop, Kyoto Deployment of EMC-Compliant IC Chip Techniques in Design for Hardware

Copyright Makoto Nagata, Kobe University -12-

Relevance between EMC and HWS

EMS

EMI Electromagnetic emission Side channel leakage (passive information leakage)EMI analysis SCA analysis

Electromagnetic immunity Fault injection(active information leakage)EMS analysis Fault analysis

In-depth understandings of IC-chip level EMC, toward the quality design of IC chips for HWS

Page 13: Deployment of EMC-Compliant IC Chip Techniques in Design ... · 2019.4.24 Japan-French Security Workshop, Kyoto Deployment of EMC-Compliant IC Chip Techniques in Design for Hardware

Copyright Makoto Nagata, Kobe University -13-

EMS

EMI

Electromagnetic emission Side channel leakage (passive information leakage)EMI analysis SCA analysisEMI reduction ----- SC leakage suppression ?Electromagnetic immunity Fault injection(active information leakage)EMS analysis Fault analysisEMS resiliency ----- Fault resiliency?

Deployment of EMC techs. for HWS

Page 14: Deployment of EMC-Compliant IC Chip Techniques in Design ... · 2019.4.24 Japan-French Security Workshop, Kyoto Deployment of EMC-Compliant IC Chip Techniques in Design for Hardware

Copyright Makoto Nagata, Kobe University -14-

EMI simulation framework

Ckt.1 Ckt.2

PD2 PD1

PCB

Chip model

Passive part of EMImodels

Active part of EMI models

Challenges

S-parameters or equivalent circuits of PCB, package and IC chip

Power current models of active circuits with multiple power domains (PDs)

Scenarios to properly activate crypto circuits for EMI simulation toward HWS

Page 15: Deployment of EMC-Compliant IC Chip Techniques in Design ... · 2019.4.24 Japan-French Security Workshop, Kyoto Deployment of EMC-Compliant IC Chip Techniques in Design for Hardware

Copyright Makoto Nagata, Kobe University -15-

PkgPCB

modelChip

model

10 10 410 310 210 -1 1100

Frequency (MHz)

Impe

danc

e (

)

10

103

102

10-1

1

10 0LBoard LWire RDie

CBoardCDie

ZDDMeas.Sim.

PDN impedance model

C-P-B integrated passive model, capturing AC impedance seen from power source side (VDD).

Page 16: Deployment of EMC-Compliant IC Chip Techniques in Design ... · 2019.4.24 Japan-French Security Workshop, Kyoto Deployment of EMC-Compliant IC Chip Techniques in Design for Hardware

Copyright Makoto Nagata, Kobe University -16-

Power noise: C-P-B active interaction

Frequency (MHz)

0

10

20

30

40

50

0 100 200 300 400 500Vo

ltage

(mV)

Impedance ()

0

10

20

30

40

50

0.6

0.8

1

1.2

1.4

1.6

0 20 40 60 80 100Time (ns)

Volta

ge (V

)

FCLK = 10 MHz

Meas.Sim.

Meas.Sim.

ZDD

Power current (IDD, active part of IC) interacts with PDN AC impedance.C-P-B integrated models for power noise in IC chips and PCB.

Page 17: Deployment of EMC-Compliant IC Chip Techniques in Design ... · 2019.4.24 Japan-French Security Workshop, Kyoto Deployment of EMC-Compliant IC Chip Techniques in Design for Hardware

Copyright Makoto Nagata, Kobe University -17-

CPM -- A power delivery network involving multiple power current models.

Chip power model

Chip power model (CPM)

of either “digital circuit block”

or“whole chip”

Power networkmodel

(passive part)

VDD

VSS

Power currentmodel(activepart)

Page 18: Deployment of EMC-Compliant IC Chip Techniques in Design ... · 2019.4.24 Japan-French Security Workshop, Kyoto Deployment of EMC-Compliant IC Chip Techniques in Design for Hardware

Copyright Makoto Nagata, Kobe University -18-

Liner network model (Passive CPM) Behavioral of PDN of IC SPICE compatible model Reduced and distributed RC network among ports (hundreds or

thousands ports) Require : Layout data, technology profile

Liner network model (passive part)

Page 19: Deployment of EMC-Compliant IC Chip Techniques in Design ... · 2019.4.24 Japan-French Security Workshop, Kyoto Deployment of EMC-Compliant IC Chip Techniques in Design for Hardware

Copyright Makoto Nagata, Kobe University -19-

Cell based -- logic cells are characterized in power current model.

Power current model (active part)

- SPICE simulation: I(t)LUT for in/out condition,load caps

- Post-layout extractionlogic cell level: Cesc, Resr

Standard cell library (LEF/DEF)

Vss wiring

Vdd wiring

well network

Cesc

I(t) ResrCpg

Cwell

Page 20: Deployment of EMC-Compliant IC Chip Techniques in Design ... · 2019.4.24 Japan-French Security Workshop, Kyoto Deployment of EMC-Compliant IC Chip Techniques in Design for Hardware

Copyright Makoto Nagata, Kobe University -20-

Full-system level simulation of power side-channel leakageOn-die diagnosis of physical attacks

C-P-S* model for diagnosis and analysis

PackagePCB

IC chip

VDD

VSS

PMC Crypto processor

On-chipmonitor(OCM)

Probe point

*Chip-Package-System board

Page 21: Deployment of EMC-Compliant IC Chip Techniques in Design ... · 2019.4.24 Japan-French Security Workshop, Kyoto Deployment of EMC-Compliant IC Chip Techniques in Design for Hardware

Copyright Makoto Nagata, Kobe University -21-

Silicon test vehicle30

00m

On-ch

ip mo

nitor

4000m

AES Cores

AESComposite

200m

150

m

Chip summary*Process 65 nm CMOS

Metal 9 layer Cu metal

Cores AES cores with different S-box implementation

Target corein this paper

AES Composite S-box implementation

*SPACES explorer chip, for Security evaluation of Physically Attacked Cryptoprocessors in Embedded Systems

*D. Fujimoto, et al., “Side‐Channel Leakage on Silicon Substrate of CMOS Cryptographic Chip,” HOST 2014.

Page 22: Deployment of EMC-Compliant IC Chip Techniques in Design ... · 2019.4.24 Japan-French Security Workshop, Kyoto Deployment of EMC-Compliant IC Chip Techniques in Design for Hardware

Copyright Makoto Nagata, Kobe University -22-

SC leakage measurement system

Interposer

78 mm

120 m

m

SASEBO-R2

FPGA control boardsChip

Exploration of physical mechanisms of SC information leakage. A test chip directly mounted on an interposer, in the measurement system built on FPGA board called “SASEBO-R2.”

Page 23: Deployment of EMC-Compliant IC Chip Techniques in Design ... · 2019.4.24 Japan-French Security Workshop, Kyoto Deployment of EMC-Compliant IC Chip Techniques in Design for Hardware

Copyright Makoto Nagata, Kobe University -23-

Mea

s. b

y O

CMSi

m. w

/ CP

M

VDD VSS

1.20

(V)

1.22

1.18

1.16

1.140 100 200 300 400 500 600 (ns)

1.19

(V)

1.20

1.18

1.17

1.160 100 200 300 400 500 600 (ns)

2.0

(mV)

4.0

0.0

-2.0

-4.00 100 200 300 400 500 600 (ns)

0 100 200 300 400 500 600 (ns)-10.0

5.0

(mV)

10.0

0.0

-5.0

15.0

CPM of AES circuits in C-P-S EMI simulationOn-chip noise monitoring (OCM) of AES circuitsThe overall shape of the waveform and size of peak drops are almost consistent.

Simulation versus measurements

Page 24: Deployment of EMC-Compliant IC Chip Techniques in Design ... · 2019.4.24 Japan-French Security Workshop, Kyoto Deployment of EMC-Compliant IC Chip Techniques in Design for Hardware

Copyright Makoto Nagata, Kobe University -24-

PlaintextPlaintextPlaintextPlain textTarget key

Test vector

CPA* program

Thousands times iteration

*correlated power analysis (CPA)

Active PS current model creation forCPM

> 10k power current waveforms

SC leakage simulation flow

Time-domain simulation for a set of plain texts to be encrypted with a private key.

Page 25: Deployment of EMC-Compliant IC Chip Techniques in Design ... · 2019.4.24 Japan-French Security Workshop, Kyoto Deployment of EMC-Compliant IC Chip Techniques in Design for Hardware

Copyright Makoto Nagata, Kobe University -25-

PS current wvfms for CPA (sim.)

Model costFull transistor(pre-layout)

115 days

Full transistor(post-layout)

Unlikely

Active PS current model

10 hours

Cost of simulation for 10,000 plain texts

280 times acceleration is achieved.

Powe

r cur

rent

(a.u.

)

Time (ns)

*D. Fujimoto, et al., “A Fast Power Current Analysis Methodology Using Capacitor Charging Model for Side Channel Attack Evaluation,” HOST 2011.

Page 26: Deployment of EMC-Compliant IC Chip Techniques in Design ... · 2019.4.24 Japan-French Security Workshop, Kyoto Deployment of EMC-Compliant IC Chip Techniques in Design for Hardware

Copyright Makoto Nagata, Kobe University -26-

0.4

0.3

0.2

0.1

Corre

lation

100008000600040002000Number of traces

CandidatesCorrect

0.3

0.2

0.1Corre

lation

100008000600040002000Number of traces

Simulated Measured

CPA sim. and meas.

Correlation between Hamming distance and PS waveforms

Page 27: Deployment of EMC-Compliant IC Chip Techniques in Design ... · 2019.4.24 Japan-French Security Workshop, Kyoto Deployment of EMC-Compliant IC Chip Techniques in Design for Hardware

Copyright Makoto Nagata, Kobe University -27-

EMS simulation framework

External part of EMS Internal part of EMS Challenge

Limited to the directand associated RF paths of the most significance

On-die paths of ESD I/O rings and Si substrate, in addition to PDN of circuits

Specification of the most sensitive part of circuits to RF disturbance

Ckt.1 Ckt.2

PCB

CPM

Coupled paths on PCB

Coupled paths thr. ESD rings

Coupled pathsthr. Si substrate

Direct RF pathMost sensitive

subckt.

Page 28: Deployment of EMC-Compliant IC Chip Techniques in Design ... · 2019.4.24 Japan-French Security Workshop, Kyoto Deployment of EMC-Compliant IC Chip Techniques in Design for Hardware

Copyright Makoto Nagata, Kobe University -28-

The whole model captures chip-package-system board interaction

EMS simulation model

PKGmodel

PCBmodel ECPM

Linernetworkmodel

VDD

Non-Liner

networkmodel

VSS

Discrete components/Power traces

Bonding wirings

IC chip

ECPM-based CPS network model

Page 29: Deployment of EMC-Compliant IC Chip Techniques in Design ... · 2019.4.24 Japan-French Security Workshop, Kyoto Deployment of EMC-Compliant IC Chip Techniques in Design for Hardware

Copyright Makoto Nagata, Kobe University -29-

Propagation of power current (EMI) or disturbance (EMS) in linear networkCreation of power current (EMI) or response to disturbance (EMS) in nonlinear operation of semiconductor devices

EMC simulation for HWS

RFNoise

SourceModel

PCBModel

PKGModel

Back annotation(transistor level simulation)

CHIPModel

“Linear part”Propagation of disturbance

“Nonlinear part”Creation of current,Response to disturbance

Page 30: Deployment of EMC-Compliant IC Chip Techniques in Design ... · 2019.4.24 Japan-French Security Workshop, Kyoto Deployment of EMC-Compliant IC Chip Techniques in Design for Hardware

Copyright Makoto Nagata, Kobe University -30-

“IC-chip level EMC simulation” is established with chip power models (CPM) and chip-package-system board integrated models (CPS).Deployment of “IC-chip level EMC simulation” faces the challenges to be solved:EMI: Full-system level power noise emission for private key and public crypto processors.EMS: Response of crypto processors to intentional disturbances by EM, Laser and other physical equivalents.

Summary

Acknowledgements: This work was in part supported by Technology and Innovation(CSTI), Cross-ministerial Strategic Innovation Promotion Program (SIP), “Cyber-Securityfor Critical Infrastructure” (funding agency: NEDO).


Recommended