Mif.ProxCheck

This command performs a proximity check. The key-related parameters are only used if no authentication has been performed before this command is called.

Properties

Parameters (request frame)

Name Type/Size Description
- Bit mask (8 bits) -
RFU Integer (bit 0x80) Zero padding
M Integer (bit mask area 0x70) Number of random bytes which are sent within one proximity check round.
DisableIsoWrapping Integer (bit 0x08) -
UseExtProxKey Boolean (bit 0x04) Use (external) Proximity key given as command parameter.

If the card is already authenticated (VC Selection or Card Authentication), do not activate this option.

DiversifyProxKey Boolean (bit 0x02) Key diversification of the proximity key defined in Crypto Memory or SAM will be done according to NXP AN10922.
UseProxKey Boolean (bit 0x01) Proximity key is defined in Crypto Memory or SAM.

If the card is already authenticated (Card Authentication), do not activate this option.

Optional field, condition: UseProxKey
ProxKeyIdx Integer (16 bits)

Crypto Memory Index (SAM or CryptoMemory) of Proximity Check Key

  • SAM: MSByte: Key version / LSByte: KeyIdx
  • Crypto Memory: MSByte: Page (0..15) / LSByte: KeyIdx (0x80-0xBF)
Optional field, condition: DiversifyProxKey and UseProxKey
Length of DivData Integer (8 bits) Length of DivData in bytes
DivData Raw data Key diversification according to NXP AN10922.
Optional field, condition: UseExtProxKey
Length of ProxKey Integer (8 bits) Length of ProxKey in bytes
ProxKey Raw data Proximity Check Key

Returned values (response frame)

None