aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/include/asm
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2023-06-15 18:09:23 +0800
committerStefano Babic <sbabic@denx.de>2023-07-13 11:29:40 +0200
commit00ce4153fbd01aa78b734d87f16772480c42166e (patch)
treeb16a3232d76843a2bcaddfd95466cc438f93ea34 /arch/arm/include/asm
parent6e81ca220e03b241ad7a3f5ddf4cba666b4f7446 (diff)
downloadu-boot-00ce4153fbd01aa78b734d87f16772480c42166e.zip
u-boot-00ce4153fbd01aa78b734d87f16772480c42166e.tar.gz
u-boot-00ce4153fbd01aa78b734d87f16772480c42166e.tar.bz2
imx: ahab: Update AHAB for iMX8 and iMX8ULP
Abstract common interfaces for AHAB authentication operations. Then share some common codes for AHAB and SPL container authentication Signed-off-by: Ye Li <ye.li@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'arch/arm/include/asm')
-rw-r--r--arch/arm/include/asm/mach-imx/ahab.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/include/asm/mach-imx/ahab.h b/arch/arm/include/asm/mach-imx/ahab.h
new file mode 100644
index 0000000..4222e3d
--- /dev/null
+++ b/arch/arm/include/asm/mach-imx/ahab.h
@@ -0,0 +1,15 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright 2020 NXP
+ */
+
+#ifndef __IMX_AHAB_H__
+#define __IMX_AHAB_H__
+
+#include <asm/mach-imx/image.h>
+
+int ahab_auth_cntr_hdr(struct container_hdr *container, u16 length);
+int ahab_auth_release(void);
+int ahab_verify_cntr_image(struct boot_img_t *img, int image_index);
+
+#endif