Clarify output requirements

Signed-off-by: Werner Lewis <werner.lewis@arm.com>
This commit is contained in:
Werner Lewis 2022-12-14 15:24:46 +00:00
parent eac8be76d6
commit 945a165a3c

View File

@ -18,8 +18,8 @@
* - Bignum parameters called \p A, \p B, ... are inputs and are not * - Bignum parameters called \p A, \p B, ... are inputs and are not
* modified by the function. * modified by the function.
* - Bignum parameters called \p X, \p Y, ... are outputs or input-output. * - Bignum parameters called \p X, \p Y, ... are outputs or input-output.
* The initial content of output-only parameters is ignored. These will * The initial bignum value of output-only parameters is ignored, but
* have the type #mbedtls_mpi_mod_residue. * they must be set up and associated with the modulus \p N.
* - Bignum parameters called \p P are inputs used to setup a modulus or * - Bignum parameters called \p P are inputs used to setup a modulus or
* residue. These must be pointers to an array of limbs. * residue. These must be pointers to an array of limbs.
* - \p T is a temporary storage area. The initial content of such * - \p T is a temporary storage area. The initial content of such