Re: OMAC help

From: Tom St Denis (tomstdenis_at_iahu.ca)
Date: 06/14/03


Date: Sat, 14 Jun 2003 16:58:14 GMT

Jack Lloyd wrote:
> On Fri, 13 Jun 2003 18:29:05 -0400, Brian Gladman wrote:
>
>
>>Maybe I am missing something but they seemed almost the same in software
>>- just two small code sequences (gf_mulx & gfdivx) in place of one
>>(gf_mulx). Is there more to it than this?
>
>
> Nope. The part I like about it is you don't have to remember (or
> calculate) what the inverse of the polynomial is, only the poly
> itself. Perhaps I overstate OMAC1's advantages, but I've always
> had a hard time with polynomial arithmetic for some reason, so
> anything that reduces how much of it I have to think about is a
> good thing to me. (Also, anything that reduces code size at no cost ==
> good).

Personally I don't see the benefit of OMAC at all. It is *not* a
combined encrypt/mac algorithm [it requires you to decrypt and
re-encrypt to verify the mac as far as I can tell].

The specs are horrible. Admitedly I don't have 30 yrs in the field but
I have implemented some hairy algorithms [Twofish, CAST5, etc..] before
and this one perplexes me. I spent a good 8 hours toying with it and
everytime I failed to produce correct output.

Personally I just think the specs are half-assed. They spent too much
time analyzing the algorithm and not enough describing how to implement
it [hint: reference source code would have gone a long way!]

I don't see the advantage over say HMAC. In fact I was quite horribly
surprised that a non-encrypt mode was picked....

Oh well back to CTR+HMAC for me :-)

Tom



Relevant Pages

  • Re: print large triangular outline using multiple sheets, possible?
    ... know I would never have thought of myself, no matter how long I spent ... Superb ... While it may be fine for an entire page, trying to fit that algorithm into ...
    (microsoft.public.vb.general.discussion)
  • Re: incorporating new ideas
    ... instead we'd have spent our time ... doing people things instead of talking to machines. ... How many successful novelists are computer people? ... who has the earliest algorithm I know of named ...
    (rec.arts.sf.composition)
  • Re: Newbie: How to format a number to always show two decimals?
    ... That's a port of the Number.toFixed algorithm from section 15.7.4.5 of the ECMAScript specs: ... Microsoft's own implementation of Number.toFixed did not conform to that algorithm (and other JS engines did not at some point support that method, despite it being part of the spec) so I wrote my own JS-only port to patch bad engines as needed. ...
    (comp.lang.ruby)
  • Re: using a for loop to determine maximum value of an int variable
    ... Perhaps I should have spent more than 5 minutes on it:^) ... unbounded binary search technique the problem seems reasonable, ... And I think you're being way too conservative on your algorithm order ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Whats the Toughest Branch in Electronics?
    ... Secure communications. ... choose an algorithm that has been ... a)ignoring the principles that the cryptographers have spent years ...
    (sci.electronics.design)