请输入您要查询的百科知识:

 

词条 EAX mode
释义

  1. Encryption and authentication

  2. Performance

  3. Patent status

  4. Use

  5. See also

  6. References

  7. External links

  8. Software implementations

  9. Hardware implementations

{{About|the mode of operation|Creative EAX|Environmental Audio Extensions}}

EAX mode (encrypt-then-authenticate-then-translate[1]) 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.

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[2]

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 pre-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 (CCM can process Associated Data, it can't pre-process it).

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, Stefan Lucks, Hiraku Morita and Tetsu Iwata published a paper that proves the security of the mode with messages longer than the key, but demonstrates a trivial attack against short messages using this mode.[3] It is not possible to create vulnerable short messages compliant with the ANSI C12.22 standard, but in other contexts in which such short messages are possible, EAXprime cannot be securely used.[4]

See also

  • Authenticated Encryption with Associated Data (AEAD)
  • Authenticated Encryption (AE)
  • CCM mode
  • CTR mode
  • OMAC

References

1. ^{{cite web| url=https://eprint.iacr.org/2003/069| title= EAX: A Conventional Authenticated-Encryption Mode| first1=M.| last1=Bellare| first2=P.| last2=Rogaway| first3=D.| last3=Wagner| date=2003-09-09| publisher=IACR| accessdate=2017-08-15}}
2. ^{{cite web| url=http://web.cs.ucdavis.edu/~rogaway/papers/eax.html| title=The EAX Mode of Operation (A Two-Pass Authenticated Encryption Scheme Optimized for Simplicity and Efficiency) | first1=Mihir| last1=Bellare| first2=Phillip| last2=Rogaway| first3=David| last3=Wagner| date=April 2003| work=Fast Software Encryption (FSE) 2004| accessdate=2017-08-15}}
3. ^{{cite web| url=https://eprint.iacr.org/2012/018| title=Attacks and Security Proofs of EAX-Prime| first1=Kazuhiko| last1=Minematsu| first2=Stefan| last2=Lucks| first3=Hiraku| last3=Morita| first4=Tetsu| last4=Iwata| date=2013-05-13| publisher=IACR| accessdate=2017-08-15}}
4. ^{{cite web | url=http://csrc.nist.gov/groups/ST/toolkit/BCM/documents/comments/EAX%27/minematsu.pdf| title=Comment on EAXprime| first1=Kazuhiko| last1=Minematsu| date=2012-01-14| publisher=NIST| accessdate=2017-09-18}}

External links

  • NIST: Block Cipher Modes
  • A Critique of CCM (February 2003)

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
  • [https://bouncycastle.org/releasenotes.html Java: BouncyCastle crypto library implementing EAX mode of operation]
  • [https://github.com/libtom/libtomcrypt/tree/develop/src/encauth/eax C: libtomcrypt implementing EAX mode of operation]

Hardware implementations

{{Cryptography navbox | block | hash}}

2 : Block cipher modes of operation|Authenticated-encryption schemes

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/14 3:30:12