commit | 9741fa6e2be24599f0c11c0dcd5a2eea5debcf83 | [log] [tgz] |
---|---|---|
author | Janos Follath <janos.follath@arm.com> | Mon Oct 28 12:07:52 2019 +0000 |
committer | Janos Follath <janos.follath@arm.com> | Mon Nov 11 12:27:36 2019 +0000 |
tree | 24c0a7ae973dc42124ec988bb0bfb8b883a45538 | |
parent | 9332ecefc8b63e7b8cdd0f6ba2cbf6b9aa50b2c9 [diff] [blame] |
Bignum: Document assumptions about the sign field
diff --git a/include/mbedtls/bignum.h b/include/mbedtls/bignum.h index 92ba386..8e44190 100644 --- a/include/mbedtls/bignum.h +++ b/include/mbedtls/bignum.h
@@ -179,7 +179,7 @@ */ typedef struct { - 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 */ }