The ChaCha20 stream cipher has emerged as a cornerstone of modern network security, particularly within the TLS 1.3 and WireGuard protocols, due to its high performance and inherent resilience against timing-based side-channel attacks. Addressing the lack of holistic trade-off analysis between throughput and area, this paper presents a comprehensive Design Space Exploration (DSE). We propose a modular, highly parameterized FPGA architecture that allows for the systematic modulation of three key dimensions: the level of algorithmic parallelism, the temporal partitioning of operations, and the granularity of the arithmetic datapath. Our experimental analysis on a Xilinx Artix-7 demonstrates a vast performance spectrum, ranging from resource-constrained 8-bit serialized designs to massively unrolled 32-bit architectures. A key finding of this exploration is that extreme datapath slicing (e.g., 8-bit) is counterproductive on modern FPGAs, as the control overhead outweighs the logic savings. Conversely, we identify a sweet-spot configuration that achieves over 2.3 Gb/s while requiring fewer than 700 equivalent slices, corresponding to the best overall efficiency with an area– time product of only 140.33 eSlice x us. The exploration further establishes a minimum-area implementation (507 eSlices) and a minimum-latency architecture (0.059 us), providing practical guidelines for both resource-constrained IoT and high-speed networking applications.

A Multi-Dimensional Design Space Exploration of ChaCha20 on FPGA / Manfredi, E., Piscopo, V., Antognazza, F., Dolmeta, A., Mirigaldi, M., Martina, M., Masera, G., Pelosi, G., Barenghi, A.. - ELETTRONICO. - (2026), pp. 244-251. (2026 29th Euromicro Conference on Digital System Design (DSD) Krakow (Pol) 02-04 September 2026) [10.23919/DSDCPS00089.2026.00041].

A Multi-Dimensional Design Space Exploration of ChaCha20 on FPGA

Enrico Manfredi;Valeria Piscopo;Alessandra Dolmeta;Mattia Mirigaldi;Maurizio Martina;Guido Masera;Gerardo Pelosi;
2026

Abstract

The ChaCha20 stream cipher has emerged as a cornerstone of modern network security, particularly within the TLS 1.3 and WireGuard protocols, due to its high performance and inherent resilience against timing-based side-channel attacks. Addressing the lack of holistic trade-off analysis between throughput and area, this paper presents a comprehensive Design Space Exploration (DSE). We propose a modular, highly parameterized FPGA architecture that allows for the systematic modulation of three key dimensions: the level of algorithmic parallelism, the temporal partitioning of operations, and the granularity of the arithmetic datapath. Our experimental analysis on a Xilinx Artix-7 demonstrates a vast performance spectrum, ranging from resource-constrained 8-bit serialized designs to massively unrolled 32-bit architectures. A key finding of this exploration is that extreme datapath slicing (e.g., 8-bit) is counterproductive on modern FPGAs, as the control overhead outweighs the logic savings. Conversely, we identify a sweet-spot configuration that achieves over 2.3 Gb/s while requiring fewer than 700 equivalent slices, corresponding to the best overall efficiency with an area– time product of only 140.33 eSlice x us. The exploration further establishes a minimum-area implementation (507 eSlices) and a minimum-latency architecture (0.059 us), providing practical guidelines for both resource-constrained IoT and high-speed networking applications.
2026
978-1-971299-37-2
File in questo prodotto:
File Dimensione Formato  
A_Multi-Dimensional_Design_Space_Exploration_of_ChaCha20_on_FPGA.pdf

accesso riservato

Descrizione: Published paper
Tipologia: 2a Post-print versione editoriale / Version of Record
Licenza: Non Pubblico - Accesso privato/ristretto
Dimensione 1.78 MB
Formato Adobe PDF
1.78 MB Adobe PDF   Visualizza/Apri   Richiedi una copia
ChaCha20_DSD_2026.pdf

accesso aperto

Descrizione: AAM version
Tipologia: 2. Post-print / Author's Accepted Manuscript
Licenza: Pubblico - Tutti i diritti riservati
Dimensione 1.44 MB
Formato Adobe PDF
1.44 MB Adobe PDF Visualizza/Apri
Pubblicazioni consigliate

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11583/3016773