Next Article in Journal
A Closed-Form Hamming-Weight Variance Formula for Cyclic LCD Codes in Orthogonal Direct Sum Masking
Previous Article in Journal
Amortized Σ-Protocol for MLWE Problem
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Energy Consumption of Post-Quantum Cryptography on Constrained and General-Purpose Architectures

Blockpass ID Lab, School of Computing, Engineering and the Built Environment, Edinburgh Napier University, Edinburgh EH10 5DT, UK
*
Author to whom correspondence should be addressed.
Cryptography 2026, 10(4), 55; https://doi.org/10.3390/cryptography10040055
Submission received: 5 June 2026 / Revised: 20 July 2026 / Accepted: 29 July 2026 / Published: 3 August 2026

Abstract

With Q-day approaching, the transition to post-quantum cryptography (PQC) has begun, with governments across the US, UK and EU mandating migration to quantum-resistant standards. This paper benchmarks the three NIST-standardised PQC algorithms—FIPS 203 (ML-KEM), FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA)—across key generation, signing and verification operations, measuring both computational performance and energy consumption on a range of constrained IoT-class devices, from the 32-bit Raspberry Pi 1 and Zero to the 64-bit Raspberry Pi 4, as well as commodity laptop hardware. Using the FNIRSI FNB58 USB power meter and OpenSSL 3.5, results show that ML-KEM and ML-DSA achieve energy and speed efficiency comparable to classical elliptic-curve cryptography across all tested architectures. However, SLH-DSA signing is inadvisable on constrained hardware: energy costs for SLH-DSA signing on 32-bit devices were up to 243% higher than on equivalent 64-bit hardware, making it impractical for resource-limited IoT deployments. These findings have direct implications for IoT security practitioners planning PQC migration.

1. Introduction

Twenty-five years ago, the internet was hardly moderated, and while secure communications have a long history predating the digital era, from wartime cipher machines to early symmetric standards such as DES, encryption for civilian internet traffic was uncommon by default. Anyone could easily access and read all our communications, and there were no limits to the abuses of power that this lack of privacy entailed. However, in time, thanks to the development and large-scale adoption of public-key cryptography—notably RSA by Rivest, Shamir and Adleman, ECDH by Diffie and Hellman, and AES by Daemen and Rijmen—cryptography evolved to stronger solutions, with the industry, spearheaded by Google and its ubiquitous Chrome browser, taking the decision to mark any non-encrypted website as insecure, which led to a global implementation of privacy and encryption to much of the internet: currently, between 95 and 99 percent of web navigation in Chrome is protected and inaccessible to eavesdropping thanks to the HTTPS protocol and the TLS standards [1].
This shift towards a private and secure internet has thankfully resisted some governments’ attempts to mandate backdoors [2]; however, the encryption methods which have been around for decades are now under a new technological threat: Quantum computing [3]. By leveraging new progress in experimental physics, scientists have proven that a new type of computer, the quantum computer, is so efficient at factorising large numbers that it is estimated that in the near future, using Shor’s [4] algorithm, public key encryption could be broken. Currently, it only exists on a small scale, but there is a race between state actors to be able to develop one on a large scale, and the date for a fully usable quantum computer keeps getting closer [5].
And while AES-256 symmetric encryption seems safe for now [6], since the public key encryption is used precisely to share symmetric keys, it follows that breaking RSA or ECDH would reveal the private keys, therefore effectively breaking the encryption. Encryption works in such a way that it is either entirely safe or completely broken. The security of an encryption scheme is best understood as a margin that erodes over time: parameters once considered safe weaken as computing power grows, so that much of what was deemed secure in 1980 is now trivial to break. This is what makes “harvest-now, decrypt-later” so concerning: an adversary can record today’s encrypted traffic and decrypt it once a sufficiently powerful quantum computer exists, exposing communications that were assumed to remain confidential [7]. The answer to this is Post-Quantum Cryptography (PQC): a series of algorithms that efficiently protect encryption against hypothetical attacks led by large quantum computers.
Of course, scientists and governments have been working on solving the challenge. In Europe, the NCSC in Britain [8] and the European Commission [9] have laid the path to the PQC transition, while the American government agency NIST has launched a vast project to find, select and implement quantum-computing resistant algorithms. At the time of writing, three candidates have been officialised: ML-KEM (Kyber), ML-DSA (CRYSTALS-Dilithium) and SLH-DSA (SPHINCS+) [10].
Considering the importance of the shift to come, there is a need in the literature for an exploration of the strength and viability of these algorithms. Building on the works of J. Patterson et al. [11] and Turino et al. [12], this paper expands on their ideas by including signatures and verification beyond the key generation algorithms and assessing a variety of machines, including very low powered ones, such as a Raspberry Pi first generation or a Pi Zero, by testing them both on speed and on power consumption. The implementation of the NIST-approved algorithms in OpenSSL 3.5 in April 2025 [13] provides an opportunity: it is indeed possible to run OpenSSL on pretty much any device (although installing it does take a few hours on the smaller ones), and it is now possible to compare both the traditional and PQC algorithms on the same machine without advanced implementation. Hence, by testing variants of the three NIST approved-algorithms in both power consumption and speed against classic cryptography, a broader picture of the viability of PQC on a variety of constrained devices is obtained. To conduct the tests, a range of Raspberry Pis was used (32-bit and 64-bit) alongside some ARM and x86 laptops to cover as many architectures as were available for this study.

2. Literature Review

2.1. Context

Post-Quantum Cryptography is a very current topic, which has huge implications for both governments and private companies everywhere. There is an abundant literature on the topic, but for contextual texts, the reader is referred to Shor’s foundational paper [4], which described in 1994 the theoretical basis on which quantum computers may be able to break the traditional RSA and Elliptic Curve algorithms. The Q-day, the day where quantum computing becomes a reality beyond prototyping, is getting nearer, as underlined by Prof. Buchanan in a recent article [5], in which he informs the reader of the recent advances in qubit research by Webster [14] and Gidney [15]. It is not only academics who are moving fast on this. The US agency NIST has been proactive in considering the shift towards PQC and has selected three algorithms (with another algorithm, HQC, pending) for standardisation, alongside a deadline for migration for all American Federal systems by 2035 [16,17]. In Britain, the NCSC has recommended that a target of 2028 be in place for initial migration, 2031 for complete migration for the highest priority services, and 2035 for complete migration on all systems, services and products [8,18]. The European Commission has also been proactive on the matter, recommending that all Member States initiate a PQC transition strategy by 2026, that high-risk use cases should be transitioned as soon as possible, no later than 2030, and that by 2035, the transition should be completed as far as possible [9].

2.2. Foundational Work

The main idea behind this paper is based on the Energy Consumption Framework and Analysis of Post-Quantum Key-Generation on Embedded Devices by Patterson [11]. Building on it, this study expands on his idea, measuring PQC energy consumption on a Raspberry Pi device using OpenSSL 3.5 to run the algorithms, and expands on his work by adding a larger variety of devices and by adding signing and verifying alongside key-generation. The reason behind this is that a Raspberry Pi 5 has become quite a capable machine and no longer represents low-power embedded devices as well as an early Raspberry Pi (1 or 2) or a Pi Zero might do. Key-generation alone is not the most significant algorithm for hardware limitations, as the signing results will demonstrate. Finally, and following the example of C.Turino in his paper PQC-LEO: An Evaluation Framework for Post-Quantum Cryptographic Algorithms [12], this paper also tests algorithms beyond ML-KEM, with signature algorithms ML-DSA and SLH-DSA to explore the actual limitations of smaller hardware, by taking inspiration from his framework.

2.3. Related PQC Benchmarking Literature

