• Home
  • Raw
  • Download

Lines Matching refs:mbedtls_ecp_point

152     mbedtls_ecp_point R;    /* current intermediate result                  */
154 mbedtls_ecp_point *T; /* table for precomputed points */
206 mbedtls_ecp_point mP; /* mP value */
207 mbedtls_ecp_point R; /* R intermediate result */
514 void mbedtls_ecp_point_init( mbedtls_ecp_point *pt ) in mbedtls_ecp_point_init()
562 void mbedtls_ecp_point_free( mbedtls_ecp_point *pt ) in mbedtls_ecp_point_free()
629 int mbedtls_ecp_copy( mbedtls_ecp_point *P, const mbedtls_ecp_point *Q ) in mbedtls_ecp_copy()
657 int mbedtls_ecp_set_zero( mbedtls_ecp_point *pt ) in mbedtls_ecp_set_zero()
673 int mbedtls_ecp_is_zero( mbedtls_ecp_point *pt ) in mbedtls_ecp_is_zero()
683 int mbedtls_ecp_point_cmp( const mbedtls_ecp_point *P, in mbedtls_ecp_point_cmp()
684 const mbedtls_ecp_point *Q ) in mbedtls_ecp_point_cmp()
702 int mbedtls_ecp_point_read_string( mbedtls_ecp_point *P, int radix, in mbedtls_ecp_point_read_string()
722 const mbedtls_ecp_point *P, in mbedtls_ecp_point_write_binary()
797 mbedtls_ecp_point *pt, in mbedtls_ecp_point_read_binary()
862 mbedtls_ecp_point *pt, in mbedtls_ecp_tls_read_point()
897 int mbedtls_ecp_tls_write_point( const mbedtls_ecp_group *grp, const mbedtls_ecp_point *pt, in mbedtls_ecp_tls_write_point()
1170 static int ecp_normalize_jac( const mbedtls_ecp_group *grp, mbedtls_ecp_point *pt ) in ecp_normalize_jac()
1225 mbedtls_ecp_point *T[], size_t T_size ) in ecp_normalize_jac_many()
1317 mbedtls_ecp_point *Q, in ecp_safe_invert_jac()
1351 static int ecp_double_jac( const mbedtls_ecp_group *grp, mbedtls_ecp_point *R, in ecp_double_jac()
1352 const mbedtls_ecp_point *P ) in ecp_double_jac()
1451 static int ecp_add_mixed( const mbedtls_ecp_group *grp, mbedtls_ecp_point *R, in ecp_add_mixed()
1452 const mbedtls_ecp_point *P, const mbedtls_ecp_point *Q ) in ecp_add_mixed()
1543 static int ecp_randomize_jac( const mbedtls_ecp_group *grp, mbedtls_ecp_point *pt, in ecp_randomize_jac()
1707 mbedtls_ecp_point T[], const mbedtls_ecp_point *P, in ecp_precompute_comb()
1715 mbedtls_ecp_point *cur, *TT[COMB_MAX_PRE - 1]; in ecp_precompute_comb()
1843 static int ecp_select_comb( const mbedtls_ecp_group *grp, mbedtls_ecp_point *R, in ecp_select_comb()
1844 const mbedtls_ecp_point T[], unsigned char T_size, in ecp_select_comb()
1873 static int ecp_mul_comb_core( const mbedtls_ecp_group *grp, mbedtls_ecp_point *R, in ecp_mul_comb_core()
1874 const mbedtls_ecp_point T[], unsigned char T_size, in ecp_mul_comb_core()
1881 mbedtls_ecp_point Txi; in ecp_mul_comb_core()
1996 mbedtls_ecp_point *R, in ecp_mul_comb_after_precomp()
1998 const mbedtls_ecp_point *T, in ecp_mul_comb_after_precomp()
2009 mbedtls_ecp_point *RR = R; in ecp_mul_comb_after_precomp()
2114 static int ecp_mul_comb( mbedtls_ecp_group *grp, mbedtls_ecp_point *R, in ecp_mul_comb()
2115 const mbedtls_mpi *m, const mbedtls_ecp_point *P, in ecp_mul_comb()
2124 mbedtls_ecp_point *T = NULL; in ecp_mul_comb()
2165 T = mbedtls_calloc( T_size, sizeof( mbedtls_ecp_point ) ); in ecp_mul_comb()
2250 static int ecp_normalize_mxz( const mbedtls_ecp_group *grp, mbedtls_ecp_point *P ) in ecp_normalize_mxz()
2278 static int ecp_randomize_mxz( const mbedtls_ecp_group *grp, mbedtls_ecp_point *P, in ecp_randomize_mxz()
2324 mbedtls_ecp_point *R, mbedtls_ecp_point *S, in ecp_double_add_mxz()
2325 const mbedtls_ecp_point *P, const mbedtls_ecp_point *Q, in ecp_double_add_mxz()
2375 static int ecp_mul_mxz( mbedtls_ecp_group *grp, mbedtls_ecp_point *R, in ecp_mul_mxz()
2376 const mbedtls_mpi *m, const mbedtls_ecp_point *P, in ecp_mul_mxz()
2383 mbedtls_ecp_point RP; in ecp_mul_mxz()
2452 static int ecp_mul_restartable_internal( mbedtls_ecp_group *grp, mbedtls_ecp_point *R, in ecp_mul_restartable_internal()
2453 const mbedtls_mpi *m, const mbedtls_ecp_point *P, in ecp_mul_restartable_internal()
2516 int mbedtls_ecp_mul_restartable( mbedtls_ecp_group *grp, mbedtls_ecp_point *R, in mbedtls_ecp_mul_restartable()
2517 const mbedtls_mpi *m, const mbedtls_ecp_point *P, in mbedtls_ecp_mul_restartable()
2535 int mbedtls_ecp_mul( mbedtls_ecp_group *grp, mbedtls_ecp_point *R, in mbedtls_ecp_mul()
2536 const mbedtls_mpi *m, const mbedtls_ecp_point *P, in mbedtls_ecp_mul()
2551 static int ecp_check_pubkey_sw( const mbedtls_ecp_group *grp, const mbedtls_ecp_point *pt ) in ecp_check_pubkey_sw()
2602 mbedtls_ecp_point *R, in mbedtls_ecp_mul_shortcuts()
2604 const mbedtls_ecp_point *P, in mbedtls_ecp_mul_shortcuts()
2638 mbedtls_ecp_group *grp, mbedtls_ecp_point *R, in mbedtls_ecp_muladd_restartable()
2639 const mbedtls_mpi *m, const mbedtls_ecp_point *P, in mbedtls_ecp_muladd_restartable()
2640 const mbedtls_mpi *n, const mbedtls_ecp_point *Q, in mbedtls_ecp_muladd_restartable()
2644 mbedtls_ecp_point mP; in mbedtls_ecp_muladd_restartable()
2645 mbedtls_ecp_point *pmP = &mP; in mbedtls_ecp_muladd_restartable()
2646 mbedtls_ecp_point *pR = R; in mbedtls_ecp_muladd_restartable()
2734 int mbedtls_ecp_muladd( mbedtls_ecp_group *grp, mbedtls_ecp_point *R, in mbedtls_ecp_muladd()
2735 const mbedtls_mpi *m, const mbedtls_ecp_point *P, in mbedtls_ecp_muladd()
2736 const mbedtls_mpi *n, const mbedtls_ecp_point *Q ) in mbedtls_ecp_muladd()
2843 static int ecp_check_pubkey_mx( const mbedtls_ecp_group *grp, const mbedtls_ecp_point *pt ) in ecp_check_pubkey_mx()
2865 const mbedtls_ecp_point *pt ) in mbedtls_ecp_check_pubkey()
3004 const mbedtls_ecp_point *G, in mbedtls_ecp_gen_keypair_base()
3005 mbedtls_mpi *d, mbedtls_ecp_point *Q, in mbedtls_ecp_gen_keypair_base()
3027 mbedtls_mpi *d, mbedtls_ecp_point *Q, in mbedtls_ecp_gen_keypair()
3189 mbedtls_ecp_point Q; in mbedtls_ecp_check_pub_priv()
3291 mbedtls_ecp_point *R, in self_test_point()
3293 const mbedtls_ecp_point *P, in self_test_point()
3348 mbedtls_ecp_point R, P; in mbedtls_ecp_self_test()