Lines Matching refs:img_sz
76 uint32_t img_sz, mbox_data_sz;
85 img_sz = get_img_size((uint8_t *)img_addr, *p_size);
87 if (!img_sz) {
92 if (!IS_BYTE_ALIGNED(img_sz, sizeof(uint32_t))) {
93 ERROR("Image size (%d bytes) not aliged to 4 bytes!\n", img_sz);
98 sha384_start((uint8_t *)img_addr, img_sz, hash384, CHUNKSZ_PER_WD_RESET);
99 cert_hash_ptr = (uint8_t *)(img_addr + img_sz + VAB_CERT_MAGIC_OFFSET +
111 mbox_data_addr = img_addr + img_sz - sizeof(uint32_t);
113 mbox_data_sz = (BYTE_ALIGN(*p_size - img_sz, sizeof(uint32_t))) >> 2;
140 *p_size = img_sz;
171 NOTICE("%s 0x%lx (%d bytes)\n", "Image Authentication passed at address", img_addr, img_sz);