22#ifndef _mcci_bootloader_appinfo_h_
23#define _mcci_bootloader_appinfo_h_
29#include "mcci_tweetnacl_hash.h"
30#include "mcci_tweetnacl_sign.h"
67#define MCCI_BOOTLOADER_APP_INFO_MAGIC (('M' << 0) | ('A' << 8) | ('P' << 16) | ('0' << 24))
80 mcci_tweetnacl_sha512_t
hash;
Application information block.
uint32_t targetAddress
the target load address
uint32_t imagesize
size of the app, in bytes.
uint64_t timestamp
Posix timestamp of image.
uint8_t reserved56[16]
reserved for future use.
uint32_t version
version of the image (semantic version)
uint32_t size
size of this structure, in bytes
uint8_t comment[16]
optional comment (UTF-8) describing this image.
uint32_t authsize
size of authentication data.
uint32_t magic
the format identifier.
Application signature block.
mcci_tweetnacl_sign_signature_t signature
the first 64 bytes of sign(hash, publicKey)
mcci_tweetnacl_sign_publickey_t publicKey
the public key used for the signature
mcci_tweetnacl_sha512_t hash
the SHA-512 hash