KEY AGREEMENT METHOD AND ELECTRONIC DEVICE

Fecha de publicación: 03/06/2021
Fuente: Wipo "IOT"
A key agreement method and an electronic device, which relate to the technical field of communications. Specifically, the method comprises: an IoT control device multicasts within a first local area network a discovery message carrying a first public key, and sends second ciphertext to a first IoT device after receiving first ciphertext and a second public key. After receiving third ciphertext from the first IoT device, the IoT control device decrypts the third ciphertext according to a first session key to obtain a second signature and second session information, verifies the second signature on the basis of a long-term public key of the first IoT device, and, after the second signature is verified successfully, encrypts communication with the first IoT device on the basis of the first session key. In the described technical solution, since the IoT control device carries the first public key in the discovery message, an STS negotiation process is integrated into a discovery process, which helps to reduce the frequency of message exchange between the IoT device and the IoT control device, and improves the efficiency of obtaining a session key.