Multi-valued Arbiters for Quality Enhancement of PUF Responses on FPGA Implementation

Similar documents
Physically Unclonable Functions

Uniqueness Enhancement of PUF Responses Based on the Locations of Random Outputting RS Latches

A Highly Flexible Lightweight and High Speed True Random Number Generator on FPGA

CHAPTER 3 CHAOTIC MAPS BASED PSEUDO RANDOM NUMBER GENERATORS

EVALUATION OF PHYSICAL UNCLONABLE FUNCTIONS

Formal Design of Composite Physically Unclonable Function

Shift Register Counters

Design for Testability

Policy Gradients for Cryptanalysis

Philadelphia University Student Name: Student Number:

A Gray Code Based Time-to-Digital Converter Architecture and its FPGA Implementation

Digital Logic: Boolean Algebra and Gates. Textbook Chapter 3

MXPUF: Secure PUF Design against State-of-the-art Modeling Attacks

University of Toronto Faculty of Applied Science and Engineering Edward S. Rogers Sr. Department of Electrical and Computer Engineering

Design for Testability

Design at the Register Transfer Level

CSE370 HW6 Solutions (Winter 2010)

SUPPLEMENTARY INFORMATION

Vidyalankar S.E. Sem. III [CMPN] Digital Logic Design and Analysis Prelim Question Paper Solution

Extracting Secret Keys from Integrated Circuits

Lecture #4: Potpourri

AIR FORCE INSTITUTE OF TECHNOLOGY

Theoretical Modeling of the Itoh-Tsujii Inversion Algorithm for Enhanced Performance on k-lut based FPGAs

Efficient Power and Timing Side Channels for Physical Unclonable Functions

Chapter 7. Sequential Circuits Registers, Counters, RAM

Reg. No. Question Paper Code : B.E./B.Tech. DEGREE EXAMINATION, NOVEMBER/DECEMBER Second Semester. Computer Science and Engineering

Reduced-Area Constant-Coefficient and Multiple-Constant Multipliers for Xilinx FPGAs with 6-Input LUTs

Lecture 10: Synchronous Sequential Circuits Design

Philadelphia University Faculty of Engineering

Clocked Sequential Circuits UNIT 13 ANALYSIS OF CLOCKED SEQUENTIAL CIRCUITS. Analysis of Clocked Sequential Circuits. Signal Tracing and Timing Charts

UNIVERSITY OF BOLTON SCHOOL OF ENGINEERING BENG (HONS) ELECTRICAL & ELECTRONICS ENGINEERING EXAMINATION SEMESTER /2017

CS/COE0447: Computer Organization

EECS150 - Digital Design Lecture 23 - FFs revisited, FIFOs, ECCs, LSFRs. Cross-coupled NOR gates

Digital Systems Design Overview. ENGIN 341 Advanced Digital Design University of Massachuse?s Boston Department of Engineering Dr.

Memory Elements I. CS31 Pascal Van Hentenryck. CS031 Lecture 6 Page 1

Lecture 7: Logic design. Combinational logic circuits

EE 209 Logic Cumulative Exam Name:

ELEC Digital Logic Circuits Fall 2014 Sequential Circuits (Chapter 6) Finite State Machines (Ch. 7-10)

FPGA accelerated multipliers over binary composite fields constructed via low hamming weight irreducible polynomials

Ch 9. Sequential Logic Technologies. IX - Sequential Logic Technology Contemporary Logic Design 1

ABHELSINKI UNIVERSITY OF TECHNOLOGY

SINCE the introduction of Arbiter Physically Unclonable

King Fahd University of Petroleum and Minerals College of Computer Science and Engineering Computer Engineering Department

Power and Timing Side Channels for PUFs and their Efficient Exploitation

Logic BIST. Sungho Kang Yonsei University

UMBC. At the system level, DFT includes boundary scan and analog test bus. The DFT techniques discussed focus on improving testability of SAFs.

CS/COE0447: Computer Organization

EECS150 - Digital Design Lecture 21 - Design Blocks

Digital Circuits and Systems

New Implementations of the WG Stream Cipher

A Trustworthy Key Generation Prototype Based on DDR3 PUF for Wireless Sensor Networks

Preparation of Examination Questions and Exercises: Solutions


Low-complexity generation of scalable complete complementary sets of sequences

Extracting Secret Keys from Integrated Circuits

EE 209 Spiral 1 Exam Solutions Name:

Fundamentals of Digital Design

Unit 7 Sequential Circuits (Flip Flop, Registers)

EECS150 - Digital Design Lecture 11 - Shifters & Counters. Register Summary

