diff --git a/core/include/signed_hdr.h b/core/include/signed_hdr.h index 0fd87c294ab..b1671788fd1 100644 --- a/core/include/signed_hdr.h +++ b/core/include/signed_hdr.h @@ -28,9 +28,11 @@ #define SIGNED_HDR_H #include +#include enum shdr_img_type { SHDR_TA = 0, + SHDR_BOOTSTRAP_TA = 1, }; #define SHDR_MAGIC 0x4f545348 @@ -71,5 +73,10 @@ struct shdr { #define SHDR_GET_HASH(x) (uint8_t *)(((struct shdr *)(x)) + 1) #define SHDR_GET_SIG(x) (SHDR_GET_HASH(x) + (x)->hash_size) +struct shdr_bootstrap_ta { + uint8_t uuid[sizeof(TEE_UUID)]; + uint32_t version; +}; + #endif /*SIGNED_HDR_H*/