Tasopoulos et al. [19] measured PQ TLS 1.3 energy consumption on a single STM Nucleo embedded board using WolfSSL. Their measurements, obtained using a high-end oscilloscope, achieved greater precision than the FNB58 USB power meter employed in this study, and encompassed the full TLS 1.3 exchange, which is identified as future work here. The scope of the two studies differs: Tasopoulos et al. tested a single purpose-built Cortex-M4 board with a custom WolfSSL implementation, whereas this study covers a range of general-purpose ARM devices running stock OpenSSL 3.5, offering broader hardware coverage and straightforward reproducibility on any Unix machine. Their work was also published pre-standardisation and therefore does not use the current FIPS names. They found that “SPHINCS+ needs tremendous amounts of energy and time just for a single handshake", a finding consistent with the results reported here for very constrained 32-bit devices, despite the differences in methodology.
Paquin et al. [20] benchmarked PQC algorithms in TLS under emulated network conditions, focusing on how packet loss and latency affect performance. The focus on network constraints rather than raw compute power, combined with the use of high-end cloud hardware (Azure D64s with 64 vCPUs) and a custom OQS-OpenSSL fork predating native PQC support in OpenSSL 3.5, makes this work complementary to the present study: the two together address what happens on a constrained device and what happens on a constrained network.
Schöffel et al. [21] evaluated energy costs of PQC KEMs in TLS on a low-power IoT Cortex-M4 device, showing accelerators are not necessary for feasible deployment. The Cortex-M4 at 64 MHz with 256 KB RAM represents a more deeply constrained target than the devices used here, while this study covers a broader range of general-purpose ARM architectures and extends the analysis to signature algorithms ML-DSA and SLH-DSA beyond the KEM focus of Schöffel et al. Their findings regarding KEMs are consistent with those reported here, and they state, “proving that the usage of post-quantum KEMs is already feasible today in terms of energy demand and latency for low-power IoT with state-of-the-art hardware”, a conclusion that aligns with the ML-KEM results presented in this work, though SLH-DSA presents a different picture on constrained hardware.
S. Sarıbaş, S. Tonyalı [22] and Bozhko et al. [23] measured TLS 1.3 handshake performance (packet overhead and delay) of pre-standardisation PQC algorithms on resource-constrained devices over Ethernet, BLE and WiFi networks. Both studies focus on network-layer metrics—packet overhead and handshake delay—rather than local energy consumption, and neither includes power measurements. This makes them complementary to the present study, which focuses on per-device energy and timing. The use of a Raspberry Pi 4 as the network endpoint in Bozhko et al. is noted; as the results here illustrate, the Pi 4 is a capable machine and less representative of deeply constrained hardware than earlier Pi generations. Network and packet capture would fall neatly into a future expansion of this work.
Roma et al. [24] analysed the energy consumption of all NIST Round 2 PQC candidates on a single Intel i7 using software-based power measurement via PAPI/RAPL. The use of software-based estimation rather than physical measurement is a deliberate methodological difference: software power measurement is acknowledged to be imprecise, as Roma et al. themselves note, stating, “which makes it difficult to make a correlation between the energy measurements obtained in this work and the energy consumption expected on a low-end embedded processor”. The present study addresses this gap through physical inline measurement on low-end ARM hardware, covering the standardised NIST algorithms against classical baselines, making the two works complementary in scope.
In a recent paper (January 2026), Algar-Fernandez et al. [25] benchmarked the timing performance of standardised and research-stage PQC primitives across two commodity Windows CPUs using a CPython 3.12TCP testbed without energy measurements. The study focuses on execution time across a limited set of x86 hardware configurations and, as the authors acknowledge, does not cover energy consumption, memory usage, or the diversity of deployment environments including microcontrollers and Linux-based embedded architectures. The present study addresses these dimensions across a range of ARM devices and x86 laptops running OpenSSL 3.5 on Linux and macOS, offering a complementary perspective on deployment-relevant metrics.

3. Implementation

3.1. Hardware

3.1.1. The Pis

Following the literature review, the focus was placed on Raspberry Pi from the early generations and smaller processors. Four devices were already available from past projects, requiring only the procurement of a Raspberry Pi 2 v1.1, Raspberry Pi 2 v1.2 (whilst very similar, the second one is actually 64-bit enabled, leading to an interesting test of the practical difference between 32 and 64-bit architecture on ARM devices) and a Raspberry Pi 3 (Model A+) (Raspberry Pi Foundation, Cambridge, UK).
The Raspberry Pis do not have TPMs (Trusted Platform Modules) implemented natively. These exist as a separate module [26] but have not been tested in this study, and all cryptographic operations are done directly at the software level.
This resulted in a lineup of seven different ARM machines, ranging from a 700 MHz single-core and 512 MB of memory for the Raspberry Pi 1 to the 1.5 GHz quad-core Pi 4 with 8 GB of LPDDR4 memory, a very capable machine. with full specifications listed in Table 1.
Figure 1 presents all the Raspberry Pis and the FNB58 used in the experiments.

3.1.2. The FNIRSI FNB58

After researching it on specialised websites [27], the FNIRSI FNB58 was selected as the power measurement tool for this study. Its simplicity of use, accurate readings and reasonable price made it the ideal choice. It is an inline USB power meter which measures voltage and current continuously. Power (PBUS) in watts was collected at 50 samples per second, logged via the proprietary USB-meter software.
Operation required connection between a power bank for 5 V (up to 2.1 A) power delivery and a micro-USB cable connected to the Raspberry Pi to power it and record the power variations. Figure 2 presents the FNB58 in operation.

3.1.3. Laptops and Desktop Machines

Three laptops were also included: an Ubuntu Thinkpad T480s Intel from 2017, a MacBookAir M1 (ARM) from 2020 and a 2024 Thinkpad P14s Gen5 AMD. Due to the complexity of isolating power readings for the OpenSSL load and the unreliability of software estimations, only timed tests were conducted on these machines, as summarized in Table 2.
The Windows 11 AMD Desktop machine was used to coordinate and control all the different machines via WSL Ubuntu and SSH, and to gather the FNB58 data via a micro-USB cable on their proprietary Windows-only software.

3.2. Software

3.2.1. OSes

Each of the Raspberry Pi machines was freshly imaged using the Raspberry Pi Imager utility to flash a lightweight desktop-free Debian Bookworm distro on a micro-SD card (and SD card for the Raspberry Pi 1). This ensured that the very minimum of other processes would interfere with power reading collection.
Both Thinkpad Laptops were running Ubuntu, and the MacBook Air runs macOS Tahoe. Having all machines running on Unix allows the same programs to be run without having to have multiple versions. Since power readings were not collected on these machines, fresh installs were not required; all irrelevant programs and processes were disabled when speed tests were conducted.

3.2.2. OpenSSL 3.5

Fundamental to this paper, the stock version of OpenSSL 3.5 includes all the PQC algorithms central to this study’s testing (ML-KEM, ML-DSA, SLH-DSA) [13]. By being able to run exactly the same program (OpenSSL) on a variety of algorithms on a variety of machines ensures fair readings are obtained, depending only on variations of hardware instead of different software implementations.
Installing OpenSSL proved to be a rather lengthy process for the weaker Pis. It took several hours to install it on the Raspberry Pi 1 and the Pi Zero; however, as the results demonstrate, it is doable. Whilst OpenSSL ships as standard on Linux distributions and MacOS, the 3.5 version was required, which was not included in any of the distros used, therefore requiring a manual build from source for all the machines. All the command lines used are to be found in the appendix and on the GitHub of this project.
Key Generation
All algorithms tested in this study generate a private/public key pair. For all PQC and classical algorithms except RSA, the private key is generated with
  • openssl genpkey   –algorithm [ALGORITHM]   –out private.key
RSA uses
  • openssl genrsa   –out private.key 2048
The public key is then derived for all algorithms with
  • openssl pkey   –in private.key   –pubout   –out public.key
The keys are fundamental to all cryptographic operations. ML-KEM keys are used for encapsulation and decapsulation, operations indispensable for TLS; full TLS certificate generation and handshake are left as future work.
Signing
For ML-DSA and SLH-DSA, the private key is used to sign data and the public key to verify it. In this study, the README.md file of the repository (19.6 KB) was used as the message to be signed and verified. A single key pair is generated with the commands above, then:
  • openssl pkeyutl   –sign   –inkey private.key   –in README.md \
  •       –out signature.bin
