Code cleanup: deduplicate crapto1 library (#228)

- merge the existing 4 crapto1 sources into common/crapto1
This commit is contained in:
pwpiwi 2017-03-09 11:12:50 +01:00 committed by GitHub
commit 33443e7caa
24 changed files with 644 additions and 2638 deletions

View file

@ -8,11 +8,12 @@
//-----------------------------------------------------------------------------
// code for work with mifare cards.
//-----------------------------------------------------------------------------
#include "crapto1.h"
#ifndef __MIFAREUTIL_H
#define __MIFAREUTIL_H
#include "crapto1/crapto1.h"
// mifare authentication
#define CRYPT_NONE 0
#define CRYPT_ALL 1