CSE140: Components and Design Techniques for Digital Systems. Midterm Information. Instructor: Mohsen Imani. Sources: TSR, Katz, Boriello & Vahid

Circuit for Revisable Quantum Multiplier Implementation of Adders with Reversible Logic 1 KONDADASULA VEDA NAGA SAI SRI, 2 M.

HIGH RESOLUTIO TIME-I TERVAL MEASUREME T SYSTEMS APPLIED TO FLOW MEASUREME T. Sławomir Grzelak, Marcin Kowalski, Jarosław Czoków and Marek Zieliński

課程名稱 : 數位邏輯設計 P-1/ /6/11

ELCT201: DIGITAL LOGIC DESIGN

CS61C : Machine Structures

Chapter 13. Clocked Circuits SEQUENTIAL VS. COMBINATIONAL CMOS TG LATCHES, FLIP FLOPS. Baker Ch. 13 Clocked Circuits. Introduction to VLSI

CPE100: Digital Logic Design I

Boolean Logic Continued Prof. James L. Frankel Harvard University

CMPE12 - Notes chapter 2. Digital Logic. (Textbook Chapters and 2.1)"

ENGG 1203 Tutorial _03 Laboratory 3 Build a ball counter. Lab 3. Lab 3 Gate Timing. Lab 3 Steps in designing a State Machine. Timing diagram of a DFF

Trust-Based Design and Check of FPGA Circuits Using Two-Level Randomized ECC Structures

State & Finite State Machines

Chapter 3 Digital Logic Structures

EECS150 - Digital Design Lecture 25 Shifters and Counters. Recap

ECE/Comp Sci 352 Digital Systems Fundamentals. Charles R. Kime Section 2 Fall Logic and Computer Design Fundamentals

King Fahd University of Petroleum and Minerals College of Computer Science and Engineering Computer Engineering Department

True Random Number Generation on FPGA

Philadelphia University Student Name: Student Number:

Quantitative and Statistical Performance Evaluation of Arbiter Physical Unclonable Functions on FPGAs

Sample Test Paper - I

Implementation Of Digital Fir Filter Using Improved Table Look Up Scheme For Residue Number System

Combinational Logic Design Combinational Functions and Circuits

Multiplexers Decoders ROMs (LUTs) Page 1

PHYSICAL UNCLONEABLE FUNCTION HARDWARE KEYS UTILIZING KIRCHHOFF-LAW- JOHNSON-NOISE SECURE KEY EXCHANGE AND NOISE-BASED LOGIC

State Machines ELCTEC-131

Digital Control of Electric Drives

EECS150 - Digital Design Lecture 22 - Arithmetic Blocks, Part 1

Introduction EE 224: INTRODUCTION TO DIGITAL CIRCUITS & COMPUTER DESIGN. Lecture 6: Sequential Logic 3 Registers & Counters 5/9/2010

Sequential Circuits Sequential circuits combinational circuits state gate delay

Programmable Logic Devices

Chapter 5. Digital Design and Computer Architecture, 2 nd Edition. David Money Harris and Sarah L. Harris. Chapter 5 <1>

CSC9R6 Computer Design. Practical Digital Logic

Review for Final Exam

DIGITAL LOGIC CIRCUITS

Design and FPGA Implementation of Radix-10 Algorithm for Division with Limited Precision Primitives

COE 202: Digital Logic Design Sequential Circuits Part 4. Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office:

Why Attackers Win: On the Learnability of XOR Arbiter PUFs

Fault Injection Modeling Attacks on 65nm Arbiter and RO Sum PUFs via Environmental Changes

Efficient random number generation on FPGA-s

Review: Designing with FSM. EECS Components and Design Techniques for Digital Systems. Lec 09 Counters Outline.

Transcription:

Multi-valued Arbiters for Quality Enhancement of PUF Responses on FPGA Implementation Siarhei S. Zalivaka 1, Alexander V. Puchkov 2, Vladimir P. Klybik 2, Alexander A. Ivaniuk 2, Chip-Hong Chang 1 1 School of Electrical and Electronic Engineering Nanyang Technological University 2 Faculty of Computer Systems and Networks Belarusian State University of Informatics and Radioelectronics January 28, 2016 1/35

Outline 1 Introduction 2 Arbiter PUF Architecture 3 Multi-Arbiter PUF with Enhanced Response Set 4 Metastability Detection 5 Experimental Results 6 Conclusion and future works 2/35

Introduction 3/35

Counterfeiting * Intellectual Property Rights Seizures Statistics Fiscal Year 2012-2014 4/35

Counterfeiting * Intellectual Property Rights Seizures Statistics Fiscal Year 2012-2014 4/35

