Bignum: Document assumptions about the sign field

This commit is contained in:
Janos Follath 2019-10-28 12:07:52 +00:00
parent 0ac9557c86
commit 1f32b5bea4

View File

@ -185,7 +185,7 @@ extern "C" {
*/
typedef struct mbedtls_mpi
{
int s; /*!< integer sign */
int s; /*!< Sign: -1 if the mpi is negative, 1 otherwise */
size_t n; /*!< total # of limbs */
mbedtls_mpi_uint *p; /*!< pointer to limbs */
}