Searched refs:img_size (Results 1 – 1 of 1) sorted by relevance
33 size_t img_size = 0, spi_size = 0; in check_compatible_keys() local34 uint8_t *img_rootkey = gbb_get_rootkey(img, &img_size); in check_compatible_keys()37 if (!img_rootkey || !spi_rootkey || img_size != spi_size) { in check_compatible_keys()38 ALOGD("Invalid root key SPI %zd IMG %zd\n", spi_size, img_size); in check_compatible_keys()42 if (memcmp(img_rootkey, spi_rootkey, img_size)) { in check_compatible_keys()