Error codes used by MPS.
More...
Go to the source code of this file.
◆ MBEDTLS_ERR_MPS_INTERNAL_ERROR
◆ MBEDTLS_ERR_MPS_OPERATION_UNEXPECTED
◆ MBEDTLS_ERR_MPS_READER_ACCUMULATOR_TOO_SMALL
An attempt to reclaim the data buffer from a reader failed because the accumulator passed to the reader is not large enough to hold both the data that hasn't been processed and the excess of the last read-request.
◆ MBEDTLS_ERR_MPS_READER_DATA_LEFT
An attempt to reclaim the data buffer from a reader failed because the user hasn't yet read and committed all of it.
◆ MBEDTLS_ERR_MPS_READER_INCONSISTENT_REQUESTS
◆ MBEDTLS_ERR_MPS_READER_INVALID_ARG
An invalid argument was passed to the reader.
◆ MBEDTLS_ERR_MPS_READER_NEED_ACCUMULATOR
An attempt to reclaim the data buffer from a reader failed because the reader has no accumulator it can use to backup the data that hasn't been processed.
◆ MBEDTLS_ERR_MPS_READER_NEED_MORE
An attempt to move a reader to consuming mode through mbedtls_mps_reader_feed() after pausing failed because the provided data is not sufficient to serve the read requests that led to the pausing.
◆ MBEDTLS_ERR_MPS_READER_OUT_OF_DATA
A get request failed because not enough data is available in the reader. A get request after pausing and reactivating the reader failed because the request is not in line with the request made prior to pausing. The user must not change it's 'strategy' after pausing and reactivating a reader.
◆ MBEDTLS_MPS_ERR_BASE
| #define MBEDTLS_MPS_ERR_BASE (0) |
◆ MBEDTLS_MPS_MAKE_ERROR
◆ MBEDTLS_MPS_READER_ERR_BASE
| #define MBEDTLS_MPS_READER_ERR_BASE (1 << 8) |
◆ MBEDTLS_MPS_READER_MAKE_ERROR