Skip to main content

On the Algebraic Immunity of Weightwise Perfectly Balanced Functions

  • Conference paper
  • First Online:
Progress in Cryptology – LATINCRYPT 2023 (LATINCRYPT 2023)

Abstract

In this article we study the Algebraic Immunity (AI) of Weightwise Perfectly Balanced (WPB) functions. After showing a lower bound on the AI of two classes of WPB functions from the previous literature, we prove that the minimal AI of a WPB n-variables function is constant, equal to 2 for \(n\ge 4\). Then, we compute the distribution of the AI of WPB function in 4 variables, and estimate the one in 8 and 16 variables. For these values of n we observe that a large majority of WPB functions have optimal AI, and that we could not obtain a WPB function with AI 2 by sampling at random. Finally, we address the problem of constructing WPB functions with bounded algebraic immunity, exploiting a construction from [12]. In particular, we present a method to generate multiple WPB functions with minimal AI, and we prove that the WPB functions with high nonlinearity exhibited in [12] also have minimal AI. We conclude with a construction giving WPB functions with lower bounded AI, and give as example a family with all elements with AI at least \(n/2-\log (n)+1\).

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 59.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 74.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Braeken, A., Preneel, B.: On the algebraic immunity of symmetric boolean functions. In: Maitra, S., Veni Madhavan, C.E., Venkatesan, R. (eds.) INDOCRYPT 2005. LNCS, vol. 3797, pp. 35–48. Springer, Heidelberg (2005). https://doi.org/10.1007/11596219_4

    Chapter  Google Scholar 

  2. Canteaut, A., Videau, M.: Symmetric Boolean functions. IEEE Trans. Inf. Theory 51, 2791–2811 (2005)

    Article  MathSciNet  Google Scholar 

  3. Carlet, C.: On the degree, nonlinearity, algebraic thickness, and nonnormality of boolean functions, with developments on symmetric functions. IEEE Trans. Inf. Theory 50(9), 2178–2185 (2004)

    Article  MathSciNet  Google Scholar 

  4. Carlet, C.: Boolean Functions for Cryptography and Coding Theory. Cambridge University Press, Cambridge (2021)

    Google Scholar 

  5. Carlet, C., Méaux, P.: A complete study of two classes of boolean functions: direct sums of monomials and threshold functions. IEEE Trans. Inf. Theory 68(5), 3404–3425 (2022)

    Article  MathSciNet  Google Scholar 

  6. Carlet, C., Méaux, P., Rotella, Y.: Boolean functions with restricted input and their robustness; application to the FLIP cipher. IACR Trans. Symmetric Cryptol. 2017(3) (2017)

    Google Scholar 

  7. Courtois, N.T., Meier, W.: Algebraic attacks on stream ciphers with linear feedback. In: Biham, E. (ed.) EUROCRYPT 2003. LNCS, vol. 2656, pp. 345–359. Springer, Heidelberg (2003). https://doi.org/10.1007/3-540-39200-9_21

    Chapter  Google Scholar 

  8. Couteau, G., Dupin, A., Méaux, P., Rossi, M., Rotella, Y.: On the concrete security of Goldreich’s pseudorandom generator. In: Peyrin, T., Galbraith, S. (eds.) ASIACRYPT 2018. LNCS, vol. 11273, pp. 96–124. Springer, Cham (2018). https://doi.org/10.1007/978-3-030-03329-3_4

    Chapter  Google Scholar 

  9. Dalai, D.K., Maitra, S., Sarkar, S.: Basic theory in construction of boolean functions with maximum possible annihilator immunity. Des. Codes Cryptogr. 40, 41–58 (2006)

    Article  MathSciNet  Google Scholar 

  10. Gini, A., Méaux, P.: On the weightwise nonlinearity of weightwise perfectly balanced functions. Disc. Appl. Math. 322, 320–341 (2022)

    Article  MathSciNet  Google Scholar 

  11. Gini, A., Méaux, P.: Weightwise almost perfectly balanced functions: secondary constructions for all n and better weightwise nonlinearities. In: Isobe, T., Sarkar, S. (eds.) Progress in Cryptology - INDOCRYPT. Lecture Notes in Computer Science, vol. 13774, pp. 492–514. Springer, Heidelberg (2022). https://doi.org/10.1007/978-3-031-22912-1_22

  12. Gini, A., Méaux, P.: Weightwise perfectly balanced functions and nonlinearity. In: El Hajji, S., Mesnager, S., Souidi, E.M. (eds.) C2SI 2023. LNCS, vol. 13874, pp. 338–359. Springer, Cham (2023). https://doi.org/10.1007/978-3-031-33017-9_21

    Chapter  Google Scholar 

  13. Guo, X., Su, S.: Construction of weightwise almost perfectly balanced boolean functions on an arbitrary number of variables. Disc. Appl. Math. 307, 102–114 (2022)

    Article  MathSciNet  Google Scholar 

  14. Li, J., Su, S.: Construction of weightwise perfectly balanced boolean functions with high weightwise nonlinearity. Disc. Appl. Math. 279, 218–227 (2020)

    Article  MathSciNet  Google Scholar 

  15. Liu, J., Mesnager, S.: Weightwise perfectly balanced functions with high weightwise nonlinearity profile. Des. Codes Cryptogr. 87(8), 1797–1813 (2019)

    Article  MathSciNet  Google Scholar 

  16. MacWilliams, F., Sloane, N.: The Theory of Error-Correcting Codes, 2nd edn. North-holland Publishing Company, Amsterdam (1978)

    Google Scholar 

  17. Mandujano, S., Ku Cauich, J.C., Lara, A.: Studying special operators for the application of evolutionary algorithms in the seek of optimal boolean functions for cryptography. In: Pichardo Lagunas, O., Martínez-Miranda, J., Martínez Seis, B. (eds.) MICAI 2022. LNCS, vol. 13612, pp. 383–396. Springer, Cham (2022). https://doi.org/10.1007/978-3-031-19493-1_30

    Chapter  Google Scholar 

  18. Mangard, S., Oswald, E., Popp, T.: Power Analysis Attacks - Revealing the Secrets of Smart Card. Springer, Boston (2007). https://doi.org/10.1007/978-0-387-38162-6

    Book  Google Scholar 

  19. Mariot, L., Picek, S., Jakobovic, D., Djurasevic, M., Leporati, A.: Evolutionary construction of perfectly balanced boolean functions. In: 2022 IEEE Congress on Evolutionary Computation (CEC), pp. 1–8. IEEE Press (2022)

    Google Scholar 

  20. Méaux, P.: On the fast algebraic immunity of threshold functions. Cryptogr. Commun. 13(5), 741–762 (2021). https://doi.org/10.1007/s12095-021-00505-y

    Article  MathSciNet  Google Scholar 

  21. Méaux, P.: On the algebraic immunity of direct sum constructions. Disc. Appl. Math. 320, 223–234 (2022). https://doi.org/10.1016/j.dam.2022.05.021

    Article  MathSciNet  Google Scholar 

  22. Méaux, P., Journault, A., Standaert, F.-X., Carlet, C.: Towards stream ciphers for efficient FHE with low-noise ciphertexts. In: Fischlin, M., Coron, J.-S. (eds.) EUROCRYPT 2016. LNCS, vol. 9665, pp. 311–343. Springer, Heidelberg (2016). https://doi.org/10.1007/978-3-662-49890-3_13

    Chapter  Google Scholar 

  23. Meier, W., Pasalic, E., Carlet, C.: Algebraic attacks and decomposition of boolean functions. In: Cachin, C., Camenisch, J.L. (eds.) EUROCRYPT 2004. LNCS, vol. 3027, pp. 474–491. Springer, Heidelberg (2004). https://doi.org/10.1007/978-3-540-24676-3_28

    Chapter  Google Scholar 

  24. Mesnager, S.: Bent Functions, vol. 1. Springer, Heidelberg (2016). https://doi.org/10.1007/978-3-319-32595-8

    Book  Google Scholar 

  25. Mesnager, S., Su, S.: On constructions of weightwise perfectly balanced boolean functions. Cryptogr. Commun. 13, 951–979 (2021)

    Article  MathSciNet  Google Scholar 

  26. Mesnager, S., Su, S., Li, J.: On concrete constructions of weightwise perfectly balanced functions with optimal algebraic immunity and high weightwise nonlinearity. In: Boolean Functions and Applications (2021)

    Google Scholar 

  27. Mesnager, S., Su, S., Li, J., Zhu, L.: Concrete constructions of weightwise perfectly balanced (2-rotation symmetric) functions with optimal algebraic immunity and high weightwise nonlinearity. Cryptogr. Commun. 14(6), 1371–1389 (2022)

    Article  MathSciNet  Google Scholar 

  28. Mesnager, S., Tang, C.: Fast algebraic immunity of boolean functions and LCD codes. IEEE Trans. Inf. Theory 67(7), 4828–4837 (2021)

    Article  MathSciNet  Google Scholar 

  29. Qu, L., Feng, K., Liu, F., Wang, L.: Constructing symmetric boolean functions with maximum algebraic immunity. IEEE Trans. Inf. Theory 55, 2406–2412 (2009). https://doi.org/10.1109/TIT.2009.2015999

    Article  MathSciNet  Google Scholar 

  30. Rothaus, O.: On bent functions. J. Comb. Theory Ser. A 20(3), 300–305 (1976)

    Article  Google Scholar 

  31. Sarkar, P., Maitra, S.: Balancedness and correlation immunity of symmetric boolean functions. In: Discrete Mathematics, pp. 2351–2358 (2007)

    Google Scholar 

  32. Standaert, F.: Introduction to side-channel attacks. In: Verbauwhede, I.M.R. (ed.) Secure Integrated Circuits and Systems. Integrated Circuits and Systems, pp. 27–42. Springer, Heidelberg (2010). https://doi.org/10.1007/978-0-387-71829-3_2

    Chapter  Google Scholar 

  33. Tang, D., Liu, J.: A family of weightwise (almost) perfectly balanced boolean functions with optimal algebraic immunity. Cryptogr. Commun. 11(6), 1185–1197 (2019)

    Article  MathSciNet  Google Scholar 

  34. Zhang, R., Su, S.: A new construction of weightwise perfectly balanced boolean functions. Adv. Math. Commun. 17(4), 757–770 (2023)

    Article  MathSciNet  Google Scholar 

  35. Zhao, Q., Jia, Y., Zheng, D., Qin, B.: A new construction of weightwise perfectly balanced functions with high weightwise nonlinearity. Mathematics 11(5), 1193 (2023)

    Article  Google Scholar 

  36. Zhao, Q., Li, M., Chen, Z., Qin, B., Zheng, D.: A unified construction of weightwise perfectly balanced boolean functions. Disc. Appl. Math. 337, 190–201 (2023)

    Article  MathSciNet  Google Scholar 

  37. Zhu, L., Su, S.: A systematic method of constructing weightwise almost perfectly balanced boolean functions on an arbitrary number of variables. Disc. Appl. Math. 314, 181–190 (2022)

    Article  MathSciNet  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Agnese Gini .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Gini, A., Méaux, P. (2023). On the Algebraic Immunity of Weightwise Perfectly Balanced Functions. In: Aly, A., Tibouchi, M. (eds) Progress in Cryptology – LATINCRYPT 2023. LATINCRYPT 2023. Lecture Notes in Computer Science, vol 14168. Springer, Cham. https://doi.org/10.1007/978-3-031-44469-2_1

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-44469-2_1

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-44468-5

  • Online ISBN: 978-3-031-44469-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics