Home
last modified time | relevance | path

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

/openbmc/u-boot/arch/arm/mach-imx/
H A Dhab.c28 ivt_hdr->magic, ivt_hdr->length, ivt_hdr->version); in ivt_header_error()
37 if (ivt_hdr->magic != IVT_HEADER_MAGIC) in verify_ivt_header()
38 result = ivt_header_error("bad magic", ivt_hdr); in verify_ivt_header()
40 if (be16_to_cpu(ivt_hdr->length) != IVT_TOTAL_LENGTH) in verify_ivt_header()
41 result = ivt_header_error("bad length", ivt_hdr); in verify_ivt_header()
43 if (ivt_hdr->version != IVT_HEADER_V1 && in verify_ivt_header()
44 ivt_hdr->version != IVT_HEADER_V2) in verify_ivt_header()
45 result = ivt_header_error("bad version", ivt_hdr); in verify_ivt_header()
552 struct ivt_header *ivt_hdr; in imx_hab_authenticate_image() local
574 ivt_hdr = &ivt->hdr; in imx_hab_authenticate_image()
[all …]