mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-22 22:33:48 -07:00
cmdhfmf uses libcrypto
This commit is contained in:
parent
93a19fb953
commit
3cc199ea34
1 changed files with 0 additions and 7 deletions
|
@ -24,7 +24,6 @@
|
||||||
#include "protocols.h"
|
#include "protocols.h"
|
||||||
#include "util_posix.h" // msclock
|
#include "util_posix.h" // msclock
|
||||||
#include "cmdhfmfhard.h"
|
#include "cmdhfmfhard.h"
|
||||||
#include "des.h" // des ecb
|
|
||||||
#include "crapto1/crapto1.h" // prng_successor
|
#include "crapto1/crapto1.h" // prng_successor
|
||||||
#include "cmdhf14a.h" // exchange APDU
|
#include "cmdhf14a.h" // exchange APDU
|
||||||
#include "crypto/libpcrypto.h"
|
#include "crypto/libpcrypto.h"
|
||||||
|
@ -5645,12 +5644,6 @@ static int CmdHf14AGen3Freeze(const char *Cmd) {
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void des_decrypt(void *out, const void *in, const void *key) {
|
|
||||||
mbedtls_des_context ctx;
|
|
||||||
mbedtls_des_setkey_dec(&ctx, key);
|
|
||||||
mbedtls_des_crypt_ecb(&ctx, in, out);
|
|
||||||
}
|
|
||||||
|
|
||||||
static int CmdHf14AMfSuperCard(const char *Cmd) {
|
static int CmdHf14AMfSuperCard(const char *Cmd) {
|
||||||
|
|
||||||
CLIParserContext *ctx;
|
CLIParserContext *ctx;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue