Ignore the status code when deciphering (3)DES data.
This commit is contained in:
parent
373cb4f0ef
commit
f06b0ac5d3
1 changed files with 1 additions and 0 deletions
|
@ -554,6 +554,7 @@ mifare_cryto_postprocess_data (MifareTag tag, void *data, ssize_t *nbytes, int c
|
|||
switch (key->type) {
|
||||
case T_DES:
|
||||
case T_3DES:
|
||||
(*nbytes)--;
|
||||
mifare_cbc_des (MIFARE_DESFIRE (tag)->session_key, MIFARE_DESFIRE (tag)->ivect, res, *nbytes, MD_RECEIVE, 0);
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Reference in a new issue