The Canadian government has implied that it will use hate crime laws against domestic advocacy groups that encourage boycotts of Israel.