How to use HMAC-MD5

David Rubel davidrubels at gmail.com
Mon Jun 11 20:31:42 UTC 2012


Hello.

I would like to test the HMAC-MD5 implementation of the Digital Signature
Toolkit included in DHCP (/dst/hmac_link.c). Particularly, I'd like to try
this test vector specified in RFC 2104 and print the resulting digest
on-screen:

key =         0x0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b
key_len =     16 bytes
data =        "Hi There"
data_len =    8  bytes
digest =      0x9294727a3638bb1c13f48ef8158bfc9d

Anyone knows how to do it?... Which functions should I call (and its
parameters)?.

Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/mailman/private/dhcp-workers/attachments/20120611/6e35fc07/attachment.html>


More information about the dhcp-workers mailing list