Home
last modified time | relevance | path

Searched refs:optee_header (Results 1 – 1 of 1) sorted by relevance

/device/linaro/bootloader/arm-trusted-firmware/lib/optee/
Doptee_utils.c40 typedef struct optee_header { struct
54 static inline int tee_validate_header(optee_header_t *optee_header) in tee_validate_header() argument
56 if ((optee_header->magic == TEE_MAGIC_NUM_OPTEE) && in tee_validate_header()
57 (optee_header->version == 2) && in tee_validate_header()
58 (optee_header->nb_images <= OPTEE_MAX_IMAGE_NUM)) { in tee_validate_header()
136 optee_header_t *optee_header; in parse_optee_header() local
140 optee_header = (optee_header_t *)header_ep->pc; in parse_optee_header()
141 assert(optee_header); in parse_optee_header()
160 if (!tee_validate_header(optee_header)) { in parse_optee_header()
170 INFO(" magic=0x%x\n", optee_header->magic); in parse_optee_header()
[all …]