Home
last modified time | relevance | path

Searched refs:MPI_POINT (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/include/linux/
Dmpi.h169 typedef struct gcry_mpi_point *MPI_POINT; typedef
208 MPI_POINT G; /* Base point (generator). */
213 MPI_POINT Q; /* Public key. */
252 MPI_POINT mpi_point_new(unsigned int nbits);
253 void mpi_point_release(MPI_POINT p);
254 void mpi_point_init(MPI_POINT p);
255 void mpi_point_free_parts(MPI_POINT p);
256 int mpi_ec_get_affine(MPI x, MPI y, MPI_POINT point, struct mpi_ec_ctx *ctx);
257 void mpi_ec_add_points(MPI_POINT result,
258 MPI_POINT p1, MPI_POINT p2,
[all …]
/linux-6.1.9/lib/mpi/
Dec.c37 MPI_POINT mpi_point_new(unsigned int nbits) in mpi_point_new()
39 MPI_POINT p; in mpi_point_new()
51 void mpi_point_release(MPI_POINT p) in mpi_point_release()
63 void mpi_point_init(MPI_POINT p) in mpi_point_init()
72 void mpi_point_free_parts(MPI_POINT p) in mpi_point_free_parts()
81 static void point_set(MPI_POINT d, MPI_POINT s) in point_set()
88 static void point_resize(MPI_POINT p, struct mpi_ec_ctx *ctx) in point_resize()
103 static void point_swap_cond(MPI_POINT d, MPI_POINT s, unsigned long swap, in point_swap_cond()
678 int mpi_ec_get_affine(MPI x, MPI y, MPI_POINT point, struct mpi_ec_ctx *ctx) in mpi_ec_get_affine()
753 static void dup_point_weierstrass(MPI_POINT result, in dup_point_weierstrass()
[all …]
/linux-6.1.9/crypto/
Dsm2.c133 static int sm2_ecc_os2ec(MPI_POINT result, MPI value) in sm2_ecc_os2ec()
243 MPI_POINT point, struct mpi_ec_ctx *ec, unsigned int pbytes) in sm2_z_digest_update_point()