Home
last modified time | relevance | path

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

/device/google/dragon/recovery/updater/
Dupdate_fw.cpp33 size_t img_size = 0, spi_size = 0; in check_compatible_keys() local
34 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()