On Fri, Apr 01, 2016 at 07:37:15AM +0000, Sukanya K. wrote:
> But when I sending ntp packet with symmetric key, client is not synchronizing.
> 
> The hmac md5 digest which is generated by the client is not matching with the 
>  calculated digest from server side.
> 
> I have evaluated my hmac-md5 code by giving the all test cases(rfc2202) as 
> per the rfc. And all the digest were matched.
> 
> But it is not matching with the clients ntp packet message digest.

NTP doesn't use HMAC. The NTP MAC uses hash calculated over the
symmetric key concatenated with the NTP packet. See 7.3 in RFC 5905.

-- 
Miroslav Lichvar
_______________________________________________
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions

Reply via email to