D | ec.c | 33 /* Create a new point option. NBITS gives the size in bits of one 50 /* Release the point object P. P may be NULL. */ 60 /* Initialize the fields of a point object. gcry_mpi_point_free_parts 71 /* Release the parts of a point object. */ 674 * POINT. Set them into X and Y. If one coordinate is not required, 676 * on success or !0 if POINT is at infinity. 678 int mpi_ec_get_affine(MPI x, MPI y, MPI_POINT point, struct mpi_ec_ctx *ctx) in mpi_ec_get_affine() argument 680 if (!mpi_cmp_ui(point->z, 0)) in mpi_ec_get_affine() 690 ec_invm(z1, point->z, ctx); /* z1 = z^(-1) mod p */ in mpi_ec_get_affine() 694 ec_mulm(x, point->x, z2, ctx); in mpi_ec_get_affine() [all …]
|