This command performs a sector switch command (only for EV1 cards).
Prior the card has to be set in 14443-4 mode, all sectors are addressed with sector Key B.
- Parameters
-
| [in] | params | Struct with the following fields:
- protocol used to execute the command
- L3SectorSwitch (in) If true , the target level of the sector switch is SL3, else SL1/SL3-Mixed.
- SectorSwitchKeyIdx (in) Crypto Memory Index (SAM or CryptoMemory) of L1L3MixSectorSwitchKey or L3SectorSwitchKey * SAM: MSByte: Key version / LSByte: KeyIdx * Crypto Memory: MSByte: Page (0..15) / LSByte: KeyIdx (0x80-0xBF)
- SectorSwitchKeyDivData (in) If diversification data is specified, key diversification of the SectorSwitchKey will be done according to NXP AN10922.
- SectorSwitchKeyDivData_len (in) Length of SectorSwitchKeyDivData (in bytes).
- SectorSpec (in)
- SectorSpec_len (in) Number of elements in SectorSpec.
- SectorKeysDivData (in) If diversification data is specified, key diversification of the sector keys will be done according to NXP AN10922.
- SectorKeysDivData_len (in) Length of SectorKeysDivData (in bytes).
|