Home Online Manual
Top
Back: ellipticRandomPoint
Forward: ellipticAllPoints
FastBack:
FastForward:
Up: crypto_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.12.3.27 countPoints

Procedure from library crypto.lib (see crypto_lib).

Usage:
countPoints(N,a,b);

Return:
the number of points of the elliptic curve defined by y^2=x^3+a*x+b over Z/N

Note:
trivial approach

Example:
 
LIB "crypto.lib";
countPoints(181,71,150);
==> 198