Searched refs:shiftReg (Results 1 – 1 of 1) sorted by relevance
17 uint32_t shiftReg = crcConfig->crcSeed << ((4U - crcConfig->crcSize) << 3U); in HAL_CrcCompute() local51 if ((shiftReg & 1UL << 31) != 0U) in HAL_CrcCompute()56 shiftReg = (shiftReg << 1); in HAL_CrcCompute()60 shiftReg ^= crcPoly; in HAL_CrcCompute()65 shiftReg |= (1UL << (32U - crcBits)); in HAL_CrcCompute()69 shiftReg &= ~(1UL << (32U - crcBits)); in HAL_CrcCompute()74 shiftReg ^= crcXorOut; in HAL_CrcCompute()78 computedCRC = (shiftReg >> (32U - crcBits)); in HAL_CrcCompute()87 computedCRC |= ((shiftReg & j) != 0U) ? 1U : 0U; in HAL_CrcCompute()