Counterfeiting * Intellectual Property Rights Seizures Statistics Fiscal Year 2012-2014 4/35

Physical Unclonable Function (PUF) as a security primitive Classic Unique Physical Property Measurement Method Authentication Key Generation Silicon 5/35

Reliability Issues 6/35

Reliability Issues Error Correction Codes 6/35

Reliability Issues Error Correction Codes Structure Enhancement 6/35

Arbiter PUF Architecture 7/35

Classical Arbiter PUF architecture A-PUF L 1 0 1 0 1 L n 0 1 0 1 L N 0 1 0 1 Arb N D Q C LR R Ch 1 Ch n Ch N Init Control * J. Lee, D. Lim, B. Gassend, G. E. Suh, M. van Dijk, S. Devadas A technique to build a secret key in integrated circuits for identification and authentication applications, VLSIC 04 (Conference), June 2004. 8/35

Classical Arbiter PUF architecture A-PUF L 1 0 1 0 1 L n 0 1 0 1 L N 0 1 0 1 Arb N D Q C LR R Ch 1 Ch n Ch N Init Control * J. Lee, D. Lim, B. Gassend, G. E. Suh, M. van Dijk, S. Devadas A technique to build a secret key in integrated circuits for identification and authentication applications, VLSIC 04 (Conference), June 2004. 8/35

Classical Arbiter PUF architecture A-PUF L 1 0 1 0 1 L n 0 1 0 1 L N 0 1 0 1 Arb N D Q C LR R Ch 1 Ch n Ch N Init Control * J. Lee, D. Lim, B. Gassend, G. E. Suh, M. van Dijk, S. Devadas A technique to build a secret key in integrated circuits for identification and authentication applications, VLSIC 04 (Conference), June 2004. 8/35

Classical Arbiter PUF architecture A-PUF L 1 0 1 0 1 L n 0 1 0 1 L N 0 1 0 1 Arb N D Q C LR R Ch 1 Ch n Ch N Init Control Reliability is 0.5769. * J. Lee, D. Lim, B. Gassend, G. E. Suh, M. van Dijk, S. Devadas A technique to build a secret key in integrated circuits for identification and authentication applications, VLSIC 04 (Conference), June 2004. 8/35

Metastability 9/35

Efforts Big Challenge Size 10/35

Efforts Only One Bit Response Big Challenge Size 10/35

Multi-Arbiter PUF with Enhanced Response Set 11/35

Multi-arbiter PUF Architecture MA-PUF 1 Control TPG LFSR N S Challenge... Arb1 Arb2... L 1 L 2...... L N Ch 1 Ch 2... Ch N Challenge ArbN...... MUX Adr R 1... 1 REG D Responses MA-PUF D R D D * V. P. Klybik, A. A. Ivaniuk Use of Arbiter Physical Unclonable Function to solve identification problem of digital device, AC& CS (Journal), May 2015 12/35

Multiplexer chain length investigation Uniqueness Sokal-Michener dist. Reliability 13/35

Multiplexer chain length investigation Uniqueness Sokal-Michener dist. Reliability For arbiter index greater than 16, PUF figures of merit became stable and vary within a narrow range. * Gray colored bars represent average values, Black colored minimal. 13/35

Metastability Detection 14/35

Identification of metastable arbiter bits 15/35

4-DFF based arbiter MA-PUF d Ln Arb n D Q D Q D Q D Q R 3 d,n CLR CLR CLR CLR R 2 d,n R 1 d,n R 0 d,n Ch n Init Control 16/35

4-DFF based arbiter MA-PUF d Ln Ch n Arb n D Q CLR Init D Q CLR Control D CLR Q D CLR Q R 3 d,n R 2 d,n R 1 d,n R 0 d,n S 1 S 2 S 1 S 2 Stable zero Stable one R 0 d,n=1 R 1 d,n=0 R 2 d,n=0 R 3 d,n=1 R 0 d,n=0 R 1 d,n=1 R 2 d,n=1 R 3 d,n=0 16/35

4-DFF outputs distribution 17/35

SR latch based arbiter MA-PUF d L n Arb n 1 D Q CLR D Q C LR R 0 d,n R 1 d,n CLR Ch n Control Init 18/35

SR latch based arbiter MA-PUF d L n Arb n 1 D Q CLR D Q C LR R 0 d,n R 1 d,n CLR Ch n Control Init Rd,n 0 = 0, R1 d,n = 0 stable one 18/35

SR latch based arbiter MA-PUF d L n Arb n 1 D Q CLR D Q C LR R 0 d,n R 1 d,n CLR Ch n Control Init Rd,n 0 = 0, R1 d,n = 0 stable one Rd,n 0 = 1, R1 d,n = 0 stable zero 18/35

