主权项 |
1. A method of communication in a body area network, the method comprising:
generating, by an initiator device, a first pairwise temporal key (PTK) frame including a responder address (Address_R), an initiator address (Address_I), an initiator nonce (Nonce_I), and a PTK index; receiving, by the initiator device from a responder device, a second PTK frame including the Address_I, the Address_R, a responder nonce (Nonce_R), the PTK index, and a responder key message authentication code (PTK_KMAC_2B); computing, by the initiator device, a first initiator key message authentication code including an initiator key confirmation key (KCK) by executing a cypher-based message authentication code (CMAC) on an initiator master key (MK) and a first string including the Address_R, the Address_I, the Nonce_R, and the Nonce_I; computing, by the initiator device, a second initiator key message authentication code (PTK_KMAC_2A) by executing the CMAC on the initiator KCK and a second string including the Address_I, the Address_R, the Nonce_I, and the Nonce_R; and verifying, by the initiator device, the PTK_KMAC_2A with the PTK_KMAC_2B. |