Verification
The signature is verified using the public key generated alongside the private key:
  • openssl pkeyutl   –verify   –pubin   –inkey public.key \
  •       –in README.md   –sigfile signature.bin

3.2.3. USB-Meter and .cfn Format Conversion

To record the power readings, another fundamental point of the project, power readings were recorded using the proprietary program, the USB-meter v0.7, found on the FNIRSI website [28]. It enabled viewing and recording of the PBUS (watts) data, the most important for this study’s data collection, as seen in Figure 3:
The program shipped with the FNB58 unfortunately only saves data with a proprietary format, .cfn. To circumvent the problem, a utility was used to turn these files into .csv files [29].

3.3. Measurement Procedures and Data Collection

3.3.1. Power Readings

Once all the hardware had been procured and the software installed, the first step was to gather accurate power readings for each of the seven Raspberry Pis.
Each machine followed the same steps. After a few minutes of warm-up, a connection was established to the Pi via SSH to launch the commands. A check was always performed to ensure no processes were running in the background, and then, from the USB-meter utility, a five-minute baseline at 50 samples per second PBUS was recorded for idle. The file was saved as a .cfn file, then converted into a usable .csv file using usb-meter-utils. It is then simple to average the PBUS column values to get an average baseline idle power reading.
pqc_benchmark.py (described below) was then used to select which method or algorithm to run, with a very large number of iterations selected to make sure it would not finish before the recording was done, and recordings taken at approximately 30-sec intervals whilst the program was on-load. This relatively small interval (which collected circa 15,000 samples at 50 samples per second) was due to time constraints: having to run 47 algorithms per machine, for seven machines, led to 329 samples to take. The same procedure was then followed as for the baseline to collect the average of the on-load power readings. All the .cfn and .csv files are available for review on the GitHub.
Energy per iteration is calculated using the delta power method. The average on-load power is subtracted from the average baseline idle power to isolate the cryptographic operation’s contribution:
E o p = ( P l o a d P i d l e ) × T o p
where P l o a d is the average on-load power (W), P i d l e is the average baseline idle power (W), T o p is the mean time per iteration (s), and E o p is the energy per iteration (J).
Tables summing up the power readings are available in Appendix A.

3.3.2. Python Wrappers Programs

Python programs were created as wrappers for the OpenSSL operations. Both programs (pqc_benchmark.py and pqc_benchmark_automated.py) are available for review on the GitHub of the paper.
They simply compile all the OpenSSL commands, including creating keys, creating certificates and creating a message to be signed and/or verified, for every algorithm tested in a convenient program which lets the user select the number of iterations, and offers the possibility of an automated option for fast benchmarking. The power values may be optionally added, and all results are given a csv file.
Anyone with OpenSSL 3.5 enabled (complete steps for building it are in the GitHub of the project) running on a Unix machine can run both these programs. Please note that both programs are needed to run the automated benchmark, and that multiple files (keys, certificates, messages to be signed and verified) are created in the process in a sub-folder.

3.3.3. Time Metrics Readings

To get the time metrics, two options are available: a fast, automated test where the Python 3.12.3 wrapper program only takes one variable, the number of iterations, and automatically runs every available algorithm (pqc_benchmark_automated.py) and puts them in a CSV results file. This makes it ideal for testing any Unix machine without power readings involved. The second option has more granularity, with a Python wrapper which lets the user select the method, the algorithm and enter the power metrics to increment a CSV results file.

3.3.4. Running the Tests

During data collection, every algorithm and method was run through the power metrics first, gathering the baselines and on-load power readings for every machine, method and algorithm for each of the seven Raspberry Pis. Each method was then run with each algorithm on each machine, providing the gathered power readings, on 100 iterations (except when the extreme slowness of SLH-DSA on slow devices limited this to 10) to gather the final results, samples of which are in the appendix and can be seen on GitHub. Below is Table 3 containing a small sample of the results, presenting the number of joules needed per iteration. Energy costs for key generation and signing across all seven Raspberry Pi models are shown in Table 4.

4. Evaluation

Tables containing a sample of the test results can be found in Appendix A.

4.1. Viability of ML-KEM on Constrained Hardware Compared to ECDH and X25519 for Key-Generation

As Figure 4 shows, the ML-KEM (Kyber) FIPS 203 algorithm holds its ground when it comes to key-generation compared to the classic ECDH and X25519 elliptic curves. ML-KEM key generation remained within 2–12% of ECDH and X25519 across all tested devices, with the single exception of ML-KEM-1024 on the Pi1 at 17% overhead and the noticeably good results of Pizero 2 being actually marginally faster than ECDH. Schöffel et al. [21] specifically concluded: “the usage of post-quantum KEMs is already feasible today in terms of energy demand and latency for low-power IoT”, consistent with the findings of this study, which confirm that the ML-KEM algorithms are a perfectly viable quantum-safe replacement for the currently used but vulnerable elliptic curves.
It performed across the board, and even on very constrained 32-bit hardware such as the Pi 1 or the Pi Zero, making it perfectly plausible for use on a range of IoT devices.

4.2. SLH-DSA vs. ML-DSA Performance and Energy Costs for Signatures

As shown in Figure 5, whilst ML-DSA-44 (Dilithium) FIPS 204 got near the performance of ECDSA for signing, with a difference diminishing as the hardware gets more performant, from 19–24% more energy used than ECDSA for the 32-bit devices to a 1.3% on the Pi 4, it paints a very different picture for the SLH-DSA (SPHINCS+) FIPS 205 algorithms. A logarithmic scale was needed to illustrate how quickly the signature costs in joules increase exponentially with these intentionally slow algorithms. They were designed to prioritise security conservatism through complex Merkle trees over performance and were never to be used extensively and repeatedly on slow hardware as emphasised by Tasopoulos et al. who stated, “the NIST conservative security choice of SPHINCS+ as a Digital Signature (…) can only be used in a unilateral authentication since SPHINCS+ needs tremendous amounts of energy and time just for a single handshake” [19], and the results presented here clearly match theirs and illustrate why. It is interesting to note that whilst it is possible to sign with SLH-DSA-SHAKE-192s on a Pi 1, it comes at such a cost that it may not be advisable, as the next section will show.

4.3. Energy vs. Speed: Key-Generation ML-KEM-768 and Signing SLH-DSA-SHAKE-192s

Figure 6 presents the costs in joules of 100 Key-Generation with ML-KEM 768 alongside how a very low power draw on the smaller CPU machines and 32-bit architecture nevertheless ends up consuming more joules for Key-Generation. The reason is simple, whilst using a lot less power, the Pi 1 on-load delta draw is 0.212 W, 6.6 times less than the Pi 4 1.41 W delta draw for the same operation. The speed of execution is the deciding factor, and the Pi 4, despite drawing more power, beats every other machine by simply being the fastest.
The same comparison applies to SLH-DSA, and it reveals that the decisive factor is the algorithm rather than the operation. For ML-KEM-768 key generation, the 32-bit Pi2 v1.1 needs only about 17% more energy than the 64-bit Pi2 v1.2. For SLH-DSA-SHAKE-192s, however, the 32-bit penalty is severe in both operations: roughly 245% more energy for key generation (2.2992 J vs. 0.6654 J) and 243% more for signing (19.6558 J vs. 5.7308 J) as shown in Figure 7. It is the hash-heavy design of SLH-DSA, not the choice of operation, that makes it hostile to 32-bit hardware. Whilst ML-KEM remains a perfectly viable option on slow devices, SLH-DSA is impractical on 32-bit architectures regardless of whether it is generating keys or signing.

4.4. Timing Performance on x86 and ARM Laptop vs. Pi4

A limitation of this study was the inability to gather accurate power readings for the tests running on the different laptops included in the study. However, the timing metrics were easy to gather and helped serve as a point of reference against the Pis. As shown in Table 5, the modern AMD Thinkpad is the fastest overall, only beaten by the M1 on SLH-DSA-SHAKE-192s signing, and The MacBook Pro M4 figures are for completeness, as they are not directly comparable and should not be read as a like-for-like measurement: they were collected on a different OpenSSL build (3.6), with verification omitted, and the resulting times are implausibly slow for the hardware (e.g., ECDSA signing at 0.0377 s versus 0.0064 s on the M1). It is also notable that the Pi4 clearly holds its own respectably against much more capable machines on ML-KEM and ML-DSA, blurring the line between a laptop and what is perhaps inappropriately considered an embedded or IoT-class device.

