Searched refs:img_sz (Results 1 – 1 of 1) sorted by relevance
75 uint32_t img_sz, mbox_data_sz; in socfpga_vab_authentication() local84 img_sz = get_img_size((uint8_t *)img_addr, *p_size); in socfpga_vab_authentication()86 if (!img_sz) { in socfpga_vab_authentication()91 if (!IS_BYTE_ALIGNED(img_sz, sizeof(uint32_t))) { in socfpga_vab_authentication()92 ERROR("Image size (%d bytes) not aliged to 4 bytes!\n", img_sz); in socfpga_vab_authentication()97 sha384_start((uint8_t *)img_addr, img_sz, hash384, CHUNKSZ_PER_WD_RESET); in socfpga_vab_authentication()98 cert_hash_ptr = (uint8_t *)(img_addr + img_sz + VAB_CERT_MAGIC_OFFSET + in socfpga_vab_authentication()110 mbox_data_addr = img_addr + img_sz - sizeof(uint32_t); in socfpga_vab_authentication()112 mbox_data_sz = (BYTE_ALIGN(*p_size - img_sz, sizeof(uint32_t))) >> 2; in socfpga_vab_authentication()139 *p_size = img_sz; in socfpga_vab_authentication()[all …]