HMAC-SHA384/HMAC-SHA512 testng?

Brad Hards bradh at
Sat Apr 16 03:22:17 CEST 2005

Has anyone tested HMAC with SHA384 and SHA512? 

I've tried the test vectors in
and they work for SHA-256, but almost identical code fails for SHA-384 and 

I contacted Magnus Nystrom, and he asked:
"Did you use blocksize = 128 for SHA-384 and SHA-512? It affects the key 

I am passing the key data and actual length to gcry_md_setkey(). Is that 
correct operation of HMAC within libgcrypt?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : /pipermail/attachments/20050416/3c4c0f10/attachment-0001.pgp

More information about the Gcrypt-devel mailing list