CryptoAuthLib
Atmel CryptoAuthentication Library
atcacert.h
Go to the documentation of this file.
1 
44 #ifndef ATCACERT_H
45 #define ATCACERT_H
46 
47 #include <stddef.h>
48 #include <stdint.h>
49 
57 #ifndef FALSE
58 #define FALSE (0)
59 #endif
60 #ifndef TRUE
61 #define TRUE (1)
62 #endif
63 
64 #define ATCACERT_E_SUCCESS 0
65 #define ATCACERT_E_ERROR 1
66 #define ATCACERT_E_BAD_PARAMS 2
67 #define ATCACERT_E_BUFFER_TOO_SMALL 3
68 #define ATCACERT_E_DECODING_ERROR 4
69 #define ATCACERT_E_INVALID_DATE 5
70 #define ATCACERT_E_UNIMPLEMENTED 6
71 #define ATCACERT_E_UNEXPECTED_ELEM_SIZE 7
72 #define ATCACERT_E_ELEM_MISSING 8
73 #define ATCACERT_E_ELEM_OUT_OF_BOUNDS 9
74 #define ATCACERT_E_BAD_CERT 10
75 #define ATCACERT_E_WRONG_CERT_DEF 11
76 #define ATCACERT_E_VERIFY_FAILED 12
77 
78 
79 #endif