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
36
typedef
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
45
int
bodyMake
(
ImageBuild
*build, ImageHeader *header,
ImageBody
*body,
CipherInfo
cipherInfo);
46
47
#endif
// __BODY_H
bodyMake
int bodyMake(ImageBuild *build, ImageHeader *header, ImageBody *body, CipherInfo cipherInfo)
Make the image body.
Definition
body.c:43
header.h
Generate the header section of an update image.
main.h
CycloneBOOT compatible Update Image Builder.
CipherInfo
Definition
main.h:47
ImageBody
Definition
body.h:37
ImageBuild
Buffers the image passes through while it is built.
Definition
main.h:81
ImageBuilder
inc
body.h
Generated by
1.9.8