| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
MF2DL1000DA4/02 bảng dữ liệu(PDF) 30 Page - NXP Semiconductors |
|
|
|||||||||||||||||||||||||||||
MF2DL1000DA4/02 bảng dữ liệu(HTML) 30 Page - NXP Semiconductors |
|
30 / 132 page ![]() NXP Semiconductors MF2DL(H)x0 MIFARE DESFire Light contactless application IC MF2DL_H_x0 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2019. All rights reserved. Product data sheet Rev. 3.3 — 5 April 2019 COMPANY PUBLIC 430733 30 / 132 • Command Counter CmdCtr • Transaction Identifier TI • Command header - CmdHeader (if present) • Command data - CmdData (if present) For responses, the MAC is calculated over the following data in this order: • Return code - RC • Command Counter - CmdCtr (The already increased value) • Transaction Identifier - TI • Response data - RespData (if present) CmdCtr is the Command Counter as defined in Section 9.1.2. Note that the CmdCtr is increased between the computation of the MAC on the command and the MAC on the response. TI is the Transaction Identifier, as defined in Section 9.1.1. The other input parameters are as defined in Section 8.3. The calculation is illustrated in Figure 9. In case of command chaining, the MAC calculation is not interrupted. The MAC is calculated over the data including the complete data field (i.e. either CmdData or RespData of all frames) at once. The MAC is always transmitted by appending to the unpadded plain command. If necessary, an additional frame is sent. If a MAC over the command is received, the PICC verifies the MAC and rejects commands that do not contain a valid MAC by returning INTEGRITY_ERROR. In this case, the ongoing command and transaction are aborted (see also Section 11). The authentication state is immediately lost and the error return code is sent without a MAC appended. Note that any other error during the command execution has the same consequences. PICC to PCD aaa-032192 4 TI 2 T C CmdCtr 1 Cmd C = value of CmdCtr at start of this sequence T = Value of TI (will stay constant) [c] RespData [c] RespData 4 TI 2 T C+1 CmdCtr 8 MACt(SesAuthMACKey, RC || CmdCtr || TI [|| RespData]) MAC(SesAuthMACKey, RC || CmdCtr || TI [|| RespData]) PCD to PICC 8 MAC(SesAuthMACKey, CMD || CmdCtr || TI [|| CmdHeader] [|| CmdData]) Command counter (CmdCtr) incremented after validating the command before sending the response and related MAC calculation MAC Truncation from 16 to 8 byte by use of the even-numbered bytes CLA 90h Cmd P1 00h P2 00h 1 1 1 1 Le 00h 1 [a] [b] ISO 7816 Data Field CmdData [a] [b] ISO 7816 Data Field CmdData status 1 SW2 SW1 status 1 SW2 1 CmdHeader CmdHeader Lc 1 MACt(SesAuthMACKey, CMD || CmdCtr || TI [|| CmdHeader] [|| CmdData]) CLA, P1, P2, LC, Le and SW1 not included in secure messaging calculation. SW2 is the return code (RC) and appended in the beginning for secure messaging calculation Figure 9. Secure Messaging: MAC Communication mode 9.1.10 Full Communication Mode The Secure Messaging applies encryption (CommMode.Full) to all commands listed as such in Section 11.2. In case CommMode.Full is to be applied, the following holds. The encryption/decryption is calculated using the current session key SesAuthENCKey. Calculation is done as defined in Section 9.1.4 over either the command or the response |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |