Practical Near Collisions on the Compression Function of BMW
14 pages
English

Découvre YouScribe en t'inscrivant gratuitement

Je m'inscris

Practical Near Collisions on the Compression Function of BMW

-

Découvre YouScribe en t'inscrivant gratuitement

Je m'inscris
Obtenez un accès à la bibliothèque pour le consulter en ligne
En savoir plus
14 pages
English
Obtenez un accès à la bibliothèque pour le consulter en ligne
En savoir plus

Description

Practical Near-Collisions on the Compression Function of BMW Gaëtan Leurent1 and Søren S. Thomsen2? 1 University of Luxembourg 2 Technical University of Denmark Abstract. Blue Midnight Wish (BMW) is one of the fastest SHA-3 can- didates in the second round of the competition. In this paper we study the compression function of BMW and we obtain practical partial col- lisions in the case of BMW-256: we show a pair of inputs so that 300 pre-specified bits of the outputs collide (out of 512 bits). Our attack re- quires about 232 evaluations of the compression function. The attack can also be considered as a near-collision attack: we give an input pair with only 122 active bits in the output, while generic algorithm would require 255 operations for the same result. A similar attack can be developed for BMW-512, which will gives message pairs with around 600 colliding bits for a cost of 264. This analysis does not affect the security of the iterated hash function, but it shows that the compression function is far from ideal. We also describe some tools for the analysis of systems of additions and rotations, which are used in our attack, and which can be useful for the analysis of other systems. 1 Introduction Blue Midnight Wish (BMW) is a candidate in the SHA-3 hash function com- petition [7] which made it to the second round of the competition, but was not selected as a

  • compression function

  • bit

  • specified output

  • obtain practical partial

  • word length

  • evaluations before finding

  • such automaton


Sujets

Informations

Publié par
Nombre de lectures 19
Langue English

Extrait

PracticalNear-CollisionsontheCompressionFunctionofBMWGaëtanLeurent1andSørenS.Thomsen2?1UniversityofLuxembourggaetan.leurent@uni.lu2TechnicalUniversityofDenmarks.thomsen@mat.dtu.dkAbstract.BlueMidnightWish(BMW)isoneofthefastestSHA-3can-didatesinthesecondroundofthecompetition.InthispaperwestudythecompressionfunctionofBMWandweobtainpracticalpartialcol-lisionsinthecaseofBMW-256:weshowapairofinputssothat300pre-specifiedbitsoftheoutputscollide(outof512bits).Ourattackre-quiresabout232evaluationsofthecompressionfunction.Theattackcanalsobeconsideredasanear-collisionattack:wegiveaninputpairwithonly122activebitsintheoutput,whilegenericalgorithmwouldrequire255operationsforthesameresult.AsimilarattackcanbedevelopedforBMW-512,whichwillgivesmessagepairswitharound600collidingbitsforacostof264.Thisanalysisdoesnotaffectthesecurityoftheiteratedhashfunction,butitshowsthatthecompressionfunctionisfarfromideal.Wealsodescribesometoolsfortheanalysisofsystemsofadditionsandrotations,whichareusedinourattack,andwhichcanbeusefulfortheanalysisofothersystems.1IntroductionBlueMidnightWish(BMW)isacandidateintheSHA-3hashfunctioncom-petition[7]whichmadeittothesecondroundofthecompetition,butwasnotselectedasafinalist.Itisoneofthefastestsecondroundcandidatesinsoftware,andbelongstotheARXfamily,usingonlyadditions,rotations,andxors.BMWisbuiltbyiteratingacompressionfunction,similarlytotheubiquitousMerkle-Damgårdparadigm[5,9].Moreprecisely,BMWusesachainingvaluetwiceaslargeastheoutputofthehashfunction(thisisknownaswide-pipe,orChop-MD),andusesafinaltransformationsimilartotheHMACconstruction.Thereareseveralsecurityproofsforthismodeofoperationandsimilarmodes[2–4],whichessentiallyshowthatifthecompressionfunctionbehaveslikearandomfunction,thenthehashfunctionwillbehavelikearandomfunction(uptosomeleveldeterminedbythewidthofthechainingvariable).Inthispaperweexplainhowtofindpartial-collisionsintheBMW-256com-pressionfunction.Thesametechniquecouldbeusedtofindpartial-collisionsin?SupportedbyagrantfromtheVillumKannRasmussenFoundation.1
  • Univers Univers
  • Ebooks Ebooks
  • Livres audio Livres audio
  • Presse Presse
  • Podcasts Podcasts
  • BD BD
  • Documents Documents