remove set iv
This commit is contained in:
1 parent
035e2701a5
commit
ac8e667c05
1 file changed
-1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user