Paper 2013/212

A Closer Look at HMAC

Krzysztof Pietrzak
Abstract

Bellare, Canetti and Krawczyk~\cite{FOCS:BelCanKra96} show that cascading an $\eps$-secure (fixed input length) PRF gives an $O(\eps n q)$-secure (variable input length) PRF when making at most $q$ prefix-free queries of length $n$ blocks. We observe that this translates to the same bound for NMAC (which is the cascade without the prefix-free requirement but an additional application of the PRF at the end), and give a matching attack, showing this bound is tight. This contradicts the $O(\eps n)$ bound claimed by Koblitz and Menezes~\cite{KobMen12}.

PDF
BibTeX
ePrint ↗
@misc{cryptoeprint:2013/212,
      author = {Krzysztof Pietrzak},
      title = {A Closer Look at HMAC},
      howpublished = {Cryptology {ePrint} Archive, Paper 2013/212},
      year = {2013},
      url = {https://eprint.iacr.org/2013/212}
}
Category
Secret-key cryptography
License
CC BY
Submitted
Versions

Report a problem

Comments

Log in or create an account

Privacy