CycloneBOOT 2.6.6
Secure Bootloader for ARM Cortex-M MCU
Loading...
Searching...
No Matches
body.h
Go to the documentation of this file.
1
29#ifndef __BODY_H
30#define __BODY_H
31
32#include <stdint.h>
33#include "header.h"
34#include "main.h"
35
36typedef struct
37{
38 uint8_t *binary; // pointer to the buffer containing the firmware binary (and any associated padding)
39 size_t binarySize; // size of the firmware binary
40 uint8_t *checkData; // pointer to the buffer containing image verification data
41 size_t checkDataSize; // image verification data buffer length
42} ImageBody;
43
44// Function to generate the update image body containing the firmware binary
45int bodyMake(ImageBuild *build, ImageHeader *header, ImageBody *body, CipherInfo cipherInfo);
46
47#endif // __BODY_H
int bodyMake(ImageBuild *build, ImageHeader *header, ImageBody *body, CipherInfo cipherInfo)
Make the image body.
Definition body.c:43
Generate the header section of an update image.
CycloneBOOT compatible Update Image Builder.
Definition main.h:47
Definition body.h:37
Buffers the image passes through while it is built.
Definition main.h:81