[patch] Additional HMAC unit tests

Brad Hards bradh at frogmouth.net
Sun Mar 12 07:40:36 CET 2006


On Friday 10 March 2006 20:59 pm, Werner Koch wrote:
> On Sat, 18 Feb 2006 22:15:13 +1100, Brad Hards said:
> > The attached patch provides HMAC unit tests for a range of the more
> > critical hashes - MD5, SHA224, SHA256, SHA384 and SHA512, using standard
> > test vectors.
>
> I have just commited it.  However teh HMAC tests for SHA-384 and
> SHA-512 are failing.  Would you mind to look after that?
It is a problem with the blocksize (128, instead of 64) - I raised this 
problem in April 2005:
http://lists.gnupg.org/pipermail/gcrypt-devel/2005-April/000778.html.

I posted a (somewhat hacky) patch to the list:
http://lists.gnupg.org/pipermail/gcrypt-devel/2005-April/000779.html
[The actual patch is missing from the archive - I can resend it if required].

Brad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : /pipermail/attachments/20060312/d085799a/attachment.pgp


More information about the Gcrypt-devel mailing list