commit | 71b9f8b697a288ef2c1a62b47b33499dcfe411e8 | [log] [tgz] |
---|---|---|
author | Eric Adamson <eadamson@fastmail.fm> | Sun Mar 22 21:33:15 2020 -0400 |
committer | Eric Adamson <eadamson@fastmail.fm> | Sun Mar 22 21:57:39 2020 -0400 |
tree | 116d1ba188fe8f07830ae62c60a952472d808b5e | |
parent | eeb91a600aec0fb3cf5d98f61d87e4edbe9493e1 [diff] |
Update comment in mpi_sub_hlp Signed-off-by: Eric Adamson <eadamson@fastmail.fm>
diff --git a/library/bignum.c b/library/bignum.c index 41daf57..c723d56 100644 --- a/library/bignum.c +++ b/library/bignum.c
@@ -1328,7 +1328,8 @@ } /* - * Helper for mbedtls_mpi subtraction + * Helper for mbedtls_mpi subtraction. + * This function assumes that X->n >= A->n. */ static void mpi_sub_hlp( const mbedtls_mpi *X, const mbedtls_mpi *A, const mbedtls_mpi *B ) {