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>
This commit is contained in:
15
arch/arm/include/asm/mach-imx/ahab.h
Normal file
15
arch/arm/include/asm/mach-imx/ahab.h
Normal file
@@ -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
|
Reference in New Issue
Block a user