mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-29 11:41:15 +03:00
Reword bignum sizes section
Signed-off-by: Werner Lewis <werner.lewis@arm.com>
This commit is contained in:
@ -26,13 +26,11 @@
|
||||
* parameter is ignored and the final content is unspecified.
|
||||
* - Some functions use different names, such as \p R for the residue.
|
||||
* - **Bignum sizes**: bignum sizes are always expressed in limbs. Both
|
||||
* #mbedtls_mpi_mod_modulus and #mbedtls_mpi_mod_residue have a \p limbs
|
||||
* member storing its size. Functions which take a limb array parameter
|
||||
* must also take an associated \p limbs parameter specifying its size.
|
||||
* All bignum sizes must be at least 1 and be significantly less than
|
||||
* #SIZE_MAX. The behavior if a size is 0 may be undefined or an error
|
||||
* may be returned. All bignum parameters must have the same size unless
|
||||
* otherwise specified.
|
||||
* #mbedtls_mpi_mod_modulus and #mbedtls_mpi_mod_residue have a \c limbs
|
||||
* member storing its size. All bignum parameters must have the same
|
||||
* number of limbs as the modulus. All bignum sizes must be at least 1 and
|
||||
* must be significantly less than #SIZE_MAX. The behavior if a size is 0 is
|
||||
* undefined.
|
||||
* - **Bignum representation**: the representation of inputs and outputs is
|
||||
* specified by the \p int_rep field of the modulus.
|
||||
* - **Parameter ordering**: for bignum parameters, outputs come before inputs.
|
||||
|
Reference in New Issue
Block a user