Home
last modified time | relevance | path

Searched refs:mbedtls_mpi_grow (Results 1 – 20 of 20) sorted by relevance

/aosp_15_r20/external/mbedtls/library/
H A Dbignum.c120 MBEDTLS_MPI_CHK(mbedtls_mpi_grow(X, Y->n)); in mbedtls_mpi_safe_cond_assign()
160 MBEDTLS_MPI_CHK(mbedtls_mpi_grow(X, Y->n)); in mbedtls_mpi_safe_cond_swap()
161 MBEDTLS_MPI_CHK(mbedtls_mpi_grow(Y, X->n)); in mbedtls_mpi_safe_cond_swap()
209 int mbedtls_mpi_grow(mbedtls_mpi *X, size_t nblimbs) in mbedtls_mpi_grow() function
253 return mbedtls_mpi_grow(X, nblimbs); in mbedtls_mpi_shrink()
297 return mbedtls_mpi_grow(X, limbs); in mbedtls_mpi_resize_clear()
339 MBEDTLS_MPI_CHK(mbedtls_mpi_grow(X, i)); in mbedtls_mpi_copy()
389 MBEDTLS_MPI_CHK(mbedtls_mpi_grow(X, 1)); in mbedtls_mpi_lset()
433 MBEDTLS_MPI_CHK(mbedtls_mpi_grow(X, off + 1)); in mbedtls_mpi_set_bit()
560 MBEDTLS_MPI_CHK(mbedtls_mpi_grow(X, n)); in mbedtls_mpi_read_string()
[all …]
H A Decp_curves_new.c4917 MBEDTLS_MPI_CHK(mbedtls_mpi_grow(N, expected_width)); in ecp_mod_p192()
5077 MBEDTLS_MPI_CHK(mbedtls_mpi_grow(N, expected_width)); in ecp_mod_p224()
5130 MBEDTLS_MPI_CHK(mbedtls_mpi_grow(N, expected_width)); in ecp_mod_p256()
5210 MBEDTLS_MPI_CHK(mbedtls_mpi_grow(N, expected_width)); in ecp_mod_p384()
5332 MBEDTLS_MPI_CHK(mbedtls_mpi_grow(N, expected_width)); in ecp_mod_p521()
5418 MBEDTLS_MPI_CHK(mbedtls_mpi_grow(N, expected_width)); in ecp_mod_p255()
5491 MBEDTLS_MPI_CHK(mbedtls_mpi_grow(N, expected_width)); in ecp_mod_p448()
5729 MBEDTLS_MPI_CHK(mbedtls_mpi_grow(N, expected_width)); in ecp_mod_p192k1()
5763 MBEDTLS_MPI_CHK(mbedtls_mpi_grow(N, expected_width)); in ecp_mod_p224k1()
5797 MBEDTLS_MPI_CHK(mbedtls_mpi_grow(N, expected_width)); in ecp_mod_p256k1()
H A Drsa.c989 MBEDTLS_MPI_CHK(mbedtls_mpi_grow(&M_T, tlimbs)); in rsa_unblind()
991 MBEDTLS_MPI_CHK(mbedtls_mpi_grow(T, nlimbs)); in rsa_unblind()
992 MBEDTLS_MPI_CHK(mbedtls_mpi_grow(Vf, nlimbs)); in rsa_unblind()
H A Dbignum_mod.c106 if (mbedtls_mpi_grow(&N, limbs)) { in set_mont_const_square()
H A Decp_curves.c4876 MBEDTLS_MPI_CHK(mbedtls_mpi_grow(N, 6 * WIDTH)); in ecp_mod_p192()
4967 MBEDTLS_MPI_CHK(mbedtls_mpi_grow(N, (b) * 2 / biL + 1)); \
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/library/
H A Dbignum.c123 MBEDTLS_MPI_CHK(mbedtls_mpi_grow(X, Y->n)); in mbedtls_mpi_safe_cond_assign()
161 MBEDTLS_MPI_CHK(mbedtls_mpi_grow(X, Y->n)); in mbedtls_mpi_safe_cond_swap()
162 MBEDTLS_MPI_CHK(mbedtls_mpi_grow(Y, X->n)); in mbedtls_mpi_safe_cond_swap()
208 int mbedtls_mpi_grow(mbedtls_mpi *X, size_t nblimbs) in mbedtls_mpi_grow() function
250 return mbedtls_mpi_grow(X, nblimbs); in mbedtls_mpi_shrink()
294 return mbedtls_mpi_grow(X, limbs); in mbedtls_mpi_resize_clear()
333 MBEDTLS_MPI_CHK(mbedtls_mpi_grow(X, i)); in mbedtls_mpi_copy()
380 MBEDTLS_MPI_CHK(mbedtls_mpi_grow(X, 1)); in mbedtls_mpi_lset()
421 MBEDTLS_MPI_CHK(mbedtls_mpi_grow(X, off + 1)); in mbedtls_mpi_set_bit()
545 MBEDTLS_MPI_CHK(mbedtls_mpi_grow(X, n)); in mbedtls_mpi_read_string()
[all …]
H A Decp_curves_new.c4910 MBEDTLS_MPI_CHK(mbedtls_mpi_grow(N, expected_width)); in ecp_mod_p192()
5070 MBEDTLS_MPI_CHK(mbedtls_mpi_grow(N, expected_width)); in ecp_mod_p224()
5123 MBEDTLS_MPI_CHK(mbedtls_mpi_grow(N, expected_width)); in ecp_mod_p256()
5203 MBEDTLS_MPI_CHK(mbedtls_mpi_grow(N, expected_width)); in ecp_mod_p384()
5325 MBEDTLS_MPI_CHK(mbedtls_mpi_grow(N, expected_width)); in ecp_mod_p521()
5411 MBEDTLS_MPI_CHK(mbedtls_mpi_grow(N, expected_width)); in ecp_mod_p255()
5484 MBEDTLS_MPI_CHK(mbedtls_mpi_grow(N, expected_width)); in ecp_mod_p448()
5722 MBEDTLS_MPI_CHK(mbedtls_mpi_grow(N, expected_width)); in ecp_mod_p192k1()
5756 MBEDTLS_MPI_CHK(mbedtls_mpi_grow(N, expected_width)); in ecp_mod_p224k1()
5790 MBEDTLS_MPI_CHK(mbedtls_mpi_grow(N, expected_width)); in ecp_mod_p256k1()
H A Dbignum_mod.c106 if (mbedtls_mpi_grow(&N, limbs)) { in set_mont_const_square()
H A Drsa.c1361 MBEDTLS_MPI_CHK(mbedtls_mpi_grow(&M_T, tlimbs)); in rsa_unblind()
1363 MBEDTLS_MPI_CHK(mbedtls_mpi_grow(T, nlimbs)); in rsa_unblind()
1364 MBEDTLS_MPI_CHK(mbedtls_mpi_grow(Vf, nlimbs)); in rsa_unblind()
H A Decp_curves.c4869 MBEDTLS_MPI_CHK(mbedtls_mpi_grow(N, 6 * WIDTH)); in ecp_mod_p192()
4960 MBEDTLS_MPI_CHK(mbedtls_mpi_grow(N, (b) * 2 / biL + 1)); \
/aosp_15_r20/external/mbedtls/tests/suites/
H A Dtest_suite_bignum_core.function877 TEST_EQUAL(0, mbedtls_mpi_grow(&A, limbs_AN));
878 TEST_EQUAL(0, mbedtls_mpi_grow(&N, limbs_AN));
879 TEST_EQUAL(0, mbedtls_mpi_grow(X, limbs_AN));
880 TEST_EQUAL(0, mbedtls_mpi_grow(&B, limbs_B));
884 TEST_EQUAL(0, mbedtls_mpi_grow(&T, working_limbs));
889 … TEST_EQUAL(0, mbedtls_mpi_grow(&R, limbs_AN)); /* ensure it's got the right number of limbs */
1203 TEST_EQUAL(0, mbedtls_mpi_grow(&N_mpi, N_limbs));
1208 TEST_EQUAL(0, mbedtls_mpi_grow(&R2_mpi, N_limbs));
H A Dtest_suite_bignum.function436 TEST_ASSERT(mbedtls_mpi_grow(&X, size_X) == 0);
437 TEST_ASSERT(mbedtls_mpi_grow(&Y, size_Y) == 0);
594 TEST_ASSERT(mbedtls_mpi_grow(&X, before) == 0);
H A Dtest_suite_bignum_random.function391 TEST_EQUAL(0, mbedtls_mpi_grow(&result, nlimbs));
H A Dtest_suite_bignum_mod_raw.function501 TEST_EQUAL(0, mbedtls_mpi_grow(&R2_mpi, N_limbs));
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/tests/suites/
H A Dtest_suite_bignum_core.function877 TEST_EQUAL(0, mbedtls_mpi_grow(&A, limbs_AN));
878 TEST_EQUAL(0, mbedtls_mpi_grow(&N, limbs_AN));
879 TEST_EQUAL(0, mbedtls_mpi_grow(X, limbs_AN));
880 TEST_EQUAL(0, mbedtls_mpi_grow(&B, limbs_B));
884 TEST_EQUAL(0, mbedtls_mpi_grow(&T, working_limbs));
889 … TEST_EQUAL(0, mbedtls_mpi_grow(&R, limbs_AN)); /* ensure it's got the right number of limbs */
1203 TEST_EQUAL(0, mbedtls_mpi_grow(&N_mpi, N_limbs));
1208 TEST_EQUAL(0, mbedtls_mpi_grow(&R2_mpi, N_limbs));
H A Dtest_suite_bignum.function456 TEST_ASSERT(mbedtls_mpi_grow(&X, size_X) == 0);
457 TEST_ASSERT(mbedtls_mpi_grow(&Y, size_Y) == 0);
614 TEST_ASSERT(mbedtls_mpi_grow(&X, before) == 0);
H A Dtest_suite_bignum_random.function391 TEST_EQUAL(0, mbedtls_mpi_grow(&result, nlimbs));
H A Dtest_suite_bignum_mod_raw.function501 TEST_EQUAL(0, mbedtls_mpi_grow(&R2_mpi, N_limbs));
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/include/mbedtls/
H A Dbignum.h273 int mbedtls_mpi_grow(mbedtls_mpi *X, size_t nblimbs);
/aosp_15_r20/external/mbedtls/include/mbedtls/
H A Dbignum.h273 int mbedtls_mpi_grow(mbedtls_mpi *X, size_t nblimbs);