[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
research-article

An ultra-compact and high-speed FFT-based large-integer multiplier for fully homomorphic encryption using a dual spike-based arithmetic circuit over GF(p)

Published: 01 October 2022 Publication History

Abstract

During last years, fully homomorphic encryption (FHE) has attracted great interest since enables computation on encrypted data and thus can be considered as a potential solution in advanced applications, such as privacy-preserving cloud computing, genomics, electronic voting and bio-metric authentication. Nowadays, software simulations of the FHE schemes on general purpose computers are extremely slow. Therefore, the development of specific hardware architectures open up new horizons in efficient simulation of FHE schemes. Until date, the implementation of FHE schemes in embedded devices remain impractical due to very high processing time and area consumption required to process very large-integer numbers. Specifically, the development of efficient very large-integer finite-field adder and multiplier potentially allows the throughput and area consumption to be improved since these circuits are the most used components in the computation of FHE schemes. This work presents, for the first time, the development of a compact and highly dual finite-field circuit based on spiking neural P systems (SN P), dendritic growth, dendritic pruning, communication on request and structural plasticity. Specifically, this circuit performs either the finite-field addition or multiplication of two variable integers by only reconnecting their synapses dynamically. Hence, the proposed circuit performs both operations employing the same neural network. In this way, we achieve a significant improvement in terms of area consumption and throughput. Since the computation of FHE schemes requires the multiplication of very large-integer numbers, we use the proposed dual finite-field circuit as the basic processing unit to create a very large-integer multiplier based on fast Fourier transform (FFT). Specifically, the creation of the proposed very large-integer multiplier has allowed us to accelerate the key generation and encryption processes involved in the computation of FHE algorithm. This multiplier was implemented in scalable compact neuromorphic architecture, which mimic the dynamic dendritic phenomena, such as dendritic growth and dendritic pruning. To achieve this, we propose a dynamic multiplexing mechanism based on simple multiplexers and an optimized control unit. This have allowed us to significantly improve the area consumption compared with previously reported solution.

References

[1]
X. Cao, C. Moore, M. O’Neill, N. Hanley, E. O’Sullivan, High-speed fully homomorphic encryption over the integers, in: International Conference on Financial Cryptography and Data Security, Springer, 2014, pp. 169–180.
[2]
C. Moore, N. Hanley, J. McAllister, M. O’Neill, E. O’Sullivan, X. Cao, Targeting fpga dsp slices for a large integer multiplier for integer based fhe, in: International Conference on Financial Cryptography and Data Security, Springer, 2013, pp. 226–237.
[3]
W. Wang, X. Huang, Fpga implementation of a large-number multiplier for fully homomorphic encryption, in: 2013 IEEE International Symposium on Circuits and Systems (ISCAS), IEEE, 2013, pp. 2589–2592.
[4]
M. Ionescu, G. Păun, T. Yokomori, Spiking neural P systems, Fundamenta informaticae 71 (2) (2006) 279–308.
[5]
C. Diaz, G. Sanchez, G. Duchen, M. Nakano, H. Perez, An efficient hardware implementation of a novel unary spiking neural network multiplier with variable dendritic delays, Neurocomputing 189 (2016) 130–134.
[6]
T. Frias, M. Abarca, C. Diaz, G. Duchen, H. Perez, G. Sanchez, A compact divisor based on SN P systems along with dendritic behavior, Neurocomputing 238 (2017) 152–156,.
[7]
T. Frias, C. Diaz, G. Sanchez, G. Garcia, G. Avalos, H. Perez, Four single neuron arithmetic circuits based on sn p systems with dendritic behavior, astrocyte-like control and rules on the synapses, IEEE Latin America Trans. 16 (1) (2018) 38–45.
[8]
M.A. Gutiérrez-Naranjo, A. Leporati, First steps towards a cpu made of spiking neural P systems, Int. J. of Comput. Commun. Control 4 (3) (2009) 244–252.
[9]
X. Liu, Z. Li, J. Liu, L. Liu, X. Zeng, Implementation of arithmetic operations with time-free spiking neural P systems, NanoBiosci. IEEE Trans. 14 (6) (2015) 617–624,.
[10]
X. Zeng, T. Song, X. Zhang, L. Pan, Performing four basic arithmetic operations with spiking neural P systems, NanoBiosci. IEEE Trans. 11 (4) (2012) 366–374.
[11]
X.-Y. Zhang, X.-X. Zeng, L. Pan, B. Luo, A spiking neural P system for performing multiplication of two arbitrary natural numbers, Chin. J. Comput. 32 (12) (2009) 2362–2372.
[12]
X. Peng, J. Liu, W. Liang, Several arithmetic operations on spiking neural P systems, in: Proceedings of the 2nd International Conference on Computer Science and Electronics Engineering 1000, 2013, 1.
[13]
L. Yurong, F. Kailei, D. Quansheng, A. Wen, Spiking neural P system for performing division of two arbitrary natural numbers, J. Convergence Inf. Technol. 9 (4) (2014) 90.
[14]
H. Peng, J. Yang, J. Wang, T. Wang, Z. Sun, X. Song, X. Luo, X. Huang, Spiking neural P systems with multiple channels, Neural Networks 95 (2017) 66–71,.
[15]
C. Diaz, T. Frias, G. Sanchez, H. Perez, K. Toscano, G. Duchen, A novel parallel multiplier using spiking neural P systems with dendritic delays, Neurocomputing 239 (2017) 113–121,.
[16]
G. Duchen, C. Diaz, G. Sanchez, H. Perez, First steps toward memory processor unit architecture based on SN P systems, Electron. Lett. 53 (6) (2017) 384–385,.
[17]
T. Song, X. Wang, Homogenous spiking neural P systems with inhibitory synapses, Neural Process. Lett. 42 (1) (2015) 199–214,.
[18]
G. Paun, Spiking neural P systems with astrocyte-like control, J. Universal Comput. Sci. 13 (11) (2007) 1707–1721.
[19]
T. Song, P. Zheng, M.D. Wong, X. Wang, Design of logic gates using spiking neural P systems with homogeneous neurons and astrocytes-like control, Inf. Sci. 372 (2016) 380–391,.
[20]
L. Pan, T. Wu, Y. Su, A.V. Vasilakos, Cell-like spiking neural p systems with request rules, IEEE Trans. NanoBiosci. 16 (6) (2017) 513–522,.
[21]
T. Song, L. Pan, Spiking neural P systems with request rules, Neurocomputing 193 (2016) 193–200,.
[22]
H. Peng, B. Li, J. Wang, X. Song, T. Wang, L. Valencia-Cabrera, I. Pérez-Hurtado, A. Riscos-Núñez, M.J. Pérez-Jiménez, Spiking neural p systems with inhibitory rules, Knowl.-Based Syst. 188 (2020).
[23]
M. Cavaliere, O.H. Ibarra, G. Paun, O. Egecioglu, M. Ionescu, S. Woodworth, Asynchronous spiking neural P systems, Theoretical Computer Science 410 (24) (2009) 2352–2364, formal Languages and Applications: A Collection of Papers in Honor of Sheng Yu.
[24]
G. Tan, T. Song, Z. Chen, Spiking neural P systems with anti-spikes and without annihilating priority as number acceptors, J. Syst. Eng. Electron. 25 (3) (2014) 464–469,.
[25]
K. Krithivasan, V.P. Metta, D. Garg, On string languages generated by spiking neural P systems with anti-spikes, International Journal of Foundations of Computer Science 22 (01) (2011) 15–27.
[26]
X. Zeng, X. Zhang, T. Song, L. Pan, Spiking neural P systems with thresholds, Neural Comput. 26 (7) (2014) 1340–1361,.
[27]
F.G.C. Cabarle, H.N. Adorna, M.J. Pérez-Jiménez, T. Song, Spiking neural P systems with structural plasticity, Neural Comput. Appl. 26 (8) (2015) 1905–1917,.
[28]
X. Song, L. Valencia-Cabrera, H. Peng, J. Wang, Spiking neural p systems with autapses, Inf. Sci. 570 (2021) 383–402.
[29]
T. Song, Q. Zou, X. Liu, X. Zeng, Asynchronous spiking neural P systems with rules on synapses, Neurocomputing 151 (2015) 1439–1445,. URL:  http://linkinghub.elsevier.com/retrieve/pii/S0925231214014040.
[30]
T. Song, L. Pan, G. Paun, Spiking neural P systems with rules on synapses, Theoret. Comput. Sci. 529 (2014) 82–95,. URL:  http://linkinghub.elsevier.com/retrieve/pii/S0304397514000188.
[31]
T. Song, J. Xu, L. Pan, On the universality and non-universality of spiking neural P systems with rules on synapses, IEEE Trans. NanoBiosci. 14 (8) (2015) 960–966,. URL:  http://ieeexplore.ieee.org/lpdocs/epic03/wrapper.htm?arnumber=7337432.
[32]
T. Song, L. Pan, Spiking neural P systems with rules on synapses working in maximum spikes consumption strategy, IEEE Trans. NanoBiosci. 14 (1) (2015) 38–44,.
[33]
W. Xun, S. Tao, G. Feming, Z. Pan, On the computational power of spiking neural P systems with self-organization, Scientific Rep. (6).
[34]
R.T.A. de la Cruz, F.G.C. Cabarle, I.C.H. Macababayao, H.N. Adorna, X. Zeng, Homogeneous spiking neural p systems with structural plasticity, J. Membrane Comput. 3 (1) (2021) 10–21.
[35]
T. Wu, L. Zhang, L. Pan, Spiking neural p systems with target indications, Theoret. Comput. Sci. 862 (2021) 250–261.
[36]
L. Garcia, G. Sanchez, E. Vazquez, G. Avalos, E. Anides, M. Nakano, G. Sanchez, H. Perez, Small universal spiking neural p systems with dendritic/axonal delays and dendritic trunk/feedback, Neural Networks 138 (2021) 126–139.
[37]
C. Gentry, Fully homomorphic encryption using ideal lattices, in: Proceedings of the forty-first annual ACM symposium on Theory of computing, 2009, pp. 169–178.
[38]
M. Van Dijk, C. Gentry, S. Halevi, V. Vaikuntanathan, Fully homomorphic encryption over the integers, in: Annual international conference on the theory and applications of cryptographic techniques, Springer, 2010, pp. 24–43.
[39]
J.-S. Coron, A. Mandal, D. Naccache, M. Tibouchi, Fully homomorphic encryption over the integers with shorter public keys, Annual Cryptology Conference, Springer (2011) 487–504.
[40]
J.-S. Coron, D. Naccache, M. Tibouchi, Public key compression and modulus switching for fully homomorphic encryption over the integers, in: Annual International Conference on the Theory and Applications of Cryptographic Techniques, Springer, 2012, pp. 446–464.
[41]
T. Pan, X. Shi, Z. Zhang, F. Xu, A small universal spiking neural p system with communication on request, Neurocomputing 275 (2018) 1622–1628.
[42]
F.G.C. Cabarle, H.N. Adorna, M.J. Pérez-Jiménez, T. Song, Spiking neural p systems with structural plasticity, Neural Comput. Appl. 26 (8) (2015) 1905–1917.
[43]
A.K. McAllister, Cellular and molecular mechanisms of dendrite growth, Cereb. Cortex 10 (10) (2000) 963–973.
[44]
M. Urbanska, M. Blazejczyk, J. Jaworski, Molecular basis of dendritic arborization, Acta neurobiologiae experimentalis 68 (2) (2008) 264.
[45]
K. Dharani, The Biology of Thought: A Neuronal Mechanism in the Generation of Thought-a New Molecular Model, Academic Press, 2014.
[46]
J.B. Benson, M.M. Haith, Diseases and Disorders in infancy and Early Childhood, Academic Press, 2009.
[47]
A. Schönhage, V. Strassen, Schnelle multiplikation grosser zahlen, Computing 7 (3) (1971) 281–292.
[48]
P. Duong-Ngoc, T.N. Tan, H. Lee, Configurable butterfly unit architecture for ntt/intt in homomorphic encryption, in: 2021 18th International SoC Design Conference (ISOCC), IEEE, 2021, pp. 345–346.

Index Terms

  1. An ultra-compact and high-speed FFT-based large-integer multiplier for fully homomorphic encryption using a dual spike-based arithmetic circuit over GF(p)
        Index terms have been assigned to the content through auto-classification.

        Recommendations

        Comments

        Please enable JavaScript to view thecomments powered by Disqus.

        Information & Contributors

        Information

        Published In

        cover image Neurocomputing
        Neurocomputing  Volume 507, Issue C
        Oct 2022
        454 pages

        Publisher

        Elsevier Science Publishers B. V.

        Netherlands

        Publication History

        Published: 01 October 2022

        Author Tags

        1. Finite-field adder
        2. Finite-field adder multiplier
        3. Spiking neural P system
        4. Dendritic delay
        5. Dendritic growth
        6. Dendritic pruning
        7. Dendritic delays
        8. Dendritic feedback
        9. Astrocyte-like control
        10. FPGA
        11. Fast fourier transform

        Qualifiers

        • Research-article

        Contributors

        Other Metrics

        Bibliometrics & Citations

        Bibliometrics

        Article Metrics

        • 0
          Total Citations
        • 0
          Total Downloads
        • Downloads (Last 12 months)0
        • Downloads (Last 6 weeks)0
        Reflects downloads up to 03 Jan 2025

        Other Metrics

        Citations

        View Options

        View options

        Media

        Figures

        Other

        Tables

        Share

        Share

        Share this Publication link

        Share on social media