fix the constant-time compare logic when using hmac.compare_digest