mbedtls_mpi_add_abs() function
Perform an unsigned addition of MPIs: X = |A| + |B|
Arguments
X
The destination MPI. This must point to an initialized MPI.
A
The first summand. This must point to an initialized MPI.
B
The second summand. This must point to an initialized MPI.
Return value
\c 0 if successful. #MBEDTLS_ERR_MPI_ALLOC_FAILED if a memory allocation failed. Another negative error code on different kinds of failure.
Functions calling mbedtls_mpi_add_abs()
Functions called by mbedtls_mpi_add_abs()
mbedtls_mpi_add_abs()
Data read by mbedtls_mpi_add_abs()
Data written by mbedtls_mpi_add_abs()
mbedtls_mpi_add_abs()
Type of mbedtls_mpi_add_abs()
mbedtls_mpi_add_abs()
size_t all items filtered out