Home
last modified time | relevance | path

Searched refs:optarg (Results 1 – 9 of 9) sorted by relevance

/trusted-firmware-a/tools/encrypt_fw/src/
A Dmain.c168 key_alg = get_key_alg(optarg); in main()
170 ERROR("Invalid key algorithm '%s'\n", optarg); in main()
175 parse_fw_enc_status_flag(optarg, &fw_enc_status); in main()
178 key = optarg; in main()
181 in_fn = optarg; in main()
184 out_fn = optarg; in main()
187 nonce = optarg; in main()
/trusted-firmware-a/tools/nxp/create_pbl/
A Dcreate_pbl.c712 pblimg.addr = strtoull(optarg, &ptr, 16); in main()
720 pblimg.rcw_nm = optarg; in main()
732 pblimg.ep = strtoull(optarg, &ptr, 16); in main()
743 pblimg.sec_imgnm = optarg; in main()
754 tmp = atoi(optarg); in main()
780 pblimg.imagefile = optarg; in main()
787 if (strcmp(optarg, "qspi") == 0) { in main()
789 } else if (strcmp(optarg, "nor") == 0) { in main()
791 } else if (strcmp(optarg, "nand") == 0) { in main()
793 } else if (strcmp(optarg, "sd") == 0) { in main()
[all …]
/trusted-firmware-a/tools/stm32image/
A Dstm32image.c207 src = optarg; in main()
210 dest = optarg; in main()
213 loadaddr = strtol(optarg, NULL, 0); in main()
216 entry = strtol(optarg, NULL, 0); in main()
219 version = strtol(optarg, NULL, 0); in main()
222 major = strtol(optarg, NULL, 0); in main()
225 minor = strtol(optarg, NULL, 0); in main()
/trusted-firmware-a/tools/cert_create/src/
A Dmain.c356 key_alg = get_key_alg(optarg); in main()
358 ERROR("Invalid key algorithm '%s'\n", optarg); in main()
363 key_size = get_key_size(optarg); in main()
365 ERROR("Invalid key size '%s'\n", optarg); in main()
382 hash_alg = get_hash_alg(optarg); in main()
384 ERROR("Invalid hash algorithm '%s'\n", optarg); in main()
391 ext->arg = strdup(optarg); in main()
396 key->fn = strdup(optarg); in main()
401 cert->fn = strdup(optarg); in main()
/trusted-firmware-a/tools/fiptool/
A Dwin_posix.c41 char *optarg; /* = 0; */ variable
57 optarg = (char *)0; in getopt_init()
86 optarg = argv[optind++]; in getopt_1char()
214 optarg = argv[++optind]; in getopt_1long()
A Dfiptool.c705 set_image_desc_action(desc, DO_PACK, optarg); in create_cmd()
709 parse_plat_toc_flags(optarg, &toc_flags); in create_cmd()
712 align = get_image_align(optarg); in create_cmd()
720 parse_blob_opt(optarg, &uuid, in create_cmd()
810 set_image_desc_action(desc, DO_PACK, optarg); in update_cmd()
814 parse_plat_toc_flags(optarg, &toc_flags); in update_cmd()
823 parse_blob_opt(optarg, &uuid, in update_cmd()
840 align = get_image_align(optarg); in update_cmd()
937 parse_blob_opt(optarg, &uuid, in unpack_cmd()
1075 align = get_image_align(optarg); in remove_cmd()
[all …]
A Dwin_posix.h93 extern char *optarg;
/trusted-firmware-a/tools/sptool/
A Dsptool.c319 append_user_input(&in_head, optarg); in main()
323 append_user_input(&out_head, optarg); in main()
/trusted-firmware-a/tools/marvell/doimage/
A Ddoimage.c1607 opts.load_addr = strtoul(optarg, NULL, 0); in main()
1610 opts.exec_addr = strtoul(optarg, NULL, 0); in main()
1616 opts.baudrate = strtoul(optarg, NULL, 0); in main()
1619 strncpy(opts.bin_ext_file, optarg, MAX_FILENAME); in main()
1626 nand_block_size_kb = strtoul(optarg, NULL, 0); in main()
1631 if (!strncmp("MLC", optarg, 3)) in main()
1637 strncpy(opts.sec_cfg_file, optarg, MAX_FILENAME); in main()
1641 opts.key_index = strtoul(optarg, NULL, 0); in main()

Completed in 14 milliseconds