6#ifndef ZEPHYR_INCLUDE_ZEPHYR_DRIVERS_FIRMWARE_NRF_IRONSIDE_UPDATE_H_
7#define ZEPHYR_INCLUDE_ZEPHYR_DRIVERS_FIRMWARE_NRF_IRONSIDE_UPDATE_H_
18#define IRONSIDE_UPDATE_ERROR_NOT_PERMITTED (1)
20#define IRONSIDE_UPDATE_ERROR_SICR_WRITE_FAILED (2)
27#define IRONSIDE_UPDATE_MANIFEST_LENGTH (256)
29#define IRONSIDE_UPDATE_PUBKEY_LENGTH (32)
31#define IRONSIDE_UPDATE_SIGNATURE_LENGTH (64)
38#define IRONSIDE_CALL_ID_UPDATE_SERVICE_V0 1
41#define IRONSIDE_UPDATE_SERVICE_UPDATE_PTR_IDX (0)
43#define IRONSIDE_UPDATE_SERVICE_RETCODE_IDX (0)
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
__UINT8_TYPE__ uint8_t
Definition stdint.h:88
IRONside update blob.
Definition update.h:48
uint8_t pubkey[(32)]
Definition update.h:50
uint8_t signature[(64)]
Definition update.h:51
uint32_t firmware[]
Definition update.h:52
uint8_t manifest[(256)]
Definition update.h:49
#define IRONSIDE_UPDATE_PUBKEY_LENGTH
Length of the update public key in bytes.
Definition update.h:29
#define IRONSIDE_UPDATE_MANIFEST_LENGTH
Length of the update manifest in bytes.
Definition update.h:27
#define IRONSIDE_UPDATE_SIGNATURE_LENGTH
Length of the update signature in bytes.
Definition update.h:31
int ironside_update(const struct ironside_update_blob *update)
Request a firmware upgrade of the IRONside SE.