Searched refs:enc_req (Results 1 – 7 of 7) sorted by relevance
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/ |
D | ull_llcp_enc.c | 264 memcpy(&ctx->data.enc.skd[0], pdu->llctrl.enc_req.skdm, sizeof(pdu->llctrl.enc_req.skdm)); in lp_enc_store_m() 269 memcpy(&conn->lll.ccm_rx.iv[0], pdu->llctrl.enc_req.ivm, sizeof(pdu->llctrl.enc_req.ivm)); in lp_enc_store_m() 934 memcpy(ctx->data.enc.rand, pdu->llctrl.enc_req.rand, sizeof(ctx->data.enc.rand)); in rp_enc_store_m() 937 ctx->data.enc.ediv[0] = pdu->llctrl.enc_req.ediv[0]; in rp_enc_store_m() 938 ctx->data.enc.ediv[1] = pdu->llctrl.enc_req.ediv[1]; in rp_enc_store_m() 941 memcpy(&ctx->data.enc.skdm, pdu->llctrl.enc_req.skdm, sizeof(ctx->data.enc.skdm)); in rp_enc_store_m() 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 | pdu.h | 142 #define PDU_DC_CTRL_TX_SIZE_MAX PDU_DATA_LLCTRL_LEN(enc_req) 143 #define PDU_DC_CTRL_RX_SIZE_MAX PDU_DATA_LLCTRL_LEN(enc_req) 146 #define PDU_DC_CTRL_TX_SIZE_MAX PDU_DATA_LLCTRL_LEN(enc_req) 151 #define PDU_DC_CTRL_RX_SIZE_MAX PDU_DATA_LLCTRL_LEN(enc_req) 919 struct pdu_data_llctrl_enc_req enc_req; member
|
D | ull_llcp_pdu.c | 329 pdu->len = PDU_DATA_LLCTRL_LEN(enc_req); in encode_enc_req() 332 p = &pdu->llctrl.enc_req; in encode_enc_req() 347 p = &pdu->llctrl.enc_req; in llcp_pdu_encode_enc_req()
|
D | ull_llcp.c | 1594 return VALIDATE_PDU_LEN(pdu, enc_req);
|
/Zephyr-latest/tests/bluetooth/controller/ctrl_encrypt/src/ |
D | main.c | 1566 struct pdu_data_llctrl_enc_req enc_req = { in ZTEST() local 1606 lt_tx(LL_ENC_REQ, &conn, &enc_req); in ZTEST() 1637 ut_rx_pdu(LL_ENC_REQ, &ntf, &enc_req); in ZTEST() 1783 struct pdu_data_llctrl_enc_req enc_req = { in ZTEST() local 1831 lt_tx(LL_ENC_REQ, &conn, &enc_req); in ZTEST() 1862 ut_rx_pdu(LL_ENC_REQ, &ntf, &enc_req); in ZTEST() 2026 struct pdu_data_llctrl_enc_req enc_req = { in ZTEST() local 2062 lt_tx(LL_ENC_REQ, &conn, &enc_req); in ZTEST() 2097 ut_rx_pdu(LL_ENC_REQ, &ntf, &enc_req); in ZTEST() 2164 struct pdu_data_llctrl_enc_req enc_req = { in ZTEST() local [all …]
|
/Zephyr-latest/tests/bluetooth/controller/common/src/ |
D | helper_pdu.c | 141 offsetof(struct pdu_data_llctrl, enc_req) + sizeof(struct pdu_data_llctrl_enc_req); in helper_pdu_encode_enc_req() 143 memcpy(pdu->llctrl.enc_req.rand, p->rand, sizeof(pdu->llctrl.enc_req.rand)); in helper_pdu_encode_enc_req() 144 memcpy(pdu->llctrl.enc_req.ediv, p->ediv, sizeof(pdu->llctrl.enc_req.ediv)); in helper_pdu_encode_enc_req() 145 memcpy(pdu->llctrl.enc_req.skdm, p->skdm, sizeof(pdu->llctrl.enc_req.skdm)); in helper_pdu_encode_enc_req() 146 memcpy(pdu->llctrl.enc_req.ivm, p->ivm, sizeof(pdu->llctrl.enc_req.ivm)); in helper_pdu_encode_enc_req() 642 PDU_MEM_EQUAL(rand, pdu->llctrl.enc_req, p, "Rand mismatch."); in helper_pdu_verify_enc_req() 643 PDU_MEM_EQUAL(ediv, pdu->llctrl.enc_req, p, "EDIV mismatch."); in helper_pdu_verify_enc_req() 644 PDU_MEM_EQUAL(skdm, pdu->llctrl.enc_req, p, "SKDm mismatch."); in helper_pdu_verify_enc_req() 645 PDU_MEM_EQUAL(ivm, pdu->llctrl.enc_req, p, "IVm mismatch."); in helper_pdu_verify_enc_req() 658 PDU_MEM_EQUAL(rand, pdu->llctrl.enc_req, p, "Rand mismatch."); in helper_pdu_ntf_verify_enc_req() [all …]
|
/Zephyr-latest/subsys/bluetooth/controller/hci/ |
D | hci.c | 8848 memcpy(&sep->rand, pdu_data->llctrl.enc_req.rand, sizeof(uint64_t)); 8849 memcpy(&sep->ediv, pdu_data->llctrl.enc_req.ediv, sizeof(uint16_t));
|