RawGauge Data sheet · Rev. 2026.11

Raw entropy source auditYour randomness passed. Here’s what the pass didn’t check.

Scope
Raw TRNG output, before conditioning
Baseline
NIST SP 800-90B RCT and APT, same data
False alarms
Measured on clean data, both sides
Reference data
10 × nRF52840, 24 h, about 10 GB raw output
Control data
About 3.5 GB of bias-corrected output, examined on-chip
Records
4,553,540, all checksum-verified

1 Description

RawGauge is an independent audit of a hardware random number generator’s raw output. Conditioning makes a weak source look statistically perfect, and the mandated health tests fire only on gross failure. We run those tests and our own deep scan side by side, each calibrated to the device’s own baseline, at a comparable false-alarm rate. We measure the source, not the mask.

2 Features

  • Detects bias of ±0.5 percentage points that the health tests pass
  • Detects serial correlation and periodic structure in balanced output
  • Detects entropy shared between devices, which single-channel tests cannot see
  • Reports both false-alarm rates, measured on the same clean data
  • Reproducible report with a hashed evidence pack

Table 1. Detection rate on anomalies injected into real device output, with both false-alarm rates measured (last row)

Injected anomalyTrialsNIST RCT / APTRawGauge
2 × 3000.7–2.3 %100 %
30014 %100 %
3001.7 %100 %
900 %100 %
300≤ 3.3 %100 %
90Blind: single-channel100 %
False alarms, clean segments3001.0 % (3)1.7 % (5)

Known anomalies were injected into real raw output of nRF52840 chips, 4,000,000-bit segments; detection rate is the share of trials that raised an alarm. 100 % means every trial; the 95 % lower confidence bound is 98.7 % for 300 trials and 95.9 % for 90. The standard tests run with APT at its SP 800-90B cutoff and RCT raised from the nominal 22 to 30–31, because the nominal cutoff fired on 62 % of clean segments; that makes RCT less sensitive than nominal. Our detectors are set for a 1 % false-alarm target; on clean data we measured 1.7 % in the 10-device runs and 0.8 % in an independent repeat (Table 2). Real, un-injected deficits are reported in Section 5 and Section 8. Full conditions in Section 5. Select a row to see how its anomaly was injected.

3 Ordering information

Send a raw sample and what you need to prove. Scoped with you under NDA.

4Why a passing health test proves little

Cryptographic conditioning makes a biased or correlated source look statistically perfect. The mandated health tests, NIST SP 800-90B’s Repetition Count Test (RCT) and Adaptive Proportion Test (APT), fire only on gross failure. A subtle per-device deficit passes straight through, and would keep passing if the raw source degraded in the field.

Weak randomness has shipped at scale before: the Debian OpenSSL bug (2008) and the repeated keys found in the “Mining your Ps and Qs” study (2012). Those came from software seeding and boot-time entropy starvation, not from a degrading hardware source, but they show the cost once it ships. A failing raw source is the class we measure.

5Test conditions and false-alarm rates

Every figure we show comes with the false-alarm rate measured on clean data, for us and for the standard tests alike. Where we change a standard cutoff, we say so and why.

Table 2. False alarms on clean segments

RunClean segmentsNIST RCT / APTRawGauge
10-device runs3003 (1.0 %)5 (1.7 %)
3-device runs9000
Independent repeat6006 (1.0 %)5 (0.8 %)

Nine of our ten false alarms were one borderline excursion on a single unit, counted repeatedly because the test segments overlap. On 18 hours of continuous on-chip counters from each of the ten units, our block-level bit-balance monitor raised no false alarm.

Table 3. Standard tests with APT also set to a 1 % false-alarm target

Injected anomalyNIST RCT / APT, re-tuned
Bias, 0.5 points, either direction1–3 %
Bias, 2 points26 %
Serial correlation2 %

Same trials as Table 1. Table 1 keeps APT at its SP 800-90B cutoff (α = 2−20); here APT is loosened to 1 % false alarms as well (RCT already is at 30–31), which is why the standard tests catch more.

How the standard tests were set. APT uses the SP 800-90B cutoff (α = 2−20). RCT’s nominal cutoff, 22 on these chips, fired on 62 % of clean segments of this length, so we raised it to 30–31: at most 1 % expected false alarms per segment. That makes RCT less sensitive than nominal.

