Re: Block cypher mode of operation for MAC

From: David Wagner (daw_at_taverner.cs.berkeley.edu)
Date: 05/20/05


Date: Fri, 20 May 2005 16:49:25 +0000 (UTC)

giorgio.tani wrote:
>I was trying some block cyphers in CBC and PCBC (Propagating Cipher
>Block Chaining) modes in oredr to take the last block as MAC for a
>message.

My recommendation: Just use OMAC.

This stuff is subtle enough that it's not worth wasting any
brain cells (or taking the risk of making any mistakes) on
self-constructed algorithms; OMAC is safest.



Relevant Pages

  • Re: CBC questions
    ... > to trust any MAC ... But we do know OMAC pretty well, ... > deliberately change meaning or values in the first block ... message authentication code that can be automatically verified by your ...
    (sci.crypt)
  • Re: OMAC help
    ... OMAC is not a combined mac/encrypt algorithm. ... As I mentioned before, read the EAX paper. ... no good general purpose MAC based on a block cipher exists right now? ...
    (sci.crypt)
  • Re: OMAC help
    ... >>Well OMAC is encrypt based MAC. ... So you either encrypt then OMAC the ... >>last ciphertext is in fact the correct output. ...
    (sci.crypt)
  • Re: ECB security
    ... What type of MAC did you use? ... > implementation of a blockchipher you can use it in a CBC-MAC based ... Can't remember if I looked into what OMAC is. ... "Should a mac be applied to 'plain data' or the 'cipher data' or doesnt it ...
    (sci.crypt)