A research device encrypts its records inside a system-on-chip. The records opened on its previous run, but key-use verification fails after a new power-up. The stored ciphertext has not changed. Should the engineer blame AES, or first check whether the secret protecting the data key was reconstructed correctly?
The previous lesson introduced physical chip variation as material for key generation. Here we look closely at SRAM. Which properties can repeat, which variations need correction, and what should the device do when recovery fails? The plates establish the relationships; the text and two labs let you check your own reasoning.
The device, bit patterns and error-correction examples are fictional teaching scenarios. They are not measurements or security promises for a product. One observed failure cannot establish that every SRAM PUF design fails.
Try startup capture →Explore error distribution →
The data is unchanged. What should we check first?

Separate the two key roles. A data-encryption key protects the research records. A protection key reconstructed from PUF material and appropriately derived can wrap that data key. Reading a record requires the protection key, successful unwrap verification and then the data key. A failure anywhere along this path may look like the same unreadable file.
The plate compares a controlled laboratory reference, 10111001, with the current observation, 10101001. Only bit 4 differs. Eight bits make the difference visible; they are not a full key. Nor does this example recommend storing raw PUF responses openly in a product. The difference is a diagnostic clue, not a complete diagnosis.
Different raw patterns can still lead to the same reconstructed secret when their difference falls within the design's tolerance. Conversely, a close-looking pattern can fail because the helper-data version is wrong, the capture was overwritten, or a later operation used the wrong key purpose. Pattern similarity alone does not settle the outcome.
Trace capture, reconstruction and verification separately. Confirm that capture obtained a valid startup observation, check the reconstruction margin, and verify the subsequent key operation. Release no plaintext after verification fails. Substituting a default key merely to make the interface work would bypass the protection the device was meant to provide.
The seesaw explains a preference, not gravity

Imagine a nearly balanced seesaw. A small asymmetry and a slight initial push can decide which side falls. SRAM contains no seats or weights. The analogy helps explain how a small electrical difference during startup can determine the final digital state.
Two sides drawn identically in a circuit diagram need not have identical device characteristics after manufacture. Local variation creates a startup preference. Noise and supply conditions also affect a particular startup. The underlying mismatch is not redrawn randomly whenever software reads the cell.
Feedback reinforces an initial difference. In one possible transition, a slightly higher node drives the opposite node lower through an inverter. That lower node then supports a higher value on the first side. The circuit settles into one high and one low state rather than keeping both nodes equal.
A strongly biased cell is harder for some disturbances to overturn. A weakly biased cell may produce different values across power-ups. This does not make every cell a fair coin or guarantee that a strong preference lasts forever. Strong, weak and neutral are illustrative categories within a continuous distribution.
Why do Q and QB count as only one bit?

A common six-transistor SRAM cell uses four transistors for two cross-coupled CMOS inverters and two more for access. The plate shows their functional relationship. It omits power connections, device sizing and parasitic effects, so it is not a complete circuit ready for fabrication.
Each inverter drives the other's input, closing the feedback loop. In a stable stored state, Q=1 means QB=0; Q=0 means QB=1. QB names the complementary node. It is not another independent random variable, so collecting both node values does not double the available secret.
The word line, WL, controls access to the paired bit lines, BL and BLB. A write deliberately changes the stored state. A normal read must preserve it within the memory's specified operating conditions. A startup PUF instead needs an observation taken after a new power-up and before a write changes that initial state.
One array may contain cells biased toward Q=1 and others toward Q=0, with different preference strengths. The five observations in the plate are examples, not lifetime guarantees. Environment, time and the complete reconstruction process still need testing before these cells can support reliable key recovery.
Section sources: [1]
Reset does not necessarily create a new startup sample

We often treat restarting as one operation. A chip may place its CPU, SRAM and other blocks in separate power domains. If a reset keeps SRAM powered and does not overwrite it, a later read may return previously written data. Each platform's reset behavior needs checking.
A new power-up also needs adequate decay of the previous state. After a short power-off interval, residual charge may influence the next observation. Temperature and circuit properties affect this behavior. There is no universal off-time for every SRAM, and a low-going power signal alone does not establish independent samples.
Initialization can erase the evidence before capture begins. Startup clearing, stack use, buffers, firmware or memory-controller writes may change the target region first. A later read then reflects those writes rather than the untouched startup state. Plan the capture window and reserved memory region together.
Getting a sample does not justify exposing it. Manufacturing enrollment may need diagnostic access; deployed devices need restrictions on raw responses and intermediate values. The system must capture the material in time while preventing ordinary software, debug interfaces and unauthorized users from obtaining it.
Why isn't one room-temperature success enough?

