PUF PRINCIPLES & FAMILIES · 1 / 3

PUF Principles & Families: Who Protects the Key?

Follow an exposed data key to a protected root, distinguish weak and strong PUF families, and explore RO and Arbiter races through twelve comics, detailed prose and two interactive labs.

13 min read

Find what must be protected for one research record, then ask how a chip's physical variation can help. Scenarios, bit strings and numerical examples are original teaching material, not product measurements or certification.

Try the RO race →Explore queries and interfaces →

Why can encrypted data still be exposed?

1/12 — The exposed plaintext key lets the attacker decrypt directly.
1/12 — The exposed plaintext key lets the attacker decrypt directly.

MY's robot encrypts research records before storing them in a system-on-chip, or SoC. We call the key that protects the records the data-encryption key, DEK. For convenience, the robot saves both ciphertext and DEK in external storage. Imagine that an attacker can copy both. What difficult cryptographic problem is left to solve? This is a fictional classroom scenario, not a reported intrusion.

The attacker can use the copied DEK in the normal decryption process. AES is designed to recover data when supplied with the correct key. Replacing AES with another cipher leaves the same placement problem if the attacker still receives the ciphertext and its key together.[1]

We first need a boundary around what the attacker can access. Here, ordinary storage is copyable, but the attacker is not assumed to read every protected state inside the SoC. Without that distinction, adding a safe or a chip to the drawing would not explain which capability the design actually removes from the attacker.

Our task is to find a usable protection point for the existing DEK. Keep asking two questions throughout the lesson. What must remain secret while the records sit in ordinary storage? How does the legitimate device regain the ability to use them later? PUFs become relevant once those requirements are clear.

Why does a second key still need a root?

2/12 — KEK protects DEK; the root and authorization have separate jobs.
2/12 — KEK protects DEK; the root and authorization have separate jobs.

One approach wraps the DEK under a second key, the key-encryption key, KEK. Ordinary storage then holds the encrypted records and the wrapped DEK. Copying these objects alone does not supply the secret needed to unwrap the key. Key wrapping uses specified cryptographic schemes; an arbitrary file-encryption function is not a complete substitute.[2]

Follow the drawing upward. If plaintext KEK sits in the same copyable area, the attacker merely adds an unwrapping step. A third or fourth key repeats the question about the topmost key. We need a root secret: a protection point that is not handed out whenever ordinary storage is copied.

A root can come from securely provisioned storage with controlled access, or from a suitable physical source. A PUF is a candidate for the latter role. This comparison does not declare all nonvolatile memory unsafe. It asks how the secret is established and which interfaces and hardware boundaries protect it. Root sourcing, purpose-key derivation and data encryption can have separate implementations.

Permission to use the secret remains a separate requirement. A program that can request arbitrary record decryption may obtain the data without ever receiving KEK. Both secret protection and authorized use must therefore follow the access rules for the research records. The allow and deny paths in the picture represent policy that the product must implement.

How can the same design produce different chips?

3/12 — Manufacturing variation supplies material; readout conditions affect observations.
3/12 — Manufacturing variation supplies material; readout conditions affect observations.

MY places two chips made from the same design on the bench. Digital designers want them to perform the same functions within specified conditions. That does not require identical microscopic transistor parameters. A PUF uses observable individual variation to produce device-dependent responses. The usual expansion is Physically Unclonable Function.[3]

Separate three stages: the physical source, the readout circuit and the digital response. The enlarged device shapes are schematic, not electron-microscope measurements. They do not claim that every PUF depends on that particular dimensional difference. Ask whether a design measures delay, startup preference or another electrical property before judging its output.

The robot's fan represents a readout disturbance; no literal wind mechanism is implied. Keep fixed manufacturing variation separate from changes between observations. The same source may return one result under some conditions and a flipped bit under others. A changed reading does not automatically mean a newly created permanent identity.

For the research records, we need secret material that remains usable later. One observation that distinguishes two chips proves neither repeatability for the legitimate device nor unpredictability against an attacker. Finding a physical source answers where the material comes from. Its suitability requires further tests.

