Lines Matching refs:fsl_secboot_img_priv
65 static u32 check_ie(struct fsl_secboot_img_priv *img) in check_ie()
183 static u32 check_srk(struct fsl_secboot_img_priv *img) in check_srk()
220 static u32 read_validate_srk_tbl(struct fsl_secboot_img_priv *img) in read_validate_srk_tbl()
260 static u32 read_validate_single_key(struct fsl_secboot_img_priv *img) in read_validate_single_key()
280 struct fsl_secboot_img_priv *img) in install_ie_tbl()
288 static u32 read_validate_ie_tbl(struct fsl_secboot_img_priv *img) in read_validate_ie_tbl()
328 static inline u32 get_key_len(struct fsl_secboot_img_priv *img) in get_key_len()
486 static int calc_img_key_hash(struct fsl_secboot_img_priv *img) in calc_img_key_hash()
534 static int calc_esbchdr_esbc_hash(struct fsl_secboot_img_priv *img) in calc_esbchdr_esbc_hash()
608 static void construct_img_encoded_hash_second(struct fsl_secboot_img_priv *img) in construct_img_encoded_hash_second()
664 static int read_validate_esbc_client_header(struct fsl_secboot_img_priv *img) in read_validate_esbc_client_header()
783 static int calculate_cmp_img_sig(struct fsl_secboot_img_priv *img) in calculate_cmp_img_sig()
832 static int secboot_init(struct fsl_secboot_img_priv **img_ptr) in secboot_init()
834 *img_ptr = malloc(sizeof(struct fsl_secboot_img_priv)); in secboot_init()
836 struct fsl_secboot_img_priv *img = *img_ptr; in secboot_init()
840 memset(img, 0, sizeof(struct fsl_secboot_img_priv)); in secboot_init()
865 struct fsl_secboot_img_priv *img; in fsl_secboot_validate()