Kenya opposition presidential candidate Raila Odinga has said the electoral commission's IT system has been hacked to manipulate the election results.
He rejected early results from Tuesday's vote indicating a strong lead for President Uhuru Kenyatta.
The electoral commission has not yet responded to Mr Odinga's accusation, but politicians have called for calm.
Many fear a repeat of the violence after a disputed election 10 years ago.
More than 1,100 Kenyans died and 600,000 were displaced following the 2007 vote.
- Africa Live: Results and reaction
- Kenyatta: The digital president
- Odinga: Love him or loathe him
- Full election coverage
Mr Odinga said that the hackers gained access to the Independent Electoral and Boundaries Commission (IEBC) computer system by using the identity of the commission's IT manager, Chris Msando, who was killed last month.
Telesol launches 4G internet service; set to bridge digital gap
Managing Director of Telesol, a 4G-internet service provider said the company is set to adopt new technologies to widen the current digital divide between Africa and the rest of the world beginning from Ghana.
The opposition leader had earlier told journalists the results coming in were "fake", because the authorities had failed to present documents verifying the results.
Electoral officials say that with 91% of results in, Mr Kenyatta is leading with about 54.5%, to Mr Odinga's 44.6%.
These results mean Mr Kenyatta appears to be heading for a first-round victory. In order to avoid a run-off, a candidate needs 50% plus one of the votes cast and at least a 25% share of the vote in 24 of Kenya's 47 counties.
There were eight candidates in all, but apart from Mr Kenyatta and Mr Odinga none polled more than 0.3% of the vote.
What is Mr Odinga's complaint about the vote?
The opposition has described the results being released online as a "fraud" because they were not accompanied by original result forms 34A and 34B from the polling stations.
"They are fictitious, they are fake," said Mr Odinga.
Image captionElection officials have been busy through the night counting the votes
He said that the results were "the work of a computer" and did not reflect the will of voters.
"We have our projections from our agents which show we are ahead by far," he added.
Opposition officials have said that, despite assurances from the electoral commission, they still have not received the result forms.
What does the electoral commission say?
The electoral commission has been urging people to wait calmly for the full results of Tuesday's vote.
"During this critical phase, we urge all Kenyans to exercise restraint as we await official results from the polling stations and indeed as they start trickling in," the commission said.
Media captionInside a Nairobi polling station with the BBC's Anne Soy
However, it admitted that a lack of mobile data coverage had delayed the delivery of the supporting documents, forms 34A and 34B.
There had been reports on election day of the failure of some voter-identification equipment. Also, one in four polling stations were apparently without mobile phone coverage, meaning that officials were asked to drive to the nearest town to send results.
The presidential candidates' agents would have "special access" to the forms, though, the electoral commission said.
The Daily Nation newspaper quoted commission head Ezra Chiloba as saying only results supported by the forms had been published.
How did the voting go?
Voting passed off largely peacefully and some polling stations remained open after the scheduled 17:00 (14:00 GMT) closing time.
People started queuing early to ensure they could cast their vote. Long queues could be seen, and video footage at one polling station showed people injured after an apparent stampede.
Image captionPeople began queuing early in the morning and even overnight to cast their votes
There were reports that one man had been killed in clashes in the Kilifi area.
But there was one heartening moment when a woman gave birth to a baby girl as she queued in West Pokot to cast her ballot. New mother Pauline Chemanang called the circumstances of the birth a "blessing" and called her baby Kura, Swahili for "ballot", according to local radio.
However, in the run-up to election day, a top election official was murdered, there were claims of vote-rigging and hate speech flyers and rhetorical text messages began circulating.
Some nervous Kenyans stockpiled food and water, while police prepared emergency first aid kits in the event of violence.
What is at stake?
Mr Kenyatta is hoping for a second term in office.
Voting for the national and local assemblies has also been taking place.
Image captionMr Kenyatta called on Kenyans to pull the country together
Mr Odinga, 72, has run for president three times and lost each time. President Kenyatta, the 55-year-old son of Kenya's founding president, beat him in the last election in 2013, but their rivalry is generations old - their fathers were political opponents in the 1960s.
Mr Kenyatta and his running-mate William Ruto were indicted by the International Criminal Court for their alleged roles in the bloodshed a decade ago. The case ultimately collapsed due to lack of evidence, and after key witnesses died or disappeared.
Have your say
More World Headlines
- Theresa May to face leadership challenge
- Senior citizens arrested after 'large amount of cocaine' found stashed on cruise ship
- Mozambique busts '30,000 ghost workers'
- Two nuns admit embezzling cash for Vegas gambling trips
- Thousands walk on Ethiopia Car Free Day
- Macron to hold protest crisis meeting
- Gabon's Bongo suffered a stroke - Vice President
- Kenya's president hires 91-year-old to secure youth sports fund
- Sudan helicopter crash kills officials
- Togo: child shot, killed during clashes between protesters, security forces
- William Barr nominated by Donald Trump to be US attorney general
- South Africa mob kills suspected arsonist
- If US builds missiles, so will we – Putin
- Liberia electricity crisis: 'About 60% of power stolen'
- British PM suffers setbacks as Brexit debate starts in parliament