/aosp_15_r20/external/mbedtls/library/ |
H A D | bignum.c | 120 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 D | ecp_curves_new.c | 4917 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 D | rsa.c | 989 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 D | bignum_mod.c | 106 if (mbedtls_mpi_grow(&N, limbs)) { in set_mont_const_square()
|
H A D | ecp_curves.c | 4876 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 D | bignum.c | 123 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 D | ecp_curves_new.c | 4910 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 D | bignum_mod.c | 106 if (mbedtls_mpi_grow(&N, limbs)) { in set_mont_const_square()
|
H A D | rsa.c | 1361 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 D | ecp_curves.c | 4869 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 D | test_suite_bignum_core.function | 877 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 D | test_suite_bignum.function | 436 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 D | test_suite_bignum_random.function | 391 TEST_EQUAL(0, mbedtls_mpi_grow(&result, nlimbs));
|
H A D | test_suite_bignum_mod_raw.function | 501 TEST_EQUAL(0, mbedtls_mpi_grow(&R2_mpi, N_limbs));
|
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/tests/suites/ |
H A D | test_suite_bignum_core.function | 877 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 D | test_suite_bignum.function | 456 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 D | test_suite_bignum_random.function | 391 TEST_EQUAL(0, mbedtls_mpi_grow(&result, nlimbs));
|
H A D | test_suite_bignum_mod_raw.function | 501 TEST_EQUAL(0, mbedtls_mpi_grow(&R2_mpi, N_limbs));
|
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/include/mbedtls/ |
H A D | bignum.h | 273 int mbedtls_mpi_grow(mbedtls_mpi *X, size_t nblimbs);
|
/aosp_15_r20/external/mbedtls/include/mbedtls/ |
H A D | bignum.h | 273 int mbedtls_mpi_grow(mbedtls_mpi *X, size_t nblimbs);
|