A p-adic quasi-quadratic point counting algorithm