Function esp_idf_svc::hal::sys::mbedtls_mpi_mul_int
source ยท pub unsafe extern "C" fn mbedtls_mpi_mul_int(
X: *mut mbedtls_mpi,
A: *const mbedtls_mpi,
b: u32,
) -> i32
Expand description
\brief Perform a multiplication of an MPI with an unsigned integer: X = A * b
\param X The destination MPI. This must point to an initialized MPI. \param A The first factor. This must point to an initialized MPI. \param b The second factor.
\return \c 0 if successful. \return #MBEDTLS_ERR_MPI_ALLOC_FAILED if a memory allocation failed. \return Another negative error code on different kinds of failure.