mbedtls/tests/suites/test_suite_error.data
Paul Bakker 9d781407bc - A error_strerror function() has been added to translate between error codes and their description.
- The error codes have been remapped and combining error codes is now done with a PLUS instead of an OR as error codes used are negative.
 - Descriptions to all error codes have been added.
 - Generation script for error.c has been created to automatically generate error.c from the available error definitions in the headers.
2011-05-09 16:17:09 +00:00

24 lines
755 B
Text

Single low error
depends_on:POLARSSL_ERROR_C:POLARSSL_AES_C
error_strerror:-0x0020:"AES - Invalid key length"
Single high error
depends_on:POLARSSL_ERROR_C:POLARSSL_RSA_C
error_strerror:-0x4080:"RSA - Bad input parameters to function"
Low and high error
depends_on:POLARSSL_ERROR_C:POLARSSL_AES_C:POLARSSL_RSA_C
error_strerror:-0x40A0:"RSA - Bad input parameters to function \: AES - Invalid key length"
Non existing high error
depends_on:POLARSSL_ERROR_C
error_strerror:-0x8880:"UNKNOWN ERROR CODE (8880)"
Non existing low error
depends_on:POLARSSL_ERROR_C
error_strerror:-0x0001:"UNKNOWN ERROR CODE (0001)"
Non existing low and high error
depends_on:POLARSSL_ERROR_C
error_strerror:-0x8881:"UNKNOWN ERROR CODE (8880) \: UNKNOWN ERROR CODE (0001)"