/u-boot/common/ |
A D | image-fit.c | 151 int noffset; in fit_get_subimage_count() local 159 noffset = fdt_next_node(fit, noffset, &ndepth)) { in fit_get_subimage_count() 345 noffset = fdt_next_node(fit, noffset, &ndepth)) { in fit_conf_print() 371 int noffset; in fit_print_contents() local 410 noffset = fdt_next_node(fit, noffset, &ndepth)) { in fit_print_contents() 440 noffset = fdt_next_node(fit, noffset, &ndepth)) { in fit_print_contents() 476 int noffset; in fit_image_print() local 566 noffset = fdt_next_node(fit, noffset, &ndepth)) { in fit_image_print() 1415 int noffset; in fit_all_image_verify() local 1433 noffset = fdt_next_node(fit, noffset, &ndepth)) { in fit_all_image_verify() [all …]
|
A D | image-fit-sig.c | 69 const void *fit, int noffset, in fit_image_setup_verify() argument 92 info->node_offset = noffset; in fit_image_setup_verify() 143 int noffset; in fit_image_verify_sig() local 174 if (noffset == -FDT_ERR_TRUNCATED || noffset == -FDT_ERR_BADSTRUCTURE) { in fit_image_verify_sig() 193 int noffset; in fit_image_verify_required_sigs() local 214 sig_blob, noffset); in fit_image_verify_required_sigs() 263 fit_get_name(fit, noffset, NULL), in fit_config_check_sig() 371 int noffset; in fit_config_verify_sig() local 394 if (noffset == -FDT_ERR_TRUNCATED || noffset == -FDT_ERR_BADSTRUCTURE) { in fit_config_verify_sig() 413 int noffset; in fit_config_verify_required_sigs() local [all …]
|
A D | update.c | 228 if (fit_image_get_load(fit, noffset, (ulong *)fladdr)) in update_fit_getparams() 241 int images_noffset, ndepth, noffset; in update_tftp() local 300 while (noffset >= 0 && ndepth > 0) { in update_tftp() 307 if (!fit_image_verify(fit, noffset)) { in update_tftp() 314 if (update_fit_getparams(fit, noffset, &update_addr, in update_tftp() 328 } else if (fit_image_check_type(fit, noffset, in update_tftp() 338 noffset = fdt_next_node(fit, noffset, &ndepth); in update_tftp() 360 int images_noffset, ndepth, noffset; in fit_update() local 376 while (noffset >= 0 && ndepth > 0) { in fit_update() 383 if (!fit_image_verify(fit, noffset)) { in fit_update() [all …]
|
A D | image-cipher.c | 76 int noffset; in fit_image_setup_decrypt() local 133 noffset = fdt_path_offset(fdt, node_path); in fit_image_setup_decrypt() 134 if (noffset < 0) { in fit_image_setup_decrypt() 140 info->key = fdt_getprop(fdt, noffset, "key", NULL); in fit_image_setup_decrypt() 148 info->iv = fdt_getprop(fdt, noffset, "iv", NULL); in fit_image_setup_decrypt()
|
A D | bootm.c | 972 int noffset; in bootm_host_load_image() local 982 noffset = fit_image_load(&images, (ulong)fit, in bootm_host_load_image() 986 if (noffset < 0) in bootm_host_load_image() 987 return noffset; in bootm_host_load_image() 988 if (fit_image_get_type(fit, noffset, &image_type)) { in bootm_host_load_image() 993 if (fit_image_get_comp(fit, noffset, &imape_comp)) { in bootm_host_load_image()
|
/u-boot/tools/ |
A D | image-host.c | 608 int noffset; in fit_image_add_verification_data() local 621 noffset = fdt_next_subnode(fit, noffset)) { in fit_image_add_verification_data() 707 int noffset; in fit_config_add_hash() local 724 noffset = fdt_next_subnode(fit, noffset)) { in fit_config_add_hash() 991 int noffset; in fit_config_add_verification_data() local 998 noffset = fdt_next_subnode(fit, noffset)) { in fit_config_add_verification_data() 1021 int noffset; in fit_cipher_data() local 1035 noffset = fdt_next_subnode(fit, noffset)) { in fit_cipher_data() 1056 int noffset; in fit_add_verification_data() local 1070 noffset = fdt_next_subnode(fit, noffset)) { in fit_add_verification_data() [all …]
|
A D | fit_image.c | 877 int noffset; in fit_extract_contents() local 908 noffset = fdt_next_node(fit, images_noffset, &ndepth); in fit_extract_contents() 909 (noffset >= 0) && (ndepth > 0); in fit_extract_contents() 910 noffset = fdt_next_node(fit, noffset, &ndepth)) { in fit_extract_contents() 918 count, fit_get_name(fit, noffset, NULL)); in fit_extract_contents() 920 fit_image_print(fit, noffset, p); in fit_extract_contents() 922 return fit_image_extract(fit, noffset, in fit_extract_contents()
|
/u-boot/cmd/ |
A D | source.c | 56 int noffset; in image_source_script() local 124 noffset = fit_image_get_node (fit_hdr, fit_uname); in image_source_script() 125 if (noffset < 0) { in image_source_script() 130 if (!fit_image_check_type (fit_hdr, noffset, IH_TYPE_SCRIPT)) { in image_source_script() 137 if (!fit_image_verify(fit_hdr, noffset)) { in image_source_script() 144 if (fit_image_get_data (fit_hdr, noffset, &fit_data, &fit_len)) { in image_source_script()
|
A D | ximg.c | 50 int noffset; in do_imgextract() local 145 noffset = fit_image_get_node(fit_hdr, uname); in do_imgextract() 146 if (noffset < 0) { in do_imgextract() 151 if (!fit_image_check_comp(fit_hdr, noffset, IH_COMP_NONE) in do_imgextract() 161 if (!fit_image_verify(fit_hdr, noffset)) { in do_imgextract() 168 if (fit_image_get_data_and_size(fit_hdr, noffset, in do_imgextract() 174 if (fit_image_get_comp(fit_hdr, noffset, &comp)) { in do_imgextract()
|
A D | fpga.c | 325 int noffset; in do_fpga_loadmk() local 339 noffset = fit_image_get_node(fit_hdr, fit_uname); in do_fpga_loadmk() 340 if (noffset < 0) { in do_fpga_loadmk() 346 if (!fit_image_verify(fit_hdr, noffset)) { in do_fpga_loadmk() 352 if (fit_image_get_data_and_size(fit_hdr, noffset, in do_fpga_loadmk()
|
/u-boot/include/ |
A D | image.h | 1077 int noffset, int *len) in fit_get_name() argument 1079 return fdt_get_name(fit_hdr, noffset, len); in fit_get_name() 1082 int fit_get_desc(const void *fit, int noffset, char **desc); 1086 int fit_image_get_os(const void *fit, int noffset, uint8_t *os); 1092 int fit_image_get_data(const void *fit, int noffset, 1095 int fit_image_get_data_position(const void *fit, int noffset, 1100 int fit_image_get_data_and_size(const void *fit, int noffset, 1140 int fit_image_verify(const void *fit, int noffset); 1188 int fit_conf_get_prop_node_count(const void *fit, int noffset, 1190 int fit_conf_get_prop_node_index(const void *fit, int noffset, [all …]
|
/u-boot/lib/rsa/ |
A D | rsa-verify.c | 503 int ndepth, noffset; in rsa_verify_hash() local 528 for (ndepth = 0, noffset = fdt_next_node(blob, sig_node, in rsa_verify_hash() 530 (noffset >= 0) && (ndepth > 0); in rsa_verify_hash() 531 noffset = fdt_next_node(blob, noffset, &ndepth)) { in rsa_verify_hash() 532 if (ndepth == 1 && noffset != node) { in rsa_verify_hash() 535 noffset); in rsa_verify_hash()
|
A D | rsa-sign.c | 683 static int fdt_add_bignum(void *blob, int noffset, const char *prop_name, in fdt_add_bignum() argument 737 ret = fdt_setprop(blob, noffset, prop_name, buf, size); in fdt_add_bignum()
|
/u-boot/common/spl/ |
A D | spl_fit.c | 474 static int spl_fit_image_get_os(const void *fit, int noffset, uint8_t *os) in spl_fit_image_get_os() argument 477 return fit_image_get_os(fit, noffset, os); in spl_fit_image_get_os() 479 const char *name = fdt_getprop(fit, noffset, FIT_OS_PROP, NULL); in spl_fit_image_get_os()
|