Afghan presidential candidate Ashraf Ghani on Wednesday defended himself against electoral fraud allegations that have tipped the country into a political crisis, saying that all ballots cast for him were legitimate.