Home
last modified time | relevance | path

Searched refs:ccm_tx (Results 1 – 9 of 9) sorted by relevance

/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_adv_iso.c357 lll->ccm_tx.counter = payload_count; in prepare_cb_common()
359 (void)memcpy(lll->ccm_tx.iv, lll->giv, 4U); in prepare_cb_common()
360 mem_xor_32(lll->ccm_tx.iv, lll->ccm_tx.iv, access_addr); in prepare_cb_common()
365 radio_pkt_tx_set(radio_ccm_iso_tx_pkt_set(&lll->ccm_tx, in prepare_cb_common()
710 lll->ccm_tx.counter = payload_count; in isr_tx_common()
712 (void)memcpy(lll->ccm_tx.iv, lll->giv, 4U); in isr_tx_common()
713 mem_xor_32(lll->ccm_tx.iv, lll->ccm_tx.iv, access_addr); in isr_tx_common()
715 radio_pkt_tx_set(radio_ccm_iso_tx_pkt_set(&lll->ccm_tx, in isr_tx_common()
Dlll_conn.c867 radio_pkt_tx_set(radio_ccm_tx_pkt_set(&lll->ccm_tx, pdu_data_tx));
1086 lll->ccm_tx.counter++;
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_llcp_enc.c156 memcpy(&conn->lll.ccm_tx.key[0], &conn->lll.ccm_rx.key[0], sizeof(conn->lll.ccm_tx.key)); in enc_setup_lll()
159 memcpy(&conn->lll.ccm_tx.iv[0], &conn->lll.ccm_rx.iv[0], sizeof(conn->lll.ccm_tx.iv)); in enc_setup_lll()
162 conn->lll.ccm_tx.counter = 0U; in enc_setup_lll()
170 conn->lll.ccm_tx.direction = 0U; in enc_setup_lll()
173 conn->lll.ccm_tx.direction = 1U; in enc_setup_lll()
Dlll_adv.h82 struct ccm ccm_tx; member
Dlll_conn.h139 struct ccm ccm_tx; member
Dull_adv_iso.c570 struct ccm *ccm_tx; in big_create() local
591 ccm_tx = &lll_adv_iso->ccm_tx; in big_create()
592 ccm_tx->direction = 1U; in big_create()
593 (void)memcpy(&ccm_tx->iv[4], &lll_adv_iso->giv[4], 4U); in big_create()
594 (void)mem_rcopy(ccm_tx->key, gsk, sizeof(ccm_tx->key)); in big_create()
Dull_conn_iso.c846 memcpy(cis->lll.tx.ccm.key, conn->lll.ccm_tx.key, in ull_conn_iso_start()
850 memcpy(&cis->lll.tx.ccm.iv[4], &conn->lll.ccm_tx.iv[4], 4); in ull_conn_iso_start()
853 mem_xor_32(cis->lll.tx.ccm.iv, conn->lll.ccm_tx.iv, in ull_conn_iso_start()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/openisa/lll/
Dlll_conn.c483 radio_pkt_tx_set(radio_ccm_tx_pkt_set(&lll->ccm_tx, in lll_conn_tx_pkt_set()
682 lll->ccm_tx.counter++; in isr_rx_pdu()
/Zephyr-latest/tests/bluetooth/controller/ctrl_encrypt/src/
Dmain.c92 zassert_mem_equal(_conn.lll.ccm_tx.key, _sk_be, sizeof(_sk_be), \
94 zassert_mem_equal(_conn.lll.ccm_tx.iv, _iv, sizeof(_iv), \
96 zassert_equal(_conn.lll.ccm_tx.counter, _cnt, "CCM Tx Counter is wrong"); \
97 zassert_equal(_conn.lll.ccm_tx.direction, _dir, "CCM Tx Direction is wrong");\