XCORE SDK
XCORE Software Development Kit
Public Attributes | List of all members
sl_wfx_securelink_exchange_pub_keys_req_body_s Struct Reference

Exchange Secure Link Public Keys. More...

#include <sl_wfx_general_api.h>

Public Attributes

uint32_t algorithm
 Choice of the cryptographic algorithm used in the session key computation (see enum sl_wfx_secure_link_session_key_alg_t)
 
uint8_t host_pub_key [SL_WFX_HOST_PUB_KEY_SIZE]
 Host Public Key.
 
uint8_t host_pub_key_mac [SL_WFX_HOST_PUB_KEY_MAC_SIZE]
 Host Public Key MAC.
 

Detailed Description

Exchange Secure Link Public Keys.

This API is used by the Host to send its curve25519 public key to Device, and get back Device public key in the confirmation message. Once keys are exchanged and authenticated (using their respective MAC), each peer computes the Secure Link session key that will be used to encrypt/decrypt future Host<->Device messages.


The documentation for this struct was generated from the following file: