Lines Matching refs:iv_index

290 			       uint32_t iv_index)  in create_proxy_nonce()  argument
307 sys_put_be32(iv_index, &nonce[9]); in create_proxy_nonce()
328 uint32_t iv_index) in create_net_nonce() argument
350 sys_put_be32(iv_index, &nonce[9]); in create_net_nonce()
353 int bt_mesh_net_obfuscate(uint8_t *pdu, uint32_t iv_index, const struct bt_mesh_key *privacy_key) in bt_mesh_net_obfuscate() argument
359 LOG_DBG("IVIndex %u, PrivacyKey %s", iv_index, in bt_mesh_net_obfuscate()
362 sys_put_be32(iv_index, &priv_rand[5]); in bt_mesh_net_obfuscate()
380 uint32_t iv_index, enum bt_mesh_nonce_type type) in bt_mesh_net_encrypt() argument
386 LOG_DBG("IVIndex %u EncKey %s mic_len %u", iv_index, in bt_mesh_net_encrypt()
391 create_proxy_nonce(nonce, buf->data, iv_index); in bt_mesh_net_encrypt()
396 create_net_nonce(nonce, buf->data, iv_index); in bt_mesh_net_encrypt()
411 uint32_t iv_index, enum bt_mesh_nonce_type type) in bt_mesh_net_decrypt() argument
417 LOG_DBG("iv_index %u, key %s mic_len %u", iv_index, bt_hex(key, sizeof(struct bt_mesh_key)), in bt_mesh_net_decrypt()
421 create_proxy_nonce(nonce, buf->data, iv_index); in bt_mesh_net_decrypt()
426 create_net_nonce(nonce, buf->data, iv_index); in bt_mesh_net_decrypt()
451 sys_put_be32(ctx->iv_index, &nonce[9]); in create_app_nonce()
462 LOG_DBG("seq_num 0x%08x iv_index 0x%08x", ctx->seq_num, ctx->iv_index); in bt_mesh_app_encrypt()
692 const uint8_t net_id[8], uint32_t iv_index, uint8_t auth[8]) in bt_mesh_beacon_auth() argument
699 LOG_DBG("IV Index 0x%08x", iv_index); in bt_mesh_beacon_auth()
703 sys_put_be32(iv_index, &msg[9]); in bt_mesh_beacon_auth()
818 int bt_mesh_beacon_encrypt(const struct bt_mesh_key *pbk, uint8_t flags, uint32_t iv_index, in bt_mesh_beacon_encrypt() argument
823 LOG_WRN("Enc beacon: 0x%02x, 0x%08x", flags, iv_index); in bt_mesh_beacon_encrypt()
826 sys_put_be32(iv_index, &data[1]); in bt_mesh_beacon_encrypt()