Lines Matching refs:mpi_ec_ctx

88 static void point_resize(MPI_POINT p, struct mpi_ec_ctx *ctx)  in point_resize()
104 struct mpi_ec_ctx *ctx) in point_swap_cond()
114 static void ec_mod(MPI w, struct mpi_ec_ctx *ec) in ec_mod()
122 static void ec_addm(MPI w, MPI u, MPI v, struct mpi_ec_ctx *ctx) in ec_addm()
128 static void ec_subm(MPI w, MPI u, MPI v, struct mpi_ec_ctx *ec) in ec_subm()
136 static void ec_mulm(MPI w, MPI u, MPI v, struct mpi_ec_ctx *ctx) in ec_mulm()
143 static void ec_mul2(MPI w, MPI u, struct mpi_ec_ctx *ctx) in ec_mul2()
150 struct mpi_ec_ctx *ctx) in ec_powm()
160 static void ec_pow2(MPI w, const MPI b, struct mpi_ec_ctx *ctx) in ec_pow2()
171 static void ec_pow3(MPI w, const MPI b, struct mpi_ec_ctx *ctx) in ec_pow3()
176 static void ec_invm(MPI x, MPI a, struct mpi_ec_ctx *ctx) in ec_invm()
199 static void ec_addm_25519(MPI w, MPI u, MPI v, struct mpi_ec_ctx *ctx) in ec_addm_25519()
221 static void ec_subm_25519(MPI w, MPI u, MPI v, struct mpi_ec_ctx *ctx) in ec_subm_25519()
242 static void ec_mulm_25519(MPI w, MPI u, MPI v, struct mpi_ec_ctx *ctx) in ec_mulm_25519()
291 static void ec_mul2_25519(MPI w, MPI u, struct mpi_ec_ctx *ctx) in ec_mul2_25519()
296 static void ec_pow2_25519(MPI w, const MPI b, struct mpi_ec_ctx *ctx) in ec_pow2_25519()
306 static void ec_addm_448(MPI w, MPI u, MPI v, struct mpi_ec_ctx *ctx) in ec_addm_448()
326 static void ec_subm_448(MPI w, MPI u, MPI v, struct mpi_ec_ctx *ctx) in ec_subm_448()
346 static void ec_mulm_448(MPI w, MPI u, MPI v, struct mpi_ec_ctx *ctx) in ec_mulm_448()
443 static void ec_mul2_448(MPI w, MPI u, struct mpi_ec_ctx *ctx) in ec_mul2_448()
448 static void ec_pow2_448(MPI w, const MPI b, struct mpi_ec_ctx *ctx) in ec_pow2_448()
457 void (*addm)(MPI w, MPI u, MPI v, struct mpi_ec_ctx *ctx);
458 void (*subm)(MPI w, MPI u, MPI v, struct mpi_ec_ctx *ctx);
459 void (*mulm)(MPI w, MPI u, MPI v, struct mpi_ec_ctx *ctx);
460 void (*mul2)(MPI w, MPI u, struct mpi_ec_ctx *ctx);
461 void (*pow2)(MPI w, const MPI b, struct mpi_ec_ctx *ctx);
486 static void mpi_ec_get_reset(struct mpi_ec_ctx *ec) in mpi_ec_get_reset()
493 static int ec_get_a_is_pminus3(struct mpi_ec_ctx *ec) in ec_get_a_is_pminus3()
509 static MPI ec_get_two_inv_p(struct mpi_ec_ctx *ec) in ec_get_two_inv_p()
564 void mpi_ec_init(struct mpi_ec_ctx *ctx, enum gcry_mpi_ec_models model, in mpi_ec_init()
648 void mpi_ec_deinit(struct mpi_ec_ctx *ctx) in mpi_ec_deinit()
678 int mpi_ec_get_affine(MPI x, MPI y, MPI_POINT point, struct mpi_ec_ctx *ctx) in mpi_ec_get_affine()
754 MPI_POINT point, struct mpi_ec_ctx *ctx) in dup_point_weierstrass()
832 MPI_POINT point, struct mpi_ec_ctx *ctx) in dup_point_montgomery()
843 MPI_POINT point, struct mpi_ec_ctx *ctx) in dup_point_edwards()
915 mpi_ec_dup_point(MPI_POINT result, MPI_POINT point, struct mpi_ec_ctx *ctx) in mpi_ec_dup_point()
933 struct mpi_ec_ctx *ctx) in add_points_weierstrass()
1058 struct mpi_ec_ctx *ctx) in add_points_montgomery()
1071 struct mpi_ec_ctx *ctx) in add_points_edwards()
1165 struct mpi_ec_ctx *ctx) in montgomery_ladder()
1190 struct mpi_ec_ctx *ctx) in mpi_ec_add_points()
1212 struct mpi_ec_ctx *ctx) in mpi_ec_mul_point()
1398 int mpi_ec_curve_point(MPI_POINT point, struct mpi_ec_ctx *ctx) in mpi_ec_curve_point()