Hello.<br><br>I'm trying to add RFC 3118 support (Authentication option)
to ISC DHCP, so I would like to test in both client and server the
HMAC-MD5 implementation of the Digital Signature Toolkit included in ISC
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:<br>
<br>key = 0x0b0b0b0b0b0b0b0b0b0b0b0b0b0b<div>0b0b<br>key_len = 16 bytes<br>data = "Hi There"<br>data_len = 8 bytes<br>digest = 0x9294727a3638bb1c13f48ef8158bfc9d<br><br>Anyone
knows how to be able to call those hashing functions from the client
and server (namely "client/dhclient.c" and "server/dhcp.c")?.... because
it seems that normally client and server doesn't have access to those
functions.<br>
<br>And if by chance someone already knows the answer to this, it would
be greatly appreciated: Which functions should I call (and its
parameters) to obtain that digest?.<br><br>Thanks in advance.<br>---<br>David Rubel<br></div>