Commit graph

  • 3b737a11e8 Add access bit macros to ease-up writing code using the library. Romain Tartiere 2010-03-19 09:00:06 +0000
  • feb240ee73 Fix MAD CRC algorithm. Romain Tartiere 2010-03-18 21:03:07 +0000
  • 42692ccf54 Style. Romain Tartiere 2010-03-02 19:01:12 +0000
  • 0f72871eb3 Instead of copying n fields, setup a pointer to the relevant supported_tag information in mifare_tag structures. Romain Tartiere 2010-03-01 14:19:48 +0000
  • 0d4744001a Add support for friendly tag names. Romain Tartiere 2010-03-01 14:04:47 +0000
  • 62ddf57c53 Rework byteswap.h inclusion. Romain Tartiere 2010-02-25 18:02:54 +0000
  • 8b2de449c7 define le32toh and htole32, this allow to compile against libc that doesn't provide these functions (like Debian Lenny) Romuald Conty 2010-02-24 21:52:45 +0000
  • 8a62a843ac Fix the test_mifare_classic_format unit test. Romain Tartiere 2010-02-23 14:22:23 +0000
  • ce006c3cc9 Change a secret ninja guru one-line expression into a function and document what it is supposed to do and how it does it. Romain Tartiere 2010-02-23 12:05:14 +0000
  • 5f7f8ffe2a Add support for MIFARE Classic 4K. Romain Tartiere 2010-02-23 02:12:18 +0000
  • 24a9198f41 Fix wrong MIFARE Classic 4K SAK. Romain Tartiere 2010-02-23 02:03:45 +0000
  • ffcc3174b2 Add missing block_number <- block that prevented full cache hits. Romain Tartiere 2010-02-23 02:00:04 +0000
  • 0f8ec71198 Add a unit test for mifare_classic_get_uid(). Romain Tartiere 2010-02-22 17:30:50 +0000
  • e0d2405a30 Rework data structures allocations / frees. Romain Tartiere 2010-02-22 12:25:23 +0000
  • e52fbccb4a Remove unneeded header. Romain Tartiere 2010-02-22 12:05:48 +0000
  • 74bc239a71 Abstract tag manipulation functions. Romain Tartiere 2010-02-19 14:50:18 +0000
  • 2fd329e530 Do not make regression tests fail: spamming my shell is enouth to reminf me to fix this. Romain Tartiere 2010-02-19 14:40:28 +0000
  • d76da4697b Update files headers and Ids. Romain Tartiere 2010-02-19 10:43:06 +0000
  • 1b6d7ab210 Fix MIFARE UltraLight UID length. Romain Tartiere 2010-02-18 18:32:53 +0000
  • 4c2da817f0 Fix MIFARE UltraLight related code (C99 compliance). Romain Tartiere 2010-02-18 18:13:48 +0000
  • 6d5224472c Fix MIFARE Classic unit tests default key. Romain Tartiere 2010-02-18 18:12:36 +0000
  • 2380583ec6 fix the mifare_classic_transfer() function. Romain Tartiere 2010-02-18 18:09:34 +0000
  • acb00368c6 Mark test_mifare_classic_get_trailer_permission() as pending. Romain Tartiere 2010-02-18 17:14:37 +0000
  • 2f24959116 Fix default permissions. Romain Tartiere 2010-02-18 17:07:36 +0000
  • 37c404b128 ilibfreefare: The transfer operation actually returns something. Romain Tartiere 2010-02-18 16:45:24 +0000
  • 8903968ea3 Honor 'ISO C99 requires rest arguments to be used'. Romain Tartiere 2010-02-11 11:29:57 +0000
  • 10b8b92eb9 Fix a brunch of warnings. Romain Tartiere 2010-01-22 16:06:26 +0000
  • ecdb1afb6e Use the new ASSERT_INACTIVE macro in mifare_classic.c. Romain Tartiere 2010-01-19 23:15:10 +0000
  • ef081454c7 Add support for MIFARE UltraLight Tags. Romain Tartiere 2010-01-19 23:14:25 +0000
  • cdf4404dd9 Fix wrong variable name. Romain Tartiere 2010-01-19 23:10:01 +0000
  • 7f87a0180d Set _XOPEN_SOURCE to 600 for silencing gcc on GNU/Linux. Romain Tartiere 2010-01-13 13:53:45 +0000
  • 0d1000e859 Fix regression tests build on FreeBSD. Romain Tartiere 2010-01-12 15:38:56 +0000
  • 576801d5ff Fix build when cutter is not available. (make distcheck ok) Romuald Conty 2010-01-11 20:25:28 +0000
  • c1bcb966ea Rework unit tests using cutter. Romain Tartiere 2010-01-11 20:14:30 +0000
  • 935ab47c54 Update the mifare-classic-format example. Romain Tartiere 2010-01-10 14:24:26 +0000
  • d8b0a18752 Fix invalid memory access in CRC8 computation functions. Romain Tartiere 2010-01-09 02:55:42 +0000
  • 1c62fc83e6 Handle the special case of sector #0 when formatting (sector is read-only). Romain Tartiere 2010-01-09 01:37:36 +0000
  • 517eef97cf The mifare_classic_format_sector prototype was changed on changeset 88. Update unit test accordingly. Romain Tartiere 2010-01-09 01:36:24 +0000
  • 7a68e0f6ce Fix MadAid field orders (transfer bytes order is big endian). Romain Tartiere 2010-01-08 22:44:33 +0000
  • 3e00c7899a mifare_classic_get_tags() now return NULL when on failure and a one-entry array set to NULL when no tag is available (tags[0] == NULL). Romuald Conty 2010-01-08 21:00:57 +0000
  • 756dc74969 move ACLOCAL_AMFLAGS to top Makefile.am Romuald Conty 2010-01-08 20:58:29 +0000
  • 24ef79eca4 fix mifare_classic_get_uid(). Romuald Conty 2010-01-08 16:34:43 +0000
  • 75d7ba4adb fix include header in mad.c Romuald Conty 2010-01-08 16:17:21 +0000
  • 2b76328c78 Unbreak example and add autotool stuff to help building. Romain Tartiere 2010-01-08 13:40:39 +0000
  • 0c0d8e77a3 Add Makefile.am forgotten in the previous commit. Romain Tartiere 2010-01-08 11:51:40 +0000
  • 32e740ea6d Split out autojunk and actual code files. Romain Tartiere 2010-01-08 11:46:23 +0000
  • 8a9d90210a Add MAD CRC support. Romain Tartiere 2010-01-08 11:24:30 +0000
  • 54f4a84ead Fix Id svn:keywords (ECOPYPASTETOOFAST). Romain Tartiere 2010-01-08 09:40:52 +0000
  • 7fd413789a Add error checking to mifare_classic_connect(), mifare_classic_disconnect(). Romain Tartiere 2010-01-08 08:29:19 +0000
  • 76a8c8e8b1 add an example draft mifare-classic-format, a tool which can be usefull to debug :) Romuald Conty 2010-01-06 23:44:17 +0000
  • 7d1495940f add an accessor to UID contained in MifareClassicTag Romuald Conty 2010-01-06 23:42:06 +0000
  • fc3c23502c add C++ compatibility. Romuald Conty 2010-01-06 23:40:30 +0000
  • 4582bfbf11 add freefare.h forgotten in previous commit. Romain Tartiere 2010-01-03 19:53:58 +0000
  • 073b67be48 merge all includes into a single freefare.h header. Romain Tartiere 2009-12-26 18:16:22 +0000
  • 3c4d6ff095 Tag is no more active if authentication failed. Romuald Conty 2009-12-26 03:37:20 +0000
  • a5dd66f77d put MifareSectorNumber type in a new mifare_common.h header. API changed: mifare_classic_format_sector() now takes a MifareSectorNumber in argument. Romuald Conty 2009-12-23 15:26:57 +0000
  • 4bf33cc707 Fix autotools on FreeBSD. Romain Tartiere 2009-12-22 20:48:13 +0000
  • 58d83ae20a Enforce unit tests name consistency. Romain Tartiere 2009-12-21 13:58:53 +0000
  • 3cab1523eb Introduce MAD application management functions. Romain Tartiere 2009-12-21 13:54:27 +0000
  • 0ae63092bd Fix mad_get_aid(): sector 0x10 is reserved and cannot be used. Romain Tartiere 2009-12-21 13:31:42 +0000
  • c7b8574e23 Make MAD Application Identifiers (AID) structure public as MadAid. - Changed mad_get_aid() and mad_set_aid() ABI; - Update unit test; Romain Tartiere 2009-12-21 03:02:15 +0000
  • 00ca4579c9 - Rename MifareSector to MifareSectorNumber; - Fix includes (use '<>' instead of '""'); - Add -I. to cc arguments. Romain Tartiere 2009-12-21 02:35:28 +0000
  • 89dd817a63 Rename mifare_application_directory.[ch] to mad.[ch]. Romain Tartiere 2009-12-21 00:40:07 +0000
  • 9478706550 Add MIFARE Application Directory (MAD) version 1 & 2 support (modulo CRC). Romain Tartiere 2009-12-21 00:02:40 +0000
  • a317799f01 Don't crash when no MIFARE target is present when running the regression tests suite. Romain Tartiere 2009-12-20 23:42:58 +0000
  • 253d49eef8 Add forgotten regression test for mifare_classic_trailer_block(). Romain Tartiere 2009-12-19 22:59:38 +0000
  • f9c2b6e9e3 Mark functions parameters as `const' when applicable. Romain Tartiere 2009-12-19 22:55:50 +0000
  • 7ed4561f74 New API function: mifare_classic_trailer_block(). Romain Tartiere 2009-12-19 06:10:44 +0000
  • b97012ac05 Add regression test suite. Romain Tartiere 2009-12-19 02:06:21 +0000
  • 1f40cc97c7 New API function: mifare_classic_format_sector(). Romain Tartiere 2009-12-19 02:01:04 +0000
  • ba8c9b5126 Install a libfreefare.pc pkg-config module. Romain Tartiere 2009-12-18 21:31:45 +0000
  • 967f9822e9 Add pointers to the implementation sources. Romain Tartiere 2009-12-18 21:13:09 +0000
  • bb486e4318 Import libfreefare into trunk. Romain Tartiere 2009-12-18 20:32:25 +0000