Randomnes in Hardware security Flashcards
Secure Integrated
Circuits (ICs)
Secure Integrated Circuits (ICs) for Authentication, Identification, Transactions, Communication r Required functionalities: Key generation and device fingerprinting
Achieving Randomness in Real World
- Physical phenomena examples:
- Clock drift (jitter)
- Thermal noise
- Transistor mismatches
- Photons through semi-transparent mirror
Generating Random Numbers
- Linear Feedback Shift Register (LFSR) - True Random Number Generator (TRNG) - Physically Unclonable Function (PUF)
Linear Feedback Shift Register (LFSR)
Simple way for generating pseudorandom numbers - Input of shift register as a linear function of output - Initial State called Seed - Feedback bits called Taps
LFSR Applications
Pseudo-random number generators (PRNGs) for stream ciphers - A5/1 and A5/2 in GSM - E0 in Bluetooth - Clock dividers and counters
Advantages of LFSRs
- Easy to implement in Hardware/Software
- Produce long sequence of bits which seems random
with well-chosen feedback function
Disadvantages of LFSRs
- Deterministic
- Finite number of states
True Random Number Generators (TRNGs)
Generate randomness from physical phenomena - Example: Sampling phase jitter in oscillator rings to generate sequence of random bits - Output of rings fed into an XOR - Sampling by D-flipflop driven by the system clock
TRNG Applications
Random numbers with high entropy for - Cryptographic keys - Initialization vectors and seeds for cryptographic primitives and PRNGs - Padding bits - Nonces (number used once)
TRNG Design Challenges
Non-uniform distribution
-> post-processing and correction steps needed
- Low output rate
- Biasing or non-randomness behaviour by
variations in operational conditions (e.g.,
fluctuations in temperature and supply voltage)
-> Many active attacks
Physical(ly) Unclonable Functions (PUFs)
- Also known as Random Physical Functions or One-way Physical Functions - Utilizing manufacturing process variations on different chips to make them unique - Fingerprint of the IC
PUF Definition
-Physical entity that is embodied in a physical
structure
- Easy to evaluate but hard to predict
- Easy to make but practically impossible to
duplicate
- Inputs are called Challenges
- Outputs are called Responses
- Together: Challenge-Response-Pairs (CRPs)
- Not a true function in a mathematical sense: one
possible input -> more possible outputs
Non-electrical PUFs (1)
- Non-electronic constructions with PUF-like
properties - Electronic and digital techniques are used to
process the PUF responses - Examples: Optical PUF, Magnetic PUFs, etc.
Analog Electronic PUFs
- PUF constructions whose basic operation consists
of an analog measurement of an electric or
electronic quantity -> analog responses - Examples: Coating PUFs, LC PUFs, etc.
Digital Intrinsic PUFs
- PUF and measurement system fully integrated in
the embedding device - PUF constructible by available manufacturing
process of embedding device - Two classes:
1. Delay-Based Intrinsic PUFs: Arbiter PUFs, Ring
Oscillator PUFs, etc.
2. Memory-based Intrinsic PUFs: SRAM PUFs,
Butterfly PUFs, Bistable Ring PUFs, etc.