<?xml version="1.0" encoding="UTF-8"?>

<modsCollection xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.loc.gov/mods/v3" xsi:schemaLocation="http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-3.xsd">
<mods version="3.3">

<genre>thesis</genre>

<titleInfo><title>(The exact security of) Message authentication codes</title></titleInfo>

  
  
<titleInfo type="alternative">
  
  <title>ISTA Thesis</title>
</titleInfo>

<note type="publicationStatus">published</note>



<name type="personal">
  <namePart type="given">Michal</namePart>
  <namePart type="family">Rybar</namePart>
  <role><roleTerm type="text">author</roleTerm> </role><identifier type="local">2B3E3DE8-F248-11E8-B48F-1D18A9856A87</identifier></name>







<name type="corporate">
  <namePart></namePart>
  <identifier type="local">KrPi</identifier>
  <role>
    <roleTerm type="text">department</roleTerm>
  </role>
</name>








<abstract lang="eng">In this thesis we discuss the exact security of message authentications codes HMAC , NMAC , and PMAC . NMAC is a mode of operation which turns a fixed input-length keyed hash function f into a variable input-length function. A practical single-key variant of NMAC called HMAC is a very popular and widely deployed message authentication code (MAC). PMAC is a block-cipher based mode of operation, which also happens to be the most famous fully parallel MAC. NMAC was introduced by Bellare, Canetti and Krawczyk Crypto’96, who proved it to be a secure pseudorandom function (PRF), and thus also a MAC, under two assumptions. Unfortunately, for many instantiations of HMAC one of them has been found to be wrong. To restore the provable guarantees for NMAC , Bellare [Crypto’06] showed its security without this assumption. PMAC was introduced by Black and Rogaway at Eurocrypt 2002. If instantiated with a pseudorandom permutation over n -bit strings, PMAC constitutes a provably secure variable input-length PRF. For adversaries making q queries, each of length at most ` (in n -bit blocks), and of total length σ ≤ q` , the original paper proves an upper bound on the distinguishing advantage of O ( σ 2 / 2 n ), while the currently best bound is O ( qσ/ 2 n ). In this work we show that this bound is tight by giving an attack with advantage Ω( q 2 `/ 2 n ). In the PMAC construction one initially XORs a mask to every message block, where the mask for the i th block is computed as τ i := γ i · L , where L is a (secret) random value, and γ i is the i -th codeword of the Gray code. Our attack applies more generally to any sequence of γ i ’s which contains a large coset of a subgroup of GF (2 n ). As for NMAC , our first contribution is a simpler and uniform proof: If f is an ε -secure PRF (against q queries) and a δ - non-adaptively secure PRF (against q queries), then NMAC f is an ( ε + `qδ )-secure PRF against q queries of length at most ` blocks each. We also show that this ε + `qδ bound is basically tight by constructing an f for which an attack with advantage `qδ exists. Moreover, we analyze the PRF-security of a modification of NMAC called NI by An and Bellare that avoids the constant rekeying on multi-block messages in NMAC and allows for an information-theoretic analysis. We carry out such an analysis, obtaining a tight `q 2 / 2 c bound for this step, improving over the trivial bound of ` 2 q 2 / 2 c . Finally, we investigate, if the security of PMAC can be further improved by using τ i ’s that are k -wise independent, for k &amp;gt; 1 (the original has k = 1). We observe that the security of PMAC will not increase in general if k = 2, and then prove that the security increases to O ( q 2 / 2 n ), if the k = 4. Due to simple extension attacks, this is the best bound one can hope for, using any distribution on the masks. Whether k = 3 is already sufficient to get this level of security is left as an open problem. Keywords: Message authentication codes, Pseudorandom functions, HMAC, PMAC. </abstract>

<relatedItem type="constituent">
  <location>
    <url displayLabel="IST-2017-828-v1+3_2017_Rybar_thesis.pdf">https://research-explorer.ista.ac.at/download/838/4799/IST-2017-828-v1+3_2017_Rybar_thesis.pdf</url>
  </location>
  <physicalDescription><internetMediaType>application/pdf</internetMediaType></physicalDescription><accessCondition type="restrictionOnAccess">no</accessCondition>
</relatedItem>
<relatedItem type="constituent">
  <location>
    <url displayLabel="2017_Thesis_Rybar_source.zip">https://research-explorer.ista.ac.at/download/838/6202/2017_Thesis_Rybar_source.zip</url>
  </location>
  <physicalDescription><internetMediaType>application/zip</internetMediaType></physicalDescription>
</relatedItem>
<originInfo><publisher>Institute of Science and Technology Austria</publisher><dateIssued encoding="w3cdtf">2017</dateIssued>
</originInfo>
<language><languageTerm authority="iso639-2b" type="code">eng</languageTerm>
</language>



<relatedItem type="host">
  <identifier type="issn">2663-337X</identifier><identifier type="doi">10.15479/AT:ISTA:th_828</identifier>
<part><extent unit="pages">86</extent>
</part>
</relatedItem>
<relatedItem type="Supplementary material">
  <location>     <url>https://research-explorer.ista.ac.at/record/2082</url>     <url>https://research-explorer.ista.ac.at/record/6196</url>  </location>
</relatedItem>

<extension>
<bibliographicCitation>
<mla>Rybar, Michal. &lt;i&gt;(The Exact Security of) Message Authentication Codes&lt;/i&gt;. Institute of Science and Technology Austria, 2017, doi:&lt;a href=&quot;https://doi.org/10.15479/AT:ISTA:th_828&quot;&gt;10.15479/AT:ISTA:th_828&lt;/a&gt;.</mla>
<chicago>Rybar, Michal. “(The Exact Security of) Message Authentication Codes.” Institute of Science and Technology Austria, 2017. &lt;a href=&quot;https://doi.org/10.15479/AT:ISTA:th_828&quot;&gt;https://doi.org/10.15479/AT:ISTA:th_828&lt;/a&gt;.</chicago>
<ieee>M. Rybar, “(The exact security of) Message authentication codes,” Institute of Science and Technology Austria, 2017.</ieee>
<apa>Rybar, M. (2017). &lt;i&gt;(The exact security of) Message authentication codes&lt;/i&gt;. Institute of Science and Technology Austria. &lt;a href=&quot;https://doi.org/10.15479/AT:ISTA:th_828&quot;&gt;https://doi.org/10.15479/AT:ISTA:th_828&lt;/a&gt;</apa>
<ista>Rybar M. 2017. (The exact security of) Message authentication codes. Institute of Science and Technology Austria.</ista>
<ama>Rybar M. (The exact security of) Message authentication codes. 2017. doi:&lt;a href=&quot;https://doi.org/10.15479/AT:ISTA:th_828&quot;&gt;10.15479/AT:ISTA:th_828&lt;/a&gt;</ama>
<short>M. Rybar, (The Exact Security of) Message Authentication Codes, Institute of Science and Technology Austria, 2017.</short>
</bibliographicCitation>
</extension>
<recordInfo><recordIdentifier>838</recordIdentifier><recordCreationDate encoding="w3cdtf">2018-12-11T11:48:46Z</recordCreationDate><recordChangeDate encoding="w3cdtf">2026-04-08T14:18:39Z</recordChangeDate>
</recordInfo>
</mods>
</modsCollection>
