[Paper Review] Optimized Implementation of Elliptic Curve Based Additive Homomorphic Encryption for Wireless Sensor Networks
This paper presents an optimized implementation of Elliptic Curve ElGamal (EC-ElGamal) for additive homomorphic encryption on MicaZ wireless sensor nodes, using pseudo-Mersenne prime reduction, the Interleave method, and mutual opposite form (MOF) representation. The implementation achieves at least 44% faster execution than prior work while reducing code size and memory usage, making it highly efficient for resource-constrained WSNs in the TinyPEDS framework.
When deploying wireless sensor networks (WSNs) in public environments it may become necessary to secure their data storage and transmission against possible attacks such as node-compromise and eavesdropping. The nodes feature only small computational and energy resources, thus requiring efficient algorithms. As a solution for this problem the TinyPEDS approach was proposed in [7], which utilizes the Elliptic Curve ElGamal (EC-ElGamal) cryptosystem for additive homomorphic encryption allowing concealed data aggregation. This work presents an optimized implementation of EC-ElGamal on a MicaZ mote, which is a typical sensor node platform with 8-bit processor for WSNs. Compared to the best previous result, our implementation is at least 44% faster for fixed-point multiplication. Because most parts of the algorithm are similar to standard Elliptic Curve algorithms, the results may be reused in other realizations on constrained devices as well.
Motivation & Objective
- To address the challenge of securing data in wireless sensor networks (WSNs) deployed in untrusted environments with limited computational and energy resources.
- To enable efficient, secure data aggregation in asynchronous WSNs by implementing additive homomorphic encryption using EC-ElGamal.
- To optimize EC-ElGamal for MicaZ motes—specifically minimizing code size, memory usage, and execution time—while maintaining strong security.
- To provide a reusable, efficient foundation for elliptic curve cryptography on constrained devices beyond the TinyPEDS framework.
Proposed method
- Employed pseudo-Mersenne prime reduction for efficient finite field arithmetic on 8-bit processors.
- Applied the Interleave method to reduce the number of point doublings in scalar multiplication.
- Used the mutual opposite form (MOF) instead of NAF to improve performance and reduce precomputation overhead.
- Implemented modular multiplication and squaring using optimized assembly and C hybrid code, favoring code size reduction.
- Utilized precomputation of points with the Interleave method to accelerate scalar multiplication while minimizing memory footprint.
- Designed the implementation in nesC for TinyOS, with critical finite field operations hand-optimized in assembly to balance performance and size.
Experimental results
Research questions
- RQ1How can EC-ElGamal be efficiently implemented on 8-bit MicaZ motes with minimal code and memory usage while maintaining strong security?
- RQ2What optimization techniques can significantly reduce execution time in elliptic curve operations on resource-constrained devices?
- RQ3How does the Interleave method with MOF representation compare to traditional precomputation and NAF-based methods in terms of performance and resource usage?
- RQ4Can the proposed implementation outperform existing solutions in both speed and footprint, especially in the context of additive homomorphic encryption for WSNs?
- RQ5To what extent are the optimization techniques reusable across other elliptic curve cryptography applications on constrained platforms?
Key findings
- The optimized EC-ElGamal implementation on MicaZ motes is at least 44% faster than the best prior result for fixed-point multiplication, with significantly reduced code and memory usage.
- The use of the Interleave method with MOF representation reduces the number of point doublings and enables efficient precomputation with arbitrary point counts, unlike prior methods constrained to 2^s - 1 points.
- The implementation achieves a 2.16s execution time for EC-ElGamal with 2 precomputed points, compared to 2.48s with no precomputation, demonstrating strong performance gains.
- Despite using only 1–4 precomputed points, the solution outperforms [19], which used 15 precomputed points, by 44% and 54% faster execution, respectively.
- The code size is 2726 bytes with no precomputation and 5122 bytes with 4 precomputed points, representing a 57% smaller footprint than [11] while being 42% faster.
- The solution is more memory-efficient and faster than [19] and [11], and outperforms [9] in code size and memory usage despite being 21% slower in point multiplication, due to superior optimization trade-offs.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.