move crypto lib to client directory

This commit is contained in:
merlokk 2018-11-07 17:12:34 +02:00
commit abd6fd4f0f
7 changed files with 5 additions and 5 deletions

View file

@ -108,7 +108,7 @@ CMDSRCS = $(SRC_SMARTCARD) \
crapto1/crapto1.c\
crapto1/crypto1.c\
polarssl/des.c\
polarssl/libpcrypto.c\
crypto/libpcrypto.c\
cliparser/argtable3.c\
cliparser/cliparser.c\
mfkey.c\

View file

@ -24,7 +24,7 @@
#include "mifare.h"
#include "mifare4.h"
#include "cliparser/cliparser.h"
#include "polarssl/libpcrypto.h"
#include "crypto/libpcrypto.h"
static const uint8_t DefaultKey[16] = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff};

View file

@ -9,7 +9,7 @@
// crypto commands
//-----------------------------------------------------------------------------
#include "polarssl/libpcrypto.h"
#include "crypto/libpcrypto.h"
#include <stdlib.h>
#include <unistd.h>
#include <string.h>

View file

@ -30,7 +30,7 @@
#include "sda_test.h"
#include "dda_test.h"
#include "cda_test.h"
#include "libpcrypto.h"
#include "crypto/libpcrypto.h"
int ExecuteCryptoTests(bool verbose) {
int res;

View file

@ -15,7 +15,7 @@
#include "cmdhf14a.h"
#include "util.h"
#include "ui.h"
#include "polarssl/libpcrypto.h"
#include "crypto/libpcrypto.h"
int CalculateEncIVCommand(mf4Session *session, uint8_t *iv, bool verbose) {
memcpy(&iv[0], session->TI, 4);

0
client/obj/crypto/.dummy Normal file
View file