Fix comparing the HMAC digests

Finish fixing the signature verification by fixing the comparison of the HMAC digests