commit | f8dbfd4f05d8dbcce97a26fe147bdc19aa72ae24 | [log] [tgz] |
---|---|---|
author | Janos Follath <janos.follath@arm.com> | Mon Oct 28 12:07:52 2019 +0000 |
committer | Simon Butcher <simon.butcher@arm.com> | Fri Mar 13 15:25:40 2020 +0000 |
tree | 143210bb6ed4fc8ea438f98ab853112923d8f6c0 | |
parent | eb8fcf8181b888a2bd6e5b5aa6732f1b5291d583 [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 */ }