Added HMAC verification.