Statistical Evaluation of Entropy Accumulation in Linux

The development of the Linux kernel has been a long ongoing project. Recent modernization efforts have prompted its developers to revisit legacy code, including the 'random.c' driver. This critical component is most notably responsible for supplying the system with random values. However, recent changes to this driver rely on untested assumptions, with limited support in the literature. In this work, we perform an in-depth study of the entropy accumulation process. We first analyze the density distribution of its entropic inputs. Then, we use this knowledge to run a simulation in which various accumulation functions, ranging from the simpler rotation function to the SipHash-based function used in the latest driver, are compared using statistical tests. Finally, we verify these results computationally. Our findings show that the inputs to Linux's Random Number Generator are neither independent nor identically distributed, as was previously assumed. We show instead that the various inputs are all dependent on previous values, and each follow a different distribution. Our results also confirm that the SipHash-based function introduced in version 5.18 is indeed an improvement over its predecessors, as it condenses more entropy than the alternatives for the given range of inputs.

Authors

Institutions

Publication Details

Published
2025-06-30
DOI
https://doi.org/10.1109/eurospw67616.2025.00075
Primary Topic
Distributed and Parallel Computing Systems
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Statistical Evaluation of Entropy Accumulation in Linux

Bart Mennink, Joan Daemen, Alexandre Bouez
Distributed and Parallel Computing Systems
article

Statistical Evaluation of Entropy Accumulation in Linux

Bart Mennink, Joan Daemen, Alexandre Bouez
article en

Abstract

The development of the Linux kernel has been a long ongoing project. Recent modernization efforts have prompted its developers to revisit legacy code, including the 'random.c' driver. This critical component is most notably responsible for supplying the system with random values. However, recent changes to this driver rely on untested assumptions, with limited support in the literature. In this work, we perform an in-depth study of the entropy accumulation process. We first analyze the density distribution of its entropic inputs. Then, we use this knowledge to run a simulation in which various accumulation functions, ranging from the simpler rotation function to the SipHash-based function used in the latest driver, are compared using statistical tests. Finally, we verify these results computationally. Our findings show that the inputs to Linux's Random Number Generator are neither independent nor identically distributed, as was previously assumed. We show instead that the various inputs are all dependent on previous values, and each follow a different distribution. Our results also confirm that the SipHash-based function introduced in version 5.18 is indeed an improvement over its predecessors, as it condenses more entropy than the alternatives for the given range of inputs.

Radboud University Nijmegen (NL)
Openalex Percentile: Top 74%
Distributed and Parallel Computing Systems
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Statistical Evaluation of Entropy Accumulation in Linux — Bart Mennink, Joan Daemen, et al. · (2025) | TGRS Research Map | TGRS