Move the research device into a hotter cabinet or change its power-up sequence. It is still the same chip, but startup now occurs under different conditions. Manufacturing mismatch remains, while device behavior, noise and relative startup timing may change. A marginal cell can settle on the opposite side.
Temperature, supply voltage and the power-up ramp belong in capture and reconstruction tests. They are not necessarily independent controls. Experiments must control and record the conditions before attributing a change to one cause. The plate's observation rows are illustrative, not predictions that a particular temperature flips a particular bit.
An average can hide the difficult cases. Many stable cells do not guarantee enough correction margin in every codeword. Success under most conditions does not establish success at the specified boundary. Enrollment at one condition and reconstruction over a wider range require evidence for that difference.
This does not establish that hotter always means worse or that all SRAMs share one BER curve. Reliability depends on the circuit, process, selected cells and operating conditions. Align the test range and failure metric before comparing percentages from different designs.
Does working memory prove a working PUF?

Ordinary memory tests check writing, reading and retention. An SRAM PUF has another requirement: its startup material must still support reconstruction. A cell can remain useful as memory while its startup preference changes over time. Passing one requirement does not establish the other.
Aging can change transistor characteristics and the relative strength of the two sides. Bias conditions and previously stored data can affect that change. Some cells may develop weaker startup preferences; others may develop stronger ones. A single downward trend for every cell would misrepresent this behavior.
Accelerated tests reveal changes under chosen stresses in less time. Hours at elevated temperature or bias cannot become arbitrary years of normal use without a relevant model and validation. Long-term observation under normal conditions and accelerated experiments also answer somewhat different questions.
A report should state use or stress history, measurement conditions, tracking methods and changes in the distribution. One study's relative change is not a universal absolute failure rate. For our device, the relevant question is whether complete key recovery meets its failure-rate requirement throughout the intended conditions and lifetime.
What do repeated measurements and cell selection cost?

Suppose a cell usually starts at 1 but nearly independent disturbances occasionally produce 0. A majority across fresh power-up observations can help build a representative reference. The example 1,1,0,1,1 therefore selects 1. Voting during enrollment and voting on every later use have different time and energy costs.
Repeated reads during one powered interval usually inspect the same settled state. They do not create five new startup observations. A separate SRAM power domain may avoid rebooting the whole SoC, but the samples must still meet capture requirements. Five votes do not remove a systematic shift or highly correlated errors.
Cell selection keeps locations that better meet reliability requirements and excludes less repeatable ones. A selection mask records positions; it is not the secret key. It can nevertheless disclose information about reliability-based selection. Include that side information when analyzing whether the mask can be public.
Stricter selection may leave fewer usable cells while increasing enrollment time, mask storage and test cost. Stability also differs from unpredictability. Values that always repeat but are easy for an attacker to guess do not establish a strong secret. Reassess correction and extraction using the material that remains.
Error correction has a boundary

An encoder adds structure and redundancy so a receiver can distinguish some corrupted results. In this lesson ECC means error-correcting code. It shares an abbreviation with elliptic-curve cryptography, covered elsewhere, but performs a different job.
Use an abstract guarantee first: under the specified decoding model, each codeword can correct up to three bit errors, written t=3. Two errors are inside that guarantee; four are outside it. We have not selected a code length, message length or BCH parameters. This is a boundary example, not an implementable coding specification.
Outside the radius, a decoder may reject or produce a wrong candidate by choosing another codeword. Some out-of-radius cases may still decode correctly. Exceeding t therefore does not mean every run fails. The actual decoder and error pattern determine behavior beyond the guarantee.
An output string is not sufficient evidence of success. Feed the candidate secret into the protected key-use and verification path, for example an integrity check during data-key unwrapping. Stop if verification fails. Do not release unverified plaintext or put candidate secrets into ordinary diagnostic logs.
Public helper data requires assumptions

