Desfire.ProxCheck

This command executes a proximity check of the card

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 send within one procimity check round.
RFU Integer (bit 0x08) Zero padding
UseExtProxKey Boolean (bit 0x04) Use (external) Proximity key given as command parameter.

If the card is already authenticated (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 (VC Selection or 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