Test repeatability, uniqueness and predictability separately

4/12 — A balanced pattern can still be fully predictable.
4/12 — A balanced pattern can still be fully predictable.

Start with repeatability. The three six-bit readings are 101110, 101110 and 101111. Only the final bit changes in the last observation. This comparison asks whether one source is reproducible. A design needing an identical key must assess whether such variation requires treatment. Three toy readings do not establish a product error rate.

Next compare devices. Chip A gives 101110 and chip B gives 010001. These deliberately easy-to-distinguish examples are exact complements. That does not make 100 percent difference the ideal cross-chip target. Real evaluation examines distributions and correlations across many devices. Hamming distance simply counts differing positions; it is not subtraction of binary values.

Now predict 01010101. Its zero and one counts are equal, yet the next bit is easy to guess once the pattern is known. Balance, device distinction and an attacker's predictive ability answer different questions. Anyone can check this counterexample from the string itself; no invented chip measurements are needed.

Turn a specification such as 'very random' into testable statements. Which devices were sampled? Under which conditions were readings repeated? What does the attacker already know? For the root in our example, we care both about legitimate reuse and about the uncertainty that remains for an unauthorized observer.

Engineer extension: Hamming distance and secret entropy

The six-bit cross-chip example happens to be complementary and only illustrates distinction. Evaluation examines distributions, not a requirement that every pair be complementary. If two bits are always opposite, knowing the first determines the second. Secret entropy needs a source model and specified attacker knowledge; the labs do not estimate it.

A challenge selects a measurement; a service message is another layer

5/12 — A physical response and an HMAC tag belong to different layers.
5/12 — A physical response and an HMAC tag belong to different layers.

MY moves a selector to choose a location, a component pair or a path to observe. This input is called a challenge; the corresponding reading is a response. Together they form a challenge–response pair, CRP. The operator selects a physical observation rather than freely choosing the desired secret bit.[4]

A separate cryptographic service appears below it. The service keeps a root secret inside its protected area and computes an HMAC authentication tag over a message. HMAC uses a secret key and a hash function to support message authentication.[5] It illustrates a layer boundary here, not a complete authentication protocol for the classroom device.

The two interfaces should not be equated merely because both have inputs and outputs. A service message need not select a physical PUF path. Its returned tag need not disclose a raw physical response. A design document should identify which layer is externally visible instead of hiding the distinction in an ambiguous authentication box.

Apply this distinction to the research records. Root material intended for internal key protection needs controlled raw-output access. A product exposing direct challenge–response behavior needs a separate analysis of what an observer can learn from its records. The interface and its purpose determine that analysis.

What do weak and strong classify?

6/12 — Challenge-space size is not a security score.
6/12 — Challenge-space size is not a security score.

The words weak and strong invite a misleading security ranking. This family map uses a common classification based on available challenge–response space. Weak PUFs have relatively limited queries; strong architectures offer rapidly growing spaces as their structure grows. Some formal definitions also require unpredictability within a stated attack model. A large query count alone does not satisfy every formal definition.[4]

Common weak examples include SRAM, conventional RO, latch and butterfly PUFs. Arbiter designs and XOR or feed-forward variants commonly appear in discussions of strong architectures. These names organize families; each implementation still needs examination. The icons are not fabrication-ready circuits or guarantees covering every variant.

Consider a root that needs a small amount of protected source material. Secrecy and repeatable use matter more directly than the number of externally offered questions. A product inviting many physical challenges from an external verifier faces a different query and learning problem. These are different uses, not a mandatory upgrade path from weak to strong.

The paired NeoPUF array below the family map illustrates a root-source use in this series. It does not descend from the latch icon. Useful questions are more concrete: who sees raw responses, how is the same secret recovered, and can an attacker predict the behavior? Classification helps locate literature; those questions guide product decisions.

Lab: challenge space and the root

Teaching model, not measurements, circuit simulation or certification. No real keys are entered and interactions are not sent to a server.

