CryptoAuthLib
Microchip CryptoAuthentication Library
|
Provides required APIs to manage secure boot under various scenarios. More...
#include "atca_status.h"
#include "secure_boot_memory.h"
#include "atca_command.h"
#include "crypto\atca_crypto_sw_sha2.h"
#include "host/atca_host.h"
Go to the source code of this file.
Data Structures | |
struct | secure_boot_config_bits |
struct | secure_boot_parameters |
Macros | |
#define | SECURE_BOOT_CONFIG_DISABLE 0 |
#define | SECURE_BOOT_CONFIG_FULL_BOTH 1 |
#define | SECURE_BOOT_CONFIG_FULL_SIGN 2 |
#define | SECURE_BOOT_CONFIG_FULL_DIG 3 |
#define | SECURE_BOOT_CONFIGURATION SECURE_BOOT_CONFIG_FULL_DIG |
#define | SECURE_BOOT_DIGEST_ENCRYPT_ENABLED true |
#define | SECURE_BOOT_UPGRADE_SUPPORT true |
Functions | |
ATCA_STATUS | secure_boot_process (void) |
Handles secure boot functionality through initialization, execution, and de-initialization. More... | |
ATCA_STATUS | bind_host_and_secure_element_with_io_protection (uint16_t slot) |
Binds host MCU and Secure element with IO protection key. More... | |
ATCA_STATUS | host_generate_random_number (uint8_t *rand) |
Provides required APIs to manage secure boot under various scenarios.
#define SECURE_BOOT_CONFIG_DISABLE 0 |
#define SECURE_BOOT_CONFIG_FULL_BOTH 1 |
#define SECURE_BOOT_CONFIG_FULL_DIG 3 |
#define SECURE_BOOT_CONFIG_FULL_SIGN 2 |
#define SECURE_BOOT_CONFIGURATION SECURE_BOOT_CONFIG_FULL_DIG |
#define SECURE_BOOT_DIGEST_ENCRYPT_ENABLED true |
#define SECURE_BOOT_UPGRADE_SUPPORT true |
ATCA_STATUS bind_host_and_secure_element_with_io_protection | ( | uint16_t | slot | ) |
Binds host MCU and Secure element with IO protection key.
[in] | slot | The slot number of IO protection Key. |
ATCA_STATUS host_generate_random_number | ( | uint8_t * | rand | ) |
ATCA_STATUS secure_boot_process | ( | void | ) |
Handles secure boot functionality through initialization, execution, and de-initialization.