Lines Matching refs:T_size
135 unsigned char T_size; /* number of points in table T */ member
155 ctx->T_size = 0; in ecp_restart_rsm_init()
173 for (i = 0; i < ctx->T_size; i++) { in ecp_restart_rsm_free()
533 grp->T_size = 0; in mbedtls_ecp_group_init()
566 return grp->T != NULL && grp->T_size == 0; in ecp_group_is_static_comb_table()
591 for (i = 0; i < grp->T_size; i++) { in mbedtls_ecp_group_free()
1369 mbedtls_ecp_point *T[], size_t T_size) in ecp_normalize_jac_many() argument
1371 if (T_size < 2) { in ecp_normalize_jac_many()
1377 return mbedtls_internal_ecp_normalize_jac_many(grp, T, T_size); in ecp_normalize_jac_many()
1388 if ((c = mbedtls_calloc(T_size, sizeof(mbedtls_mpi))) == NULL) { in ecp_normalize_jac_many()
1394 mpi_init_many(c, T_size); in ecp_normalize_jac_many()
1399 for (i = 1; i < T_size; i++) { in ecp_normalize_jac_many()
1406 MPI_ECP_INV(&c[T_size-1], &c[T_size-1]); in ecp_normalize_jac_many()
1408 for (i = T_size - 1;; i--) { in ecp_normalize_jac_many()
1454 mpi_free_many(c, T_size); in ecp_normalize_jac_many()
1865 const unsigned char T_size = 1U << (w - 1); in ecp_precompute_comb() local
1942 for (i = 1; i < T_size; i <<= 1) { in ecp_precompute_comb()
1961 MBEDTLS_ECP_BUDGET((T_size - 1) * MBEDTLS_ECP_OPS_ADD); in ecp_precompute_comb()
1963 for (i = 1; i < T_size; i <<= 1) { in ecp_precompute_comb()
1982 for (j = 0; j + 1 < T_size; j++) { in ecp_precompute_comb()
1995 for (i = 0; i < T_size; i++) { in ecp_precompute_comb()
2021 const mbedtls_ecp_point T[], unsigned char T_size, in ecp_select_comb() argument
2031 for (j = 0; j < T_size; j++) { in ecp_select_comb()
2052 const mbedtls_ecp_point T[], unsigned char T_size, in ecp_mul_comb_core() argument
2086 MBEDTLS_MPI_CHK(ecp_select_comb(grp, R, T, T_size, x[i])); in ecp_mul_comb_core()
2097 MBEDTLS_MPI_CHK(ecp_select_comb(grp, &Txi, T, T_size, x[i])); in ecp_mul_comb_core()
2176 unsigned char T_size, in ecp_mul_comb_after_precomp() argument
2200 MBEDTLS_MPI_CHK(ecp_mul_comb_core(grp, RR, T, T_size, k, d, in ecp_mul_comb_after_precomp()
2306 unsigned char T_size = 0, T_ok = 0; in ecp_mul_comb() local
2321 T_size = 1U << (w - 1); in ecp_mul_comb()
2336 rs_ctx->rsm->T_size = 0; in ecp_mul_comb()
2344 T = mbedtls_calloc(T_size, sizeof(mbedtls_ecp_point)); in ecp_mul_comb()
2350 for (i = 0; i < T_size; i++) { in ecp_mul_comb()
2365 grp->T_size = T_size; in ecp_mul_comb()
2371 T, T_size, w, d, in ecp_mul_comb()
2385 rs_ctx->rsm->T_size = T_size; in ecp_mul_comb()
2393 for (i = 0; i < T_size; i++) { in ecp_mul_comb()