Forum › MIFARE SmartCard IC`s › Sam AV2 SAM_ChangeKeyEntry problem › Reply To: Sam AV2 SAM_ChangeKeyEntry problem
Hi Vasily,
You have to enter the complete sequence. In my example I do first a SAM_GetKeyEntry() and then a SAM_ChangeKeyEntry() to an AES128 key:
Regards,
The TapLinx Team
You have to enter the complete sequence. In my example I do first a SAM_GetKeyEntry() and then a SAM_ChangeKeyEntry() to an AES128 key:
SentFrmHost(5) = 80 64 01 00 00)
phbalReg_Exchange [ENTRY] (wOption = DEFAULT, pTxBuffer(5) = 80 64 01 00 00, wRxBufSize(2) = 01 05)
phbalReg_Exchange [LEAVE] (pRxBuffer(15) = 00 00 00 00 00 00 00 00 00 FF 20 02 00 90 00) = SUCCESS
GivenToHost(15) = 00 00 00 00 00 00 00 00 00 FF 20 02 00 90 00)
phhalHw_GetConfig [ENTRY] (bCompId(1) = 03, wConfig(2) = E0 00)
phhalHw_GetConfig [LEAVE] (pValue(2) = 00 02) = SUCCESS
SentFrmHost(66) = 80 C1 01 FF 3D 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 FF 20 00 00 00 00 00)
phbalReg_Exchange [ENTRY] (wOption = DEFAULT, pTxBuffer(66) = 80 C1 01 FF 3D 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 FF 20 00 00 00 00 00, wRxBufSize(2) = 01 05)
phbalReg_Exchange [LEAVE] (pRxBuffer(2) = 90 00) = SUCCESS
GivenToHost(2) = 90 00)
Regards,
The TapLinx Team
+ 0
|
- 0