CryptoAuthLib v3.7.8
Microchip CryptoAuthentication Library
 
Loading...
Searching...
No Matches
secure_boot.c File Reference

Provides required APIs to manage secure boot under various scenarios. More...

#include <string.h>
#include "secure_boot.h"
#include "io_protection_key.h"
#include "basic/atca_basic.h"

Functions

ATCA_STATUS secure_boot_process (void)
 Handles secure boot functionality through initialization, execution, and de-initialization.
 
ATCA_STATUS bind_host_and_secure_element_with_io_protection (uint16_t slot)
 Binds host MCU and Secure element with IO protection key.
 

Detailed Description

Provides required APIs to manage secure boot under various scenarios.

Function Documentation

◆ bind_host_and_secure_element_with_io_protection()

ATCA_STATUS bind_host_and_secure_element_with_io_protection ( uint16_t  slot)

Binds host MCU and Secure element with IO protection key.

Parameters
[in]slotThe slot number of IO protection Key.
Returns
ATCA_SUCCESS on success, otherwise an error code.

◆ secure_boot_process()

ATCA_STATUS secure_boot_process ( void  )

Handles secure boot functionality through initialization, execution, and de-initialization.

Returns
ATCA_SUCCESS on success, otherwise an error code.