Change structure size and interface exposure
Example query count: 8. Not a security score.

Root material remains internal; derivation and use interfaces still need protection.

These toy interfaces count N locations, N(N−1)/2 unordered pairs or 2ᴺ binary stage selections. They count queries, not independent entropy, and do not prove distinct results.

Array: querying all N locations exhausts this toy interface. Different cells are not necessarily independent, uniform secret bits.

RO PUF: count laps over the same interval

7/12 — Two independent oscillators are counted separately, then compared.
7/12 — Two independent oscillators are counted separately, then compared.

RO stands for ring oscillator. Imagine a horse repeatedly circling a loop. Two nominally identical tracks can still produce slightly different lap rates. The horse explains repeated oscillation; no mechanical movement or literal animal is implied inside the circuit.

The timer starts two counters together and stops them at the end of one observation interval. Our invented counts are 105 for A and 101 for B. We define A greater than B as response 1 and A less than B as response 0. Equal counts require separate handling. These are teaching counts, not measured oscillator frequencies.

An RO PUF can select oscillator pairs and use their frequency differences to produce comparison results.[3] The connections matter. Each loop oscillates independently and feeds its own counter. A comparator receives the two counts. The observation interval is shared; oscillator A must not be drawn as driving oscillator B.

The response bit is also distinct from the lap count. Comparing 105 with 101 gives one defined bit for this query. A longer interval may produce more counts, but its effect on the decision still needs analysis. More accumulated counts do not automatically supply more independent secret bits.

Why are near-ties troublesome?

8/12 — Shared environmental changes need not preserve ranking; longer observation also has limits.
8/12 — Shared environmental changes need not preserve ranking; longer observation also has limits.

Change the example counts to 1001 and 1000. A one-count lead still gives a comparison. Under a second invented condition, the counts become 998 and 999, changing response 1 to response 0. Both oscillators slow down, yet their ordering reverses. A shared environmental change need not affect both sides identically.

Readout margin can initially be understood as distance from a tie. A larger gap requires a larger relative change before the order reverses. A large gap in one observation still needs checking against the product's operating conditions. An attractive room-temperature result does not establish stability in every future condition.

Pair selection and observation time are possible engineering variables, each with costs. Screening pairs requires tests; discarding near-ties reduces available material. Longer observation adds waiting and counting energy. These trade-offs follow from the model, but the improvement achieved by a particular circuit needs measurement.

The lab below switches between preset teaching conditions. It does not simulate a real temperature curve or calculate a product security score. Extend the observation interval, then change conditions. If the relative order has reversed, extra laps can reinforce the new order rather than recover the original bit.

Lab: RO races and readout margin

Teaching model, not measurements, circuit simulation or certification. No real keys are entered and interactions are not sent to a server.

Choose fixed scenarios and compare a shared interval
Oscillator A1001
Oscillator B1000
Response 1; count gap 1.

Near tie. Switch to condition 2 and observe whether the order reverses.

All values are presets. The larger-gap pair preserves its order in these two scenarios, not in every condition. A longer interval does not guarantee removal of systematic shifts.

Why can the third result be known before racing?

9/12 — Ordering makes some responses deducible; query count is not independent entropy.
9/12 — Ordering makes some responses deducible; query count is not independent entropy.

Under the same conditions, A is faster than B and B is faster than C. Assume no noise and no ties. A must then be faster than C. The robot knows the direction of the third comparison without running that race. Three distinct pairs therefore do not provide three completely independent unknowns.

Replace the horses with three ROs and the reasoning is unchanged. The invented values 8, 5 and 3 carry no frequency unit; they simply make the order visible. Each query reuses the same three sources. Their shared ordering constrains the pair results. Renaming a pair does not create a new independent physical source.

This example explains how query-space size can overstate secret information. An observer with some comparison results may deduce others. Real circuits add noise and possibly other observations; those belong in the model too. Assuming every response independent and calling the response count security strength skips that analysis.

