Hi,
I can successfully authenticate with KeyA with mifare classic using :
status = phalMfc_Authenticate( &salMFC, TARGET_OPERATION_BLOCK, PHHAL_HW_MFC_KEYA, 1, 0, bUid, bUidSize);
but When I want to do this with PHHAL_HW_MFC_KEYB, It failed.
Is there any other prerequisite step needed for using Key B?
Please check the following link
Honestly I think using Key B in mifare classic is a common requirement and it's a little weird no one else did not asked it before "how to use mifare classic Key B in NXP NFC Library"? And even no one from NXP support team did not have interest to answer it.