Lines Matching refs:sb_image_ctx
155 struct sb_image_ctx { struct
205 static int sb_aes_init(struct sb_image_ctx *ictx, uint8_t *iv, int enc) in sb_aes_init() argument
223 static int sb_aes_crypt(struct sb_image_ctx *ictx, uint8_t *in_data, in sb_aes_crypt()
254 static int sb_aes_reinit(struct sb_image_ctx *ictx, int enc) in sb_aes_reinit()
270 static void soprintf(struct sb_image_ctx *ictx, const char *fmt, ...) in soprintf()
310 static void sb_encrypt_sb_header(struct sb_image_ctx *ictx) in sb_encrypt_sb_header()
321 static void sb_encrypt_sb_sections_header(struct sb_image_ctx *ictx) in sb_encrypt_sb_sections_header()
341 static void sb_encrypt_key_dictionary_key(struct sb_image_ctx *ictx) in sb_encrypt_key_dictionary_key()
350 static void sb_decrypt_key_dictionary_key(struct sb_image_ctx *ictx) in sb_decrypt_key_dictionary_key()
359 static void sb_encrypt_tag(struct sb_image_ctx *ictx, in sb_encrypt_tag()
370 static int sb_encrypt_image(struct sb_image_ctx *ictx) in sb_encrypt_image()
561 static int sb_build_dcd(struct sb_image_ctx *ictx, struct sb_cmd_list *cmd) in sb_build_dcd()
617 static int sb_build_dcd_block(struct sb_image_ctx *ictx, in sb_build_dcd_block()
711 static int sb_build_section(struct sb_image_ctx *ictx, struct sb_cmd_list *cmd) in sb_build_section()
786 static int sb_build_command_nop(struct sb_image_ctx *ictx) in sb_build_command_nop()
820 static int sb_build_command_tag(struct sb_image_ctx *ictx, in sb_build_command_tag()
864 static int sb_build_command_load(struct sb_image_ctx *ictx, in sb_build_command_load()
1037 static int sb_build_command_fill(struct sb_image_ctx *ictx, in sb_build_command_fill()
1134 static int sb_build_command_jump_call(struct sb_image_ctx *ictx, in sb_build_command_jump_call()
1225 static int sb_build_command_jump(struct sb_image_ctx *ictx, in sb_build_command_jump()
1231 static int sb_build_command_call(struct sb_image_ctx *ictx, in sb_build_command_call()
1237 static int sb_build_command_mode(struct sb_image_ctx *ictx, in sb_build_command_mode()
1315 static int sb_prefill_image_header(struct sb_image_ctx *ictx) in sb_prefill_image_header()
1354 static int sb_postfill_image_header(struct sb_image_ctx *ictx) in sb_postfill_image_header()
1408 static int sb_fixup_sections_and_tags(struct sb_image_ctx *ictx) in sb_fixup_sections_and_tags()
1450 static int sb_parse_line(struct sb_image_ctx *ictx, struct sb_cmd_list *cmd) in sb_parse_line()
1588 static int sb_load_cmdfile(struct sb_image_ctx *ictx) in sb_load_cmdfile()
1627 static int sb_build_tree_from_cfg(struct sb_image_ctx *ictx) in sb_build_tree_from_cfg()
1650 static int sb_verify_image_header(struct sb_image_ctx *ictx, in sb_verify_image_header()
1797 static void sb_decrypt_tag(struct sb_image_ctx *ictx, in sb_decrypt_tag()
1808 static int sb_verify_command(struct sb_image_ctx *ictx, in sb_verify_command()
1903 static int sb_verify_commands(struct sb_image_ctx *ictx, in sb_verify_commands()
1942 static int sb_verify_sections_cmds(struct sb_image_ctx *ictx, FILE *fp) in sb_verify_sections_cmds()
2023 static int sb_verify_image_end(struct sb_image_ctx *ictx, in sb_verify_image_end()
2065 static int sb_build_tree_from_img(struct sb_image_ctx *ictx) in sb_build_tree_from_img()
2136 static void sb_free_image(struct sb_image_ctx *ictx) in sb_free_image()
2208 struct sb_image_ctx ctx; in mxsimage_verify_print_header()
2251 static int sb_build_image(struct sb_image_ctx *ictx, in sb_build_image()
2325 struct sb_image_ctx ctx; in mxsimage_generate()