Lines Matching refs:mbedtls_ecp_point

133     mbedtls_ecp_point R;    /* current intermediate result                  */
135 mbedtls_ecp_point *T; /* table for precomputed points */
187 mbedtls_ecp_point mP; /* mP value */
188 mbedtls_ecp_point R; /* R intermediate result */
504 void mbedtls_ecp_point_init( mbedtls_ecp_point *pt ) in mbedtls_ecp_point_init()
546 void mbedtls_ecp_point_free( mbedtls_ecp_point *pt ) in mbedtls_ecp_point_free()
613 int mbedtls_ecp_copy( mbedtls_ecp_point *P, const mbedtls_ecp_point *Q ) in mbedtls_ecp_copy()
635 int mbedtls_ecp_set_zero( mbedtls_ecp_point *pt ) in mbedtls_ecp_set_zero()
649 int mbedtls_ecp_is_zero( mbedtls_ecp_point *pt ) in mbedtls_ecp_is_zero()
657 int mbedtls_ecp_point_cmp( const mbedtls_ecp_point *P, in mbedtls_ecp_point_cmp()
658 const mbedtls_ecp_point *Q ) in mbedtls_ecp_point_cmp()
673 int mbedtls_ecp_point_read_string( mbedtls_ecp_point *P, int radix, in mbedtls_ecp_point_read_string()
689 const mbedtls_ecp_point *P, in mbedtls_ecp_point_write_binary()
761 mbedtls_ecp_point *pt, in mbedtls_ecp_point_read_binary()
822 mbedtls_ecp_point *pt, in mbedtls_ecp_tls_read_point()
852 int mbedtls_ecp_tls_write_point( const mbedtls_ecp_group *grp, const mbedtls_ecp_point *pt, in mbedtls_ecp_tls_write_point()
1206 static int ecp_normalize_jac( const mbedtls_ecp_group *grp, mbedtls_ecp_point *pt ) in ecp_normalize_jac()
1251 mbedtls_ecp_point *T[], size_t T_size ) in ecp_normalize_jac_many()
1349 mbedtls_ecp_point *Q, in ecp_safe_invert_jac()
1377 static int ecp_double_jac( const mbedtls_ecp_group *grp, mbedtls_ecp_point *R, in ecp_double_jac()
1378 const mbedtls_ecp_point *P, in ecp_double_jac()
1477 static int ecp_add_mixed( const mbedtls_ecp_group *grp, mbedtls_ecp_point *R, in ecp_add_mixed()
1478 const mbedtls_ecp_point *P, const mbedtls_ecp_point *Q, in ecp_add_mixed()
1574 static int ecp_randomize_jac( const mbedtls_ecp_group *grp, mbedtls_ecp_point *pt, in ecp_randomize_jac()
1740 mbedtls_ecp_point T[], const mbedtls_ecp_point *P, in ecp_precompute_comb()
1748 mbedtls_ecp_point *cur, *TT[COMB_MAX_PRE - 1] = {NULL}; in ecp_precompute_comb()
1894 static int ecp_select_comb( const mbedtls_ecp_group *grp, mbedtls_ecp_point *R, in ecp_select_comb()
1895 const mbedtls_ecp_point T[], unsigned char T_size, in ecp_select_comb()
1926 static int ecp_mul_comb_core( const mbedtls_ecp_group *grp, mbedtls_ecp_point *R, in ecp_mul_comb_core()
1927 const mbedtls_ecp_point T[], unsigned char T_size, in ecp_mul_comb_core()
1934 mbedtls_ecp_point Txi; in ecp_mul_comb_core()
2051 mbedtls_ecp_point *R, in ecp_mul_comb_after_precomp()
2053 const mbedtls_ecp_point *T, in ecp_mul_comb_after_precomp()
2064 mbedtls_ecp_point *RR = R; in ecp_mul_comb_after_precomp()
2169 static int ecp_mul_comb( mbedtls_ecp_group *grp, mbedtls_ecp_point *R, in ecp_mul_comb()
2170 const mbedtls_mpi *m, const mbedtls_ecp_point *P, in ecp_mul_comb()
2179 mbedtls_ecp_point *T = NULL; in ecp_mul_comb()
2220 T = mbedtls_calloc( T_size, sizeof( mbedtls_ecp_point ) ); in ecp_mul_comb()
2307 static int ecp_normalize_mxz( const mbedtls_ecp_group *grp, mbedtls_ecp_point *P ) in ecp_normalize_mxz()
2335 static int ecp_randomize_mxz( const mbedtls_ecp_group *grp, mbedtls_ecp_point *P, in ecp_randomize_mxz()
2381 mbedtls_ecp_point *R, mbedtls_ecp_point *S, in ecp_double_add_mxz()
2382 const mbedtls_ecp_point *P, const mbedtls_ecp_point *Q, in ecp_double_add_mxz()
2425 static int ecp_mul_mxz( mbedtls_ecp_group *grp, mbedtls_ecp_point *R, in ecp_mul_mxz()
2426 const mbedtls_mpi *m, const mbedtls_ecp_point *P, in ecp_mul_mxz()
2433 mbedtls_ecp_point RP; in ecp_mul_mxz()
2506 static int ecp_mul_restartable_internal( mbedtls_ecp_group *grp, mbedtls_ecp_point *R, in ecp_mul_restartable_internal()
2507 const mbedtls_mpi *m, const mbedtls_ecp_point *P, in ecp_mul_restartable_internal()
2572 int mbedtls_ecp_mul_restartable( mbedtls_ecp_group *grp, mbedtls_ecp_point *R, in mbedtls_ecp_mul_restartable()
2573 const mbedtls_mpi *m, const mbedtls_ecp_point *P, in mbedtls_ecp_mul_restartable()
2586 int mbedtls_ecp_mul( mbedtls_ecp_group *grp, mbedtls_ecp_point *R, in mbedtls_ecp_mul()
2587 const mbedtls_mpi *m, const mbedtls_ecp_point *P, in mbedtls_ecp_mul()
2598 static int ecp_check_pubkey_sw( const mbedtls_ecp_group *grp, const mbedtls_ecp_point *pt ) in ecp_check_pubkey_sw()
2649 mbedtls_ecp_point *R, in mbedtls_ecp_mul_shortcuts()
2651 const mbedtls_ecp_point *P, in mbedtls_ecp_mul_shortcuts()
2691 mbedtls_ecp_group *grp, mbedtls_ecp_point *R, in mbedtls_ecp_muladd_restartable()
2692 const mbedtls_mpi *m, const mbedtls_ecp_point *P, in mbedtls_ecp_muladd_restartable()
2693 const mbedtls_mpi *n, const mbedtls_ecp_point *Q, in mbedtls_ecp_muladd_restartable()
2697 mbedtls_ecp_point mP; in mbedtls_ecp_muladd_restartable()
2698 mbedtls_ecp_point *pmP = &mP; in mbedtls_ecp_muladd_restartable()
2699 mbedtls_ecp_point *pR = R; in mbedtls_ecp_muladd_restartable()
2785 int mbedtls_ecp_muladd( mbedtls_ecp_group *grp, mbedtls_ecp_point *R, in mbedtls_ecp_muladd()
2786 const mbedtls_mpi *m, const mbedtls_ecp_point *P, in mbedtls_ecp_muladd()
2787 const mbedtls_mpi *n, const mbedtls_ecp_point *Q ) in mbedtls_ecp_muladd()
2888 static int ecp_check_pubkey_mx( const mbedtls_ecp_group *grp, const mbedtls_ecp_point *pt ) in ecp_check_pubkey_mx()
2910 const mbedtls_ecp_point *pt ) in mbedtls_ecp_check_pubkey()
3039 const mbedtls_ecp_point *G, in mbedtls_ecp_gen_keypair_base()
3040 mbedtls_mpi *d, mbedtls_ecp_point *Q, in mbedtls_ecp_gen_keypair_base()
3056 mbedtls_mpi *d, mbedtls_ecp_point *Q, in mbedtls_ecp_gen_keypair()
3204 mbedtls_ecp_point Q; in mbedtls_ecp_check_pub_priv()
3243 mbedtls_mpi *d, mbedtls_ecp_point *Q) in mbedtls_ecp_export()
3323 mbedtls_ecp_point *R, in self_test_point()
3325 const mbedtls_ecp_point *P, in self_test_point()
3380 mbedtls_ecp_point R, P; in mbedtls_ecp_self_test()