Lines Matching defs:ictx

204 static int sb_aes_init(struct sb_image_ctx *ictx, uint8_t *iv, int enc)  in sb_aes_init()
222 static int sb_aes_crypt(struct sb_image_ctx *ictx, uint8_t *in_data, in sb_aes_crypt()
253 static int sb_aes_reinit(struct sb_image_ctx *ictx, int enc) in sb_aes_reinit()
269 static void soprintf(struct sb_image_ctx *ictx, const char *fmt, ...) in soprintf()
309 static void sb_encrypt_sb_header(struct sb_image_ctx *ictx) in sb_encrypt_sb_header()
320 static void sb_encrypt_sb_sections_header(struct sb_image_ctx *ictx) in sb_encrypt_sb_sections_header()
340 static void sb_encrypt_key_dictionary_key(struct sb_image_ctx *ictx) in sb_encrypt_key_dictionary_key()
349 static void sb_decrypt_key_dictionary_key(struct sb_image_ctx *ictx) in sb_decrypt_key_dictionary_key()
358 static void sb_encrypt_tag(struct sb_image_ctx *ictx, in sb_encrypt_tag()
369 static int sb_encrypt_image(struct sb_image_ctx *ictx) in sb_encrypt_image()
560 static int sb_build_dcd(struct sb_image_ctx *ictx, struct sb_cmd_list *cmd) in sb_build_dcd()
616 static int sb_build_dcd_block(struct sb_image_ctx *ictx, in sb_build_dcd_block()
710 static int sb_build_section(struct sb_image_ctx *ictx, struct sb_cmd_list *cmd) in sb_build_section()
785 static int sb_build_command_nop(struct sb_image_ctx *ictx) in sb_build_command_nop()
819 static int sb_build_command_tag(struct sb_image_ctx *ictx, in sb_build_command_tag()
863 static int sb_build_command_load(struct sb_image_ctx *ictx, in sb_build_command_load()
1036 static int sb_build_command_fill(struct sb_image_ctx *ictx, in sb_build_command_fill()
1133 static int sb_build_command_jump_call(struct sb_image_ctx *ictx, in sb_build_command_jump_call()
1224 static int sb_build_command_jump(struct sb_image_ctx *ictx, in sb_build_command_jump()
1230 static int sb_build_command_call(struct sb_image_ctx *ictx, in sb_build_command_call()
1236 static int sb_build_command_mode(struct sb_image_ctx *ictx, in sb_build_command_mode()
1314 static int sb_prefill_image_header(struct sb_image_ctx *ictx) in sb_prefill_image_header()
1353 static int sb_postfill_image_header(struct sb_image_ctx *ictx) in sb_postfill_image_header()
1407 static int sb_fixup_sections_and_tags(struct sb_image_ctx *ictx) in sb_fixup_sections_and_tags()
1449 static int sb_parse_line(struct sb_image_ctx *ictx, struct sb_cmd_list *cmd) in sb_parse_line()
1587 static int sb_load_cmdfile(struct sb_image_ctx *ictx) in sb_load_cmdfile()
1626 static int sb_build_tree_from_cfg(struct sb_image_ctx *ictx) in sb_build_tree_from_cfg()
1649 static int sb_verify_image_header(struct sb_image_ctx *ictx, in sb_verify_image_header()
1796 static void sb_decrypt_tag(struct sb_image_ctx *ictx, in sb_decrypt_tag()
1807 static int sb_verify_command(struct sb_image_ctx *ictx, in sb_verify_command()
1902 static int sb_verify_commands(struct sb_image_ctx *ictx, in sb_verify_commands()
1941 static int sb_verify_sections_cmds(struct sb_image_ctx *ictx, FILE *fp) in sb_verify_sections_cmds()
2022 static int sb_verify_image_end(struct sb_image_ctx *ictx, in sb_verify_image_end()
2064 static int sb_build_tree_from_img(struct sb_image_ctx *ictx) in sb_build_tree_from_img()
2135 static void sb_free_image(struct sb_image_ctx *ictx) in sb_free_image()
2250 static int sb_build_image(struct sb_image_ctx *ictx, in sb_build_image()