ASN1 Error codes | |
These error codes are OR'ed to X509 error codes for higher error granularity. ASN1 is a standard to specify data structures.  | |
| #define | MBEDTLS_ERR_ASN1_OUT_OF_DATA -0x0060 | 
| #define | MBEDTLS_ERR_ASN1_UNEXPECTED_TAG -0x0062 | 
| #define | MBEDTLS_ERR_ASN1_INVALID_LENGTH -0x0064 | 
| #define | MBEDTLS_ERR_ASN1_LENGTH_MISMATCH -0x0066 | 
| #define | MBEDTLS_ERR_ASN1_INVALID_DATA -0x0068 | 
| #define | MBEDTLS_ERR_ASN1_ALLOC_FAILED -0x006A | 
| #define | MBEDTLS_ERR_ASN1_BUF_TOO_SMALL -0x006C | 
| #define MBEDTLS_ERR_ASN1_ALLOC_FAILED -0x006A | 
Memory allocation failed
| #define MBEDTLS_ERR_ASN1_BUF_TOO_SMALL -0x006C | 
Buffer too small when writing ASN.1 data structure.
| #define MBEDTLS_ERR_ASN1_INVALID_DATA -0x0068 | 
Data is invalid. (not used)
| #define MBEDTLS_ERR_ASN1_INVALID_LENGTH -0x0064 | 
Error when trying to determine the length or invalid length.
| #define MBEDTLS_ERR_ASN1_LENGTH_MISMATCH -0x0066 | 
Actual length differs from expected length.
| #define MBEDTLS_ERR_ASN1_OUT_OF_DATA -0x0060 | 
Out of data when parsing an ASN1 data structure.
| #define MBEDTLS_ERR_ASN1_UNEXPECTED_TAG -0x0062 | 
ASN1 tag was of an unexpected value.