Searched refs:ccm_rx (Results 1 – 9 of 9) sorted by relevance
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/ |
D | ull_llcp_enc.c | 153 ecb_encrypt(&ctx->data.enc.ltk[0], &ctx->data.enc.skd[0], NULL, &conn->lll.ccm_rx.key[0]); in enc_setup_lll() 156 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() 163 conn->lll.ccm_rx.counter = 0U; in enc_setup_lll() 171 conn->lll.ccm_rx.direction = 1U; in enc_setup_lll() 174 conn->lll.ccm_rx.direction = 0U; in enc_setup_lll() 269 memcpy(&conn->lll.ccm_rx.iv[0], pdu->llctrl.enc_req.ivm, sizeof(pdu->llctrl.enc_req.ivm)); in lp_enc_store_m() 367 memcpy(&conn->lll.ccm_rx.iv[4], pdu->llctrl.enc_rsp.ivs, sizeof(pdu->llctrl.enc_rsp.ivs)); in lp_enc_store_s() 819 memcpy(&conn->lll.ccm_rx.iv[4], pdu->llctrl.enc_rsp.ivs, sizeof(pdu->llctrl.enc_rsp.ivs)); in rp_enc_store_s() 947 memcpy(&conn->lll.ccm_rx.iv[0], pdu->llctrl.enc_req.ivm, sizeof(pdu->llctrl.enc_req.ivm)); in rp_enc_store_m()
|
D | lll_sync_iso.h | 65 struct ccm ccm_rx; member
|
D | ull_sync_iso.c | 509 struct ccm *ccm_rx; in ull_sync_iso_setup() local 521 ccm_rx = &lll->ccm_rx; in ull_sync_iso_setup() 522 ccm_rx->direction = 1U; in ull_sync_iso_setup() 523 (void)memcpy(&ccm_rx->iv[4], &lll->giv[4], 4U); in ull_sync_iso_setup() 524 (void)mem_rcopy(ccm_rx->key, gsk, sizeof(ccm_rx->key)); in ull_sync_iso_setup()
|
D | lll_conn.h | 138 struct ccm ccm_rx; member
|
D | ull_conn_iso.c | 867 memcpy(cis->lll.rx.ccm.key, conn->lll.ccm_rx.key, in ull_conn_iso_start() 871 memcpy(&cis->lll.rx.ccm.iv[4], &conn->lll.ccm_rx.iv[4], 4); in ull_conn_iso_start() 874 mem_xor_32(cis->lll.rx.ccm.iv, conn->lll.ccm_rx.iv, in ull_conn_iso_start()
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/ |
D | lll_sync_iso.c | 323 lll->ccm_rx.counter = payload_count; in prepare_cb_common() 325 (void)memcpy(lll->ccm_rx.iv, lll->giv, 4U); in prepare_cb_common() 326 mem_xor_32(lll->ccm_rx.iv, lll->ccm_rx.iv, access_addr); in prepare_cb_common() 333 radio_pkt_rx_set(radio_ccm_iso_rx_pkt_set(&lll->ccm_rx, phy, in prepare_cb_common() 1049 lll->ccm_rx.counter = payload_count; in isr_rx() 1051 (void)memcpy(lll->ccm_rx.iv, lll->giv, 4U); in isr_rx() 1052 mem_xor_32(lll->ccm_rx.iv, lll->ccm_rx.iv, access_addr); in isr_rx() 1054 radio_pkt_rx_set(radio_ccm_iso_rx_pkt_set(&lll->ccm_rx, lll->phy, in isr_rx()
|
D | lll_conn.c | 806 radio_pkt_rx_set(radio_ccm_rx_pkt_set(&lll->ccm_rx, phy, 811 radio_pkt_rx_set(radio_ccm_rx_pkt_set(&lll->ccm_rx, phy, 1143 lll->ccm_rx.counter == 0 && 1162 lll->ccm_rx.counter--; 1174 lll->ccm_rx.counter++;
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/openisa/lll/ |
D | lll_conn.c | 446 radio_pkt_rx_set(radio_ccm_rx_pkt_set(&lll->ccm_rx, phy, in lll_conn_rx_pkt_set() 730 lll->ccm_rx.counter == 0 && in isr_rx_pdu() 749 lll->ccm_rx.counter--; in isr_rx_pdu() 761 lll->ccm_rx.counter++; in isr_rx_pdu()
|
/Zephyr-latest/tests/bluetooth/controller/ctrl_encrypt/src/ |
D | main.c | 81 zassert_mem_equal(_conn.lll.ccm_rx.key, _sk_be, sizeof(_sk_be), \ 83 zassert_mem_equal(_conn.lll.ccm_rx.iv, _iv, sizeof(_iv), \ 85 zassert_equal(_conn.lll.ccm_rx.counter, _cnt, "CCM Rx Counter is wrong"); \ 86 zassert_equal(_conn.lll.ccm_rx.direction, _dir, "CCM Rx Direction is wrong");\
|