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.
This commit is contained in:
parent
541292505a
commit
f83918ee41
5 changed files with 36 additions and 4 deletions
1
NEWS
1
NEWS
|
|
@ -4,4 +4,5 @@ Changes between 0.1.0 and x.x.x [xx XXX xxxx]
|
|||
list.
|
||||
*) The mifare_application_alloc() size parameter is now expressed in bytes
|
||||
and not in sectors.
|
||||
*) New API function mad_sector_reserved().
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue