Searched refs:MPI_POINT (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | mpi.h | 169 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); 257 void mpi_ec_add_points(MPI_POINT result, 258 MPI_POINT p1, MPI_POINT p2, 260 void mpi_ec_mul_point(MPI_POINT result, [all …]
|
/openbmc/linux/lib/crypto/mpi/ |
H A D | ec.c | 39 MPI_POINT p; in mpi_point_new() 81 static void point_set(MPI_POINT d, MPI_POINT s) in point_set() 103 static void point_swap_cond(MPI_POINT d, MPI_POINT s, unsigned long swap, in point_swap_cond() 918 mpi_ec_dup_point(MPI_POINT result, MPI_POINT point, struct mpi_ec_ctx *ctx) in mpi_ec_dup_point() 935 MPI_POINT p1, MPI_POINT p2, in add_points_weierstrass() 1060 MPI_POINT p1, MPI_POINT p2, in add_points_montgomery() 1073 MPI_POINT p1, MPI_POINT p2, in add_points_edwards() 1166 static void montgomery_ladder(MPI_POINT prd, MPI_POINT sum, in montgomery_ladder() 1167 MPI_POINT p1, MPI_POINT p2, MPI dif_x, in montgomery_ladder() 1192 MPI_POINT p1, MPI_POINT p2, in mpi_ec_add_points() [all …]
|
/openbmc/linux/crypto/ |
H A D | sm2.c | 139 static int sm2_ecc_os2ec(MPI_POINT result, MPI value) in sm2_ecc_os2ec() 250 MPI_POINT point, struct mpi_ec_ctx *ec, in sm2_z_digest_update_point()
|