In a product discussion, keep two columns: how many comparisons the interface offers, and what remains unknown to an attacker. The first concerns interface structure and combinations. The second requires distributions, correlations and prior knowledge. A large query display should not be mistaken for a long root secret.

Engineer extension: why three comparisons are not three independent bits

Three fixed values with no ties have 3! = 6 strict orders, whereas three arbitrary independent bits allow 2³ = 8 combinations. A cyclic ordering is impossible. For N fixed, noiseless, untied values observed only through ordering, there are at most N! outcomes. Ordering Shannon entropy reaches log₂(N!) only when all orders are equally likely. This is not a universal secret-entropy bound for every RO interface, and measurement noise is not counted as extra reproducible secret material.

Why does an Arbiter PUF use a single pass?

10/12 — A common start, selectable paths and an arrival decision still need attack analysis.
10/12 — A common start, selectable paths and an arrival decision still need attack analysis.

The RO horse keeps circling. The Arbiter analogy uses a single-pass race. One signal edge launches onto two paths simultaneously. After several selectable stages, an arbiter decides which arrives first. Challenge bits select straight or crossed connections, changing the paths through the structure.[3]

Trace the illustrated challenge 0, 1, 0. The first stage is straight, the second crossed and the third straight again. A crossing exchanges destinations; it does not short the paths together. The navy lines form a functional diagram, not a timing-verified physical netlist. Mapping arrival order to 0 or 1 also requires an implementation convention.

Many paths offer many queries, but their behavior may still have learnable structure. With sufficient observations, a model can predict unseen queries for some architectures.[4] A large input width alone therefore does not demonstrate resistance to modeling.

XOR variants combine responses; feed-forward variants use intermediate results in later control. These modifications merit evaluation, not an automatic declaration that every attack fails. This lesson separates the two race mechanisms. Selecting a product requires evidence about the specific variant, its exposed interface and the attacks relevant to it.

A seesaw and a coin introduce two different life cycles

11/12 — Separate SRAM startup observation from NeoPUF formation and later readout.
11/12 — Separate SRAM startup observation from NeoPUF formation and later readout.

A seesaw provides an introduction to SRAM PUFs. Nominally symmetric sides have small imbalances, while disturbances affect startup. Positive feedback amplifies the difference until the cell reaches a state. The seesaw's preference helps explain startup bias; gravity is not a substitute for circuit equations.[6]

This makes acquisition timing important. Studying a startup pattern requires an appropriate startup observation. Ordinary reads after data has been written do not repeat that startup event. Lesson 2 will develop reliability, initialization, aging and reconstruction. Here we establish the questions that the next lesson must answer.

A coin-guessing game introduces NeoPUF. Before formation, participants guess rather than specify the desired bit. Controlled formation establishes a physical state for later readout. The public paired-device mechanism involves oxide variation and formation control, giving it a different life cycle from acquiring SRAM startup observations.[7] Reading the retained result does not toss the coin again.

Stable recovery of an existing result supports later key use. It does not create fresh randomness on every read. Lesson 3 separates NeoPUF's source, controlled formation and readout, then examines reliability and processing costs against corresponding evidence. This introductory analogy does not replace those measurements and their conditions.

Back to the records: what does the root protect?

12/12 — The root supports purpose KEK; DEK protects data; the service checks permission.
12/12 — The root supports purpose KEK; DEK protects data; the service checks permission.

Return to the original research record. The design obtains a root secret from suitable physical material, then derives KEK for its purpose. Reliability treatment and entropy extraction depend on the source and implementation; not every PUF needs the same error-correction box. Purpose derivation separates jobs but cannot restore secrecy to an exposed root.[8]

Give the keys separate roles. KEK wraps DEK; DEK encrypts the research data. Ordinary storage holds the wrapped DEK and ciphertext. The drawing's two exits come from different operations. Later decryption can unwrap and use DEK inside a protected service without exporting the plaintext key to ordinary software.

What happens if all storage is copied to another SoC? In this example, that device has a different root and no separately authorized migration path. It cannot directly unwrap the original object. The conclusion depends on those conditions. Backup, migration or root exposure changes the analysis; using a PUF does not remove the need for a recovery policy.

