Prefer 'fixed-size' to 'known-size' in doc comments

Signed-off-by: Tom Cosgrove <tom.cosgrove@arm.com>
This commit is contained in:
Tom Cosgrove 2022-09-15 15:46:10 +01:00
parent c71ca0cb3c
commit 5c0e8104bc

View file

@ -156,7 +156,7 @@ int mbedtls_mpi_core_write_be( const mbedtls_mpi_uint *A,
size_t output_length ); size_t output_length );
/** /**
* \brief Conditional addition of two known-size large unsigned integers, * \brief Conditional addition of two fixed-size large unsigned integers,
* returning the carry. * returning the carry.
* *
* Functionally equivalent to * Functionally equivalent to
@ -189,7 +189,7 @@ mbedtls_mpi_uint mbedtls_mpi_core_add_if( mbedtls_mpi_uint *A,
unsigned cond ); unsigned cond );
/** /**
* \brief Subtract two known-size large unsigned integers, returning the borrow. * \brief Subtract two fixed-size large unsigned integers, returning the borrow.
* *
* Calculate `A - B` where \p A and \p B have the same size. * Calculate `A - B` where \p A and \p B have the same size.
* This function operates modulo `2^(biL*limbs)` and returns the carry * This function operates modulo `2^(biL*limbs)` and returns the carry
@ -212,7 +212,7 @@ mbedtls_mpi_uint mbedtls_mpi_core_sub( mbedtls_mpi_uint *X,
size_t limbs ); size_t limbs );
/** /**
* \brief Perform a known-size multiply accumulate operation: A += c * B * \brief Perform a fixed-size multiply accumulate operation: A += c * B
* *
* \param[in,out] A The pointer to the (little-endian) array * \param[in,out] A The pointer to the (little-endian) array
* representing the bignum to accumulate onto. * representing the bignum to accumulate onto.