Lines Matching full:16
23 int bt_mesh_encrypt(const struct bt_mesh_key *key, const uint8_t plaintext[16],
24 uint8_t enc_data[16]);
35 uint8_t mac[16]);
37 int bt_mesh_aes_cmac_raw_key(const uint8_t key[16], struct bt_mesh_sg *sg, size_t sg_len,
38 uint8_t mac[16]);
43 int bt_mesh_s1(const char *m, size_t m_len, uint8_t salt[16]);
45 static inline int bt_mesh_s1_str(const char *m, uint8_t salt[16]) in bt_mesh_s1_str() argument
52 int bt_mesh_k1(const uint8_t *ikm, size_t ikm_len, const uint8_t salt[16], const char *info,
53 uint8_t okm[16]);
55 int bt_mesh_k2(const uint8_t n[16], const uint8_t *p, size_t p_len, uint8_t net_id[1],
58 int bt_mesh_k3(const uint8_t n[16], uint8_t out[8]);
60 int bt_mesh_k4(const uint8_t n[16], uint8_t out[1]);
64 int bt_mesh_id128(const uint8_t n[16], const char *s, enum bt_mesh_key_type type,
67 static inline int bt_mesh_identity_key(const uint8_t net_key[16], struct bt_mesh_key *identity_key) in bt_mesh_identity_key() argument
72 static inline int bt_mesh_beacon_key(const uint8_t net_key[16], struct bt_mesh_key *beacon_key) in bt_mesh_beacon_key() argument
77 static inline int bt_mesh_private_beacon_key(const uint8_t net_key[16], in bt_mesh_private_beacon_key() argument
86 static inline int bt_mesh_app_id(const uint8_t app_key[16], uint8_t app_id[1]) in bt_mesh_app_id() argument
91 int bt_mesh_session_key(const uint8_t dhkey[32], const uint8_t prov_salt[16],
94 int bt_mesh_prov_nonce(const uint8_t dhkey[32], const uint8_t prov_salt[16], uint8_t nonce[13]);
96 int bt_mesh_dev_key(const uint8_t dhkey[32], const uint8_t prov_salt[16], uint8_t dev_key[16]);
129 int bt_mesh_virtual_addr(const uint8_t virtual_label[16], uint16_t *addr);