Lesson 1's answer combines a protected root source, separate KEK and DEK roles, and permission checks at the service. Availability leaves another question. Can the same legitimate chip obtain the same secret a year later under different conditions? Lesson 2 follows these records into SRAM PUF reliability testing.

Engineer extension: the root and purpose separation

When calling device-root material HUK, specify its boundary, export policy and who may request derivation. A KDF purpose label separates jobs; it adds neither source entropy nor authorization. Real designs also need wrapping integrity, version handling and failure rejection. Changing a public label cannot restore secrecy after root exposure.[2][8]

Recheck the original research record

Ciphertext can occupy ordinary storage without handing out plaintext DEK. KEK wraps DEK, and a protected root supports KEK. Evaluate repeatability, device distinction and unpredictability separately. The secrecy argument also needs authorized use and a planned recovery design.

The three-lesson PUF plan

  1. This lesson: PUF principles and families, twelve plates and two labs.
  2. Lesson 2: SRAM PUF principles and reliability, twelve plates and two interactive labs.
  3. Lesson 3: NeoPUF principles and key use, twelve plates and two interactive labs.

Legacy section links lead to the corresponding conceptual introduction here. Full treatments belong in the planned lessons; those lessons are not presented as already published.

Glossary

  • DEK: the key that encrypts data.
  • KEK: a key used to wrap other keys.
  • Root secret: a protected starting point for purpose keys.
  • PUF: a mechanism using individual physical variation for device-dependent responses.
  • CRP: a physical challenge and its response.
  • RO: ring oscillator.
  • Arbiter: a circuit deciding which of two signals arrives first.
  • Readout margin: separation from a decision boundary, evaluated with operating conditions.
  • Hamming distance: differing positions in equal-length bit strings.
  • KDF: a function deriving working keys from secret material and purpose context.

Learning check

1. Must an attacker break AES after copying ciphertext and plaintext DEK?

No. The correct DEK already enables normal decryption. Changing the cipher leaves the same joint-exposure condition.

2. Does strong guarantee more security than weak?

No. The common classification concerns challenge–response space. Reliability, exposure and modeling resistance need separate evaluation; formal definitions may also require unpredictability.

3. With no noise or ties, does A>C add an independent unknown after A>B and B>C?

No. The first two comparisons determine it. Pair results are correlated under the same-condition strict-order assumptions.

4. Counts are 1001/1000 under condition 1 and 998/999 under condition 2. Does a longer interval guarantee recovery of the original bit?

No. Relative ordering has reversed in the example. Longer counting can preserve the reversed order. Examine relative change and margin, not just accumulated laps.

5. Why cannot a different-root SoC directly open the copied storage, and what must a replacement-device design plan?

It lacks the original root dependency for KEK, and no migration path was provided. A replacement workflow needs planned authorized migration or recovery. Copy failure is not a universal guarantee, and lost root material cannot simply be assumed recoverable.

Primary sources

Sources checked 2026-10-16. Artwork and labs are original teaching material, not product measurements, absolute-security claims or certification. Reference 7 is a public mechanism account coauthored by an inventor; detailed property comparison belongs in lesson 3.

  1. NIST FIPS 197 — Advanced Encryption Standard
  2. NIST SP 800-38F — Methods for Key Wrapping
  3. Suh & Devadas (2007) — Physical Unclonable Functions for Device Authentication and Secret Key Generation
  4. Rührmair & Holcomb (2014) — PUFs at a Glance
  5. RFC 2104 — HMAC: Keyed-Hashing for Message Authentication
  6. Holcomb et al. — Power-Up SRAM State as an Identifying Fingerprint and Source of True Random Numbers
  7. Hsu & Wu (2020) — NeoPUF, A Reliable and Non-traceable Quantum Tunneling PUF
  8. RFC 5869 — HMAC-based Extract-and-Expand Key Derivation Function

#PUF #ROPuf #HardwareSecurity #KeyManagement #ComicClassroom