mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-26 19:05:29 +00:00
Fix documentation for mbedtls_mps_[stored_]size_t
Signed-off-by: Hanno Becker <hanno.becker@arm.com>
This commit is contained in:
parent
46101c76f9
commit
4a079c5be7
|
@ -169,7 +169,7 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
typedef size_t mbedtls_mps_stored_size_t;
|
typedef size_t mbedtls_mps_stored_size_t;
|
||||||
#define MBEDTLS_MPS_SIZE_MAX ( (mbedtls_mps_size_t) -1 )
|
#define MBEDTLS_MPS_STORED_SIZE_MAX ( (mbedtls_mps_stored_size_t) -1 )
|
||||||
|
|
||||||
/** \brief The type of buffer sizes and offsets used in the MPS API
|
/** \brief The type of buffer sizes and offsets used in the MPS API
|
||||||
* and implementation.
|
* and implementation.
|
||||||
|
@ -183,8 +183,9 @@ typedef size_t mbedtls_mps_stored_size_t;
|
||||||
* so almost 10%.
|
* so almost 10%.
|
||||||
*/
|
*/
|
||||||
typedef size_t mbedtls_mps_size_t;
|
typedef size_t mbedtls_mps_size_t;
|
||||||
|
#define MBEDTLS_MPS_SIZE_MAX ( (mbedtls_mps_size_t) -1 )
|
||||||
|
|
||||||
#if (mbedtls_mps_size_t) -1 > (mbedtls_mps_stored_size_t) -1
|
#if MBEDTLS_MPS_STORED_SIZE_MAX > MBEDTLS_MPS_SIZE_MAX
|
||||||
#error "Misconfiguration of mbedtls_mps_size_t and mbedtls_mps_stored_size_t."
|
#error "Misconfiguration of mbedtls_mps_size_t and mbedtls_mps_stored_size_t."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue