mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-20 13:23:25 -07:00
small fix and added line to changelog.
This commit is contained in:
parent
868deeb783
commit
079563a092
2 changed files with 4 additions and 2 deletions
|
@ -46,6 +46,7 @@ This project uses the changelog in accordance with [keepchangelog](http://keepac
|
||||||
- Added to `hf emv exec` MSD path for VISA and Mastercard and some other compatible EMV cards (Merlok)
|
- Added to `hf emv exec` MSD path for VISA and Mastercard and some other compatible EMV cards (Merlok)
|
||||||
- Added to `hf emv exec` SDA, DDA, fast DDA, CDA calculations for VISA and Mastercard and some other compatible EMV cards (Merlok)
|
- Added to `hf emv exec` SDA, DDA, fast DDA, CDA calculations for VISA and Mastercard and some other compatible EMV cards (Merlok)
|
||||||
- Added `hf emv test` - crypto tests for DES, AES, SHA, RSA, SDA, DDA, CDA and some other crypto functions (Merlok)
|
- Added `hf emv test` - crypto tests for DES, AES, SHA, RSA, SDA, DDA, CDA and some other crypto functions (Merlok)
|
||||||
|
- Added `hf list mf` - deciphers crypto1 stream and works with first authentication and weak nested authentications (Merlok)
|
||||||
|
|
||||||
## [3.0.1][2017-06-08]
|
## [3.0.1][2017-06-08]
|
||||||
|
|
||||||
|
|
|
@ -325,11 +325,12 @@ void annotateMifare(char *exp, size_t size, uint8_t* cmd, uint8_t cmdsize, uint8
|
||||||
if (cmdsize == 4 && isResponse) {
|
if (cmdsize == 4 && isResponse) {
|
||||||
snprintf(exp,size,"AUTH: nt %s", (AuthData.first_auth) ? "" : "(enc)");
|
snprintf(exp,size,"AUTH: nt %s", (AuthData.first_auth) ? "" : "(enc)");
|
||||||
MifareAuthState = masNrAr;
|
MifareAuthState = masNrAr;
|
||||||
if (AuthData.first_auth)
|
if (AuthData.first_auth) {
|
||||||
AuthData.nt = bytes_to_num(cmd, 4);
|
AuthData.nt = bytes_to_num(cmd, 4);
|
||||||
else
|
} else {
|
||||||
AuthData.nt_enc = bytes_to_num(cmd, 4);
|
AuthData.nt_enc = bytes_to_num(cmd, 4);
|
||||||
AuthData.nt_enc_par = parity[0];
|
AuthData.nt_enc_par = parity[0];
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
MifareAuthState = masError;
|
MifareAuthState = masError;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue