Searched refs:calc_crc (Results 1 – 3 of 3) sorted by relevance
/external/u-boot/tools/ |
D | socfpgaimage.c | 201 uint32_t calc_crc; in sfp_sign_buffer() local 210 calc_crc = ~pbl_crc32(0, (char *)buf, len); in sfp_sign_buffer() 212 *((uint32_t *)(buf + len)) = cpu_to_le32(calc_crc); in sfp_sign_buffer() 224 uint32_t calc_crc; in sfp_verify_buffer() local 245 calc_crc = ~pbl_crc32(0, (const char *)buf, len); in sfp_verify_buffer() 249 if (buf_crc != calc_crc) { in sfp_verify_buffer() 251 buf_crc, calc_crc); in sfp_verify_buffer()
|
/external/u-boot/fs/ubifs/ |
D | lpt.c | 913 uint16_t crc, calc_crc; in check_lpt_crc() local 916 calc_crc = crc16(-1, buf + UBIFS_LPT_CRC_BYTES, in check_lpt_crc() 918 if (crc != calc_crc) { in check_lpt_crc() 920 crc, calc_crc); in check_lpt_crc()
|
D | lpt_commit.c | 1116 uint16_t crc, calc_crc; in is_a_node() local 1129 calc_crc = crc16(-1, buf + UBIFS_LPT_CRC_BYTES, in is_a_node() 1131 if (crc != calc_crc) in is_a_node()
|