Use the correct hmac algorithm.