commit | 1f32b5bea431e951da395e157245ab8741a7d40a | [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 04 10:39:20 2019 +0000 |
tree | f76d18d623626fb70d0440b637ffa918fe666776 | |
parent | 0ac9557c86f75a9594cb84ea04984c994aeb7a25 [diff] [blame] |
Bignum: Document assumptions about the sign field
diff --git a/include/mbedtls/bignum.h b/include/mbedtls/bignum.h index d4aedfc..1d00c56 100644 --- a/include/mbedtls/bignum.h +++ b/include/mbedtls/bignum.h
@@ -185,7 +185,7 @@ */ 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 */ }