Remove unused hmac function