Searched refs:ec_mulm (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.1/lib/mpi/ |
D | ec.c | 136 static void ec_mulm(MPI w, MPI u, MPI v, struct mpi_ec_ctx *ctx) in ec_mulm() function 164 ec_mulm(w, b, b, ctx); in ec_pow2() 612 ctx->mulm = ec_mulm; in mpi_ec_init() 691 ec_mulm(z2, z1, z1, ctx); /* z2 = z^(-2) mod p */ in mpi_ec_get_affine() 694 ec_mulm(x, point->x, z2, ctx); in mpi_ec_get_affine() 698 ec_mulm(z3, z2, z1, ctx); /* z3 = z^(-3) mod p */ in mpi_ec_get_affine() 699 ec_mulm(y, point->y, z3, ctx); in mpi_ec_get_affine() 779 ec_mulm(l1, l1, mpi_const(MPI_C_THREE), ctx); in dup_point_weierstrass() 781 ec_mulm(l1, l1, t2, ctx); in dup_point_weierstrass() 787 ec_mulm(l1, l1, mpi_const(MPI_C_THREE), ctx); in dup_point_weierstrass() [all …]
|