Use hmac.compare_digest in constant_time_equal