ProvisioningLibrary
Atmel Security Provisioning Library
atcaprov_return_codes.h
Go to the documentation of this file.
1 
42 #ifndef ATCAPROV_RETURN_CODES_H
43 #define ATCAPROV_RETURN_CODES_H
44 
45 #define ATCAPROV_E_NO_MORE_CERT_DATA 0x0201
46 #define ATCAPROV_E_BAD_REPLY 0x0202
47 
48 // These are return codes from bson response
49 #define ATCAPROV_E_GENERAL_FAILURE (0x00)
50 #define ATCAPROV_E_UNKNOWN_REQUEST (0x01)
51 #define ATCAPROV_E_MAC_FAILURE (0x02)
52 #define ATCAPROV_E_BAD_PARAMETER (0x03)
53 #define ATCAPROV_E_NO_SIGNER_AVAILABLE (0x04)
54 #define ATCAPROV_E_SIGNER_FAILURE (0x05)
55 #define ATCAPROV_E_BUFFER_TOO_SMALL (0x06)
56 #define ATCAPROV_E_VALIDATION_FAILED (0x07)
57 #define ATCAPROV_E_MAC_VERIFY_FAILED (0x08)
58 
59 #endif