Lines Matching defs:size
61 * 8KB: To align the boot image to the largest NAND page size, and simplify
63 * We choose the largest page size, in order to use a single image for all
99 uint32_t size;
207 printf(" -n NAND device block size in KB [Default is 64KB].\n");
408 * and the adjusted image size into opts.sec_opts->enc_image_sz
430 fprintf(stderr, "Unsupported AES block size %d\n",
462 * and to be aligned to the AES block size.
820 header.size = sizeof(sec_entry_t);
982 * The main header checksum and image size fields updated accordingly
988 * image_size image buffer size.
1018 offset += ext_hdr->size;
1035 /* Image size and checksum should be updated after encryption.
1108 int start, int size, int format)
1111 start, start + size - 1, name);
1165 print_field(ext_hdr, ext_header_t, size, FMT_DEC, base);
1210 do_print_field(0, "binary image", base, ext_hdr->size, FMT_NONE);
1225 curr_size = sizeof(ext_header_t) + ext_hdr->size;
1237 int parse_image(uint8_t *buf, int size)
1268 do_print_field(0, "boot image", base, size - base - 4, FMT_NONE);
1350 ext_hdr->size);
1364 int size, written;
1375 size = get_file_size(filename);
1376 if (size <= 0) {
1377 fprintf(stderr, "bin extension file size is bad\n");
1381 /* Align extension size to 8 bytes */
1382 aligned_size = (size + 7) & (~7);
1383 pad_bytes = aligned_size - size;
1387 header.size = aligned_size;
1398 while (size--) {