| /u-boot/boot/ |
| A D | image-fit.c | 157 int noffset; in fit_get_subimage_count() local 165 noffset = fdt_next_node(fit, noffset, &ndepth)) { in fit_get_subimage_count() 350 noffset = fdt_next_node(fit, noffset, &ndepth)) { in fit_conf_print() 376 int noffset; in fit_print_contents() local 418 noffset = fdt_next_node(fit, noffset, &ndepth)) { in fit_print_contents() 448 noffset = fdt_next_node(fit, noffset, &ndepth)) { in fit_print_contents() 484 int noffset; in fit_image_print() local 577 noffset = fdt_next_node(fit, noffset, &ndepth)) { in fit_image_print() 1467 int noffset; in fit_all_image_verify() local 1485 noffset = fdt_next_node(fit, noffset, &ndepth)) { in fit_all_image_verify() [all …]
|
| A D | image-fit-sig.c | 67 const void *fit, int noffset, in fit_image_setup_verify() argument 90 info->node_offset = noffset; in fit_image_setup_verify() 142 int noffset; in fit_image_verify_sig() local 173 if (noffset == -FDT_ERR_TRUNCATED || noffset == -FDT_ERR_BADSTRUCTURE) { in fit_image_verify_sig() 192 int noffset; in fit_image_verify_required_sigs() local 213 key_blob, noffset); in fit_image_verify_required_sigs() 283 fit_get_name(fit, noffset, NULL), in fit_config_check_sig() 418 int noffset; in fit_config_verify_key() local 442 if (noffset == -FDT_ERR_TRUNCATED || noffset == -FDT_ERR_BADSTRUCTURE) { in fit_config_verify_key() 474 int noffset; in fit_config_verify_required_keys() local [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 | image-board.c | 1009 int noffset; in image_locate_script() local 1075 noffset = fit_conf_get_node(fit_hdr, confname); in image_locate_script() 1077 noffset = fit_conf_get_node(fit_hdr, NULL); in image_locate_script() 1078 if (noffset < 0) { in image_locate_script() 1088 noffset = fit_conf_get_prop_node(fit_hdr, in image_locate_script() 1089 noffset, in image_locate_script() 1092 if (noffset < 0) { in image_locate_script() 1108 noffset = fit_image_get_node(fit_hdr, fit_uname); in image_locate_script() 1109 if (noffset < 0) { in image_locate_script() 1116 if (!fit_image_check_type(fit_hdr, noffset, in image_locate_script() [all …]
|
| A D | bootm.c | 1031 int noffset; in bootm_host_load_image() local 1041 noffset = fit_image_load(&images, (ulong)fit, in bootm_host_load_image() 1045 if (noffset < 0) in bootm_host_load_image() 1046 return noffset; in bootm_host_load_image() 1047 if (fit_image_get_type(fit, noffset, &image_type)) { in bootm_host_load_image() 1052 if (fit_image_get_comp(fit, noffset, &image_comp)) in bootm_host_load_image()
|
| /u-boot/tools/ |
| A D | image-host.c | 623 int noffset; in fit_image_add_verification_data() local 636 noffset = fdt_next_subnode(fit, noffset)) { in fit_image_add_verification_data() 739 int noffset; in fit_config_add_hash() local 753 noffset = fdt_next_subnode(fit, noffset)) { in fit_config_add_hash() 1086 int noffset; in fit_config_add_verification_data() local 1093 noffset = fdt_next_subnode(fit, noffset)) { in fit_config_add_verification_data() 1236 int noffset; in fit_cipher_data() local 1250 noffset = fdt_next_subnode(fit, noffset)) { in fit_cipher_data() 1273 int noffset; in fit_add_verification_data() local 1287 noffset = fdt_next_subnode(fit, noffset)) { in fit_add_verification_data() [all …]
|
| A D | fit_image.c | 880 int noffset; in fit_extract_contents() local 906 noffset = fdt_next_node(fit, images_noffset, &ndepth); in fit_extract_contents() 907 (noffset >= 0) && (ndepth > 0); in fit_extract_contents() 908 noffset = fdt_next_node(fit, noffset, &ndepth)) { in fit_extract_contents() 916 count, fit_get_name(fit, noffset, NULL)); in fit_extract_contents() 918 fit_image_print(fit, noffset, p); in fit_extract_contents() 920 return fit_image_extract(fit, noffset, in fit_extract_contents()
|
| /u-boot/common/ |
| A D | update.c | 206 if (fit_image_get_load(fit, noffset, (ulong *)fladdr)) in update_fit_getparams() 219 int images_noffset, ndepth, noffset; in update_tftp() local 278 while (noffset >= 0 && ndepth > 0) { in update_tftp() 285 if (!fit_image_verify(fit, noffset)) { in update_tftp() 292 if (update_fit_getparams(fit, noffset, &update_addr, in update_tftp() 306 } else if (fit_image_check_type(fit, noffset, in update_tftp() 316 noffset = fdt_next_node(fit, noffset, &ndepth); in update_tftp() 338 int images_noffset, ndepth, noffset; in fit_update() local 354 while (noffset >= 0 && ndepth > 0) { in fit_update() 361 if (!fit_image_verify(fit, noffset)) { in fit_update() [all …]
|
| /u-boot/cmd/ |
| 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()
|
| /u-boot/include/ |
| A D | image.h | 1083 int noffset, int *len) in fit_get_name() argument 1085 return fdt_get_name(fit_hdr, noffset, len); in fit_get_name() 1088 int fit_get_desc(const void *fit, int noffset, char **desc); 1092 int fit_image_get_os(const void *fit, int noffset, uint8_t *os); 1098 int fit_image_get_data(const void *fit, int noffset, 1101 int fit_image_get_data_position(const void *fit, int noffset, 1106 int fit_image_get_data_and_size(const void *fit, int noffset, 1183 int fit_set_timestamp(void *fit, int noffset, time_t timestamp); 1265 int fit_image_verify(const void *fit, int noffset); 1361 int fit_conf_get_prop_node_count(const void *fit, int noffset, [all …]
|
| /u-boot/lib/ |
| A D | fdt-libcrypto.c | 10 int fdt_add_bignum(void *blob, int noffset, const char *prop_name, in fdt_add_bignum() argument 64 ret = fdt_setprop(blob, noffset, prop_name, buf, size); in fdt_add_bignum()
|
| /u-boot/lib/rsa/ |
| A D | rsa-verify.c | 513 int ndepth, noffset; in rsa_verify_hash() local 543 for (ndepth = 0, noffset = fdt_next_node(blob, sig_node, in rsa_verify_hash() 545 (noffset >= 0) && (ndepth > 0); in rsa_verify_hash() 546 noffset = fdt_next_node(blob, noffset, &ndepth)) { in rsa_verify_hash() 547 if (ndepth == 1 && noffset != node) { in rsa_verify_hash() 550 noffset); in rsa_verify_hash()
|
| /u-boot/include/u-boot/ |
| A D | fdt-libcrypto.h | 24 int fdt_add_bignum(void *blob, int noffset, const char *prop_name,
|
| /u-boot/common/spl/ |
| A D | spl_fit.c | 500 static int spl_fit_image_get_os(const void *fit, int noffset, uint8_t *os) in spl_fit_image_get_os() argument 503 return fit_image_get_os(fit, noffset, os); in spl_fit_image_get_os() 505 const char *name = fdt_getprop(fit, noffset, FIT_OS_PROP, NULL); in spl_fit_image_get_os()
|