Noisy observations need a method that recovers the same secret from sufficiently similar inputs. A fuzzy extractor commonly has two interfaces. Enrollment, Gen, takes the source material and produces a secret R and helper data P. Reconstruction, Rep, takes a new observation and P to try to reproduce R.
Helper data is not R saved under a different filename. A construction satisfying the security definition bounds what an attacker can learn about R even when P is known. The source needs enough conditional min-entropy, with helper leakage accounted for. Calling a file helper does not make any chosen contents safe to publish.
Hashing noisy raw bits does not correct them. Changing one input bit can change the hash output completely. When hashing is part of extraction, the source and construction still need the relevant assumptions. An arbitrary function does not automatically obtain fuzzy-extractor guarantees.
Reading P and modifying P are different threats. Reconstruction also needs to consider integrity, version binding, error reporting and what an attacker can observe. A basic fuzzy-extractor security claim does not automatically make the whole system tamper resistant. Protect raw responses, candidate secrets and their eventual cleanup as well.
Why can the same six errors lead to different outcomes?

Consider two observations with the same total number of bits and six raw bit errors each. Their aggregate bit-error rate, BER, is the same. That useful fraction tells us how many bits differ, but not which codeword contains them.
Keep the teaching assumption t=3 per codeword. Three errors in each of two codewords leave both inside the guarantee. Five in the first and one in the second exceed the first bound. Spare margin in the second cannot simply be lent to the first. Coding, interleaving and grouping choices affect this distribution.
Whole-key reconstruction failure uses a complete recovery attempt as its unit. The same average BER can produce different failure tails because cell error probabilities, correlations, conditions and grouping differ. A raw BER figure alone cannot establish a specified number of nines for successful key recovery.
Zero failures in a finite test means none were observed in those samples and conditions. It does not make future risk zero. Report the trial count, samples and statistical assumptions. Candidate key use still needs verification. The distribution lab explains a boundary; it does not estimate a product's lifetime reliability.
What evidence supports reliability and security?

One successful screen records one completed attempt. A product claim needs chip and lot counts, target conditions, power-up and capture methods, enrollment procedures, use history, complete recovery trials and failure logs. Differences between chips and repeatability within one chip also need separate evaluation.
Keep results for ordinary SRAM function, raw PUF observations and end-to-end key-use verification. When a failure occurs, these records help distinguish access problems, capture mistakes, response drift, helper mismatch and later key-use faults. Calling every failure PUF instability would discard that diagnostic information.
Security evaluation must ask what the attacker can access. Can software, scan or debug expose raw responses or intermediate values? Can an attacker change helper data, repeatedly trigger capture or learn from remanent state? Manufacturing, development, deployment and repair may permit different access. An algorithm block diagram does not define these lifecycle rules.
Reliability evidence asks whether the secret can be recovered under promised conditions. Security analysis asks whether an attacker with specified capabilities and observations can guess, obtain or misuse it. Both matter, but they prove different things. State untested limits rather than replacing a threat model with zero observed failures or a certificate.
When recovery fails, protect the data first