SR latch based arbiter MA-PUF d L n Arb n 1 D Q CLR D Q C LR R 0 d,n R 1 d,n CLR Ch n Control Init Rd,n 0 = 0, R1 d,n = 0 stable one Rd,n 0 = 1, R1 d,n = 0 stable zero Rd,n 0 = 1, R1 d,n = 1 high frequency oscillation (HFO) 18/35

Damping oscillation detection Each metastable output is unique and repeatable for particular challenge: 19/35

Damping oscillation detection Each metastable output is unique and repeatable for particular challenge: 19/35

Damping oscillation detection Each metastable output is unique and repeatable for particular challenge: The frequency can be roughly measured by a counter. 19/35

SR latch based arbiter with a counter MAPUF d L n Arb n CNT +1 Q 8 R d,n C LR Ch n Control Init * T. Kacprzak Analysis of Oscillatory Metastable of an RS Flip-Flop, IEEE SSC (Journal), February 1988 20/35

Experimental Results 21/35

Experimental equipment 10 Digilent Nexys-4 Artix-7 FPGA boards. Data transferred via UART interface. CAD Xilinx ISE 14.7. Scripts in C# and Python. 30 experiments with 10,000 challenges applied. 22/35

Experiment Structure 0000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000 23/35

Figures of merit for PUF designs Uniqueness. Reliability. Randomness. 24/35

Figures of merit for PUF designs Uniqueness. Reliability. Randomness. Sokal-Michener Distance (similar to Uniqueness). 24/35

Experimental results. Uniqueness Let R u and R v two n-bit responses generated by different PUF instances for the same challenge. Uniqueness for the m PUF instances can be computed by: m 1 m u=1 v=u+1 2 U = m(m 1) The ideal value is 0.5. HD(R u,r v ) n Type of arbiter DFF (Classical) 4 DFF SR latch Uniqueness 0.4898 0.4972 0.4982 25/35

Distance metrics modification with respect to metastability Values 0 1 X 0 0 1 0.5 1 1 0 0.5 X 0.5 0.5 0 Variable v 1 (i)v 2 (i) a 11 b 01 c 10 d 00 e XX f 0X g X 0 h 1X i X 1 26/35

Distance metrics modification with respect to metastability Values 0 1 X 0 0 1 0.5 1 1 0 0.5 X 0.5 0.5 0 Variable v 1 (i)v 2 (i) a 11 b 01 c 10 d 00 e XX f 0X g X 0 h 1X i X 1 26/35

Experimental results. Sokal-Michener distance This is also a metric to estimate uniqueness. Let v 1 and v 2 are two ternary vectors. The Sokal-Michener distance can be computed as follows: 0.5 (f +g+h+i) + m = D Sokal Michener = b+c m The ideal value is 0.5 2 (b+c)+f +g+h+i 2 m Type of arbiter DFF (Classical) 4 DFF SR latch Average 0.4898 0.4971 0.4954 Minimum 0.4854 0.4868 0.4867 27/35

Experimental results. Reliability Reliability measures the temporal reproducibility of the responses. Let R i is a reference response of size n. E = 30 tests were done. Each element can be computed as follows: R i = max(n 0,n 1,n X ) n 0 +n 1 +n X Let R i,e is the response at different time e. The reliability S can be computed by: S = 1 BER = 1 1 E E e=1 HD(R i,r i,e ) n Type of arbiter DFF (Classical) 4 DFF SR latch Average 0.5769 0.9986 0.9985 Minimum 0.5648 0.9979 0.9978 28/35

Experimental results. Randomness The NIST test results Test Description Passed/Total P-value 4-DFF SR 4-DFF SR Frequency (Monobit) Test 100/100 100/100 0.74 0.53 Frequency Test within a Block 100/100 100/100 0.12 0.53 Runs Test 100/100 100/100 0.74 0.12 Test for the Longest Run of Ones in a Block 100/100 100/100 0.53 0.99 Binary Matrix Rank Test 100/100 100/100 0.35 0.91 Discrete Fourier Transform (Spectral) Test 100/100 100/100 0.53 0.21 Non-overlapping Template Matching Test 97/100 98/100 0.73 0.76 Overlapping Template Matching Test 100/100 100/100 0.74 0.91 Maurer s Universal Statistical Test 100/100 100/100 0.07 0.02 Serial Test 100/100 100/100 0.21 0.74 Cumulative Sums (Cusum) Test 100/100 100/100 0.12 0.07 Random Excursions Test 10/10 10/10 Random Excursions Variant Test 10/10 10/10 29/35

