Bignum: Document assumptions about the sign field

This commit is contained in:
Janos Follath 2019-10-28 12:07:52 +00:00
parent e1bf02ae26
commit aac48d1b3d

View File

@ -184,7 +184,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 */
}