]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/desfire_key.c
ADD: @go_tus 's code to generate wiegand codes from FacilityCode/SiteCode and Cardn...
[proxmark3-svn] / armsrc / desfire_key.c
index b3aa14e91fdd8d9db5782047ac41a07f4b323e37..9ae2c3f0c74d4a8f5bdad95247ffb3cade561b58 100644 (file)
@@ -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);
+               memcpy (key->data + 16, value, 8);
                update_key_schedules (key);
        }
 }
Impressum, Datenschutz