mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-26 11:37:09 +00:00
Correct comment about mbedtls error codes
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
b567f8326d
commit
4837e9d1c0
@ -348,8 +348,8 @@ typedef struct {
|
|||||||
/* Error codes used by PSA crypto are in -255..-128, fitting in 16 bits. */
|
/* Error codes used by PSA crypto are in -255..-128, fitting in 16 bits. */
|
||||||
int16_t psa_status;
|
int16_t psa_status;
|
||||||
/* Error codes used by Mbed TLS are in one of the ranges
|
/* Error codes used by Mbed TLS are in one of the ranges
|
||||||
* -127..-1 (low-level) or (-128) * (128..511) (high-level),
|
* -127..-1 (low-level) or -32767..-4096 (high-level with a low-level
|
||||||
* fitting in 16 bits. */
|
* code optionally added), fitting in 16 bits. */
|
||||||
int16_t mbedtls_error;
|
int16_t mbedtls_error;
|
||||||
} mbedtls_error_pair_t;
|
} mbedtls_error_pair_t;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user