Commit graph

4 commits

Author SHA1 Message Date
Romain Tartiere
f83918ee41 Fix MAD manipulation for Mifare Classic 4K.
- Allocate large blocks on Mifare Classic 4K in unit tests;
  - Constraints sector number in mad_set_aid();
  - Fix location of AID storage in mad_set_aid() (wrong variable name and offset, ECOPYPASTETOOFAST);
  - New API function mad_sector_reserved();
  - Use mad_sector_reserved() to avoid trying to use reserved sectors.
2010-07-01 21:44:40 +00:00
Romain Tartiere
541292505a Make mifare_application_alloc() accept size in bytes.
Fixes issue 31.
2010-07-01 17:05:44 +00:00
Romain Tartiere
1ea30f37bb Document the new freefare_free_tag() function.
Fixes issue 22.
2010-04-26 10:53:36 +00:00
Romain Tartiere
bb486e4318 Import libfreefare into trunk. 2009-12-18 20:32:25 +00:00