Hardware overhead analysis Component # slice LUTs # slice registers A-PUF 256 / 63400 1 / 126800 MA-PUF 298 / 63400 128 / 126800 4 DFF 302 / 63400 512 / 126800 SR latch 506 / 63400 256 / 126800 Entire system 2494 / 63400 1263 / 126800 30/35

Hardware overhead analysis Component # slice LUTs # slice registers A-PUF 256 / 63400 1 / 126800 MA-PUF 298 / 63400 128 / 126800 4 DFF 302 / 63400 512 / 126800 SR latch 506 / 63400 256 / 126800 Entire system 2494 / 63400 1263 / 126800 Less than 0.4% of logic slices and 0.4% of registers. 30/35

Hardware overhead analysis Component # slice LUTs # slice registers A-PUF 256 / 63400 1 / 126800 MA-PUF 298 / 63400 128 / 126800 4 DFF 302 / 63400 512 / 126800 SR latch 506 / 63400 256 / 126800 Entire system 2494 / 63400 1263 / 126800 Less than 0.4% of logic slices and 0.4% of registers. Flexibility to choose different arbiter outputs. 30/35

Correlations analysis Arb i 121 122 123 124 125 126 127 128 121-0.08 0.23 0.00-0.10 0.12-0.09 0.13 122-0.08-0.01-0.01 0.02-0.00-0.02-0.03 123 0.23-0.01 0.00-0.06 0.08 0.08 0.09 124 0.00-0.01 0.00 0.01-0.04-0.01-0.03 125-0.10 0.02-0.06 0.01-0.01-0.00 0.00 126 0.12-0.00 0.08-0.04-0.01 0.01 0.01 127 0.09-0.02 0.08-0.01-0.00 0.01 0.00 128 0.13-0.03 0.09-0.03 0.00 0.01 0.00 31/35

Correlations analysis Arb i 121 122 123 124 125 126 127 128 121-0.08 0.23 0.00-0.10 0.12-0.09 0.13 122-0.08-0.01-0.01 0.02-0.00-0.02-0.03 123 0.23-0.01 0.00-0.06 0.08 0.08 0.09 124 0.00-0.01 0.00 0.01-0.04-0.01-0.03 125-0.10 0.02-0.06 0.01-0.01-0.00 0.00 126 0.12-0.00 0.08-0.04-0.01 0.01 0.01 127 0.09-0.02 0.08-0.01-0.00 0.01 0.00 128 0.13-0.03 0.09-0.03 0.00 0.01 0.00 The average correlation per Arbiter is 29 out of 128. 31/35

Correlations analysis Arb i 121 122 123 124 125 126 127 128 121-0.08 0.23 0.00-0.10 0.12-0.09 0.13 122-0.08-0.01-0.01 0.02-0.00-0.02-0.03 123 0.23-0.01 0.00-0.06 0.08 0.08 0.09 124 0.00-0.01 0.00 0.01-0.04-0.01-0.03 125-0.10 0.02-0.06 0.01-0.01-0.00 0.00 126 0.12-0.00 0.08-0.04-0.01 0.01 0.01 127 0.09-0.02 0.08-0.01-0.00 0.01 0.00 128 0.13-0.03 0.09-0.03 0.00 0.01 0.00 The average correlation per Arbiter is 29 out of 128. The minimum 3 out of 128. 31/35

Correlations analysis Arb i 121 122 123 124 125 126 127 128 121-0.08 0.23 0.00-0.10 0.12-0.09 0.13 122-0.08-0.01-0.01 0.02-0.00-0.02-0.03 123 0.23-0.01 0.00-0.06 0.08 0.08 0.09 124 0.00-0.01 0.00 0.01-0.04-0.01-0.03 125-0.10 0.02-0.06 0.01-0.01-0.00 0.00 126 0.12-0.00 0.08-0.04-0.01 0.01 0.01 127 0.09-0.02 0.08-0.01-0.00 0.01 0.00 128 0.13-0.03 0.09-0.03 0.00 0.01 0.00 The average correlation per Arbiter is 29 out of 128. The minimum 3 out of 128. The maximum 78 out of 128. 31/35

Conclusion and future works 32/35

Contributions Reconfigurable multi-response A-PUF design with enhanced response alphabet. Two metastability detection techniques. Adopted PUF figures of merit. 33/35

Future works Simulate proposed design on ASIC platform. Test the PUF under varying operational conditions. Check the vulnerability to modeling attacks (machine learning attacks). Arbiter choosing algorithm considering correlation. Develop the high level concept of metastability detection. 34/35

Thanks and Q & A 35/35