Fixed an error in HMAC.