Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/nfcjlib/core/DESFireEV1.java
Original file line number Diff line number Diff line change
Expand Up @@ -299,9 +299,9 @@ private boolean changeKey(byte keyNo, byte keyVersion, KeyType type, byte[] newK
switch (ktype) {
case DES:
case TDES:
case TKTDES:
plaintext = type == KeyType.TKTDES ? new byte[32] : new byte[24];
break;
case TKTDES:
case AES:
plaintext = new byte[32];
break;
Expand Down