CycloneBOOT
2.6.6
Secure Bootloader for ARM Cortex-M MCU
Loading...
Searching...
No Matches
boot_verify.h
Go to the documentation of this file.
1
31
#ifndef _SECOND_STAGE_BOOT_VERIFY_H
32
#define _SECOND_STAGE_BOOT_VERIFY_H
33
34
#include "
modules/image/image.h
"
35
#include "
second_stage/boot.h
"
36
37
// Include crypto header files needed for image verification
38
#include "ecc/ec.h"
39
#include "ecc/ecdsa.h"
40
#include "pkix/pem_key_import.h"
41
#include "pkc/rsa.h"
42
#include "pkix/pem_key_import.h"
43
44
#define ECDSA_SIGNATURE_SIZE 64
//For curve SECP256K1_CURVE
45
#define RSA_SIGNATURE_SIZE 256
//For RSA-2048
46
47
cboot_error_t
bootCheckRuntimeImageSignature(
BootContext
*context,
Slot
*slot);
48
49
#endif
cboot_error_t
cboot_error_t
Error codes.
Definition
cboot_error.h:57
image.h
CycloneBOOT Image management.
boot.h
CycloneBOOT 2nd Stage Bootloader management.
BootContext
First-stage bootloader context.
Definition
boot.h:136
Slot
Slot Type definition.
Definition
memory.h:181
cyclone_boot
bootloader
second_stage
boot_verify.h
Generated by
1.9.8