/tools/ |
A D | sunxi-spl-image-builder.c | 117 int steps = info->usable_page_size / info->ecc_step_size; in write_page() 126 memset(buffer, 0xff, info->page_size + info->oob_size); in write_page() 138 fwrite(buffer, info->page_size + info->oob_size, 1, dst); in write_page() 160 cnt = info->page_size + info->oob_size - offs; in write_page() 169 cnt = info->page_size + info->oob_size - offs; in write_page() 200 if (info->scramble && info->boot0) { in write_page() 240 off_t page = info->offset / info->page_size; in create_image() 251 buffer = malloc(info->page_size + info->oob_size); in create_image() 388 if (info->page_size + info->oob_size < in check_image_info() 402 memset(&info, 0, sizeof(info)); in main() [all …]
|
A D | preload_check_sign.c | 127 info.algo_name = algo; in main() 129 info.key = (uint8_t *)pkey; in main() 130 info.mandatory = 1; in main() 132 if (info.sig_size < 0) { in main() 140 info.sig_info.name = info.algo_name; in main() 141 info.sig_info.padding = image_get_padding_algo(info.padding_name); in main() 142 info.sig_info.checksum = image_get_checksum_algo(info.sig_info.name); in main() 143 info.sig_info.crypto = image_get_crypto_algo(info.sig_info.name); in main() 144 info.sig_info.key = info.key; in main() 145 info.sig_info.keylen = info.key_len; in main() [all …]
|
A D | fdt_add_pubkey.c | 67 if (!info) in reset_info() 72 info->keydir = keydir; in reset_info() 73 info->keyname = keyname; in reset_info() 74 info->name = algo_name; in reset_info() 75 info->require_keys = require_keys; in reset_info() 78 if (!info->crypto) { in reset_info() 92 if (!info) in add_pubkey() 109 ret = info->crypto->add_verify_data(info, dest_blob); in add_pubkey() 121 struct image_sign_info info; in main() local 127 reset_info(&info); in main() [all …]
|
A D | mtk_nand_headers.c | 534 struct nand_header_info *info) in mtk_nand_header_ap_info() argument 544 info->gfh_offset = 2 * info->page_size; in mtk_nand_header_ap_info() 545 info->snfi = true; in mtk_nand_header_ap_info() 551 struct nand_header_info *info) in mtk_nand_header_hsm_info() argument 557 info->gfh_offset = info->page_size; in mtk_nand_header_hsm_info() 558 info->snfi = true; in mtk_nand_header_hsm_info() 564 struct nand_header_info *info) in mtk_nand_header_spim_info() argument 570 info->gfh_offset = info->page_size; in mtk_nand_header_spim_info() 571 info->snfi = false; in mtk_nand_header_spim_info() 590 struct nand_header_info info; in is_mtk_nand_header() local [all …]
|
A D | image-host.c | 191 memset(info, '\0', sizeof(*info)); in fit_image_setup_sig() 195 info->fit = fit; in fit_image_setup_sig() 203 if (!info->checksum || !info->crypto) { in fit_image_setup_sig() 285 ret = info.crypto->add_verify_data(&info, keydest); in fit_image_process_sig() 457 info->key = malloc(info->cipher->key_len); in fit_image_setup_cipher() 465 ret = fit_image_read_key_iv_data(info->keydir, info->keyname, in fit_image_setup_cipher() 471 info->iv = malloc(info->cipher->iv_len); in fit_image_setup_cipher() 538 memset(&info, 0, sizeof(info)); in fit_image_process_cipher() 545 ret = info.cipher->encrypt(&info, data, size, in fit_image_process_cipher() 1130 ret = info.crypto->add_verify_data(&info, keydest); in fit_config_process_sig() [all …]
|
A D | rkcommon.c | 254 struct spl_info *info = rkcommon_get_spl_info(params->imagename); in rkcommon_get_spl_hdr() local 259 return info->spl_hdr; in rkcommon_get_spl_hdr() 264 struct spl_info *info = rkcommon_get_spl_info(params->imagename); in rkcommon_get_spl_size() local 269 return info->spl_size; in rkcommon_get_spl_size() 274 struct spl_info *info = rkcommon_get_spl_info(params->imagename); in rkcommon_need_rc4_spl() local 279 return info->spl_rc4; in rkcommon_need_rc4_spl() 284 struct spl_info *info = rkcommon_get_spl_info(params->imagename); in rkcommon_is_header_v2() local 286 return (info->header_ver == RK_HEADER_V2); in rkcommon_is_header_v2()
|
A D | mtk_image.c | 363 struct nand_header_info info; in mtk_image_verify_nand_header() local 368 ret = mtk_nand_header_info(ptr, &info); in mtk_image_verify_nand_header() 373 bh = (struct brom_layout_header *)(ptr + info.page_size); in mtk_image_verify_nand_header() 388 if (info.snfi) in mtk_image_verify_nand_header() 397 if (info.page_size >= 1024) in mtk_image_verify_nand_header() 398 printf("Page Size: %dKB\n", info.page_size >> 10); in mtk_image_verify_nand_header() 400 printf("Page Size: %dB\n", info.page_size); in mtk_image_verify_nand_header() 402 printf("Spare Size: %dB\n", info.spare_size); in mtk_image_verify_nand_header() 405 gfh = (struct gfh_header *)(ptr + info.gfh_offset); in mtk_image_verify_nand_header()
|
A D | mtk_nand_headers.h | 156 int mtk_nand_header_info(const void *ptr, struct nand_header_info *info);
|
A D | ifwitool.c | 1675 static void create_subpart(struct buffer *dst, struct buffer *info[], in create_subpart() argument 1692 curr_offset = init_subpart_dir_entry(&e[i], info[i], in create_subpart() 1700 memcpy(data + e[i].offset, buffer_get(info[i]), in create_subpart() 1701 buffer_size(info[i])); in create_subpart() 1752 struct buffer *info[] = { in ibbp_dir_add() local 1755 create_subpart(&ifwi_image.subpart_buf[type], &info[0], in ibbp_dir_add() 1756 ARRAY_SIZE(info), subparts[type].name); in ibbp_dir_add()
|
/tools/binman/etype/ |
A D | intel_descriptor.py | 58 info = {} 62 info['intel-me'] = [0x1000, None] 63 return info 76 info['intel-me'] = [self._regions[REGION_ME].base, 79 info['intel-ifwi'] = [self._regions[REGION_BIOS].base, None] 80 return info
|
A D | section.py | 662 tout.info(f'Symbol-writing: no value for {entry._node.path}') 811 for name, info in offset_dict.items(): 812 self._SetEntryOffsetSize(name, *info) 872 tout.info("ReadData path='%s'" % self.GetPath()) 876 tout.info( 893 tout.info("%s: Decompressing data size %#x with algo '%s' to data size %#x" %
|
/tools/patman/ |
A D | cseries.py | 58 tout.info(msg) 99 tout.info(msg) 367 tout.info('') 370 tout.info(border) 383 tout.info(border) 473 tout.info( 767 tout.info( 771 tout.info(msg) 984 tout.info( 1031 tout.info('') [all …]
|
A D | database.py | 485 def ser_ver_set_info(self, info): argument 496 assert info.idnum is not None 497 if info.cover_id: 498 assert info.series_id is None 502 (info.cover_id, info.cover_num_comments, info.name, 503 info.idnum)) 505 assert not info.cover_id 507 assert not info.series_id 508 assert not info.version 509 assert not info.link [all …]
|
A D | cser_helper.py | 747 tout.info( 958 vals.info = '' 967 max_len = max(len(info) for info, rest in lines) + 1 968 for info, rest in lines: 969 if info: 970 info += ':' 994 vals.info = 'marked' 996 vals.info = 'has mark' 1037 if 'add' not in vals.info: 1038 vals.info += 'add ' [all …]
|
A D | patchwork.py | 805 info = await self.get_cover_comments(client, cover_id) 806 cover = COVER(cover_id, len(info), cover['name'], info) 840 info = patch_list[i] 841 pat = Patch(info['id'], series_data=info) 842 pat.raw_subject = info['name']
|
A D | commit.py | 52 def add_change(self, version, info): argument 61 self.changes[version].append(info)
|
A D | control.py | 268 info = cser.project_get() 269 if not info: 271 name, pwid, link_name = info
|
A D | series.py | 393 def AddChange(self, version, commit, info): argument 406 self.changes[version].append([commit, info])
|
/tools/dtoc/ |
A D | dtb_platdata.py | 555 info = self.get_phandle_argc(prop, node.name) 556 if info: 559 for args in info.args: 584 if info: 610 info = self.get_phandle_argc(prop, node.name) 611 if info: 614 for args in info.args: 670 def alloc_priv(self, info, name, extra, suffix='_priv'): argument 671 result = self.prep_priv(info, name, suffix) 679 def alloc_plat(self, info, name, extra, node): argument [all …]
|
/tools/binman/ |
A D | image.py | 184 tout.info("Writing image to '%s'" % fname) 190 tout.info("Wrote %#x bytes" % len(data)) 207 tout.info(f"Writing alternate '{alt}' to '{pathname}'") 209 tout.info("Wrote %#x bytes" % len(data))
|
A D | state.py | 267 tout.info('Preparing device trees') 272 tout.info(" Found device tree type 'fdtmap' '%s'" % image.fdtmap_dtb.name) 276 tout.info(" Found device tree type '%s' at '%s' path '%s'" % 289 tout.info(" FDT path prefix '%s'" % fdt_path_prefix)
|
A D | control.py | 356 tout.info('Processing image') 364 tout.info('Writing data to %s' % entry.GetPath()) 389 tout.info("Write entry '%s', file '%s'" % (entry_path, image_fname)) 447 tout.info("Skipping section entry '%s'" % entry.GetPath()) 731 tout.info( 806 tout.info('Pack completed after %d pass(es)' % (pack_pass + 1))
|
A D | bintool.py | 305 tout.info(f"bintool '{name}' not found") 308 tout.info(f"bintool '{name}' failed")
|
/tools/binman/btool/ |
A D | fiptool.py | 54 def info(self, fname): member in Bintoolfiptool
|
/tools/u_boot_pylib/ |
A D | tout.py | 135 def info(msg): function
|