+
+int CheckCrc14443(int CrcType, const unsigned char *Data, int Length) {
+ unsigned char b1;
+ unsigned char b2;
+ if (Length < 3) return 0;
+ ComputeCrc14443(CrcType, Data, Length - 2, &b1, &b2);
+ if ((b1 == Data[Length - 2]) && (b2 == Data[Length - 1])) return 1;
+ return 0;
+}