Searched refs:calc_crc (Results 1 – 3 of 3) sorted by relevance
31 uint32_t calc_crc = ~crc; in tf_crc32() local39 calc_crc = __crc32b(calc_crc, *local_buf); in tf_crc32()44 return ~calc_crc; in tf_crc32()
40 uint32_t calc_crc = tf_crc32(0U, data + sizeof(metadata.crc_32), in fwu_metadata_crc_check() local44 if (metadata.crc_32 != calc_crc) { in fwu_metadata_crc_check()
88 uint32_t header_crc, calc_crc; in load_gpt_header() local112 calc_crc = tf_crc32(0U, (uint8_t *)&header, DEFAULT_GPT_HEADER_SIZE); in load_gpt_header()113 if (header_crc != calc_crc) { in load_gpt_header()115 header_crc, calc_crc); in load_gpt_header()