projects
/
proxmark3-svn
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
code cleanup.
[proxmark3-svn]
/
armsrc
/
desfire_key.c
diff --git
a/armsrc/desfire_key.c
b/armsrc/desfire_key.c
index b3aa14e91fdd8d9db5782047ac41a07f4b323e37..9ae2c3f0c74d4a8f5bdad95247ffb3cade561b58 100644
(file)
--- a/
armsrc/desfire_key.c
+++ b/
armsrc/desfire_key.c
@@
-60,6
+60,7
@@
void Desfire_3des_key_new_with_version (const uint8_t value[16], desfirekey_t ke
if ( key != NULL ){
key->type = T_3DES;
memcpy (key->data, value, 16);
if ( key != NULL ){
key->type = T_3DES;
memcpy (key->data, value, 16);
+ memcpy (key->data + 16, value, 8);
update_key_schedules (key);
}
}
update_key_schedules (key);
}
}
Impressum
,
Datenschutz