mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-19 12:59:44 -07:00
move crypto lib to client directory
This commit is contained in:
parent
ef744d8b1a
commit
abd6fd4f0f
7 changed files with 5 additions and 5 deletions
|
@ -108,7 +108,7 @@ CMDSRCS = $(SRC_SMARTCARD) \
|
||||||
crapto1/crapto1.c\
|
crapto1/crapto1.c\
|
||||||
crapto1/crypto1.c\
|
crapto1/crypto1.c\
|
||||||
polarssl/des.c\
|
polarssl/des.c\
|
||||||
polarssl/libpcrypto.c\
|
crypto/libpcrypto.c\
|
||||||
cliparser/argtable3.c\
|
cliparser/argtable3.c\
|
||||||
cliparser/cliparser.c\
|
cliparser/cliparser.c\
|
||||||
mfkey.c\
|
mfkey.c\
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
#include "mifare.h"
|
#include "mifare.h"
|
||||||
#include "mifare4.h"
|
#include "mifare4.h"
|
||||||
#include "cliparser/cliparser.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};
|
static const uint8_t DefaultKey[16] = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff};
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
// crypto commands
|
// crypto commands
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
#include "polarssl/libpcrypto.h"
|
#include "crypto/libpcrypto.h"
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
|
@ -30,7 +30,7 @@
|
||||||
#include "sda_test.h"
|
#include "sda_test.h"
|
||||||
#include "dda_test.h"
|
#include "dda_test.h"
|
||||||
#include "cda_test.h"
|
#include "cda_test.h"
|
||||||
#include "libpcrypto.h"
|
#include "crypto/libpcrypto.h"
|
||||||
|
|
||||||
int ExecuteCryptoTests(bool verbose) {
|
int ExecuteCryptoTests(bool verbose) {
|
||||||
int res;
|
int res;
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
#include "cmdhf14a.h"
|
#include "cmdhf14a.h"
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
#include "ui.h"
|
#include "ui.h"
|
||||||
#include "polarssl/libpcrypto.h"
|
#include "crypto/libpcrypto.h"
|
||||||
|
|
||||||
int CalculateEncIVCommand(mf4Session *session, uint8_t *iv, bool verbose) {
|
int CalculateEncIVCommand(mf4Session *session, uint8_t *iv, bool verbose) {
|
||||||
memcpy(&iv[0], session->TI, 4);
|
memcpy(&iv[0], session->TI, 4);
|
||||||
|
|
0
client/obj/crypto/.dummy
Normal file
0
client/obj/crypto/.dummy
Normal file
Loading…
Add table
Add a link
Reference in a new issue