Bignum: Document assumptions about the sign field

This commit is contained in:
Janos Follath 2019-10-28 12:07:52 +00:00 committed by Simon Butcher
parent eb8fcf8181
commit f8dbfd4f05

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 */
}