Skip to main content
Top

2012 | OriginalPaper | Chapter

Generic Related-Key Attacks for HMAC

Authors : Thomas Peyrin, Yu Sasaki, Lei Wang

Published in: Advances in Cryptology – ASIACRYPT 2012

Publisher: Springer Berlin Heidelberg

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

In this article we describe new generic distinguishing and forgery attacks in the related-key scenario (using only a single related-key) for the

HMAC

construction. When

HMAC

uses a

k

-bit key, outputs an

n

-bit MAC, and is instantiated with an

l

-bit inner iterative hash function processing

m

-bit message blocks where

m

 = 

k

, our distinguishing-R attack requires about 2

n

/2

queries which improves over the currently best known generic attack complexity 2

l

/2

as soon as

l

 > 

n

. This means that contrary to the general belief, using wide-pipe hash functions as internal primitive will not increase the overall security of

HMAC

in the related-key model when the key size is equal to the message block size. We also present generic related-key distinguishing-H, internal state recovery and forgery attacks. Our method is new and elegant, and uses a simple cycle-size detection criterion. The issue in the

HMAC

construction (not present in the

NMAC

construction) comes from the non-independence of the two inner hash layers and we provide a simple patch in order to avoid this generic attack. Our work finally shows that the choice of the

opad

and

ipad

constants value in

HMAC

is important.

Dont have a licence yet? Then find out more about our products and how to get one now:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Metadata
Title
Generic Related-Key Attacks for HMAC
Authors
Thomas Peyrin
Yu Sasaki
Lei Wang
Copyright Year
2012
Publisher
Springer Berlin Heidelberg
DOI
https://doi.org/10.1007/978-3-642-34961-4_35

Premium Partner