4.5. Summary of Findings

Post-quantum algorithms ML-KEM and ML-DSA demonstrate viability for embedded systems, with performance moderately degraded on the slowest Pis (Pi1 and Pi zero) and only marginally degraded on the faster machines compared to classical Elliptic Curve algorithms. However, SLH-DSA, while providing maximum security, is computationally impractical for real-time applications, particularly on resource-constrained devices. This analysis demonstrates that lattice-based PQC (ML-KEM/ML-DSA) represents the viable path forward for IoT and embedded quantum-safe cryptography.

5. Conclusions

This study evaluated the viability of the three NIST-standardised PQC algorithms, FIPS 203 (ML-KEM), FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA), on constrained IoT-class devices ranging from the 32-bit Pi 1 and Pi Zero to the 64-bit Pi 4, testing key generation, signing and verification against elliptic curve baselines using stock OpenSSL 3.5 and physical energy measurement via the FNIRSI FNB58. The results show that, alongside what had already been found by Patterson [11]—whose work inspired this study—and Schöffel [21], ML-KEMs and ML-DSAs are ready for deployment on any type of device and architecture tested. They consistently matched or closely matched Elliptic Curves in energy consumption and speed tests. However, and much like Tasopoulos [19] stated, SLH-DSA, particularly for signing, is not suitable for constrained devices, with a particular emphasis on a 243% overhead in energy consumption uniquely based on the difference between a 32-bit and 64-bit architecture; therefore, 32-bit devices should not be considered for SLH-DSA deployment. It should be noted, however, that SLH-DSA remains viable for low-frequency, high-security operations such as firmware signing or root-of-trust authentication, where signing occurs rarely and the consistently low verification costs observed across all tested architectures make it suitable for endpoint deployment. Hence, even more than the hardware, the architecture was found to have a major impact on signatures. A further finding was that whilst more capable machines such as the Pi 4 draw more power on-load (6.6 times more than the Pi 1), their much faster operations mean they consume less energy overall than the slower Pis.

5.1. Limitations

Several limitations were identified during the course of testing that will be addressed in further work.
The power and timed readings relied on averages, which gave the typical value of the dataset; however, using the standard deviation could add a measure of how spread out the results are around that mean. Also, removing the 10% top and low outlying data can be implemented to avoid spikes and anomalies to deliver as accurate data as possible.
Secondly, using the FNB58, only PBUS result data were used to draw the conclusions. Using the integrated Wh counter, far more precise readings on actual usage could be obtained, such as how many joules are needed to generate 1000 Keys on a Pi Zero, instead of trying to measure the difference between on-load and baseline.

5.2. Future Work

In future work around the viability of PQC, a next step would be to explore the ML-KEMs and ML-DSAs on even more constrained hardware, such as the Raspberry Pi Pico, which would require the engineering of a specific implementation since it cannot run OpenSSL. Another avenue of research would be to explore actual IoT devices rather than Raspberry Pis: smart watches, FireTV sticks, old Android phones or TV boxes, IP cameras or infant monitors. Whilst this may appear beyond the scope of embedded cryptography research, it would match the sort of variety of architectures that may exist in industrial or medical contexts, where secure communications are critical and protection against harvest-now, decrypt-later is essential.
As mentioned in the limitations, the Wh counter of the FNIRSI FNB58 would be used in future work to obtain more precise readings of power consumption. Access to a state-of-the-art oscilloscope could potentially give access to ultra-precise readings on individual operations, which may reinforce the findings.
A further research question concerns the breadth of the signature landscape itself. This study restricted its signature analysis to the two standardised families, the lattice-based ML-DSA and the hash-based SLH-DSA, and to pure, single-algorithm configurations. Two extensions follow naturally. First, because the transition period is likely to see widespread deployment of hybrid constructions that pair a classical primitive with a post-quantum one, a comparison of pure versus hybrid signing and key-exchange on the same constrained hardware would quantify the cost of that conservatism across energy, latency, memory footprint and bandwidth: does the redundancy of a hybrid scheme impose a meaningful penalty on a 32-bit device? Second, NIST’s additional digital-signature on-ramp has advanced candidates built on markedly different mathematical foundations, including FAEST, HAWK, MAYO, MQOM, QR-UOV, SDitH, SNOVA, SQIsign and UOV, spanning MPC-in-the-head, lattice, multivariate and isogeny constructions. These families differ not only in signature and key sizes but in their key-generation, signing and, crucially, signing-versus-verification cost asymmetries, which cannot be assumed to resemble those of the lattice-based and hash-based standards. A comparative study across this set would therefore address whether any emerging scheme is better matched to constrained or 32-bit IoT hardware than the current standards, and which of them retains the cheap-verification property that makes deployment on low-power endpoints attractive.
Finally, broader direction reframes the problem from a single device to a cloud-edge-IoT continuum, and from a benchmarking exercise into a systems-architecture question: how should cryptographic responsibilities be partitioned across cloud, edge and endpoint layers while preserving device identity, key protection and cryptographic agility? The asymmetry observed in this work, where verification was substantially cheaper than signing for the evaluated ML-DSA and SLH-DSA parameter sets (an asymmetry that cannot be assumed to hold for all signature families), suggests that constrained endpoints might perform only the comparatively less expensive operations while heavier work is delegated upward. Such delegation, however, is not purely a performance decision: offloading signing or key generation raises the question of where the private key resides, and many IoT trust models require an endpoint to hold its own identity key and sign locally. A first research question is therefore which operations can be safely delegated to edge or cloud nodes without violating device identity, trust or key-protection requirements. A second is one of cryptographic agility: as standards continue to evolve, with HQC, the additional-signature on-ramp and successive parameter revisions, how readily can a cloud-edge-IoT architecture migrate algorithms across all three tiers, and where do constrained endpoints become the bottleneck to that migration? These questions could be grounded empirically through a comparative study of managed cryptographic services across the major cloud providers, namely, AWS, Google Cloud and Azure, measuring per-operation energy, cost and throughput and contrasting their ARM-based and x86-based instances, so as to extend the 32-versus-64-bit and ARM-versus-x86 findings of this paper from the embedded tier up to the datacentre.

Supplementary Materials

The following supporting information can be downloaded at: https://github.com/billbuchanan/pqc_energy, accessed on 4 June 2026. Python benchmark scripts (pqc_benchmark.py, pqc_benchmark_automated.py), raw .cfn and .csv power reading files, and OpenSSL 3.5 build instructions.

Author Contributions

Conceptualisation, O.G. and W.J.B.; methodology, O.G.; software, O.G.; validation, O.G. and W.J.B.; formal analysis, O.G.; investigation, O.G.; resources, O.G. and W.J.B.; data curation, O.G.; writing—original draft preparation, O.G.; writing—review and editing, W.J.B. and M.G.T.; supervision, W.J.B. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data are available in the Supplementary Materials and on GitHub at https://github.com/billbuchanan/pqc_energy, accessed on 4 June 2026.

Acknowledgments

The authors wish to thank Andrey Volkov for the usb-meter-utils conversion utility.

Conflicts of Interest

The authors declare no conflicts of interest.

Appendix A. Power Readings and Detailed Results

