Silicon Speed and Silicon Seeds: A Root-Free Measurement of Hardware-Driven Cryptographic Security on Commodity Smartphones

Cryptographic extensions and hardware random-number generators are now standard in mobile processors, yet their practical contribution to cryptographic speed and key security on low-cost devices is rarely measured in a way that separates hardware effects from software effects. This paper presents a reproducible, root-free measurement study on two commodity Android smartphones with processors from different vendors (Samsung Exynos and MediaTek), using self-contained programs that require no special privileges. To isolate the hardware contribution, identical OpenSSL code was executed with the ARMv8 cryptographic extensions enabled and then disabled. The extensions accelerated SHA-256 by 4.86× and 5.60×, and AES-256-GCM by 11.69× and 13.05×, on the two devices respectively; on our two devices, the larger gains occurred on the slower one. An independent C implementation invoking the AES instructions directly confirmed the hardware effect without OpenSSL. We further show that comparing interpreted with compiled code overstates hardware gains by about three orders of magnitude. Both devices expose a vendor hardware random-number generator to the kernel. Under the NIST SP 800-22 proportion method (1,000 sequences of 10⁶ bits per run), the hardware-seeded operating-system generator passed all three runs (99.04%). The Mersenne Twister generator achieved a statistically equivalent rate (99.01%), yet after observing 624 outputs we predicted 700 of 700 subsequent 256-bit keys. These results provide an on-device demonstration that statistical randomness does not imply cryptographic unpredictability. Hardware-backed key storage (StrongBox, TEE) and the raw hardware entropy source were not evaluated and are identified as future work. All programs and raw data are released for replication.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-29
DOI
https://doi.org/10.5281/zenodo.24648067
Primary Topic
Cryptographic Implementations and Security
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Silicon Speed and Silicon Seeds: A Root-Free Measurement of Hardware-Driven Cryptographic Security on Commodity Smartphones

S Ravichandran Ayyer
Zenodo (CERN European Organization for Nuclear Research)
Cryptographic Implementations and Security
preprint

Silicon Speed and Silicon Seeds: A Root-Free Measurement of Hardware-Driven Cryptographic Security on Commodity Smartphones

S Ravichandran Ayyer
preprint en

Abstract

Cryptographic extensions and hardware random-number generators are now standard in mobile processors, yet their practical contribution to cryptographic speed and key security on low-cost devices is rarely measured in a way that separates hardware effects from software effects. This paper presents a reproducible, root-free measurement study on two commodity Android smartphones with processors from different vendors (Samsung Exynos and MediaTek), using self-contained programs that require no special privileges. To isolate the hardware contribution, identical OpenSSL code was executed with the ARMv8 cryptographic extensions enabled and then disabled. The extensions accelerated SHA-256 by 4.86× and 5.60×, and AES-256-GCM by 11.69× and 13.05×, on the two devices respectively; on our two devices, the larger gains occurred on the slower one. An independent C implementation invoking the AES instructions directly confirmed the hardware effect without OpenSSL. We further show that comparing interpreted with compiled code overstates hardware gains by about three orders of magnitude. Both devices expose a vendor hardware random-number generator to the kernel. Under the NIST SP 800-22 proportion method (1,000 sequences of 10⁶ bits per run), the hardware-seeded operating-system generator passed all three runs (99.04%). The Mersenne Twister generator achieved a statistically equivalent rate (99.01%), yet after observing 624 outputs we predicted 700 of 700 subsequent 256-bit keys. These results provide an on-device demonstration that statistical randomness does not imply cryptographic unpredictability. Hardware-backed key storage (StrongBox, TEE) and the raw hardware entropy source were not evaluated and are identified as future work. All programs and raw data are released for replication.

Zenodo (CERN European Organization for Nuclear Research)
Cryptographic Implementations and Security
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.

Laika access coming soon