Searched refs:app_integrity (Results 1 – 1 of 1) sorted by relevance
1243 const struct cyapa_tsg_bin_image_data_record *app_integrity; in cyapa_pip_check_fw() local 1267 app_integrity = &image_records[flash_records_count - 1]; in cyapa_pip_check_fw() 1269 if (app_integrity->flash_array_id != 0x00 || in cyapa_pip_check_fw() 1270 get_unaligned_be16(&app_integrity->row_number) != 0x01ff) { in cyapa_pip_check_fw() 1271 dev_err(dev, "%s: invalid app_integrity data.\n", __func__); in cyapa_pip_check_fw() 1275 metadata = (const void *)app_integrity->record_data; in cyapa_pip_check_fw() 1277 /* Verify app_integrity crc */ in cyapa_pip_check_fw() 1278 app_integrity_crc = crc_itu_t(0xffff, app_integrity->record_data, in cyapa_pip_check_fw() 1281 dev_err(dev, "%s: invalid app_integrity crc.\n", __func__); in cyapa_pip_check_fw()