feat(registers): NXP AES key-privilege register (ICODE DNA / NTAG5)
Add NxpKeyPrivileges (Register) for the Table 5 AES key-privilege byte and bind it on the NxpAesAuth mixin (ICODE DNA + NTAG5 Link/Boost): - read / write / privacy / destroy / eas_afi / crypto_config / area1_read / area1_write, each a documented bit - NxpKeyPrivileges.build(read=True, write=True, ...) keyword builder - tag.key_privileges(key_id) / tag.set_key_privileges(key_id, value) Additive: the existing PRIV_* constants and has_privilege() path are unchanged and see the same bytes. 5 new tests. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -60,7 +60,7 @@ pm3py/
|
||||
bitfield.py # BitField descriptor + Register base — self-describing config/
|
||||
# frame registers (T5577, EM4100, NTAG21x, Ultralight EV1/C, MFC
|
||||
# access bits, NTAG I2C NC_REG/NS_REG/REG_LOCK/PT_I2C, NTAG5
|
||||
# STATUS_REG/CONFIG_REG). Fields are documented attrs -> shell
|
||||
# STATUS_REG/CONFIG_REG, NXP AES key privileges). Documented attrs -> shell
|
||||
# completion + repr decode table. Layouts cross-checked vs the
|
||||
# firmware submodule + NXP datasheets.
|
||||
hf/iso14443a/ # Tag14443A_3/4, MifareClassic, DESFire, NfcType2/4
|
||||
|
||||
Reference in New Issue
Block a user