Fix compile issues for mfkey32 and mfkey64 after Pull Request #380

This commit is contained in:
pwpiwi 2017-08-18 07:50:03 +02:00
parent 4efdfbe638
commit d0067d0768
3 changed files with 3 additions and 2 deletions

View file

@ -10,9 +10,9 @@
// MIFARE Darkside hack
//-----------------------------------------------------------------------------
#include "mifare.h"
#include "mfkey.h"
#include "mifare.h"
#include "crapto1/crapto1.h"

View file

@ -15,6 +15,7 @@
#include <stdint.h>
#include <stdbool.h>
#include "mifare.h"
extern bool mfkey32(nonces_t data, uint64_t *outputkey);
extern bool mfkey32_moebius(nonces_t data, uint64_t *outputkey);

View file

@ -1,7 +1,7 @@
VPATH = ../../common ../../common/crapto1 ../../client
CC = 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 =
OBJS = crypto1.o crapto1.o parity.o util_posix.o mfkey.o