ProvisioningLibrary
Atmel Security Provisioning Library
atcaprov_return_codes.h File Reference

Return codes from the provisioning server. More...

Go to the source code of this file.

Macros

#define ATCAPROV_E_NO_MORE_CERT_DATA   0x0201
 Error code returned by atcaprov_get_next_cert_data, when there's no more data to return. More...
 
#define ATCAPROV_E_BAD_REPLY   0x0202
 Error code returned by atcaprov_get_next_cert_data, when the reply is malformed. More...
 
#define ATCAPROV_E_GENERAL_FAILURE   (0x00)
 
#define ATCAPROV_E_UNKNOWN_REQUEST   (0x01)
 
#define ATCAPROV_E_MAC_FAILURE   (0x02)
 
#define ATCAPROV_E_BAD_PARAMETER   (0x03)
 
#define ATCAPROV_E_NO_SIGNER_AVAILABLE   (0x04)
 
#define ATCAPROV_E_SIGNER_FAILURE   (0x05)
 
#define ATCAPROV_E_BUFFER_TOO_SMALL   (0x06)
 
#define ATCAPROV_E_VALIDATION_FAILED   (0x07)
 
#define ATCAPROV_E_MAC_VERIFY_FAILED   (0x08)
 

Detailed Description

Return codes from the provisioning server.

Macro Definition Documentation

#define ATCAPROV_E_BAD_PARAMETER   (0x03)
#define ATCAPROV_E_BAD_REPLY   0x0202

Error code returned by atcaprov_get_next_cert_data, when the reply is malformed.

#define ATCAPROV_E_BUFFER_TOO_SMALL   (0x06)
#define ATCAPROV_E_GENERAL_FAILURE   (0x00)
#define ATCAPROV_E_MAC_FAILURE   (0x02)
#define ATCAPROV_E_MAC_VERIFY_FAILED   (0x08)
#define ATCAPROV_E_NO_MORE_CERT_DATA   0x0201

Error code returned by atcaprov_get_next_cert_data, when there's no more data to return.

#define ATCAPROV_E_NO_SIGNER_AVAILABLE   (0x04)
#define ATCAPROV_E_SIGNER_FAILURE   (0x05)
#define ATCAPROV_E_UNKNOWN_REQUEST   (0x01)
#define ATCAPROV_E_VALIDATION_FAILED   (0x07)