libtom/libtomcrypt — pull request #11 by karel-m (2012-07-10 08:55:36+00:00)
Title: updated OCB implementation

Hi,

please check the patch with updated OCB implementation which follows the latest specification available at http://tools.ietf.org/html/draft-krovetz-ocb-03

ocb_test.c was updated with test vectors available at URL above (all test vectors pass).

I have not update documentation (I can contribute this later).

IMPORTANT: the new ocb_* interface is not compatible with the old one as the new OCB(3) specification differs quite significantly - see more info about OCB version history at http://www.cs.ucdavis.edu/~rogaway/ocb/ocb-faq.htm#versions

Thanks in advance for any feedback

-- karel