← Lab /Security & privacy

ChaCha20-Poly1305 adds <7.1% latency to GOOSE and <3% to IEC-60834-1 on edge devices

ChaCha20-Poly1305 encryption fits within the latency requirements of GOOSE and IEC-60834-1 protocols on low-cost edge hardware

Security & privacy arXiv 19 Mar 2026 Measurement Prototype evidence

Published as “Performance Testing of ChaCha20-Poly1305 for Internet of Things and Industrial Control System devices”

Why it matters

ChaCha20-Poly1305 can be deployed on typical low-cost IoT and industrial control devices without violating real-time communication latency constraints.

Summary

The paper measures ChaCha20-Poly1305 encryption on a Raspberry Pi 4 and an Intel N95 Mini PC and finds functional latencies of 155-163 μs on the Pi and 57-60 μs on the Mini PC with dynamic frequency scaling, well below the <4 ms GOOSE and <10 ms IEC 60834-1 limits. Even when the Mini PC is locked to its base 800 MHz clock the latency stays under 207 μs, still within the required percentages. The study reports memory usage under 1.6 MiB and binary sizes as small as 19 kB, indicating suitability for resource-constrained devices. Evidence is based on 100 000 runs per payload size (28-224 B) measured with perf and timespec. The paper does not include a dedicated limitations or threat-model discussion.

What they found 2

  1. Functional latency on the Raspberry Pi is 155-163 μs and on the frequency-locked Mini PC 164-172 μs, representing only a few percent of IEC latency limits.

    “Functional time is 155 μs to 163 μs for the Raspberry Pi, the frequency locked Mini PC is at a similar place with 164 μs to 172 μs, thus for Goose the Raspberry Pi uses 3.875 % to 4.075 % and the Mini PC 4.075 % to 4.3 % of the maximum latency requirements and 1.55 % to 1.63 % (Raspberry Pi) and 1.63 % to 1.72 % (Mini PC) in IEC 60834-1.”

  2. With dynamic frequency scaling the Mini PC achieves functional latency of 57-60 μs (1.425-1.5 % of GOOSE limit).

    “With Dynamic frequency scaling enabled, the Mini PC achieves a functional time of 57 μs to 60 μs, with a 5th-95th percentile range of 52 μs to 64 μs, therefore Performance Testing of ChaCha20-Poly1305 for IoT and ICS devices 1.425 % to 1.5 % of the maximum latency requirements for Goose and 0.57 % to 0.6 % of IEC 60834-1.”

What’s new here 4

  • Provides empirical latency measurements of ChaCha20-Poly1305 on typical low-cost IoT/ICS hardware.
  • Shows that even with CPU frequency locked the algorithm meets IEC 60834-1 and GOOSE timing requirements.
  • Includes memory footprint and binary size data for the encryption module.
  • Uses a high-resolution measurement methodology (perf, timespec) over 100 k runs per payload size.