Searched refs:mbedtls_mpi_grow (Results 1 – 9 of 9) sorted by relevance
| /optee_os/lib/libmbedtls/mbedtls/library/ |
| H A D | bignum.c | 127 MBEDTLS_MPI_CHK(mbedtls_mpi_grow(X, Y->n)); in mbedtls_mpi_safe_cond_assign() 165 MBEDTLS_MPI_CHK(mbedtls_mpi_grow(X, Y->n)); in mbedtls_mpi_safe_cond_swap() 166 MBEDTLS_MPI_CHK(mbedtls_mpi_grow(Y, X->n)); in mbedtls_mpi_safe_cond_swap() 234 int mbedtls_mpi_grow(mbedtls_mpi *X, size_t nblimbs) in mbedtls_mpi_grow() function 289 return mbedtls_mpi_grow(X, nblimbs); in mbedtls_mpi_shrink() 346 return mbedtls_mpi_grow(X, limbs); in mbedtls_mpi_resize_clear() 385 MBEDTLS_MPI_CHK(mbedtls_mpi_grow(X, i)); in mbedtls_mpi_copy() 432 MBEDTLS_MPI_CHK(mbedtls_mpi_grow(X, 1)); in mbedtls_mpi_lset() 473 MBEDTLS_MPI_CHK(mbedtls_mpi_grow(X, off + 1)); in mbedtls_mpi_set_bit() 597 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 | 1364 MBEDTLS_MPI_CHK(mbedtls_mpi_grow(&M_T, tlimbs)); in rsa_unblind() 1366 MBEDTLS_MPI_CHK(mbedtls_mpi_grow(T, nlimbs)); in rsa_unblind() 1367 MBEDTLS_MPI_CHK(mbedtls_mpi_grow(Vf, nlimbs)); in rsa_unblind()
|
| H A D | ecp_curves.c | 4916 MBEDTLS_MPI_CHK(mbedtls_mpi_grow(N, 6 * WIDTH)); in ecp_mod_p192() 5007 MBEDTLS_MPI_CHK(mbedtls_mpi_grow(N, (b) * 2 / biL + 1)); \
|
| /optee_os/lib/libmbedtls/core/ |
| H A D | bignum.c | 82 if (mbedtls_mpi_grow(bn, BITS_TO_LIMBS(size_bits)) != 0) { in crypto_bignum_allocate()
|
| /optee_os/core/lib/libtomcrypt/ |
| H A D | mpi_desc.c | 533 if (mbedtls_mpi_grow(&T, (N->n + 1) * 2)) in montgomery_reduce() 544 if (mbedtls_mpi_grow(&A, N->n + 1)) in montgomery_reduce() 757 if (mbedtls_mpi_grow(bn, BITS_TO_LIMBS(size_bits))) { in crypto_bignum_allocate()
|
| /optee_os/lib/libmbedtls/mbedtls/include/mbedtls/ |
| H A D | bignum.h | 280 int mbedtls_mpi_grow(mbedtls_mpi *X, size_t nblimbs);
|
| /optee_os/lib/libutee/ |
| H A D | tee_api_arith_mpi.c | 112 MPI_CHECK(mbedtls_mpi_grow(mpi, n)); in get_mpi()
|