Abstract
The transformation algorithm for Nonlinear Feedback Shift Registers (NLFSRs) converts NLFSRs between Fibonacci and Galois configurations. Up to now, three types of Galois NLFSRs namely Type-I, Type-II and Type-III Galois NLFSRs have been discovered to be equivalent to Fibonacci NLFSRs in existing works. However, either no transformation algorithm has been proposed or the proposed algorithm has very high complexity for these Galois NLFSRs. More importantly, the common issue is that the output sequence is assumed to be generated by the first stage of the NLFSR. The sequences generated by other stages are not considered. In this paper, we develop a compensation method to address all these issues. Based on this unified method, we propose Fibonacci-to-Galois and Galois-to-Fibonacci transformation algorithms for the three types of Galois NLFSRs. Moreover, we discover a new type of Galois NLFSRs (Type-IV) that can be transformed to Fibonacci NLFSRs and propose transformation algorithms based on the same compensation method. No matter what the output function is, the output sequences are the same before and after being transformed by any of the proposed transformation algorithms.
Similar content being viewed by others
References
Hell, M., Johansson, T., Meier, W.: Grain: a stream cipher for constrained environments. Int. J. Wirel. Mob. Comput. 2(1), 86–93 (2007)
Hell, M., Johansson, T., Maximov, A., Meier, W.: A stream cipher proposal: Grain-128. In: 2006 IEEE International Symposium on Information Theory, pp 1614–1618. IEEE (2006)
Ȧgren, M., Hell, M., Johansson, T., Meier, W.: Grain-128a: a new version of Grain-128 with optional authentication. Int. J. Wirel. Mob. Comput. 5 (1), 48–59 (2011)
Armknecht, F., Mikhalev, V.: On lightweight stream ciphers with shorter internal states. In: International Workshop on Fast Software Encryption, pp 451–470. Springer, Berlin (2015)
Mikhalev, V., Armknecht, F., Müller, C.: On ciphers that continuously access the non-volatile key. IACR Trans. on Symmetric Cryptol. ,52–79 (2016)
De Cannière, C.: Trivium: A stream cipher construction inspired by block cipher design principles. In: International Conference on Information Security, pp 171–186. Springer, Berlin (2006)
Dubrova, E., Hell, M.: Espresso: A stream cipher for 5G wireless communication systems. Cryptogr. Commun. 9(2), 273–289 (2017)
Ertaul, L., Woodall, A.: IoT security: Performance evaluation of grain, mickey, and trivium-lightweight stream ciphers. In: Proceedings of the International Conference on Security and Management (SAM). The Steering Committee of The World Congress in Computer Science, Computer Engineering and Applied Computing (WorldComp), pp 32–38 (2017)
Mansouri, S.S., Dubrova, E.: An improved hardware implementation of the grain stream cipher. In: 2010 13th Euromicro Conference on Digital System Design: Architectures, Methods and Tools, pp 433–440. IEEE (2010)
Mansouri, S.S., Dubrova, E.: An improved hardware implementation of the Grain-128a stream cipher. In: International Conference on Information Security and Cryptology, pp 278–292. Springer, Berlin (2012)
Massey, J., Liu, Ruey-Wen: Equivalence of nonlinear shift-registers. IEEE Trans. Inf. Theory 10(4), 378–379 (1964)
Dubrova, E.: A transformation from the Fibonacci to the Galois NLFSRs. IEEE Trans. Inf. Theory 55(11), 5263–5271 (2009)
Dubrova, E.: Finding matching initial states for equivalent NLFSRs in the Fibonacci and the Galois configurations. IEEE Trans. Inf. Theory 56(6), 2961–2966 (2010)
Zhiqiang, L.: The transformation from the Galois NLFSR to the Fibonacci configuration. In: Fourth International Conference on Emerging Intelligent Data and Web Technologies, p 2013 (2013)
Dubrova, E.: An equivalence-preserving transformation of shift registers. In: International Conference on Sequences and Their Applications, pp 187–199. Springer, Cham (2014)
Li, G., Yarom, Y., Ranasinghe, D.C.: Exploiting transformations of the galois configuration to improve guess-and-determine attacks on NFSRs. IACR Cryptol. ePrint Arch. 2015, 1045 (2015)
Lu, J., Li, M., Huang, T., Liu, Y., Cao, J.: The transformation between the Galois NLFSRs and the Fibonacci NLFSRs via semi-tensor product of matrices. Automatica 96, 393–397 (2018)
Yao, G., Udaya, P.: Cryptanalysis of the class of maximum period Galois NLFSR-based stream ciphers. Submitted to Cryptography and Communications (2020)
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
This article belongs to the Topical Collection: Sequences and Their Applications III
Guest Editors: Chunlei Li, Tor Helleseth and Zhengchun Zhou
The work of Ge Yao is funded by the China Scholarship Council -University of Melbourne PhD Scholarship. The work of Udaya Parampalli is supported in part by the Communications Sensing and Coding Research Network of the University of Melbourne’s 2014 International Research and Research Training Fund (IRRTF).
Appendix A
Appendix A
We implement all the proposed transformation algorithms in python. The scripts can be found using link:
Rights and permissions
About this article
Cite this article
Yao, G., Parampalli, U. Improved transformation algorithms for generalized Galois NLFSRs. Cryptogr. Commun. 14, 229–258 (2022). https://doi.org/10.1007/s12095-021-00500-3
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s12095-021-00500-3