commit | aac48d1b3d1ba06dfe9248f6238ba13b4fd40a9c | [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:32:12 2019 +0000 |
tree | 6cb522380a7174cf60ae8f0bb24768364b4c8fae | |
parent | e1bf02ae261f7143f7dee2fd9407aee0a72628bf [diff] |
Bignum: Document assumptions about the sign field
diff --git a/include/mbedtls/bignum.h b/include/mbedtls/bignum.h index 69dc0b0..22b3731 100644 --- a/include/mbedtls/bignum.h +++ b/include/mbedtls/bignum.h
@@ -184,7 +184,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 */ }