Counted from the questions in the past papers listed on this site. Repeated = how many times the topic came in those papers.
Hardware Security important questions with answers
Each answer starts with the short answer. Then come the points to write, a diagram and an exam tip. The questions under each topic are copied from the RGPV papers.
Q1. Hardware security: meaning, significance, threats and best practices
Asked 2 times in 2024, 2025 · Unit 1
From the papers
“Discuss the different types of hardware security best practices.” (Jun 2025)
“Define hardware security. Explain the significance of hardware security in detail.” (May 2024)
The short answer
Hardware security protects the physical chips and devices of a system with the secrets inside them from attacks on the hardware itself: tampering, side channels, faults, hidden hardware Trojans, cloning and piracy. Software security assumes the hardware can be trusted. Hardware security makes that trust real, so it is the root of trust for everything above it.
Write these points
Significance
Keys, passwords and biometric data finally live in hardware; if the chip leaks them, encryption is useless.
Chips are designed in one country, made in another and assembled in a third, so the supply chain can add Trojans or fakes.
Hardware bugs cannot be patched easily: Spectre and Meltdown hit billions of processors.
IoT, cars, medical devices and smart cards are physically reachable by attackers.
Counterfeit and pirated chips cost the industry billions and fail in the field.
Main threats
Threat
What happens
Example
Side-channel attack
Power, time, sound or EM leak the key
Power analysis on a smart card
Fault attack
A glitch makes the chip compute wrongly
Voltage glitch on RSA-CRT
Hardware Trojan
Hidden malicious circuit
Kill switch added at the foundry
IP and IC piracy
Design stolen or chips overproduced
Extra chips sold by the foundry
Physical tampering
Probing, reverse engineering
Reading a key from memory
Best practices
Root of trust: TPM, secure element or PUF to hold keys.
Secure boot: run only firmware signed by the maker.
Side-channel and fault countermeasures: masking, constant-time code, error checks.
Supply chain checks: trusted vendors, testing for Trojans and fakes.
Tamper detection: sensors and shields that erase keys on attack.
Disable debug ports (JTAG) in products; update firmware securely.
A smart door lock.
The lock stores its key in normal flash and has an open debug port.
An attacker opens the case, connects to the port and reads the key in minutes.
Fixed design: key kept in a secure element, debug port disabled, firmware signed and checked at boot.
The same attack now gives nothing, because the key never leaves the secure element.
Real-life example
A house with a strong digital lock but a door made of cardboard is not safe. Hardware security makes the door itself strong.
Figure: layers of trust
Same or opposite: hardware and software security
Point
Hardware security
Software security
Same or opposite
Protects
Chips, devices, physical secrets
Programs and data
Opposite
Aim is to protect the system
Yes
Yes
Same
Fixing a flaw
Hard, needs new hardware
Patch or update
Opposite
Typical attacks
Side channel, fault, Trojan
Malware, injection
Opposite
Exam tip. Define hardware security and say why it is the root of trust. Give the threats table and list six best practices. The smart lock example shows the point quickly.
Q2. Finite fields: definition, properties, GF(4) construction and Euler's phi
Asked 2 times in 2024, 2025 · Unit 1
From the papers
“Show that phi(n) >= 1 for all n >= 1.” (Jun 2025)
“What is a finite field? Show that for any element m in F, m * 0 = 0.” (May 2024)
“Construct a finite field with 2^2 = 4 elements using the prime degree 2 polynomial f(x) = x^2 + x + 1 in F2[x].” (May 2024)
The short answer
A finite field (Galois field, GF(q)) is a finite set with addition and multiplication where every rule of ordinary arithmetic holds: both operations are closed, associative and commutative, multiplication distributes over addition, there are identities 0 and 1, every element has an additive inverse and every non-zero element has a multiplicative inverse. A finite field exists only when q is a prime power pⁿ. Cryptography uses GF(p) and GF(2ⁿ).
Write these points
Proof: m · 0 = 0 for every m in F
0 is the additive identity, so 0 = 0 + 0.
Multiply by m: m · 0 = m · (0 + 0) = m · 0 + m · 0 (distributive law).
Add the additive inverse −(m · 0) to both sides: 0 = m · 0.
Hence m · 0 = 0 for every m in F.
Euler's phi function: φ(n) ≥ 1 for all n ≥ 1
φ(n) counts the numbers k with 1 ≤ k ≤ n and gcd(k, n) = 1. For every n, k = 1 qualifies, because gcd(1, n) = 1. So at least one number is counted and φ(n) ≥ 1. Examples: φ(1) = 1, φ(7) = 6, φ(9) = 6 (1, 2, 4, 5, 7, 8).
Construct GF(4) with f(x) = x² + x + 1 over F₂.
f has no root in F₂: f(0) = 1, f(1) = 1 + 1 + 1 = 1. A degree-2 polynomial with no root is irreducible, so F₂[x]/f(x) is a field.
Elements: all polynomials of degree below 2: 0, 1, x, x + 1 (4 elements). In bits: 00, 01, 10, 11.
Addition is bitwise XOR: x + (x + 1) = 1; (x + 1) + 1 = x; every element is its own negative.
Multiplication uses x² = x + 1 (from f(x) = 0): x · x = x + 1; x · (x + 1) = x² + x = 1; (x + 1)² = x² + 1 = x.
So x and x + 1 are inverses of each other; every non-zero element has an inverse, which confirms GF(4) is a field.
×
1
x
x + 1
1
1
x
x + 1
x
x
x + 1
1
x + 1
x + 1
1
x
Real-life example
A clock is like a finite field: after 12 you come back to 1. Arithmetic never leaves the set, which is exactly what hardware with a fixed number of bits needs.
Figure: building GF(2ⁿ)
Same or opposite: GF(p) and GF(2ⁿ)
Point
GF(p)
GF(2ⁿ)
Same or opposite
Elements
0 to p − 1
Polynomials with n bits
Opposite
Is a finite field
Yes
Yes
Same
Addition
Mod p
XOR, no carry
Opposite
Best in hardware
Needs carries
Very cheap
Opposite
Exam tip. Write the field axioms, then the three-line proof of m · 0 = 0. Construct GF(4) step by step and draw its multiplication table. For φ(n) ≥ 1, the gcd(1, n) = 1 argument is enough.
Q3. Physically unclonable functions (PUFs): types, advantages and taxonomy
Asked 2 times in 2024, 2025 · Unit 2
From the papers
“What is a physical unclonable function? Explain its advantages.” (Jun 2025)
“What is PUF? Demonstrate taxonomy of PUF with a neat sketch.” (Jun 2025)
“Write short note on: Security parameters of PUF.” (May 2024)
The short answer
A physically unclonable function (PUF) is a circuit that gives a unique response to a challenge because of tiny random differences created when the chip is made. Even the maker cannot copy those differences, so the PUF acts as a fingerprint of the chip. A challenge with its response is a challenge-response pair (CRP).
Write these points
Advantages
No key is stored in memory; the secret is made when needed, so there is nothing to read out.
Cannot be cloned, even by the foundry.
Cheap: built from normal logic, no special process.
Tamper evident: probing changes the physical features and the response.
Used for device authentication, key generation and anti-counterfeiting.
Taxonomy
Class
Type
Source of randomness
Strong PUF (many CRPs)
Arbiter PUF
Delay difference of two paths
Strong PUF
Optical PUF
Speckle pattern of a scattering material
Weak PUF (few CRPs)
SRAM PUF
Power-up state of memory cells
Weak PUF
Ring oscillator PUF
Frequency of identical oscillators
Weak PUF
Butterfly PUF
Settling of cross-coupled latches
Non-silicon
Coating PUF
Capacitance of a random coating
Security parameters
Uniqueness: different chips give different responses (inter-chip Hamming distance near 50%).
Reliability: one chip gives the same response each time (intra-chip distance near 0%).
Uniformity: about half the bits are 1.
Unpredictability: responses cannot be modelled from known CRPs.
Unclonability and tamper evidence.
Authenticating a chip with a PUF.
At the factory the owner applies 1,000 random challenges to chip X and stores the responses in a database.
In the field the server sends one unused challenge, say 1010 1100. It expects the response 0110 1001.
A fake chip answers 1110 0001: 4 of 8 bits differ (50%), so it is rejected.
The real chip answers 0110 1011: 1 bit differs (12.5%), within the noise limit, so it is accepted. The used CRP is deleted to stop replay.
Real-life example
Fingerprints come from random skin growth in the womb; no one can make a copy on purpose. A PUF is the chip's fingerprint, made by random variation in manufacturing.
Figure: taxonomy of PUFs
Same or opposite: strong and weak PUF
Point
Strong PUF
Weak PUF
Same or opposite
Number of CRPs
Very large
Small
Opposite
Built from manufacturing variation
Yes
Yes
Same
Main use
Authentication
Key generation
Opposite
Example
Arbiter PUF
SRAM PUF
Opposite
Exam tip. Define PUF and CRP, list five advantages and draw the taxonomy tree with strong, weak and non-silicon classes. Add the security parameters if asked.
Q4. PUF quality evaluation and design techniques to increase response quality
Asked 2 times in 2024, 2025 · Unit 2
From the papers
“Explain about design techniques to increase PUF response quality.” (May 2024)
“Write short note on: PUF quality evaluation.” (Jun 2025)
“Write short note on: Security parameters of PUF.” (May 2024)
The short answer
PUF quality is measured with a few numbers computed from responses of many chips and many readings. The main ones are uniqueness, reliability, uniformity and bit-aliasing. Real PUF responses are noisy, so design techniques such as careful layout, majority voting and error correction raise response quality.
Write these points
Quality metrics
Metric
Measures
Ideal value
Uniqueness
Average Hamming distance between responses of different chips
50%
Reliability
100% minus the average distance between readings of one chip
100% (0% bit errors)
Uniformity
Share of 1 bits in one chip's response
50%
Bit-aliasing
Share of chips giving 1 for one bit position
50%
Steadiness
Stability across temperature and voltage
High
Design techniques to increase response quality
Symmetric layout: both paths or oscillators routed the same, so only random variation decides.
Temporal majority voting: read each bit several times and take the majority.
Error correction (fuzzy extractor): helper data corrects the few flipped bits and hashes the result into a stable key.
Dark-bit masking: mark unstable bits at enrolment and ignore them.
Pair selection in RO PUFs: compare oscillators with a large frequency gap only.
Stable supply and temperature compensation.
Computing uniqueness and reliability.
Chip A: 1011 0010. Chip B: 0110 0111. They differ in bits 1, 2, 4, 6, 8: Hamming distance 4 of 8 = 50%, ideal uniqueness.
Chip A read again at 70 °C: 1011 0110. 1 bit differs: 12.5% errors, so reliability = 87.5%.
Majority voting over 5 readings fixes that bit if it flips only 1 or 2 times out of 5.
Uniformity of chip A: four 1s out of 8 = 50%.
Real-life example
Judging a PUF is like judging a signature: it must differ from everyone else's (uniqueness) and look the same each time you sign (reliability).
Figure: from noisy PUF bits to a stable key
Same or opposite: uniqueness and reliability
Point
Uniqueness
Reliability
Same or opposite
Compares
Different chips
Same chip, many readings
Opposite
Uses Hamming distance
Yes
Yes
Same
Ideal distance
50%
0%
Opposite
Shows
Chips can be told apart
Chip recognizes itself
Opposite
Exam tip. Give the metrics table with ideal values, then list the design techniques. Work a small Hamming distance example for uniqueness and reliability.
Q5. Side-channel attacks: types, acoustic cryptanalysis and use cases
Asked 2 times in 2024, 2025 · Unit 3
From the papers
“Explain about the type of acoustic cryptanalysis of side channel attack in detail.” (Jun 2025)
“Describe about side-channel attack vulnerabilities use cases with examples.” (Jun 2025)
“What is side-channel attack? Explain different types of side channel attacks.” (May 2024)
The short answer
A side-channel attack recovers secret data, usually a key, from physical signals a device gives off while it computes: time taken, power used, electromagnetic radiation, sound, heat or cache behaviour. It does not break the algorithm itself; it attacks the way the hardware carries it out.
Write these points
Types of side-channel attacks
Type
Signal used
Example
Timing attack
Time per operation
RSA square-and-multiply takes longer for 1 bits
Simple power analysis (SPA)
One power trace
Reading key bits from the trace shape
Differential power analysis (DPA)
Statistics of many traces
Kocher's attack on DES
Electromagnetic analysis
EM field near the chip
Probe over a phone processor
Acoustic cryptanalysis
Sound
Coil whine leaking RSA keys
Cache attack
Cache hits and misses
AES table lookups
Optical / thermal
Light or heat
Photon emission of transistors
Acoustic cryptanalysis
Electronic parts such as capacitors and coils vibrate as the current changes; the sound depends on what the CPU is computing.
In 2013 researchers (Genkin, Shamir, Tromer) recovered a 4,096-bit RSA key from a laptop by recording this sound with a phone microphone, from about 4 metres with a better mic.
Keyboard acoustics: the sound of each key differs, so typed passwords can be guessed from a recording.
Defences: noise, shielding, constant-time and blinded algorithms.
Vulnerability use cases
Smart cards and SIM cards: power analysis extracts the card key.
Cloud servers: a VM reads another VM's key through the shared cache.
IoT devices: cheap chips without countermeasures leak AES keys.
Phones and cars: EM attacks on key fobs and payment chips.
Timing leak in square-and-multiply.
RSA computes Mᵈ bit by bit: every bit does a square. A 1 bit also does a multiply.
Say a square takes 2 µs and a multiply takes 2 µs. For the 4-bit exponent d = 1011: bit 1 → 4 µs, 0 → 2 µs, 1 → 4 µs, 1 → 4 µs, total 14 µs.
An attacker who times each step sees 4, 2, 4, 4 and reads off d = 1011.
Fix: always multiply and throw away the result for 0 bits (constant time), so every bit takes 4 µs.
Real-life example
A safe-cracker who listens to the clicks of the dial instead of breaking the lock is doing a side-channel attack.
Figure: a power analysis setup
Same or opposite: side-channel attack and cryptanalysis
Point
Side-channel attack
Classical cryptanalysis
Same or opposite
Target
The implementation
The algorithm
Opposite
Aim is to find the key
Yes
Yes
Same
Needs
Physical access or measurements
Only ciphertexts and maths
Opposite
Works on AES
Often, if unprotected
No known practical break
Opposite
Exam tip. Define side-channel attack, give the types table and explain acoustic cryptanalysis with the RSA laptop example. List use cases and show the timing example.
“What is the best way to protect against side-channel attacks? Explain with an example.” (Jun 2025)
“What are the counter measures for preventing side-channel attacks? Explain in detail.” (May 2024)
The short answer
Side-channel countermeasures break the link between the secret data and the physical signal. The two main families are hiding (make the leak small or random: constant time, noise, shuffling, balanced logic) and masking (split each secret value with random numbers so no single signal depends on it). Shielding and protocol choices add more protection.
Write these points
Countermeasures
Countermeasure
How it helps
Against
Constant-time code
Same time and steps for every key
Timing, cache
Masking
x stored as x ⊕ r with a fresh random r
Power, EM (DPA)
Hiding: noise and random delays
Signal buried in noise or moved in time
Power, EM
Shuffling
Operations done in random order
DPA, template
Dual-rail logic
Every bit and its complement switch together, equal power
Power
Shielding and filters
Block EM and sound, filter the power line
EM, acoustic
Blinding (RSA)
Compute on M · rᵉ, remove r later
Timing, power
Key refresh
Change keys often, so few traces per key
DPA
Points to write
Hiding lowers or randomizes the signal: constant time, noise, shuffling, dual-rail logic.
Masking splits every secret value with a fresh random mask.
Shielding and filtering block EM and sound and smooth the power line.
Protocol level: blinding and frequent key refresh limit traces per key.
Test the final chip with real attacks before release.
Best way to protect
No single method is enough. The best practice is layers: constant-time and masked algorithms in the design, noise or dual-rail logic in the hardware, shielding in the package and frequent key change in the protocol. A certified secure element tested against side channels (for example Common Criteria) combines these.
First-order masking of an AES byte.
Secret byte x = 0x3A. A fresh random mask r = 0xC5 is drawn for each run.
The chip stores and processes x' = x ⊕ r = 0x3A ⊕ 0xC5 = 0xFF instead of x.
Next run r = 0x17, so x' = 0x3A ⊕ 0x17 = 0x2D. The value on the wires changes each time, so power no longer follows x.
At the end the mask is removed: x = x' ⊕ r. DPA needs far more traces, or a second-order attack, to succeed.
Real-life example
Speaking in a crowded hall (noise), changing the order of your words (shuffling) and speaking in code (masking) all make it harder for an eavesdropper to understand you.
Figure: layers of protection
Same or opposite: masking and hiding
Point
Masking
Hiding
Same or opposite
Idea
Randomize the data
Reduce or randomize the signal
Opposite
Reduces side-channel leakage
Yes
Yes
Same
Example
x ⊕ r
Noise, dual-rail logic
Opposite
Cost
More area and randomness
More power or time
Opposite
Exam tip. Group countermeasures into hiding and masking and give the table. Say that the best protection is layered, then show the masking example.
Q7. Improved side-channel attacks: Kocher's attack on DES, template attack and cache attacks
Asked 2 times in 2024, 2025 · Unit 3
From the papers
“Explain about improved side-channel attack by using DES algorithm.” (May 2024)
“Write short note on: Template attack.” (May 2024, Jun 2025)
The short answer
Improved side-channel attacks need fewer measurements or work against protected devices. Kocher's differential power analysis (DPA) on DES (1999) finds the key from many power traces using statistics. The template attack first profiles an identical device to build models of the leakage. Cache attacks read secrets from cache timing.
Write these points
Kocher's DPA attack on DES
Record power traces of DES encrypting about 1,000 known plaintexts.
Target one S-box in round 1: its output depends on 6 key bits, so there are 64 guesses.
For each guess, predict one output bit of the S-box for every plaintext.
Split the traces into two groups by that predicted bit (0 or 1) and subtract their average traces.
For the right guess the groups really differ, so the difference shows a spike; wrong guesses give a flat line.
Repeat for all 8 S-boxes: 8 × 64 = 512 tries give 48 key bits; the last 8 bits are found by brute force (256 tries) instead of 2⁵⁶.
Template attack
Profiling phase: on an identical device the attacker controls, record many traces for each possible key byte and build a template (mean and noise model) for each.
Attack phase: record a few traces from the victim and match them to the templates; the best match (maximum likelihood) gives the key.
Strongest attack in theory; can succeed with a single trace.
Cache attacks
Cache is shared. A hit is much faster than a miss, so access patterns leak.
Prime + Probe: fill a cache set, let the victim run, time your own reloads.
Flush + Reload: flush a shared line, wait, reload; a fast reload means the victim used it.
Evict + Time: evict lines and time the victim.
AES with table lookups (T-tables) leaks key bytes through which table entries are used.
Why DPA needs only 512 tries.
Brute force on DES: 2⁵⁶ ≈ 7.2 × 10¹⁶ keys.
DPA tests each S-box alone: 64 guesses × 8 S-boxes = 512 guesses, with about 1,000 traces each.
This gives 48 of the 56 key bits. The remaining 8 bits: 2⁸ = 256 tries.
Total about 768 guesses instead of 7.2 × 10¹⁶, all because the power trace leaks one S-box at a time.
Real-life example
Guessing a 4-digit PIN takes 10,000 tries. If a worn keypad shows which digits are used, you need only a few. DPA is that worn keypad for a chip.
Figure: differential power analysis
Same or opposite: DPA and template attack
Point
DPA
Template attack
Same or opposite
Needs a copy of the device
No
Yes, for profiling
Opposite
Uses power traces
Yes
Yes
Same
Traces from the victim
Hundreds to thousands
Very few, even one
Opposite
Method
Difference of means
Maximum likelihood matching
Opposite
Exam tip. Write the steps of Kocher's DPA on DES with the 64 guesses per S-box and the spike. Give short notes on template and cache attacks, then the 512 versus 2⁵⁶ example.
Q8. Fault tolerance of cryptographic hardware and fault attacks
Asked 2 times in 2024, 2025 · Unit 4
From the papers
“Discuss load balancing and failover as integral aspects of fault tolerance of cryptography.” (Jun 2025)
“Explain the architecture of fault tolerance of cryptography with a neat sketch.” (May 2024)
“Write short note on: Fault attacks.” (May 2024)
The short answer
A fault attack makes a crypto chip compute wrongly on purpose, with a voltage or clock glitch, a laser or EM pulse or heat. The attacker then uses the wrong output to find the key. Fault tolerance lets the hardware detect such errors (and natural ones), refuse to release a faulty result and keep the service running through redundancy, load balancing and failover.
Write these points
Fault attacks
Method
How
Example result
Voltage glitch
Short drop in supply
Skips an instruction, such as a PIN check
Clock glitch
One very short clock cycle
Wrong value stored in a register
Laser or light
Flips chosen bits
One byte of AES state changed
EM pulse, heat
Disturbs the circuit
Random errors
Differential fault analysis (DFA): compare correct and faulty ciphertexts; for AES, a few faulty outputs reveal the key.
Bellcore attack on RSA-CRT: one faulty signature s' gives a factor of N as gcd(s'ᵉ − m, N).
Architecture of a fault-tolerant crypto unit
Detection: check every result: decrypt after encrypt and compare, duplicate the unit, or use parity or error-detecting codes.
Response: if the check fails, do not output the result; raise an alarm and possibly erase keys.
Redundancy: spare modules (triple modular redundancy votes 2 of 3).
Sensors: voltage, clock, light and temperature detectors.
Load balancing and failover
Crypto services run on clusters of hardware security modules (HSMs).
Load balancing spreads requests across HSMs so none is overloaded and one fault affects few requests.
Failover moves work to a standby HSM when one fails or reports a fault; keys are kept in sync securely.
Together they give availability without accepting faulty results.
The encrypt-then-decrypt check.
The chip encrypts P = 0x4A with AES and gets C. It then decrypts C and gets P' = 0x4A.
P' = P, so C is sent.
An attacker glitches round 9 and the chip gets C*. Decrypting gives P' = 0x91, which is not 0x4A.
The chip discards C* and raises an alarm, so DFA gets no faulty ciphertext. The cost is about twice the time, or a second decrypt core.
Real-life example
A bank teller who counts the cash twice before handing it over and calls another teller if the counts differ works like a fault-tolerant crypto unit.
Figure: fault-tolerant crypto unit with failover
Same or opposite: fault attack and side-channel attack
Point
Fault attack
Side-channel attack
Same or opposite
Attacker action
Active: disturbs the chip
Passive: only measures
Opposite
Aim is to recover the key
Yes
Yes
Same
Uses
Wrong outputs
Power, time, EM
Opposite
Defence
Detect and suppress errors
Masking, hiding
Opposite
Exam tip. Explain fault attacks with methods and DFA, then draw the fault-tolerant architecture: detection, response, redundancy, sensors. Add load balancing and failover in HSM clusters.
Q9. Finite field multipliers: implementation and verification
Asked 2 times in 2024, 2025 · Unit 4
From the papers
“Elaborate the verification formulation for finite field multipliers with suitable examples.” (Jun 2025)
“Develop a domain-specific implementation for finite field multipliers.” (May 2024)
The short answer
A finite field multiplier multiplies two elements of GF(2ᵐ) or GF(p) in hardware. It is the core of elliptic curve cryptography, AES MixColumns and error-correcting codes. In GF(2ᵐ), multiplication is polynomial multiplication with XOR in place of addition, followed by reduction modulo an irreducible polynomial P(x). Verification proves the gate-level circuit always computes A · B mod P(x).
Write these points
Domain-specific implementation
Architecture
How it works
Trade-off
Bit-serial
One bit of B per clock, shift and reduce
Small area, m clocks
Digit-serial
d bits per clock
Balance of area and speed
Bit-parallel (Mastrovito)
Whole product in one clock with AND-XOR trees
Fast, large area
Montgomery multiplier
Avoids slow reduction, works in a transformed domain
Good for GF(p) and big m
Karatsuba
Splits operands to cut multiplications
Fewer gates for large m
Interleaved (shift and add) algorithm for GF(2ᵐ): C = 0; for each bit bᵢ of B from the top: C = C · x mod P; if bᵢ = 1 then C = C ⊕ A.
Verification formulation
Write each gate as a polynomial over the field: AND of a and b is a · b; XOR is a + b (mod 2).
The specification is Z = A · B mod P(x), with A, B and Z as word-level polynomials.
Use Gröbner basis reduction (or rewriting): substitute gate polynomials from output to input. If the remainder of (spec − circuit) is 0, the circuit is correct.
Any bug leaves a non-zero remainder, which also gives a counter-example.
Multiply in GF(2³) with P(x) = x³ + x + 1.
A = x² + 1 (101), B = x + 1 (011).
Product: (x² + 1)(x + 1) = x³ + x² + x + 1.
Reduce with x³ = x + 1: (x + 1) + x² + x + 1 = x² + (x + x) + (1 + 1) = x² (100).
Check with the interleaved algorithm: the hardware must also output 100 for inputs 101 and 011; verification proves this for all 64 input pairs at once.
Real-life example
Clock arithmetic for hours (13 o'clock becomes 1) is like the reduction step: after multiplying, the result is folded back into the allowed range.
Figure: verifying a field multiplier
Same or opposite: bit-serial and bit-parallel multipliers
Point
Bit-serial
Bit-parallel
Same or opposite
Clocks per product
m
1
Opposite
Computes A · B mod P(x)
Yes
Yes
Same
Area
Small
Large
Opposite
Use
Low-cost IoT
High-speed servers
Opposite
Exam tip. Explain GF(2ᵐ) multiplication as polynomial product plus reduction and give the architectures table. Write the verification idea with gate polynomials and Gröbner reduction, then solve the GF(2³) example.
Q10. Arithmetic circuits and polynomial identity testing
Asked 2 times in 2024, 2025 · Unit 4
From the papers
“Define arithmetic circuit. Explain the important parameters of arithmetic circuit in detail.” (Jun 2025)
“Given an arithmetic circuit C with input variables a1, a2, ..., an and constants taken from a field F, check if the polynomial computed is identically zero.” (May 2024)
The short answer
An arithmetic circuit over a field F is a directed acyclic graph whose inputs are variables a₁, ..., aₙ or constants from F and whose gates are addition (+) and multiplication (×). Each gate computes a polynomial, so the output gate computes a polynomial in the inputs. Hardware for field arithmetic is checked by reasoning about these polynomials.
Write these points
Important parameters
Parameter
Meaning
Size
Number of gates (cost, area)
Depth
Longest path from input to output (delay)
Degree
Degree of the polynomial computed
Fan-in
Number of inputs per gate (2 or unbounded)
Number of variables
n inputs
Field
The field F the constants come from
Checking if the polynomial is identically zero (polynomial identity testing)
Expanding the polynomial can take exponential time, so use randomness instead.
Pick a large finite set S ⊆ F and choose random values r₁, ..., rₙ from S.
Evaluate C at those values (fast: one pass through the gates).
If the result is not 0, the polynomial is certainly not zero.
If it is 0, say zero. By the Schwartz-Zippel lemma, a non-zero polynomial of degree d is 0 at a random point with probability at most d / |S|.
Repeat k times to cut the error to (d / |S|)ᵏ.
Testing C = (a + b)² − a² − 2ab − b² over GF(101).
Degree d = 2, S = GF(101), so one wrong answer has probability at most 2/101 ≈ 0.02.
Random a = 7, b = 40: (47)² = 2209, 2209 mod 101 = 88. a² + 2ab + b² = 49 + 560 + 1600 = 2209 → 88. C = 88 − 88 = 0.
Two more random trials also give 0. Error probability ≤ (2/101)³ ≈ 7.8 × 10⁻⁶.
Conclusion: C is identically zero (indeed (a + b)² = a² + 2ab + b²). Size of C here: about 8 gates, depth 3, degree 2.
Real-life example
To check whether two long recipes give the same dish you do not compare every step; you cook both once with random ingredients amounts and taste. Random evaluation tests polynomials the same way.
Figure: polynomial identity testing
Same or opposite: random testing and full expansion
Point
Random evaluation
Full expansion
Same or opposite
Time
Polynomial in circuit size
Can be exponential
Opposite
Decides if C is zero
Yes
Yes
Same
Error
Tiny, controlled by k
None
Opposite
Practical for big circuits
Yes
No
Opposite
Exam tip. Define an arithmetic circuit and give its parameters table. For identity testing, write the random evaluation steps with the Schwartz-Zippel bound and solve a small example.
Q11. IP and IC piracy and design techniques to prevent it, using PUFs
Asked 2 times in 2024, 2025 · Unit 5
From the papers
“Explain various types of design techniques to prevent IP and IC piracy.” (Jun 2025)
“Describe the various procedures involved to prevent hardware piracy using PUFs.” (May 2024)
The short answer
IP piracy is the theft or illegal use of a chip design (intellectual property core). IC piracy is the making or selling of chips without the owner's permission: overproduction by the foundry, cloning by reverse engineering, counterfeit or recycled chips sold as new. Design techniques such as logic locking, hardware metering with PUFs, camouflaging, split manufacturing and watermarking prevent or detect it.
Write these points
Design techniques
Technique
How it works
Stops
Logic locking
Key gates added; wrong key gives wrong outputs
Overproduction, reverse engineering
Hardware metering (PUF based)
Each chip locked by its PUF; owner sends an activation key per chip
Overproduction
IC camouflaging
Gates look alike in the layout
Reverse engineering
Split manufacturing
Lower layers in an untrusted fab, top wires in a trusted fab
Foundry theft
Watermarking
Hidden owner signature in the design
Proves ownership of stolen IP
Fingerprinting
Each copy marked differently
Traces which buyer leaked it
Preventing piracy with PUFs
The design includes a PUF and a locking circuit; the chip starts in a locked state.
After manufacture the foundry reads each chip's PUF response and sends it to the IP owner.
The owner computes the activation key for that one chip from its PUF response.
Only chips the owner activates work; extra chips stay useless.
Because the PUF differs per chip, one key cannot activate another chip.
Logic locking with one XOR key gate.
Original logic: y = a · b. A key gate is added: y = (a · b) ⊕ k.
With the correct key k = 0: a = 1, b = 1 gives y = 1 ⊕ 0 = 1, the right answer.
With a wrong key k = 1: y = 1 ⊕ 1 = 0, a wrong answer for every input.
A real chip uses 64 to 128 key bits, so guessing needs up to 2¹²⁸ tries. The key is loaded from secure memory or derived from the PUF only for licensed chips.
Real-life example
A builder who gives a contractor a house plan with some rooms marked "to be told later" and gives the missing details only for houses he has paid for is doing logic locking.
Figure: logic locking with an XOR key gate
Same or opposite: logic locking and watermarking
Point
Logic locking
Watermarking
Same or opposite
Action
Prevents use without a key
Proves ownership after theft
Opposite
Protects the design owner
Yes
Yes
Same
Changes chip function
Yes, without the key
No
Opposite
Stage
Before and during manufacture
After theft is found
Opposite
Exam tip. Define IP and IC piracy with its forms, give the techniques table and explain the PUF-based activation steps. Draw a small logic locking example.
Q12. Attacks on PUFs: model building with SVM (arbiter PUF) and genetic programming (ring oscillator PUF)
Asked 2 times in 2024, 2025 · Unit 5
From the papers
“What is genetic programming? Explain genetic programming based modeling of ring oscillator PUF.” (Jun 2025)
“Discuss different types of PUF attacks with examples.” (May 2024)
“Discuss model building attacks on PUFs with suitable examples.” (May 2024)
“Write short note on: Support Vector Machines (SVMs); SVM modeling of arbiter PUFs.” (Jun 2025)
The short answer
PUFs can be attacked. Model building attacks collect many challenge-response pairs (CRPs) and train a machine learning model that predicts the response to new challenges, so the PUF is cloned in software. SVM modelling breaks the arbiter PUF; genetic programming models the ring oscillator PUF. Other attacks use side channels, faults or invasive probing.
Write these points
Types of PUF attacks
Attack
How
Example
Model building
Learn the CRP behaviour with machine learning
SVM on an arbiter PUF
Side-channel
Power or timing leaks the response
EM of an RO PUF
Fault injection
Change temperature or voltage to bias bits
Freezing an SRAM PUF
Invasive and semi-invasive
Probe or image the chip
Reading SRAM power-up values
Replay
Reuse a recorded CRP
Stops if each CRP is used once
SVM modelling of arbiter PUFs
SVM (support vector machine): a supervised learner that finds the hyperplane with the largest margin between two classes; kernels handle non-linear data.
In an arbiter PUF the delay difference is Δ = w · Φ(c), a weighted sum of features of the challenge c.
The response is r = 1 if Δ > 0, else 0, so the PUF is a linear classifier.
An SVM (or logistic regression) trained on a few thousand CRPs learns w and predicts new responses with over 95% accuracy for a 64-stage arbiter PUF.
Genetic programming modelling of ring oscillator PUFs
Genetic programming (GP) evolves programs or expressions by selection, crossover and mutation, keeping the fittest.
An RO PUF compares frequencies of oscillator pairs; the hidden order of frequencies decides every response.
GP evolves an expression or ordering that predicts which oscillator of a pair is faster, using CRPs as fitness data.
After enough generations the model predicts unseen pairs correctly, so the PUF responses can be forged.
Why linearity breaks the arbiter PUF.
A 64-stage arbiter PUF has 2⁶⁴ challenges, far too many to record.
But its model has only 65 unknown weights (one per stage plus a bias).
With 5,000 recorded CRPs an SVM fits the 65 weights; on 10,000 new challenges it predicts 9,700 correctly (97%).
Fixes: XOR several arbiter chains, add non-linear stages, or never reveal raw responses (hash them).
Real-life example
A batsman who studies a bowler's last thousand balls can predict the next one. A machine learning attack watches a PUF's past answers in the same way.
Figure: arbiter PUF
Same or opposite: SVM and genetic programming attacks
Point
SVM attack
Genetic programming attack
Same or opposite
Target
Arbiter PUF (linear delays)
Ring oscillator PUF
Opposite
Learns from CRPs
Yes
Yes
Same
Method
Maximum-margin hyperplane
Evolution of expressions
Opposite
Defence
XOR arbiter, hashing
Fewer exposed pairs, hashing
Opposite
Exam tip. List the PUF attack types in a table. Explain the arbiter PUF delay model and why an SVM learns it, then genetic programming on the RO PUF. Give the 65-weight example and the defences.
Q13. Cryptographic hardware on FPGA: implementation steps, accuracy and precision
Asked 2 times in 2024, 2025 · Unit 2
From the papers
“Discuss various steps involved in the cryptographic hardware implementation.” (Jun 2025)
“Explain about accuracy issues and precision enhancement in FPGA.” (May 2024)
“Write short note on: Field-Programmable Gate Array (FPGA).” (May 2024)
The short answer
A field-programmable gate array (FPGA) is a chip whose logic can be configured after manufacture. It has configurable logic blocks (CLBs) made of look-up tables (LUTs) and flip-flops, programmable routing, I/O blocks, block RAM and DSP slices. FPGAs are widely used to build and test cryptographic hardware because they are fast, parallel and can be updated.
Write these points
Steps in cryptographic hardware implementation
Specification: algorithm, key size, throughput, area and power targets, threat model.
Algorithm and arithmetic choice: for example AES with composite-field S-boxes.
Architecture: iterative (one round reused), unrolled, pipelined or serial.
HDL coding in Verilog or VHDL.
Functional simulation against official test vectors.
Synthesis, place and route, timing analysis.
Testing on the board and side-channel and fault evaluation, then add countermeasures.
Accuracy issues and precision enhancement in FPGA
Many FPGA designs (signal processing, ML) use fixed-point numbers, which cause rounding and overflow errors.
Precision is raised by wider word length, guard bits, correct rounding (round to nearest) and saturation instead of overflow.
Floating-point cores give more range but use more LUTs and DSPs.
Timing errors from a too-fast clock also corrupt results; meet timing with pipelining.
Finite field crypto is exact (no rounding), so accuracy there means correct reduction and no timing faults.
Throughput of AES-128 on an FPGA.
Iterative design: one round per clock, 10 clocks per 128-bit block, clock 100 MHz.
Throughput = 128 × 100 × 10⁶ ÷ 10 = 1.28 Gbit/s.
Fully unrolled and pipelined: one block every clock, 128 × 100 × 10⁶ = 12.8 Gbit/s, about 10 times the area.
So a smart card picks the iterative design, while a network router picks the pipelined one.
Real-life example
An FPGA is like a box of LEGO bricks that can be rebuilt into any shape. An ASIC is a moulded toy: faster and cheaper in bulk but fixed forever.
Figure: crypto hardware design flow
Same or opposite: FPGA and ASIC
Point
FPGA
ASIC
Same or opposite
Can be changed after making
Yes
No
Opposite
Implements digital logic
Yes
Yes
Same
Cost for few units
Low
Very high
Opposite
Speed and power
Lower speed, more power
Highest speed, least power
Opposite
Exam tip. Describe the FPGA blocks, write the seven implementation steps and explain fixed-point accuracy with its fixes. The AES throughput example shows the architecture trade-off.
What are the most important topics in Hardware Security?
By how often they were asked in the papers on this site: Hardware security: meaning, significance, threats and best practices (2 times); Finite fields: definition, properties, GF(4) construction and Euler's phi (2 times); Physically unclonable functions (PUFs): types, advantages and taxonomy (2 times); PUF quality evaluation and design techniques to increase response quality (2 times); Side-channel attacks: types, acoustic cryptanalysis and use cases (2 times).
How were these Hardware Security important questions chosen?
Each topic was counted from the questions in the past papers listed on this site (2024-2025). Repeated is the number of times the topic came. The counts come from keyword matching and the answers are not teacher-reviewed, so use them together with your syllabus.
Is there a PDF of Hardware Security important questions with answers?
Yes. The Paperwala Imp Question & Answer PDF for Hardware Security is free to download from this page.
The 13 most repeated topics of Hardware Security (CY-801) for RGPV B.Tech Cyber Security semester 8, counted from the previous year papers on this site.