Fix compile issues for mfkey32 and mfkey64 after Pull Request #380
This commit is contained in:
parent
4efdfbe638
commit
d0067d0768
@ -10,9 +10,9 @@
|
|||||||
// MIFARE Darkside hack
|
// MIFARE Darkside hack
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
#include "mifare.h"
|
|
||||||
#include "mfkey.h"
|
#include "mfkey.h"
|
||||||
|
|
||||||
|
#include "mifare.h"
|
||||||
#include "crapto1/crapto1.h"
|
#include "crapto1/crapto1.h"
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -15,6 +15,7 @@
|
|||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
#include "mifare.h"
|
||||||
|
|
||||||
extern bool mfkey32(nonces_t data, uint64_t *outputkey);
|
extern bool mfkey32(nonces_t data, uint64_t *outputkey);
|
||||||
extern bool mfkey32_moebius(nonces_t data, uint64_t *outputkey);
|
extern bool mfkey32_moebius(nonces_t data, uint64_t *outputkey);
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
VPATH = ../../common ../../common/crapto1 ../../client
|
VPATH = ../../common ../../common/crapto1 ../../client
|
||||||
CC = gcc
|
CC = gcc
|
||||||
LD = gcc
|
LD = gcc
|
||||||
CFLAGS = -std=c99 -D_ISOC99_SOURCE -I../../common -I../../client -Wall -O3
|
CFLAGS = -std=c99 -D_ISOC99_SOURCE -I../../include -I../../common -I../../client -Wall -O3
|
||||||
LDFLAGS =
|
LDFLAGS =
|
||||||
|
|
||||||
OBJS = crypto1.o crapto1.o parity.o util_posix.o mfkey.o
|
OBJS = crypto1.o crapto1.o parity.o util_posix.o mfkey.o
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user