Searched refs:ictx (Results 1 - 1 of 1) sorted by path

/u-boot/tools/
H A Dmxsimage.c205 static int sb_aes_init(struct sb_image_ctx *ictx, uint8_t *iv, int enc) argument
212 iv = ictx->image_key;
215 ret = EVP_CipherInit(ctx, EVP_aes_128_cbc(), ictx->image_key, iv, enc);
218 ictx->cipher_ctx = ctx;
223 static int sb_aes_crypt(struct sb_image_ctx *ictx, uint8_t *in_data, argument
226 EVP_CIPHER_CTX *ctx = ictx->cipher_ctx;
254 static int sb_aes_reinit(struct sb_image_ctx *ictx, int enc) argument
257 EVP_CIPHER_CTX *ctx = ictx->cipher_ctx;
258 struct sb_boot_image_header *sb_header = &ictx->payload;
264 return sb_aes_init(ictx, i
270 soprintf(struct sb_image_ctx *ictx, const char *fmt, ...) argument
310 sb_encrypt_sb_header(struct sb_image_ctx *ictx) argument
321 sb_encrypt_sb_sections_header(struct sb_image_ctx *ictx) argument
341 sb_encrypt_key_dictionary_key(struct sb_image_ctx *ictx) argument
350 sb_decrypt_key_dictionary_key(struct sb_image_ctx *ictx) argument
359 sb_encrypt_tag(struct sb_image_ctx *ictx, struct sb_cmd_ctx *cctx) argument
370 sb_encrypt_image(struct sb_image_ctx *ictx) argument
561 sb_build_dcd(struct sb_image_ctx *ictx, struct sb_cmd_list *cmd) argument
617 sb_build_dcd_block(struct sb_image_ctx *ictx, struct sb_cmd_list *cmd, uint32_t type) argument
711 sb_build_section(struct sb_image_ctx *ictx, struct sb_cmd_list *cmd) argument
786 sb_build_command_nop(struct sb_image_ctx *ictx) argument
820 sb_build_command_tag(struct sb_image_ctx *ictx, struct sb_cmd_list *cmd) argument
864 sb_build_command_load(struct sb_image_ctx *ictx, struct sb_cmd_list *cmd) argument
1037 sb_build_command_fill(struct sb_image_ctx *ictx, struct sb_cmd_list *cmd) argument
1134 sb_build_command_jump_call(struct sb_image_ctx *ictx, struct sb_cmd_list *cmd, unsigned int is_call) argument
1225 sb_build_command_jump(struct sb_image_ctx *ictx, struct sb_cmd_list *cmd) argument
1231 sb_build_command_call(struct sb_image_ctx *ictx, struct sb_cmd_list *cmd) argument
1237 sb_build_command_mode(struct sb_image_ctx *ictx, struct sb_cmd_list *cmd) argument
1315 sb_prefill_image_header(struct sb_image_ctx *ictx) argument
1354 sb_postfill_image_header(struct sb_image_ctx *ictx) argument
1408 sb_fixup_sections_and_tags(struct sb_image_ctx *ictx) argument
1450 sb_parse_line(struct sb_image_ctx *ictx, struct sb_cmd_list *cmd) argument
1588 sb_load_cmdfile(struct sb_image_ctx *ictx) argument
1624 sb_build_tree_from_cfg(struct sb_image_ctx *ictx) argument
1647 sb_verify_image_header(struct sb_image_ctx *ictx, FILE *fp, long fsize) argument
1794 sb_decrypt_tag(struct sb_image_ctx *ictx, struct sb_cmd_ctx *cctx) argument
1805 sb_verify_command(struct sb_image_ctx *ictx, struct sb_cmd_ctx *cctx, FILE *fp, unsigned long *tsize) argument
1900 sb_verify_commands(struct sb_image_ctx *ictx, struct sb_section_ctx *sctx, FILE *fp) argument
1939 sb_verify_sections_cmds(struct sb_image_ctx *ictx, FILE *fp) argument
2020 sb_verify_image_end(struct sb_image_ctx *ictx, FILE *fp, off_t filesz) argument
2062 sb_build_tree_from_img(struct sb_image_ctx *ictx) argument
2133 sb_free_image(struct sb_image_ctx *ictx) argument
2248 sb_build_image(struct sb_image_ctx *ictx, struct image_type_params *tparams) argument
[all...]

Completed in 78 milliseconds