Return to the unreadable research record. A pattern difference does not identify one cell as the sole cause. We now know to check power and capture logs, reconstruction conditions, helper pairing and key-use verification separately. Controlled diagnosis should expose only what is needed, not every raw response and secret.
If verification still fails, release no plaintext, do not switch to an empty key, and do not accept a wrong candidate as the new normal. Refusing unverified output preserves the data boundary, but can interrupt service. Availability and repair therefore need their own planned response.
Authorized recovery must be designed in advance, such as a controlled backup wrapping-key path with the required authorization. It is not a universal unlock button that appears after a failure. Re-enrollment may establish a new secret. Without a legitimate path to the old data key, that new secret cannot open the existing ciphertext. Recovery adds its own trust assumptions and attack surface.
Evaluate SRAM PUFs together with their cell material, logic, storage, enrollment and reconstruction time, testing and recovery costs. Suitability depends on the application and evidence. The next lesson uses a coin-toss analogy for NeoPUF and applies the same questions to its physical mechanism, benefits and remaining protection requirements.
Engineering notes
Correction radius and distance
For the usual unique decoding of a binary block code, guaranteeing correction of any t substitution errors requires minimum distance at least 2t+1. This lesson specifies only an abstract t=3, not a real code length or generator polynomial. The lab displays that boundary without implementing a decoder.
Zero observed failures is not zero probability
If trials are independent and share a fixed failure probability p, the probability of observing no failures in N trials is (1−p)^N. A finite sample therefore cannot prove p=0. Changing conditions, aging and correlated trials may violate those assumptions; the formula is not a product lifetime guarantee.
Secret entropy differs from startup noise
For a reproducible secret, ask how much uncertainty remains for an attacker who knows helper data, selection masks and other side information. Startup noise may increase observation variability while also increasing reconstruction cost. The number of unstable bits is not automatically the strength of the recoverable secret.
Glossary
- cell
- The SRAM array's basic storage unit for one bit.
- Positive feedback
- A feedback relationship that reinforces an initial difference; here it explains how startup settles.
- BER
- Raw wrong bits divided by the total compared bits, not whole-key recovery failure.
- Codeword and t
- A structured encoded unit; t is its guaranteed correction capacity under the stated model.
- Helper data
- Auxiliary data for reconstructing a secret from nearby observations. Publicness requires security assumptions and leakage analysis.
- Gen / Rep
- The enrollment and reconstruction interfaces of a fuzzy extractor.
- Data remanence
- Influence of an earlier state that has not fully decayed after power-off, not permanent storage.
Learning check
The three-lesson PUF plan
- Lesson 1: PUF principles and families
- This lesson: SRAM PUF principles and reliability
- Lesson 3: NeoPUF principles and key use, twelve plates and two interactive labs.
Primary sources
Sources checked 2026-10-16. Conditions in historical studies are not specifications for a modern product. The diagrams, bits and interactive cases are original teaching illustrations, not measurements or private charts from a company.
- Holcomb et al. — Power-up SRAM State as an Identifying Fingerprint and Source of True Random Numbers (2008)Startup, mismatch and noise mechanisms. Historical measurements are not modern product guarantees.
- SRAM-Based PUF Reliability Prediction Using Cell-Imbalance Characterization in the State Space DiagramCell imbalance and reliability estimation; no curves or numerical model results reproduced here.
- Vinagrero et al. — SRAM-Based PUF Readouts (2023)Capture and platform methods. Direct access was blocked; checked the original methods returned in search and the abstract. No figures or measurement numbers reproduced.
- Wang et al. — Long-term continuous assessment of SRAM PUF and source of random numbers (2020)Long-term observation. Relative changes are not presented as universal absolute BER.
- A detailed, cell-by-cell look into the effects of aging on an SRAM PUF using a specialized test array (2023)Institutional publication record for cell-level accelerated-aging research and its scope.
- Improving the reliability of SRAM-based PUFs under varying operation conditions and aging degradation (2021)Original research abstract on cell selection, operating conditions and aging; no inaccessible experimental detail used.
- Pitfall of the Strongest Cells in Static Random Access Memory Physical Unclonable Functions (2018)Accessible original abstract supports the selection-information leakage issue; unverified parameters are not adopted.
- Dodis et al. — Fuzzy Extractors: How to Generate Strong Keys from Biometrics and Other Noisy Data (2008)Gen/Rep, secure sketches, source entropy and the assumptions for public helper data.
- Dodis et al. — Robust Fuzzy Extractors and Authenticated Key Agreement from Close SecretsActive helper modification is an additional security problem. This lesson implements no robust fuzzy-extractor construction.
- Kietzmann et al. — PUF for the Commons: Enhancing Embedded Security on the OS Level (2024)OS integration, acquisition and threat analysis. Platform-specific security-strength results are not generalized.
- Attacking SRAM PUFs using very-low-temperature data remanenceOriginal public abstract on remanence risk; no attack procedure is provided.
- A Proof of Concept SRAM-based Physically Unclonable Function (PUF) Key Generation Mechanism for IoT Devices (2019)Original research on reconstruction and resource trade-offs. The 3+3/5+1 counterexample is our abstract teaching example.
- NIST SP 800-38F — Recommendation for Block Cipher Modes of Operation: Methods for Key WrappingKey wrapping and integrity background, not PUF certification.
#SRAMPUF #PUF #Reliability #KeyReconstruction #HardwareSecurity