Table A1. FNB58 average power readings in watts across Raspberry Pi models.
Table A1. FNB58 average power readings in watts across Raspberry Pi models.
Pi ZeroPi Zero 2Pi 1Pi 2 1.1Pi 2 1.2Pi 3Pi 4
Baseline 0.5638 0.6451 2.2873 1.7490 1.7382 0.9592 1.5706
Key generation
RSA-20480.94751.10742.48582.11702.08701.82352.5783
ECDSA P-2560.90131.25142.49862.16942.24461.98682.8906
X255190.90961.27532.49972.16592.25031.96442.9676
ECDH P-2560.90641.32552.50112.15992.27001.95312.8855
ML-KEM-5120.91021.32192.51012.17102.26911.90932.9648
ML-KEM-7680.91571.29382.50282.18842.26861.91532.9834
ML-KEM-10240.91361.30072.52592.16042.25251.92252.9777
ML-DSA-440.90191.27142.50802.16652.26181.91452.9314
ML-DSA-650.91711.28292.50502.22542.27331.93423.0068
ML-DSA-870.90461.28582.50882.15892.26461.93592.9242
SLH-DSA-SHA2-128s0.89881.32652.48172.08282.27251.91522.9935
SLH-DSA-SHA2-128f0.90521.30172.49802.15002.26441.91532.9401
SLH-DSA-SHAKE-128s0.94101.25682.48312.10332.22331.90802.8038
SLH-DSA-SHA2-192s0.91761.33312.47682.08262.27631.94142.9744
SLH-DSA-SHA2-192f0.90151.28582.49582.13952.26711.93242.9594
SLH-DSA-SHAKE-192s0.94261.26932.48252.10152.22411.93012.8161
SLH-DSA-SHA2-256s0.90241.33042.47132.08622.27801.94503.0044
SLH-DSA-SHA2-256f0.91001.30672.48842.12482.27631.95943.0189
SLH-DSA-SHAKE-256s0.93551.26532.48252.09892.22781.94952.8711
Signatures—Signing
RSA-20480.91591.24962.49912.17012.21181.93172.8780
ECDSA P-2560.90351.29392.50492.17572.27801.98973.0196
ML-DSA-440.91911.26032.50932.16412.26271.98582.8545
ML-DSA-650.90601.25832.50592.15162.24101.92432.9670
ML-DSA-870.91841.24922.51582.13952.22861.94412.9321
SLH-DSA-SHA2-128s0.90271.33122.47602.07702.28121.94092.9777
SLH-DSA-SHA2-128f0.90341.33072.48222.08682.28101.92552.9724
SLH-DSA-SHAKE-128s0.95581.27632.49192.09742.22301.92182.8303
SLH-DSA-SHA2-192s0.90321.34792.46992.08002.27971.92533.0154
SLH-DSA-SHA2-192f0.90761.31902.47652.08312.27741.95072.9516
SLH-DSA-SHAKE-192s0.93831.26652.48372.08982.22431.94362.8117
SLH-DSA-SHA2-256s0.90721.33732.47282.07542.27981.97043.0005
SLH-DSA-SHA2-256f0.91431.41092.47492.08022.28151.94122.9627
SLH-DSA-SHAKE-256s0.94021.28142.48662.08942.22551.93172.8072
Signatures—Verification
RSA-20480.88441.24242.49102.14772.24471.96332.7396
ECDSA P-2560.89321.23982.49562.13862.24961.93452.7338
ML-DSA-440.88121.25062.49352.14982.26411.94972.7280
ML-DSA-650.88771.24582.49982.14192.25701.95932.7572
ML-DSA-870.89501.25722.50592.14372.23961.93852.7394
SLH-DSA-SHA2-128s0.88391.25572.49592.14842.25361.93722.7623
SLH-DSA-SHA2-128f0.88111.28032.49462.11612.26291.94332.8013
SLH-DSA-SHAKE-128s0.89581.25012.49782.12822.25941.96302.7784
SLH-DSA-SHA2-192s0.88611.28102.49852.12352.26351.96202.8333
SLH-DSA-SHA2-192f0.89481.27612.49352.11122.27021.95822.8332
SLH-DSA-SHAKE-192s0.90781.25522.49732.13682.25791.94212.7552
SLH-DSA-SHA2-256s0.88931.28292.50002.13532.25651.94772.8197
SLH-DSA-SHA2-256f0.92431.27352.49612.12192.26031.95572.8592
SLH-DSA-SHAKE-256s0.90811.27952.50002.13472.25561.91822.7490
Table A2. Cryptographic performance on Raspberry Pi Zero.
Table A2. Cryptographic performance on Raspberry Pi Zero.
AlgorithmOperationTime/Iter (s)J/IterIter/J
Key Generation
RSA-2048KeyGen4.00401.53640.6509
ECDSA P-256KeyGen0.14560.049120.3537
X25519KeyGen0.14460.050020.0023
ECDH P-256KeyGen0.14590.050020.0049
ML-KEM-512KeyGen0.14920.051719.3462
ML-DSA-44KeyGen0.15360.051919.2577
SLH-DSA-SHA2-128fKeyGen0.18870.064415.5202
SLH-DSA-SHA2-128sKeyGen2.74030.91821.0890
SLH-DSA-SHAKE-192sKeyGen6.88722.60920.3833
Signing
RSA-2048Sign0.13600.047920.8875
ECDSA P-256Sign0.07600.025838.7387
ML-DSA-44Sign0.08990.032031.2894
SLH-DSA-SHA2-128fSign1.02980.37762.6485
SLH-DSA-SHA2-128sSign19.73407.22220.1385
SLH-DSA-SHAKE-192sSign61.665224.76300.0404
Verification
RSA-2048Verify0.05950.020748.3240
ECDSA P-256Verify0.06180.022045.3843
ML-DSA-44Verify0.06340.021845.7896
SLH-DSA-SHA2-128fVerify0.11880.040924.4461
SLH-DSA-SHA2-128sVerify0.08020.027835.9228
SLH-DSA-SHAKE-192sVerify0.11250.041723.9628
Table A3. Cryptographic performance on Raspberry Pi Zero 2.
Table A3. Cryptographic performance on Raspberry Pi Zero 2.
AlgorithmOperationTime/Iter (s)J/IterIter/J
Key Generation
RSA-2048KeyGen0.78250.36172.7645
ECDSA P-256KeyGen0.05640.034229.2711
X25519KeyGen0.05530.034828.7125
ECDH P-256KeyGen0.05610.038226.1859
ML-KEM-512KeyGen0.05740.038825.7429
ML-DSA-44KeyGen0.05920.037126.9736
SLH-DSA-SHA2-128fKeyGen0.07060.046421.5619
SLH-DSA-SHA2-128sKeyGen0.91950.62651.5961
SLH-DSA-SHAKE-192sKeyGen1.21980.76131.3135
Signing
RSA-2048Sign0.04260.025738.8494
ECDSA P-256Sign0.02960.019252.1412
ML-DSA-44Sign0.03480.021446.6919
SLH-DSA-SHA2-128fSign0.34410.23594.2387
SLH-DSA-SHA2-128sSign6.57664.51170.2216
SLH-DSA-SHAKE-192sSign10.50736.52880.1532
Verification
RSA-2048Verify0.02290.013773.0033
ECDSA P-256Verify0.02380.014270.6107
ML-DSA-44Verify0.02490.015166.3558
SLH-DSA-SHA2-128fVerify0.04290.027236.7106
SLH-DSA-SHA2-128sVerify0.03010.018454.4766
SLH-DSA-SHAKE-192sVerify0.03250.019850.4402
Table A4. Cryptographic performance on Raspberry Pi 1.
Table A4. Cryptographic performance on Raspberry Pi 1.
AlgorithmOperationTime/Iter (s)J/IterIter/J
Key Generation
RSA-2048KeyGen6.37531.26550.7902
ECDSA P-256KeyGen0.22520.047621.0158
X25519KeyGen0.22630.048120.8074
ECDH P-256KeyGen0.22570.048320.7230
ML-KEM-512KeyGen0.23280.051919.2843
ML-DSA-44KeyGen0.23790.052519.0437
SLH-DSA-SHA2-128fKeyGen0.28540.060116.6319
SLH-DSA-SHA2-128sKeyGen3.73320.72591.3777
SLH-DSA-SHAKE-192sKeyGen10.52112.05340.4870
Signing
RSA-2048Sign0.20590.043622.9370
ECDSA P-256Sign0.11670.025439.3977
ML-DSA-44Sign0.13660.030332.9924
SLH-DSA-SHA2-128fSign1.41490.27573.6269
SLH-DSA-SHA2-128sSign27.21565.13540.1947
SLH-DSA-SHAKE-192sSign95.547818.76020.0533
Verification
RSA-2048Verify0.09150.018653.6424
ECDSA P-256Verify0.09450.019750.7856
ML-DSA-44Verify0.09690.020050.0614
SLH-DSA-SHA2-128fVerify0.17270.035827.9336
SLH-DSA-SHA2-128sVerify0.11980.025040.0089
SLH-DSA-SHAKE-192sVerify0.17160.036027.7494
Table A5. Cryptographic performance on Raspberry Pi 2 Model B v1.1 (32-bit).
Table A5. Cryptographic performance on Raspberry Pi 2 Model B v1.1 (32-bit).
AlgorithmOperationTime/Iter (s)J/IterIter/J
Key Generation
RSA-2048KeyGen3.49571.28640.7773
ECDSA P-256KeyGen0.09380.039325.4235
X25519KeyGen0.09110.038026.3417
ECDH P-256KeyGen0.09250.038026.3194
ML-KEM-512KeyGen0.09420.039825.1484
ML-DSA-44KeyGen0.09860.041224.2826
SLH-DSA-SHA2-128fKeyGen0.12530.050319.8998
SLH-DSA-SHA2-128sKeyGen2.12490.70931.4098
SLH-DSA-SHAKE-192sKeyGen6.52162.29920.4349
Signing
RSA-2048Sign0.10230.043123.2172
ECDSA P-256Sign0.04830.020648.5266
ML-DSA-44Sign0.06050.025139.7828
SLH-DSA-SHA2-128fSign0.80250.27113.6888
SLH-DSA-SHA2-128sSign15.66215.13810.1946
SLH-DSA-SHAKE-192sSign57.664319.65580.0509
Verification
RSA-2048Verify0.03940.015763.5858
ECDSA P-256Verify0.04290.016759.8806
ML-DSA-44Verify0.04340.017457.4843
SLH-DSA-SHA2-128fVerify0.08420.030932.3551
SLH-DSA-SHA2-128sVerify0.05490.021945.5920
SLH-DSA-SHAKE-192sVerify0.09030.035028.5602
Table A6. Cryptographic performance on Raspberry Pi 2 Model B v1.2 (64-bit).
Table A6. Cryptographic performance on Raspberry Pi 2 Model B v1.2 (64-bit).
AlgorithmOperationTime/Iter (s)J/IterIter/J
Key Generation
RSA-2048KeyGen0.90990.31733.1513
ECDSA P-256KeyGen0.06550.033230.1633
X25519KeyGen0.06440.033030.3016
ECDH P-256KeyGen0.06500.034628.9230
ML-KEM-512KeyGen0.06720.035728.0464
ML-DSA-44KeyGen0.06890.036127.7302
SLH-DSA-SHA2-128fKeyGen0.08200.043123.1852
SLH-DSA-SHA2-128sKeyGen1.03350.55211.8111
SLH-DSA-SHAKE-192sKeyGen1.36950.66541.5028
Signing
RSA-2048Sign0.04910.023243.0179
ECDSA P-256Sign0.03410.018454.3523
ML-DSA-44Sign0.04160.021845.8454
SLH-DSA-SHA2-128fSign0.38750.21034.7543
SLH-DSA-SHA2-128sSign7.35663.99430.2504
SLH-DSA-SHAKE-192sSign11.78955.73080.1745
Verification
RSA-2048Verify0.02670.013573.9650
ECDSA P-256Verify0.02750.014171.0128
ML-DSA-44Verify0.02890.015265.8137
SLH-DSA-SHA2-128fVerify0.04820.025339.5586
SLH-DSA-SHA2-128sVerify0.03810.019650.9929
SLH-DSA-SHAKE-192sVerify0.03730.019451.5813
Table A7. Cryptographic performance on Raspberry Pi 3 Model A+.
Table A7. Cryptographic performance on Raspberry Pi 3 Model A+.
AlgorithmOperationTime/Iter (s)J/IterIter/J
Key Generation
RSA-2048KeyGen0.57020.49282.0292
ECDSA P-256KeyGen0.04420.045422.0284
X25519KeyGen0.04320.043523.0061
ECDH P-256KeyGen0.04390.043622.9434
ML-KEM-512KeyGen0.04500.042823.3784
ML-DSA-44KeyGen0.04640.044422.5447
SLH-DSA-SHA2-128fKeyGen0.05490.052519.0351
SLH-DSA-SHA2-128sKeyGen0.65940.63041.5862
SLH-DSA-SHAKE-192sKeyGen0.87390.84851.1786
Signing
RSA-2048Sign0.03260.031731.5857
ECDSA P-256Sign0.02340.024141.4915
ML-DSA-44Sign0.02770.028435.2079
SLH-DSA-SHA2-128fSign0.24800.23964.1731
SLH-DSA-SHA2-128sSign4.68414.59840.2175
SLH-DSA-SHAKE-192sSign7.49217.37490.1356
Verification
RSA-2048Verify0.01860.018753.5543
ECDSA P-256Verify0.01890.018454.3356
ML-DSA-44Verify0.02000.019850.4455
SLH-DSA-SHA2-128fVerify0.03240.031931.3875
SLH-DSA-SHA2-128sVerify0.02380.023243.0466
SLH-DSA-SHAKE-192sVerify0.02460.024241.3491
Table A8. Cryptographic performance on Raspberry Pi 4.
Table A8. Cryptographic performance on Raspberry Pi 4.
AlgorithmOperationTime/Iter (s)J/IterIter/J
Key Generation
RSA-2048KeyGen0.35260.35532.8141
ECDSA P-256KeyGen0.02470.032630.7203
X25519KeyGen0.02390.033429.9306
ECDH P-256KeyGen0.02430.031931.3277
ML-KEM-512KeyGen0.02480.034528.9628
ML-DSA-44KeyGen0.02550.034728.8221
SLH-DSA-SHA2-128fKeyGen0.02970.040724.5891
SLH-DSA-SHA2-128sKeyGen0.32410.46122.1682
SLH-DSA-SHAKE-192sKeyGen0.51140.63701.5699
Signing
RSA-2048Sign0.01940.025439.3510
ECDSA P-256Sign0.01360.019750.6943
ML-DSA-44Sign0.01560.020050.0352
SLH-DSA-SHA2-128fSign0.12340.17305.7811
SLH-DSA-SHA2-128sSign2.29253.22580.3100
SLH-DSA-SHAKE-192sSign4.40865.47140.1828
Verification
RSA-2048Verify0.01010.011885.0453
ECDSA P-256Verify0.01120.013076.8576
ML-DSA-44Verify0.01240.014369.8455
SLH-DSA-SHA2-128fVerify0.01700.021047.6736
SLH-DSA-SHA2-128sVerify0.01250.014967.0421
SLH-DSA-SHAKE-192sVerify0.01380.016461.0741

