From 7ab2d5daf5311d7e6e148fa6a465b2d09f3d1dd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Mon, 25 Nov 2013 16:16:33 +0100 Subject: [PATCH] Clarify comments of mpi_mul_int() --- include/polarssl/bignum.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/polarssl/bignum.h b/include/polarssl/bignum.h index afa9e61d8..d2363a606 100644 --- a/include/polarssl/bignum.h +++ b/include/polarssl/bignum.h @@ -506,8 +506,9 @@ int mpi_mul_mpi( mpi *X, const mpi *A, const mpi *B ); /** * \brief Baseline multiplication: X = A * b - * Note: b is an unsigned integer type, thus - * Negative values of b are ignored. + * Note: despite the functon signature, b is treated as a + * t_uint. Negative values of b are treated as large positive + * values. * * \param X Destination MPI * \param A Left-hand MPI