diff options
author | Clement Faure <clement.faure@nxp.com> | 2021-03-25 17:30:34 +0800 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2021-04-08 20:29:52 +0200 |
commit | 69f542ca2b68b88cd31118c3bf926dd59b544473 (patch) | |
tree | 64e75e6d60014c6f6cf92ec69d0d03e25ec7c43f /arch/arm/include | |
parent | 56d2050f40287fe46757d4cbe69d62a1381c3c64 (diff) | |
download | u-boot-69f542ca2b68b88cd31118c3bf926dd59b544473.tar.gz u-boot-69f542ca2b68b88cd31118c3bf926dd59b544473.tar.bz2 u-boot-69f542ca2b68b88cd31118c3bf926dd59b544473.zip |
imx8: Add DEK blob encapsulation
Add DEK encapsulation support for imx8. The DEK blob is generated by the
SECO through the SCFW API.
Signed-off-by: Clement Faure <clement.faure@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'arch/arm/include')
-rw-r--r-- | arch/arm/include/asm/arch-imx8/image.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-imx8/image.h b/arch/arm/include/asm/arch-imx8/image.h index c1e5700859..547beeb986 100644 --- a/arch/arm/include/asm/arch-imx8/image.h +++ b/arch/arm/include/asm/arch-imx8/image.h @@ -53,4 +53,15 @@ struct signature_block_hdr { u16 signature_offset; u32 reserved; } __packed; + +struct generate_key_blob_hdr { + u8 version; + u8 length_lsb; + u8 length_msb; + u8 tag; + u8 flags; + u8 size; + u8 algorithm; + u8 mode; +} __packed; #endif |