desfire.h 471 B

1234567891011121314151617181920
  1. #ifndef DESFIRE_H
  2. #define DESFIRE_H
  3. #include "../metroflip_i.h"
  4. #include <lib/nfc/protocols/mf_desfire/mf_desfire.h>
  5. typedef enum {
  6. CARD_TYPE_ITSO,
  7. CARD_TYPE_OPAL,
  8. CARD_TYPE_CLIPPER,
  9. CARD_TYPE_MYKI,
  10. CARD_TYPE_DESFIRE_UNKNOWN
  11. } DesfireCardType;
  12. bool itso_verify(const MfDesfireData* data);
  13. bool opal_verify(const MfDesfireData* data);
  14. bool clipper_verify(const MfDesfireData* data);
  15. bool myki_verify(const MfDesfireData* data);
  16. #endif // DESFIRE_H