mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 22:03:42 -07:00
remove comments
This commit is contained in:
parent
2432908e08
commit
91b1026f6d
1 changed files with 1 additions and 14 deletions
|
@ -2544,22 +2544,9 @@ int DesfireSetConfiguration(DesfireContext *dctx, uint8_t paramid, uint8_t *para
|
||||||
memcpy(&data[1], param, paramlen);
|
memcpy(&data[1], param, paramlen);
|
||||||
size_t datalen = 1 + paramlen;
|
size_t datalen = 1 + paramlen;
|
||||||
|
|
||||||
|
|
||||||
/*// add crc
|
|
||||||
if (dctx->secureChannel == DACd40) {
|
|
||||||
iso14443a_crc_append(&data[1], datalen - 1);
|
|
||||||
datalen += 2;
|
|
||||||
} else {
|
|
||||||
desfire_crc32_append(cdata, datalen + 1);
|
|
||||||
datalen += 4;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
// dynamic length
|
// dynamic length
|
||||||
if (paramid == 0x02 && dctx->commMode == DCMEncrypted) {
|
if (paramid == 0x02 && dctx->commMode == DCMEncrypted)
|
||||||
dctx->commMode = DCMEncryptedWithPadding;
|
dctx->commMode = DCMEncryptedWithPadding;
|
||||||
//data[datalen] = 0x80;
|
|
||||||
//datalen++;
|
|
||||||
}
|
|
||||||
|
|
||||||
// send command
|
// send command
|
||||||
uint8_t resp[257] = {0};
|
uint8_t resp[257] = {0};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue