CryptoAuthLib
Microchip CryptoAuthentication Library
|
Declarations common to all atcacert code. More...
#include <stddef.h>
#include <stdint.h>
Go to the source code of this file.
Macros | |
#define | FALSE (0) |
#define | TRUE (1) |
#define | ATCACERT_E_SUCCESS 0 |
Operation completed successfully. More... | |
#define | ATCACERT_E_ERROR 1 |
General error. More... | |
#define | ATCACERT_E_BAD_PARAMS 2 |
Invalid/bad parameter passed to function. More... | |
#define | ATCACERT_E_BUFFER_TOO_SMALL 3 |
Supplied buffer for output is too small to hold the result. More... | |
#define | ATCACERT_E_DECODING_ERROR 4 |
Data being decoded/parsed has an invalid format. More... | |
#define | ATCACERT_E_INVALID_DATE 5 |
Date is invalid. More... | |
#define | ATCACERT_E_UNIMPLEMENTED 6 |
Function is unimplemented for the current configuration. More... | |
#define | ATCACERT_E_UNEXPECTED_ELEM_SIZE 7 |
A certificate element size was not what was expected. More... | |
#define | ATCACERT_E_ELEM_MISSING 8 |
The certificate element isn't defined for the certificate definition. More... | |
#define | ATCACERT_E_ELEM_OUT_OF_BOUNDS 9 |
Certificate element is out of bounds for the given certificate. More... | |
#define | ATCACERT_E_BAD_CERT 10 |
Certificate structure is bad in some way. More... | |
#define | ATCACERT_E_WRONG_CERT_DEF 11 |
#define | ATCACERT_E_VERIFY_FAILED 12 |
Certificate or challenge/response verification failed. More... | |
Declarations common to all atcacert code.
These are common definitions used by all the atcacert code.