References

  1. Thompson, C. HTTPS by Default. Google Security Blog. 28 October 2025. Available online: https://blog.google/security/https-by-defau/ (accessed on 4 May 2026).
  2. Kleinman, Z. UK Government Demands Access to Apple Users’ Encrypted Data. BBC News. 7 February 2025. Available online: https://www.bbc.co.uk/news/articles/c20g288yldko (accessed on 4 May 2026).
  3. Buchanan, B. How Will Quantum Impact Cryptography? BCS. 8 January 2025. Available online: https://www.bcs.org/articles-opinion-and-research/how-will-quantum-impact-cryptography/ (accessed on 4 May 2026).
  4. Shor, P.W. Algorithms for quantum computation: Discrete logarithms and factoring. In Proceedings of the 35th Annual Symposium on Foundations of Computer Science; IEEE: New York, NY, USA, 1994; pp. 124–134. [Google Scholar]
  5. Buchanan, B. Q-Day Gets Nearer? Medium. 8 March 2026. Available online: https://billatnapier.medium.com/q-day-gets-nearer-25fee3efdd90 (accessed on 2 May 2026).
  6. Buchanan, B. Why is 128-bit AES Insecure for a Quantum Computer, But 256-bit Is Not? Medium—ASecuritySite: When Bob Met Alice. 11 July 2023. Available online: https://medium.com/asecuritysite-when-bob-met-alice/why-is-128-bit-aes-insecure-for-a-quantum-computer-but-256-bit-is-not-814a8a9d6500 (accessed on 4 May 2026).
  7. Beullens, W.; D’Anvers, J.-P.; Hülsing, A.; Lange, T.; Panny, L.; de Saint Guilhem, C.; Smart, N.P. Post-Quantum Cryptography: Current State and Quantum Mitigation. ENISA. May 2021. Available online: https://www.enisa.europa.eu/publications/post-quantum-cryptography-current-state-and-quantum-mitigation (accessed on 3 May 2026).
  8. National Cyber Security Centre. Migrating to Post-Quantum Cryptography. NCSC, 14 October 2025. Available online: https://www.ncsc.gov.uk/collection/ncsc-annual-review-2025/chapter-03-keeping-pace-with-evolving-technology/migrating-to-post-quantum-cryptography (accessed on 3 May 2026).
  9. European Commission. A Coordinated Implementation Roadmap for the Transition to Post-Quantum Cryptography. Shaping Europe’s Digital Future. 23 June 2025. Available online: https://digital-strategy.ec.europa.eu/en/library/coordinated-implementation-roadmap-transition-post-quantum-cryptography (accessed on 3 May 2026).
  10. CSRC, N. Post-Quantum Cryptography FIPS Approved. Computer Security Resource Center. 13 August 2024. Available online: https://csrc.nist.gov/news/2024/postquantum-cryptography-fips-approved (accessed on 3 May 2026).
  11. Patterson, J.C.; Buchanan, W.J.; Turino, C. Energy Consumption Framework and Analysis of Post-Quantum Key-Generation on Embedded Devices. J. Cybersecur. Priv. 2025, 5, 42. [Google Scholar] [CrossRef]
  12. Turino, C.; Buchanan, W.J.; Lo, O.; Thümmler, C. PQC-LEO: An Evaluation Framework for Post-Quantum Cryptographic Algorithms. In Proceedings of the 2025 IEEE 7th International Conference on Trust, Privacy and Security in Intelligent Systems, and Applications (TPS-ISA); IEEE: New York, NY, USA, 2025; pp. 237–247. [Google Scholar]
  13. OpenSSL Foundation. The Features of 3.5: Post-Quantum Cryptography. OpenSSL Foundation. 22 April 2025. Available online: https://openssl.foundation/news/the-features-of-3-5-post-quantum-cryptography (accessed on 2 May 2026).
  14. Webster, P.; Berent, L.; Chandra, O.; Hockings, E.T.; Baspin, N.; Thomsen, F.; Smith, S.C.; Cohen, L.Z. The Pinnacle Architecture: Reducing the cost of breaking RSA-2048 to 100 000 physical qubits using quantum LDPC codes. arXiv 2026, arXiv:2602.11457. [Google Scholar]
  15. Gidney, C. How to factor 2048 bit RSA integers with less than a million noisy qubits. arXiv 2025, arXiv:2505.15917. [Google Scholar]
  16. Moody, D.; Perlner, R.; Regenscheid, A.; Robinson, A.; Cooper, D. Transition to Post-Quantum Cryptography Standards; Technical Report; National Institute of Standards and Technology: Gaithersburg, MD, USA, 2024. [Google Scholar]
  17. Moody, D. NIST PQC: The Road Ahead. NIST, 25 March 2025. Available online: https://csrc.nist.gov/csrc/media/Presentations/2025/nist-pqc-the-road-ahead/images-media/rwcpqc-march2025-moody.pdf (accessed on 3 May 2026).
  18. National Cyber Security Centre. Timelines for Migration to Post-Quantum Cryptography. NCSC, 20 March 2025. Available online: https://www.ncsc.gov.uk/guidance/pqc-migration-timelines (accessed on 3 May 2026).
  19. Tasopoulos, G.; Dimopoulos, C.; Fournaris, A.P.; Zhao, R.K.; Sakzad, A.; Steinfeld, R. Energy consumption evaluation of post-quantum TLS 1.3 for resource-constrained embedded devices. In Proceedings of the 20th ACM International Conference on Computing Frontiers; ACM: New York, NY, USA, 2023; pp. 366–374. [Google Scholar]
  20. Paquin, C.; Stebila, D.; Tamvada, G. Benchmarking post-quantum cryptography in TLS. In Proceedings of the International Conference on Post-Quantum Cryptography; Springer: Berlin/Heidelberg, Germany, 2020; pp. 72–91. [Google Scholar]
  21. Schöffel, M.; Lauer, F.; Rheinländer, C.C.; Wehn, N. On the energy costs of post-quantum KEMs in TLS-based low-power secure IoT. In Proceedings of the International Conference on Internet-of-Things Design and Implementation; ACM: New York, NY, USA, 2021; pp. 158–168. [Google Scholar]
  22. Sarıbaş, S.; Tonyalı, S. Performance Evaluation of TLS 1.3 Handshake on Resource-Constrained Devices Using NIST’s Third Round Post-Quantum Key Encapsulation Mechanisms and Digital Signatures. In Proceedings of the 2022 7th International Conference on Computer Science and Engineering (UBMK); IEEE: New York, NY, USA, 2022; pp. 294–299. [Google Scholar]
  23. Bozhko, J.; Hanna, Y.; Harrilal-Parchment, R.; Tonyali, S.; Akkaya, K. Performance evaluation of quantum-resistant TLS for consumer IoT devices. In Proceedings of the 2023 IEEE 20th Consumer Communications & Networking Conference (CCNC); IEEE: New York, NY, USA, 2023; pp. 230–235. [Google Scholar]
  24. Roma, C.A.; Tai, C.E.A.; Hasan, M.A. Energy efficiency analysis of post-quantum cryptographic algorithms. IEEE Access 2021, 9, 71295–71317. [Google Scholar] [CrossRef]
  25. Algar-Fernandez, J.; Villacís-Vanegas, A.; Amaro-Aular, Y.; Cano, M.D. Benchmarking Post-Quantum Signatures and KEMs on General-Purpose CPUs Using a TCP Client–Server Testbed. Computers 2026, 15, 116. [Google Scholar] [CrossRef]
  26. The Pi Hut. LetsTrust TPM for Raspberry Pi, 2026. Available online: https://thepihut.com/products/letstrust-tpm-for-raspberry-pi (accessed on 4 June 2026).
  27. Simon, J.-F. FNIRSI FNB58 USB Tester (Review). Elektor. 14 November 2023. Available online: https://www.elektormagazine.com/review/fnirsi-fnb58-review (accessed on 3 May 2026).
  28. FNIRSI. Software Downloads. FNIRSI. Available online: https://www.fnirsi.com/pages/software-downloads (accessed on 3 May 2026).
  29. Volkov, A. usbmeter-utils: Utilities for WITRN and FNIRSI Meter Software. GitHub. Available online: https://github.com/didim99/usbmeter-utils (accessed on 3 May 2026).
