CryptoAuthLib
Microchip CryptoAuthentication Library
atcacert.h
Go to the documentation of this file.
1 
30 #ifndef ATCACERT_H
31 #define ATCACERT_H
32 
33 #include <stddef.h>
34 #include <stdint.h>
35 
43 #ifndef FALSE
44 #define FALSE (0)
45 #endif
46 #ifndef TRUE
47 #define TRUE (1)
48 #endif
49 
50 #define ATCACERT_E_SUCCESS 0
51 #define ATCACERT_E_ERROR 1
52 #define ATCACERT_E_BAD_PARAMS 2
53 #define ATCACERT_E_BUFFER_TOO_SMALL 3
54 #define ATCACERT_E_DECODING_ERROR 4
55 #define ATCACERT_E_INVALID_DATE 5
56 #define ATCACERT_E_UNIMPLEMENTED 6
57 #define ATCACERT_E_UNEXPECTED_ELEM_SIZE 7
58 #define ATCACERT_E_ELEM_MISSING 8
59 #define ATCACERT_E_ELEM_OUT_OF_BOUNDS 9
60 #define ATCACERT_E_BAD_CERT 10
61 #define ATCACERT_E_WRONG_CERT_DEF 11
62 #define ATCACERT_E_VERIFY_FAILED 12
63 
64 
65 #endif