mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
remove set iv
This commit is contained in:
parent
035e2701a5
commit
ac8e667c05
1 changed files with 0 additions and 1 deletions
|
@ -406,7 +406,6 @@ static void DesfireSecureChannelEncodeLRP(DesfireContext *ctx, uint8_t cmd, uint
|
|||
memcpy(data, &srcdata[hdrlen], srcdatalen - hdrlen);
|
||||
data[srcdatalen - hdrlen] = 0x80; // padding
|
||||
|
||||
DesfireEV2FillIV(ctx, true, NULL); // fill IV to ctx
|
||||
DesfireCryptoEncDec(ctx, DCOSessionKeyEnc, data, rlen, &dstdata[hdrlen], true);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue