hf mf: add the MAD helpers parseproac needs, and register AID 0x4982

b82f60362 landed parseproac.c without them, so a clean checkout does not
build.

 - mad.c / mad.h: mad_find_aid() and mad_count_aid(); DetectHID() delegates
   to the first, it was already generic
 - mad.json: 0x4982 PROAC, sorted in after NORALSY's 0x4980

Co-Authored-By: Claude Opus 5 (1M context)
This commit is contained in:
iceman1001andClaude Opus 5 (1M context) committed 2026-09-14 12:13:35 +02:00
1 parent b82f603622
commit 6f4643a637
3 files changed
+35 -2

No files matched your search

+7
View File
@@ -6224,6 +6224,13 @@
"service_provider": "NORALSY",
"system_integrator": "NORALSY"
},
{
"application": "(access control and security) VIGIK",
"company": "PROAC",
"mad": "0x4982",
"service_provider": "PROAC",
"system_integrator": "PROAC"
},
{
"application": "Card Administration, cardholder administration, access control & security, company services, miscellaneous applications",
"company": "Ministry of Defense",