Figure 1. Raspberry Pi lineup and FNB58.
Figure 1. Raspberry Pi lineup and FNB58.
Cryptography 10 00055 g001
Figure 2. FNB58 in operation.
Figure 2. FNB58 in operation.
Cryptography 10 00055 g002
Figure 3. USB-meter in operation.
Figure 3. USB-meter in operation.
Cryptography 10 00055 g003
Figure 4. ML-KEM on constrained hardware compared to ECDH and X25519.
Figure 4. ML-KEM on constrained hardware compared to ECDH and X25519.
Cryptography 10 00055 g004
Figure 5. SLH-DSA vs. ML-DSA signing energy consumption (joules) across Raspberry Pi models, logarithmic scale.
Figure 5. SLH-DSA vs. ML-DSA signing energy consumption (joules) across Raspberry Pi models, logarithmic scale.
Cryptography 10 00055 g005
Figure 6. ML-KEM-768 key generation energy consumption (joules) across Raspberry Pi models.
Figure 6. ML-KEM-768 key generation energy consumption (joules) across Raspberry Pi models.
Cryptography 10 00055 g006
Figure 7. SLH-DSA-SHAKE-192s signing energy consumption (joules) across Raspberry Pi models.
Figure 7. SLH-DSA-SHAKE-192s signing energy consumption (joules) across Raspberry Pi models.
Cryptography 10 00055 g007
Table 1. Raspberry Pi hardware specifications.
Table 1. Raspberry Pi hardware specifications.
ModelOSCPUMemoryArch
Raspberry Pi 1 Model BDebian Bookworm700 MHz single-core ARM1176512 MB LPDDR232-bit (ARM)
Raspberry Pi 2 Model B v1.1Debian Bookworm900 MHz quad-core ARM Cortex-A7 (ARMv7)1 GB SDRAM (450 MHz)32-bit (ARM)
Raspberry Pi 2 Model B v1.2Debian Bookworm900 MHz quad-core ARM Cortex-A53 (ARMv8)1 GB SDRAM (450 MHz)64-bit (ARM)
Raspberry Pi Zero WHDebian Bookworm1 GHz single-core ARM1176512 MB LPDDR232-bit (ARM)
Raspberry Pi Zero 2 WHDebian Bookworm1 GHz quad-core ARM Cortex-A53512 MB LPDDR264-bit (ARM)
Raspberry Pi 3A+Debian Bookworm1.4 GHz quad-core ARM Cortex-A53512 MB LPDDR264-bit (ARM)
Raspberry Pi 4Debian Bookworm1.5 GHz quad-core Cortex-A728 GB LPDDR464-bit (ARM)
Table 2. Laptop hardware specifications.
Table 2. Laptop hardware specifications.
Thinkpad T480s IntelMacBookAir M1Thinkpad P14s Gen5 AMD
OSUbuntu 25.10macOS Tahoe 26.3Ubuntu 24.04
CPUIntel Core i7-8550UApple M1 (ARM)AMD Ryzen 5 PRO 8640HS
Memory40 GB DDR48 GB LPDDR4X16 GB DDR5
Arch64-bit (x86-64 Intel)64-bit (ARM-M1)64-bit (x86-64 AMD)
Table 3. Algorithm key and signature sizes. PQC signature sizes verified from repository data; classical and key sizes from FIPS 203, 204, 205.
Table 3. Algorithm key and signature sizes. PQC signature sizes verified from repository data; classical and key sizes from FIPS 203, 204, 205.
AlgorithmTypeFIPSPub Key (B)Priv Key (B)Signature (B)NIST Level
RSA-2048Sign/KEM256256256
ECDSA P-256Signature643264
ECDH P-256KEM6432N/A
X25519KEM3232N/A
ML-KEM-512KEM2038001632N/A1
ML-KEM-768KEM20311842400N/A3
ML-KEM-1024KEM20315683168N/A5
ML-DSA-44Signature2041312252824202
ML-DSA-65Signature2041952400033093
ML-DSA-87Signature2042592486446275
SLH-DSA-SHA2-128sSignature205326478561
SLH-DSA-SHA2-128fSignature205326417,0881
SLH-DSA-SHAKE-128sSignature205326478561
SLH-DSA-SHA2-192sSignature205489616,2243
SLH-DSA-SHA2-192fSignature205489635,6643
SLH-DSA-SHAKE-192sSignature205489616,2243
SLH-DSA-SHA2-256sSignature2056412829,7925
SLH-DSA-SHA2-256fSignature2056412849,8565
SLH-DSA-SHAKE-256sSignature2056412829,7925
Table 4. Key generation and signing, joules per iteration across Raspberry Pi models.
Table 4. Key generation and signing, joules per iteration across Raspberry Pi models.
pi1Pizeropi2pi2bPizero2pi3pi4
Keys
ecdh0.04830.05000.03800.03460.03820.04360.0319
ml-kem-5120.05190.05170.03980.03570.03880.04280.0345
ml-dsa-440.05250.05190.04120.03610.03710.04440.0347
slh-dsa-sha2-128f0.06010.06440.05030.04310.04640.05250.0407
slh-dsa-sha2-128s0.72590.91820.70930.55210.62650.63040.4612
slh-dsa-shake-192s2.05342.60922.29920.66540.76130.84850.6370
Signing
ecdsa0.02540.02580.02060.01840.01920.02410.0197
ml-dsa-440.03030.03200.02510.02180.02140.02840.0200
slh-dsa-sha2-128f0.27570.37760.27110.21030.23590.23960.1730
slh-dsa-sha2-128s5.13547.22225.13813.99434.51174.59843.2258
slh-dsa-shake-192s18.760224.763019.65585.73086.52887.37495.4714
Table 5. Cryptographic performance—time per iteration (s) across laptops and Raspberry Pi 4. M4 data courtesy of Bill Buchanan.
Table 5. Cryptographic performance—time per iteration (s) across laptops and Raspberry Pi 4. M4 data courtesy of Bill Buchanan.
AlgorithmOperationPi 4MacBook Air M1ThinkPad IntelThinkPad AMDMacBook Pro M4
Key Generation
RSA-2048KeyGen0.35260.05760.05380.04080.0868
ECDSA P-256KeyGen0.02470.01240.01040.00720.0333
X25519KeyGen0.02390.01180.01110.00730.0328
ECDH P-256KeyGen0.02430.01230.01140.00740.0333
ML-KEM-512KeyGen0.02480.01230.01080.00770.0341
ML-DSA-44KeyGen0.02550.01250.00990.00780.0324
SLH-DSA-SHA2-128fKeyGen0.02970.01270.01420.00800.0352
SLH-DSA-SHA2-128sKeyGen0.32410.03900.11770.03300.1270
SLH-DSA-SHAKE-192sKeyGen0.51140.12000.18850.11610.1487
Signing
RSA-2048Sign0.01940.00720.00490.00330.0199
ECDSA P-256Sign0.01360.00640.00510.00360.0377
ML-DSA-44Sign0.01560.00690.00740.00470.0305
SLH-DSA-SHA2-128fSign0.12340.01620.04500.01290.0518
SLH-DSA-SHA2-128sSign2.29250.20960.82400.19450.7278
SLH-DSA-SHAKE-192sSign4.40860.97831.61200.98711.0484
Verification
RSA-2048Verify0.01010.00590.00450.0033N/A
ECDSA P-256Verify0.01120.00600.00570.0033N/A
ML-DSA-44Verify0.01240.00610.00470.0037N/A
SLH-DSA-SHA2-128fVerify0.01700.00660.00850.0040N/A
SLH-DSA-SHA2-128sVerify0.01250.00620.00630.0038N/A
SLH-DSA-SHAKE-192sVerify0.01380.00680.00650.0042N/A
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Gillot, O.; Buchanan, W.J.; Tehrani, M.G. Energy Consumption of Post-Quantum Cryptography on Constrained and General-Purpose Architectures. Cryptography 2026, 10, 55. https://doi.org/10.3390/cryptography10040055

AMA Style

Gillot O, Buchanan WJ, Tehrani MG. Energy Consumption of Post-Quantum Cryptography on Constrained and General-Purpose Architectures. Cryptography. 2026; 10(4):55. https://doi.org/10.3390/cryptography10040055

Chicago/Turabian Style

Gillot, Olivier, William J. Buchanan, and Madjid G. Tehrani. 2026. "Energy Consumption of Post-Quantum Cryptography on Constrained and General-Purpose Architectures" Cryptography 10, no. 4: 55. https://doi.org/10.3390/cryptography10040055

APA Style

Gillot, O., Buchanan, W. J., & Tehrani, M. G. (2026). Energy Consumption of Post-Quantum Cryptography on Constrained and General-Purpose Architectures. Cryptography, 10(4), 55. https://doi.org/10.3390/cryptography10040055

Article Metrics

Back to TopTop