Table of Contents
Fetching ...

Exact Bias of Linear TRNG Correctors -- Spectral Approach

Maciej Skorski, Francisco-Javier Soto, Onur Günlü

TL;DR

This work provides exact total-variation security bounds for linear TRNG correctors by exploiting a Fourier-spectral view of Y = G X over binary codes. It derives exact output distributions and tight l-infinity, l-2, and nearly tight l-1 bounds expressed via the weight enumerator W_G, enabling precise security assessments for bias-prone hardware sources. The bounds are demonstrated both analytically and numerically across thousands of codes, revealing fundamental trade-offs between compression rate and cryptographic security, and showing that achieving high security can require substantial rate sacrifice for biased inputs. The results unify prior norm-based analyses, improve over them by orders of magnitude, and provide practical tools (including a vectorized, stable evaluation method) for evaluating TRNG post-processing in hardware implementations.

Abstract

Using Fourier analysis, this paper establishes exact security bounds for linear extractors in True Random Number Generators (TRNGs). We provide the first near-optimal total variation security characterization by interpolating between optimal $\ell_{\infty}$ and $\ell_2$ norm results, expressed through code weight enumerators and input bias parameters. Our bounds improve security assessments by an order of magnitude over previous approximations. By scanning ~20,000 codes, we reveal fundamental trade-offs between compression efficiency and cryptographic security. For instance, we show that achieving 80 bits of security can require sacrificing more than 50\% of the code rate when correcting 10\% input bias. Our bounds enhance security evaluation of TRNG post-processing schemes and quantify the inherent cost of randomness extraction in hardware implementations.

Exact Bias of Linear TRNG Correctors -- Spectral Approach

TL;DR

This work provides exact total-variation security bounds for linear TRNG correctors by exploiting a Fourier-spectral view of Y = G X over binary codes. It derives exact output distributions and tight l-infinity, l-2, and nearly tight l-1 bounds expressed via the weight enumerator W_G, enabling precise security assessments for bias-prone hardware sources. The bounds are demonstrated both analytically and numerically across thousands of codes, revealing fundamental trade-offs between compression rate and cryptographic security, and showing that achieving high security can require substantial rate sacrifice for biased inputs. The results unify prior norm-based analyses, improve over them by orders of magnitude, and provide practical tools (including a vectorized, stable evaluation method) for evaluating TRNG post-processing in hardware implementations.

Abstract

Using Fourier analysis, this paper establishes exact security bounds for linear extractors in True Random Number Generators (TRNGs). We provide the first near-optimal total variation security characterization by interpolating between optimal and norm results, expressed through code weight enumerators and input bias parameters. Our bounds improve security assessments by an order of magnitude over previous approximations. By scanning ~20,000 codes, we reveal fundamental trade-offs between compression efficiency and cryptographic security. For instance, we show that achieving 80 bits of security can require sacrificing more than 50\% of the code rate when correcting 10\% input bias. Our bounds enhance security evaluation of TRNG post-processing schemes and quantify the inherent cost of randomness extraction in hardware implementations.

Paper Structure

This paper contains 26 sections, 9 theorems, 39 equations, 5 figures, 1 algorithm.

Key Result

proposition thmcounterproposition

For any $Y$ over $k$ bits and uniform $U_k$, we have

Figures (5)

  • Figure 1: Our contribution: improved security bounds for linear TRNG correctors.
  • Figure 2: New security bounds for Reed-Muller codes.
  • Figure 3: Security bounds for BCH codes.
  • Figure 4: Accuracy of new security bounds for Reed-Muller codes.
  • Figure 5: Rate-Security Tradeoff for Linear Codes (dataset from grujicOptimizingLinearCorrectors2024).

Theorems & Definitions (20)

  • proposition thmcounterproposition
  • theorem thmcountertheorem
  • corollary thmcountercorollary
  • theorem thmcountertheorem
  • corollary thmcountercorollary
  • theorem thmcountertheorem
  • corollary thmcountercorollary
  • proposition thmcounterproposition: Linear extractors must be full-rank
  • theorem thmcountertheorem
  • remark thmcounterremark: Practical Impact
  • ...and 10 more