Byte-symbol bias. With one byte value over-represented in 2 % of bytes, RawGauge caught 90 of 90. The standard tests run on single bits caught 0 of 90, but run on 8-bit samples (window 512) they caught 90 of 90. For a byte-oriented source that is not a gap, and we run both. At 0.5 % of bytes RawGauge caught 300 of 300 and the standard tests on 8-bit samples at most 10 of 300 (3.3 %), even with cutoffs chosen in their favour, at no more than 1 % false alarms.

Spot-checks. A 1 MiB min-entropy spot-check cannot resolve the real deficits we measured either. Between ideal 1 MiB samples the official NIST estimate already varies by about ±0.26 bits per byte (one standard deviation over 32 runs), more than those deficits (0.03–0.11 bits per byte, 0.4–1.4 % below full). They become visible only with larger samples and a targeted, calibrated test.

6Audit procedure

Send the raw source, get a result you can re-run.

StepStageDetail
1You send the raw sourceRaw TRNG output, before conditioning. Only noise: no keys or secrets. If you can’t export it, that gap is itself a finding, and we help you scope it.
2We run both, side by sideThe NIST SP 800-90B tests and our deep scan, calibrated to each device’s own baseline. The false-alarm rate of both is measured on clean data, so the comparison is like for like.
3You get a reproducible reportA report you can reproduce, plus an evidence pack that records the hash of every input file and the engine version, so your auditor can confirm the audit ran on exactly your data.

7What single-channel tests cannot see

Some failure classes are not a question of sensitivity. A single-channel test cannot see them even in principle.

Shared entropy across devices
Two units drawing on correlated entropy each pass single-channel tests, because each stream looks fine on its own. Our pairwise monitor detects the correlation between them. Randomness shared across devices produced the repeated keys in the “Mining your Ps and Qs” study, there in software at boot; we look for the same pattern at the raw source.
Structure a balanced stream hides
A periodic leak can leave both bit and byte statistics near ideal. At 2 % of bits the standard tests caught 0 of 90, run on bits or on bytes. We caught 90 of 90 without relaxing the alarm.

8Validation

Validated on third-party hardware we don’t own: a 10-unit nRF52840 fleet on the FIT IoT-LAB open testbed, and an IBM Heron quantum processor. On the Heron (156 qubits, 1,000,000 shots) we measured a real, un-injected min-entropy deficit of about 8.7 bits per 156-bit readout beyond the statistical floor. NIST’s own estimator, run on ideal random bits of the same length as a control, confirms a deficit there too.

Written validation criteria
Our validation criteria and pre-registered analysis plans are kept in a written record, available to customers and evaluators under NDA.
Control-calibrated
Each deficit is measured against what the same estimator gives on ideal random data of the same length, so estimator noise is never mistaken for a deficit.
Measured false-alarm rate
We measure the false-alarm rate of our detectors and of the standard tests on the same clean data and report both.
Per-device baseline
Each unit is judged against its own fingerprint, not a population average. The deficit that hides in the aggregate shows up per device.

9Limits

What RawGauge does not claim. The boundary is part of the product.

Not an accredited certificate
An independent technical audit. Where you need FIPS 140-3 or Common Criteria, we pre-screen and complement it; we don’t replace it.
No prediction
We report what is present now, which you can verify yourself. We make no early-warning or forecasting claim.
The source, not the whole system
We detect anomalies that show up in the raw source. Attacks that don’t touch it, such as key theft, a backdoored conditioner or side channels, are out of scope.

10Products

One method, three ways to deliver it.

Table 4. Delivery options

ProductFormDescription
RawGauge AuditService, onlineA deep audit of your raw source, delivered online. One-off or repeatable, with the report and evidence pack.
RawGauge MonitorEmbedded firmware / IP licenceA compact on-device health monitor: bit- and byte-level min-entropy and a repetition check, running continuously next to the built-in RCT/APT. The full deep scan runs off-device.Measured footprint on a Cortex-M4, without the math library: about 0.8–0.9 KB of code, 1.3 KB of RAM.
RawGauge AttestFleet, SaaSA deep audit sets each model’s golden baseline. Every production unit then gets a fast per-unit screen, an authenticated (HMAC) health token and a fleet dashboard: a record for your SP 800-90B, FIPS 140-3 or CRA audit trail.

Applications: where the whole system’s trust rests on the RNG

  • Secure-silicon and TRNG / PQC vendors
  • IoT and embedded makers
  • HSM, PKI, KMS and CA operators
  • Fleet operators
  • Defense and regulated sectors

11Request an audit

Send a raw sample and what you need to prove. We scope it with you under NDA, with encrypted transfer and a defined retention and destruction policy. Quick screen, full audit or continuous monitoring.

info@rawgauge.com