Home
last modified time | relevance | path

Searched refs:wCrc (Results 1 – 2 of 2) sorted by relevance

/external/libnfc-nci/halimpl/pn54x/dnld/
DphDnldNfc_Utils.c63 uint16_t wCrc = 0xffff; in phDnldNfc_CalcCrc16() local
77 wTmp = (wCrc >> 8U) ^ wValue; in phDnldNfc_CalcCrc16()
78 wCrc = (wCrc << 8U) ^ aCrcTab[wTmp]; in phDnldNfc_CalcCrc16()
82 return wCrc; in phDnldNfc_CalcCrc16()
/external/libnfc-nxp/src/
DphFriNfc_MifareULMap.c2091 uint16_t wCrc; in phFriNfc_MfUL_H_ComputeCrc() local
2095 wCrc = 0x6363; /* ITU-V.41 */ in phFriNfc_MfUL_H_ComputeCrc()
2098 wCrc = 0xFFFF; /* ISO/IEC 13239 (formerly ISO/IEC 3309) */ in phFriNfc_MfUL_H_ComputeCrc()
2107 phFriNfc_MfUL_H_UpdateCrc(chBlock, &wCrc); in phFriNfc_MfUL_H_ComputeCrc()
2109 *TransmitFirst = (uint8_t) (wCrc & 0xFF); in phFriNfc_MfUL_H_ComputeCrc()
2110 *TransmitSecond = (uint8_t) ((wCrc >> 8) & 0xFF); in phFriNfc_MfUL_H_ComputeCrc()