Searched refs:crc_offset (Results 1 – 2 of 2) sorted by relevance
540 uint8_t crc_offset = size - 4; in ps_get_report() local541 uint32_t report_crc = get_unaligned_le32(&buf[crc_offset]); in ps_get_report()543 if (!ps_check_crc32(PS_FEATURE_CRC32_SEED, buf, crc_offset, report_crc)) { in ps_get_report()
2580 u16 img_optype, u32 img_offset, u32 crc_offset) in be_cmd_get_flash_crc() argument2601 req->params.offset = cpu_to_le32(img_offset + crc_offset); in be_cmd_get_flash_crc()2603 req->params.offset = cpu_to_le32(crc_offset); in be_cmd_get_flash_crc()2667 u32 crc_offset; in be_check_flash_crc() local2676 crc_offset = hdr_size + img_offset + img_size - 4; in be_check_flash_crc()2679 if (!memcmp(crc, p + crc_offset, 4)) in be_check_flash_crc()