ProvisioningLibrary
Atmel Security Provisioning Library
|
Implements the main provisioning flow. More...
#include "atcaprov.h"
#include "atcaprov_request.h"
#include "atcaprov_user_funcs.h"
#include "cryptoauthlib.h"
Functions | |
int | atcaprov_provision (const atcaprov_options_t *options, atcaprov_data_t *data, void *user_data) |
This is the main provisioning function that should be called to start the provisioning process. More... | |
Implements the main provisioning flow.
The ATCAPROV_CERT_VALIDATION symbol needs to be defined when compiling if certificate validation is required.
int atcaprov_provision | ( | const atcaprov_options_t * | options, |
atcaprov_data_t * | data, | ||
void * | user_data | ||
) |
This is the main provisioning function that should be called to start the provisioning process.
[in] | options | Options controlling the provisioning process. See atcaprov_options_s for details. |
[in,out] | data | Data buffers for returned data. See atcaprov_data_s for details. |
[in] | user_data | This pointer will be passed to all the callback functions for use by the user. Set to NULL if not needed. |