World Library  
Flag as Inappropriate
Email this Article

EAX mode

Article Id: WHEBN0004260161
Reproduction Date:

Title: EAX mode  
Author: World Heritage Encyclopedia
Language: English
Subject: Block cipher modes of operation, BasicCard, PMAC (cryptography), VMAC, SANDstorm hash
Collection: Authenticated-Encryption Schemes, Block Cipher Modes of Operation
Publisher: World Heritage Encyclopedia
Publication
Date:
 

EAX mode


EAX mode is a mode of operation for cryptographic block ciphers. It is an Authenticated Encryption with Associated Data (AEAD) algorithm designed to simultaneously provide both authentication and privacy of the message (authenticated encryption) with a two-pass scheme, one pass for achieving privacy and one for authenticity for each block.

EAX mode was submitted on October 3, 2003 to the attention of NIST in order to replace CCM as standard AEAD mode of operation, since CCM mode lacks some desirable attributes of EAX and is more complex.

Contents

  • Encryption and authentication 1
  • Performance 2
  • Patent status 3
  • Use 4
  • See also 5
  • References 6
  • External links 7
  • Software implementations 8
  • Hardware implementations 9

Encryption and authentication

EAX is a flexible nonce-using two-pass AEAD scheme with no restrictions on block cipher primitive to be used, nor on block size, and supports arbitrary-length messages. Authentication tag length is arbitrarily sizeable up to the used cipher's block size.

The block cipher primitive is used in CTR mode for encryption and as OMAC for authentication over each block through the EAX composition method, that may be seen as a particular case of a more general algorithm called EAX2 and described in "The EAX Mode of Operation" paper.

The reference implementation in the aforementioned paper uses AES in CTR mode for encryption combined with AES OMAC for authentication.

Performance

Being a two-pass scheme, EAX mode is slower than a well designed one-pass scheme based on the same primitives.

EAX mode has several desirable attributes, notably:

  • provable security (dependent on the security of the underlying primitive cipher);
  • message expansion is minimal, being limited to the overhead of the tag length;
  • using CTR mode means the cipher need be implemented only for encryption, in simplifying implementation of some ciphers (especially desirable attribute for hardware implementation);
  • the algorithm is "on-line", that means that can process a stream of data, using constant memory, without knowing total data length in advance;
  • the algorithm can process static Associated Data (AD), useful for encryption/decryption of communication session parameters (where session parameters may represent the Associated Data).

Notably, CCM mode lacks the last 2 attributes.

Patent status

The authors of EAX mode, Mihir Bellare, Phillip Rogaway, and David Wagner placed the work under public domain and have stated that they were unaware of any patents covering this technology. Thus, EAX mode of operation is believed to be free and unencumbered for any use.

Use

A modification of the EAX mode, so called EAX′ or EAXprime, is used in the ANSI C12.22 standard for transport of meter-based data over a network. In 2012 Kazuhiko Minematsu, Hiraku Morita and Tetsu Iwata published a flaw in this mode that breaks the security.[1]

See also

References

  1. ^ [1] Cryptanalysis of EAXprime

External links

  • EAX specifications and Intellectual Property Statement at NIST (.pdf)
  • EAX specifications, Test Vectors and Intellectual Property Statement (.pdf)
  • NIST: proposed modes of operation
  • A Critique of CCM - February 2003
  • EAX: A Conventional Authenticated-Encryption Mode - Apr 13, 2003, last revised Sep 9, 2003
  • The EAX Mode of Operation - January 18, 2004
  • ANSI C12 22 site

Software implementations

  • C++: Dr. Brian Gladman's crypto library implementing EAX mode of operation
  • Pascal / Delphi: Wolfgang Ehrhardt's crypto library implementing EAX mode of operation
  • Java: BouncyCastle crypto library implementing EAX mode of operation

Hardware implementations

This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and USA.gov, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for USA.gov and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
 
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
 
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.
 


Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.