ES-TRNG
A High-throughput, Low-area True Random Number Generator based on Edge Sampling
Bohan Yang, Vladimir Rožić, Miloš Grujić Nele Mentens and Ingrid Verbauwhede COSIC, KU Leuven
ES-TRNG A High- throughput , Low-area T rue R andom N umber G - - PowerPoint PPT Presentation
ES-TRNG A High- throughput , Low-area T rue R andom N umber G enerator based on E dge S ampling Bohan Yang , Vladimir Roi , Milo Gruji Nele Mentens and Ingrid Verbauwhede COSIC, KU Leuven Generic TRNG Architecture Timing jitter
A High-throughput, Low-area True Random Number Generator based on Edge Sampling
Bohan Yang, Vladimir Rožić, Miloš Grujić Nele Mentens and Ingrid Verbauwhede COSIC, KU Leuven
12-Sep-18 COSIC, KU Leuven 1
Entropy Source
Digitization
Post Processing
Online Tests
Applications
Total Failure Tests
Raw Numbers Internal Numbers
Digital Noise Source
ES-TRNG
12-Sep-18 COSIC, KU Leuven 2
For Cryptographic Applications:
Initialization Vectors
The SECURITY of a TRNG depends on its unpredictability.
which cannot be measured by statistical tests
NIST800-22 DIEHARD FIPS 140-1
can be estimated by stochastic model
AIS-31 NIST800-90B ?
?
12-Sep-18 COSIC, KU Leuven 3
Noise Free
Noise Free
Noise
A random bit is generated only when measuring the position of a edge.
D Q
clk
Low throughput Timing Jitter accumulation is slow Solution: increasing the sampling resolution! Elementary TRNG
12-Sep-18 COSIC, KU Leuven 4
Sampling at a higher frequency ?
Highest sampling frequency is limited by technology, platform, system, power, energy….
D Q
clk
D Q
clk
12-Sep-18 COSIC, KU Leuven 5
LUT Using high resolution TDC (Time-to-Digital Converter) 0111 1000 1100 Resolution: ~ 17 ps (@~60 GHz) Period: ~ 2.2 ns 20 2200 𝑞𝑡 ÷ 2 ÷ 17 𝑞𝑡 ÷ 4 ≈ 17 LUT
DC-TRNG ES-TRNG
12-Sep-18 COSIC, KU Leuven 6
12-Sep-18 COSIC, KU Leuven 7
𝑢𝑔,1 𝑢𝑔,2 𝑢𝑠,1 𝑢𝑠,2 1 1 1 Stages [2:0] Valid Raw bit 110,001 1 1 100,011 1 111,000 N 101,010 n/a
2 1
12-Sep-18 COSIC, KU Leuven 8
𝑢𝑔,1 𝑢𝑔,2 𝑢𝑠,1 𝑢𝑠,2
1 Elementary TRNG
12-Sep-18 COSIC, KU Leuven 9
Dependency between each samples
12-Sep-18 COSIC, KU Leuven 10
RO 1 2.172 ns RO 2 2.740 ns
𝑢𝑔,1 𝑢𝑔,2 𝑢𝑠,1 𝑢𝑠,2
𝑢𝑠,1 𝑢𝑠,2 𝑢𝑔,1 𝑢𝑔,2 35.93 ps 22.25 ps 40.90 ps 24.12 ps 𝜏𝑛
2
𝑢𝑛 2.9 fs D 0.43
12-Sep-18 COSIC, KU Leuven 11
Entropy claim!
12-Sep-18 COSIC, KU Leuven 12
Entropy claim!
12-Sep-18 COSIC, KU Leuven 13
5 DFFs 6 LUTs + 4 LUTs 1 CARRY4
12-Sep-18 COSIC, KU Leuven 14
Compact Hardware: 10 LUTs + 5 FFs @ Xilinx Spartan-6
Relative High Throughput: 1.15 Mbps @ Xilinx Spartan-6
Security analysis supported by stochastic model DC-TRNG & ES-TRNG resources (in progress): https://github.com/ybhphoenix/DC-ES-TRNG
12-Sep-18 COSIC, KU Leuven 15