nRF5 SDK for Mesh v5.0.0
Macros
Provisioning field lengths

Length of various provisioning fields. More...

Macros

#define NRF_MESH_PROV_PUBKEY_SIZE   64
 Size of the elliptic curve public key. More...
 
#define NRF_MESH_PROV_PRIVKEY_SIZE   32
 Size of the elliptic curve private key. More...
 
#define NRF_MESH_PROV_ECDHSECRET_SIZE   32
 Size of the elliptic curve secret key. More...
 
#define NRF_MESH_PROV_DATANONCE_SIZE   13
 Size of the elliptic curve secret key. More...
 
#define NRF_MESH_PROV_OOB_SIZE_MAX   8
 Max OOB size permitted by Bluetooth Mesh Profile Specification (MshPRFv1.0.1) table 5.21 and 5.23. More...
 
#define PROV_RANDOM_LEN   (16)
 Length of Random value. More...
 
#define PROV_CONFIRMATION_LEN   (NRF_MESH_KEY_SIZE)
 Length of Confirmation value. More...
 
#define PROV_AUTH_LEN   (NRF_MESH_KEY_SIZE)
 Length of Auth value. More...
 
#define PROV_SALT_LEN   (NRF_MESH_KEY_SIZE)
 Length of Salt value. More...
 
#define PROV_NONCE_LEN   (13)
 Length of Nonce. More...
 
#define PROV_CONFIRMATION_INPUT_LEN   (17)
 Combined length of confirmation inputs: provisioning invite, capabilities and start PDUs. More...
 

Detailed Description

Length of various provisioning fields.

Macro Definition Documentation

◆ NRF_MESH_PROV_PUBKEY_SIZE

#define NRF_MESH_PROV_PUBKEY_SIZE   64

Size of the elliptic curve public key.

Definition at line 54 of file nrf_mesh_prov_types.h.

◆ NRF_MESH_PROV_PRIVKEY_SIZE

#define NRF_MESH_PROV_PRIVKEY_SIZE   32

Size of the elliptic curve private key.

Definition at line 56 of file nrf_mesh_prov_types.h.

◆ NRF_MESH_PROV_ECDHSECRET_SIZE

#define NRF_MESH_PROV_ECDHSECRET_SIZE   32

Size of the elliptic curve secret key.

Definition at line 58 of file nrf_mesh_prov_types.h.

◆ NRF_MESH_PROV_DATANONCE_SIZE

#define NRF_MESH_PROV_DATANONCE_SIZE   13

Size of the elliptic curve secret key.

Definition at line 60 of file nrf_mesh_prov_types.h.

◆ NRF_MESH_PROV_OOB_SIZE_MAX

#define NRF_MESH_PROV_OOB_SIZE_MAX   8

Max OOB size permitted by Bluetooth Mesh Profile Specification (MshPRFv1.0.1) table 5.21 and 5.23.

Definition at line 63 of file nrf_mesh_prov_types.h.

◆ PROV_RANDOM_LEN

#define PROV_RANDOM_LEN   (16)

Length of Random value.

Definition at line 66 of file nrf_mesh_prov_types.h.

◆ PROV_CONFIRMATION_LEN

#define PROV_CONFIRMATION_LEN   (NRF_MESH_KEY_SIZE)

Length of Confirmation value.

Definition at line 68 of file nrf_mesh_prov_types.h.

◆ PROV_AUTH_LEN

#define PROV_AUTH_LEN   (NRF_MESH_KEY_SIZE)

Length of Auth value.

Definition at line 70 of file nrf_mesh_prov_types.h.

◆ PROV_SALT_LEN

#define PROV_SALT_LEN   (NRF_MESH_KEY_SIZE)

Length of Salt value.

Definition at line 72 of file nrf_mesh_prov_types.h.

◆ PROV_NONCE_LEN

#define PROV_NONCE_LEN   (13)

Length of Nonce.

Definition at line 74 of file nrf_mesh_prov_types.h.

◆ PROV_CONFIRMATION_INPUT_LEN

#define PROV_CONFIRMATION_INPUT_LEN   (17)

Combined length of confirmation inputs: provisioning invite, capabilities and start PDUs.

Definition at line 76 of file nrf_mesh_prov_types.h.


Documentation feedback | Developer Zone | Subscribe | Updated