Forum › MIFARE SmartCard IC`s › MIFARE Classic › Mifare Classic MAD1 CRC8 Generation › Reply To: Mifare Classic MAD1 CRC8 Generation
The most important part in the previous post was cut (boost::crc_optimal), so I will try to post that line again without marking it as code (no idea how could I edit the post):
// init vector defined in MAD appnote is 0xE3. This didn't work, but bit-swapped value 0xC7 works
boost::crc_optimal crc8;
// init vector defined in MAD appnote is 0xE3. This didn't work, but bit-swapped value 0xC7 works
boost::crc_optimal crc8;
+ 0
|
- 0