CycloneBOOT 2.6.6
Secure Bootloader for ARM Cortex-M MCU
Loading...
Searching...
No Matches
verify_integrity.h
Go to the documentation of this file.
1
31#ifndef _VERIFY_INTEGRITY_H
32#define _VERIFY_INTEGRITY_H
33
34// Dependencies
35#include "modules/image/image.h"
37#include "core/verify.h"
38
39// C++ guard
40#ifdef __cplusplus
41extern "C"
42{
43#endif
44
52cboot_error_t integrityVerifyRuntimeImage(const Slot *slot, uint32_t entryOffset,
53 const HashAlgo *hashAlgo);
54
55// C++ guard
56#ifdef __cplusplus
57}
58#endif
59#endif // !_VERIFY_INTEGRITY_H
cboot_error_t
Error codes.
Definition cboot_error.h:57
CycloneBOOT Image management.
CycloneBOOT Memory Layer Abstraction.
Slot Type definition.
Definition memory.h:181
CycloneBOOT Image data verification module.
cboot_error_t integrityVerifyRuntimeImage(const Slot *slot, uint32_t entryOffset, const HashAlgo *hashAlgo)
Verify the runtime integrity digest embedded in an image.
Definition verify_integrity.c:47