]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdhfmfu.c
Merge branch 'master' of https://github.com/Proxmark/proxmark3
[proxmark3-svn] / client / cmdhfmfu.c
index 9bccc420a28574eaec6397fefb9f40d92e146d65..310d5bdcd496148f31936cc36d88746b62512473 100644 (file)
@@ -856,12 +856,12 @@ int CmdHF14AMfuGenDiverseKeys(const char *Cmd){
        des3_context ctx = { 0x00 };
        des3_set2key_enc(&ctx, masterkey);
 
-       des3_crypt_cbc(&ctx     // des3_context *ctx
-               , DES_ENCRYPT       // int mode
-               , sizeof(mix)    // size_t length
-               , iv                // unsigned char iv[8]
-               , mix            // const unsigned char *input
-               , divkey           // unsigned char *output
+       des3_crypt_cbc(&ctx  // des3_context
+               , DES_ENCRYPT    // int mode
+               , sizeof(mix)    // length
+               , iv             // iv[8]
+               , mix            // input
+               , divkey         // output
                );
 
        PrintAndLog("3DES version");
Impressum, Datenschutz