![]() |
Contiki-NG
|
COSE error implementation. More...
#include "cose-error.h"Go to the source code of this file.
Functions | |
| const char * | cose_error_string (cose_error_t error) |
| Get a human-readable error message for a COSE error. | |
COSE error implementation.
Definition in file cose-error.c.
| const char * cose_error_string | ( | cose_error_t | error | ) |
Get a human-readable error message for a COSE error.
| error | The COSE error code |
Definition at line 41 of file cose-error.c.
References COSE_ERR_BUFFER_OVERFLOW, COSE_ERR_BUFFER_TOO_SMALL, COSE_ERR_CBOR_DECODING, COSE_ERR_CBOR_ENCODING, COSE_ERR_CBOR_INVALID_TYPE, COSE_ERR_CBOR_MALFORMED, COSE_ERR_CRYPTO_AUTHENTICATION, COSE_ERR_CRYPTO_DECRYPT, COSE_ERR_CRYPTO_ENCRYPT, COSE_ERR_CRYPTO_INVALID_KEY, COSE_ERR_CRYPTO_KEYGEN, COSE_ERR_CRYPTO_SIGN, COSE_ERR_CRYPTO_VERIFY, COSE_ERR_INTERNAL_ERROR, COSE_ERR_INVALID_HEADER, COSE_ERR_INVALID_LENGTH, COSE_ERR_INVALID_PARAMETER, COSE_ERR_INVALID_STRUCTURE, COSE_ERR_MEMORY_ALLOCATION, COSE_ERR_MISSING_HEADER, COSE_ERR_MISSING_PAYLOAD, COSE_ERR_NOT_IMPLEMENTED, COSE_ERR_NULL_POINTER, COSE_ERR_UNKNOWN, and COSE_ERR_UNSUPPORTED_ALGORITHM.