File: torsions.h

package info (click to toggle)
gmp-ecm 7.0.6%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 3,816 kB
  • sloc: ansic: 41,655; asm: 26,855; sh: 964; xml: 628; python: 493; makefile: 322
file content (36 lines) | stat: -rw-r--r-- 1,479 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
void mod_div_2(mpz_t x, mpz_t n);
int mod_from_rat(mpz_t r, mpq_t q, mpz_t N);
int mod_from_rat2(mpz_t r, mpz_t num, mpz_t den, mpz_t N);
void ec_force_point(ell_curve_t E, ell_point_t P, long *x0, mpz_t n);

int
build_curves_with_torsion_Z5(mpz_t f, mpmod_t n, 
			     ell_curve_t *tE, ell_point_t *tP,
			     int smin, int smax, int nE);
int
build_curves_with_torsion_Z7(mpz_t f, mpmod_t n, 
			     ell_curve_t *tE, ell_point_t *tP,
			     int umin, int umax, int nE);
int
build_curves_with_torsion_Z9(mpz_t fac, mpmod_t n, ell_curve_t *tE, 
			     ell_point_t *tP, int umin, int umax, int nE);
int
build_curves_with_torsion_Z10(mpz_t fac, mpmod_t n, ell_curve_t *tE, 
			      ell_point_t *tP, int umin, int umax, int nE);
int
build_curves_with_torsion_Z2xZ8(mpz_t f, mpmod_t n, 
				ell_curve_t *tE, ell_point_t *tP,
				int umin, int umax, int nE);
int
build_curves_with_torsion_Z3xZ3_DuNa(mpmod_t n, ell_curve_t *tE, ell_point_t *tP,
				     int smin, int smax, int nE);
int
build_curves_with_torsion_Z3xZ3(mpz_t f, mpmod_t n, 
				ell_curve_t *tE, ell_point_t *tP,
				int umin, int umax, int nE);
int
build_curves_with_torsion_Z3xZ6(mpz_t f, mpmod_t n, 
				ell_curve_t *tE, ell_point_t *tP,
				int umin, int umax, int nE);
int build_curves_with_torsion(mpz_t f, mpmod_t n, ell_curve_t *tE, ell_point_t *tP, char *torsion, int smin, int smax, int nE);
int build_curves_with_torsion2(mpz_t f, mpz_t n, ell_curve_t E,  mpz_t x, mpz_t y, char *torsion, mpz_t sigma);