Cargando…

A bit-vector differential model for the modular addition by a constant and its applications to differential and impossible-differential cryptanalysis

ARX algorithms are a class of symmetric-key algorithms constructed by Addition, Rotation, and XOR. To evaluate the resistance of an ARX cipher against differential and impossible-differential cryptanalysis, the recent automated methods employ constraint satisfaction solvers to search for optimal cha...

Descripción completa

Detalles Bibliográficos
Autores principales: Azimi, Seyyed Arash, Ranea, Adrián, Salmasizadeh, Mahmoud, Mohajeri, Javad, Aref, Mohammad Reza, Rijmen, Vincent
Formato: Online Artículo Texto
Lenguaje:English
Publicado: Springer US 2022
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9255531/
https://www.ncbi.nlm.nih.gov/pubmed/35813599
http://dx.doi.org/10.1007/s10623-022-01074-8
_version_ 1784740940214173696
author Azimi, Seyyed Arash
Ranea, Adrián
Salmasizadeh, Mahmoud
Mohajeri, Javad
Aref, Mohammad Reza
Rijmen, Vincent
author_facet Azimi, Seyyed Arash
Ranea, Adrián
Salmasizadeh, Mahmoud
Mohajeri, Javad
Aref, Mohammad Reza
Rijmen, Vincent
author_sort Azimi, Seyyed Arash
collection PubMed
description ARX algorithms are a class of symmetric-key algorithms constructed by Addition, Rotation, and XOR. To evaluate the resistance of an ARX cipher against differential and impossible-differential cryptanalysis, the recent automated methods employ constraint satisfaction solvers to search for optimal characteristics or impossible differentials. The main difficulty in formulating this search is finding the differential models of the non-linear operations. While an efficient bit-vector differential model was obtained for the modular addition with two variable inputs, no differential model for the modular addition by a constant has been proposed so far, preventing ARX ciphers including this operation from being evaluated with automated methods. In this paper, we present the first bit-vector differential model for the n-bit modular addition by a constant input. Our model contains [Formula: see text] basic bit-vector constraints and describes the binary logarithm of the differential probability. We describe an SMT-based automated method that includes our model to search for differential characteristics of ARX ciphers including constant additions. We also introduce a new automated method for obtaining impossible differentials where we do not search over a small pre-defined set of differences, such as low-weight differences, but let the SMT solver search through the space of differences. Moreover, we implement both methods in our open-source tool ArxPy to find characteristics and impossible differentials of ARX ciphers with constant additions in a fully automated way. As some examples, we provide related-key impossible differentials and differential characteristics of TEA, XTEA, HIGHT, LEA, SHACAL-1, and SHACAL-2, which achieve better results compared to previous works.
format Online
Article
Text
id pubmed-9255531
institution National Center for Biotechnology Information
language English
publishDate 2022
publisher Springer US
record_format MEDLINE/PubMed
spelling pubmed-92555312022-07-06 A bit-vector differential model for the modular addition by a constant and its applications to differential and impossible-differential cryptanalysis Azimi, Seyyed Arash Ranea, Adrián Salmasizadeh, Mahmoud Mohajeri, Javad Aref, Mohammad Reza Rijmen, Vincent Des Codes Cryptogr Article ARX algorithms are a class of symmetric-key algorithms constructed by Addition, Rotation, and XOR. To evaluate the resistance of an ARX cipher against differential and impossible-differential cryptanalysis, the recent automated methods employ constraint satisfaction solvers to search for optimal characteristics or impossible differentials. The main difficulty in formulating this search is finding the differential models of the non-linear operations. While an efficient bit-vector differential model was obtained for the modular addition with two variable inputs, no differential model for the modular addition by a constant has been proposed so far, preventing ARX ciphers including this operation from being evaluated with automated methods. In this paper, we present the first bit-vector differential model for the n-bit modular addition by a constant input. Our model contains [Formula: see text] basic bit-vector constraints and describes the binary logarithm of the differential probability. We describe an SMT-based automated method that includes our model to search for differential characteristics of ARX ciphers including constant additions. We also introduce a new automated method for obtaining impossible differentials where we do not search over a small pre-defined set of differences, such as low-weight differences, but let the SMT solver search through the space of differences. Moreover, we implement both methods in our open-source tool ArxPy to find characteristics and impossible differentials of ARX ciphers with constant additions in a fully automated way. As some examples, we provide related-key impossible differentials and differential characteristics of TEA, XTEA, HIGHT, LEA, SHACAL-1, and SHACAL-2, which achieve better results compared to previous works. Springer US 2022-07-05 2022 /pmc/articles/PMC9255531/ /pubmed/35813599 http://dx.doi.org/10.1007/s10623-022-01074-8 Text en © The Author(s), under exclusive licence to Springer Science+Business Media, LLC, part of Springer Nature 2022 This article is made available via the PMC Open Access Subset for unrestricted research re-use and secondary analysis in any form or by any means with acknowledgement of the original source. These permissions are granted for the duration of the World Health Organization (WHO) declaration of COVID-19 as a global pandemic.
spellingShingle Article
Azimi, Seyyed Arash
Ranea, Adrián
Salmasizadeh, Mahmoud
Mohajeri, Javad
Aref, Mohammad Reza
Rijmen, Vincent
A bit-vector differential model for the modular addition by a constant and its applications to differential and impossible-differential cryptanalysis
title A bit-vector differential model for the modular addition by a constant and its applications to differential and impossible-differential cryptanalysis
title_full A bit-vector differential model for the modular addition by a constant and its applications to differential and impossible-differential cryptanalysis
title_fullStr A bit-vector differential model for the modular addition by a constant and its applications to differential and impossible-differential cryptanalysis
title_full_unstemmed A bit-vector differential model for the modular addition by a constant and its applications to differential and impossible-differential cryptanalysis
title_short A bit-vector differential model for the modular addition by a constant and its applications to differential and impossible-differential cryptanalysis
title_sort bit-vector differential model for the modular addition by a constant and its applications to differential and impossible-differential cryptanalysis
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9255531/
https://www.ncbi.nlm.nih.gov/pubmed/35813599
http://dx.doi.org/10.1007/s10623-022-01074-8
work_keys_str_mv AT azimiseyyedarash abitvectordifferentialmodelforthemodularadditionbyaconstantanditsapplicationstodifferentialandimpossibledifferentialcryptanalysis
AT raneaadrian abitvectordifferentialmodelforthemodularadditionbyaconstantanditsapplicationstodifferentialandimpossibledifferentialcryptanalysis
AT salmasizadehmahmoud abitvectordifferentialmodelforthemodularadditionbyaconstantanditsapplicationstodifferentialandimpossibledifferentialcryptanalysis
AT mohajerijavad abitvectordifferentialmodelforthemodularadditionbyaconstantanditsapplicationstodifferentialandimpossibledifferentialcryptanalysis
AT arefmohammadreza abitvectordifferentialmodelforthemodularadditionbyaconstantanditsapplicationstodifferentialandimpossibledifferentialcryptanalysis
AT rijmenvincent abitvectordifferentialmodelforthemodularadditionbyaconstantanditsapplicationstodifferentialandimpossibledifferentialcryptanalysis
AT azimiseyyedarash bitvectordifferentialmodelforthemodularadditionbyaconstantanditsapplicationstodifferentialandimpossibledifferentialcryptanalysis
AT raneaadrian bitvectordifferentialmodelforthemodularadditionbyaconstantanditsapplicationstodifferentialandimpossibledifferentialcryptanalysis
AT salmasizadehmahmoud bitvectordifferentialmodelforthemodularadditionbyaconstantanditsapplicationstodifferentialandimpossibledifferentialcryptanalysis
AT mohajerijavad bitvectordifferentialmodelforthemodularadditionbyaconstantanditsapplicationstodifferentialandimpossibledifferentialcryptanalysis
AT arefmohammadreza bitvectordifferentialmodelforthemodularadditionbyaconstantanditsapplicationstodifferentialandimpossibledifferentialcryptanalysis
AT rijmenvincent bitvectordifferentialmodelforthemodularadditionbyaconstantanditsapplicationstodifferentialandimpossibledifferentialcryptanalysis