Since both 2.6 and 3.6 accept the same data types into hmac, the compat function `hmac_compat` is no longer needed, we should remove it.