/Zephyr-latest/tests/bluetooth/controller/ctrl_encrypt/src/ |
D | main.c | 236 const uint8_t ediv[] = { EDIV }; in ZTEST() local 245 .ediv = { EDIV }, in ZTEST() 274 err = ull_cp_encryption_start(&conn, rand, ediv, ltk); in ZTEST() 394 const uint8_t ediv[] = { EDIV }; in ZTEST() local 403 .ediv = { EDIV }, in ZTEST() 444 err = ull_cp_encryption_start(&conn, rand, ediv, ltk); in ZTEST() 578 const uint8_t ediv[] = { EDIV }; in ZTEST() local 584 .ediv = { EDIV }, in ZTEST() 613 err = ull_cp_encryption_start(&conn, rand, ediv, ltk); in ZTEST() 680 const uint8_t ediv[] = { EDIV }; in ZTEST() local [all …]
|
/Zephyr-latest/subsys/bluetooth/host/ |
D | smp.h | 93 uint8_t ediv[2]; member 136 bool bt_smp_request_ltk(struct bt_conn *conn, uint64_t rand, uint16_t ediv,
|
D | smp.c | 998 (void)memset(keys->ltk.ediv, 0, sizeof(keys->ltk.ediv)); in smp_br_derive_ltk() 2033 uint8_t ediv[2]; in legacy_distribute_keys() member 2068 memcpy(ident->ediv, rand.ediv, sizeof(ident->ediv)); in legacy_distribute_keys() 2079 memcpy(keys->periph_ltk.ediv, rand.ediv, in legacy_distribute_keys() 2080 sizeof(keys->periph_ltk.ediv)); in legacy_distribute_keys() 2414 uint8_t ediv[2], rand[8]; in legacy_pairing_random() local 2423 (void)memset(ediv, 0, sizeof(ediv)); in legacy_pairing_random() 2425 if (bt_conn_le_start_encryption(conn, rand, ediv, tmp, in legacy_pairing_random() 2561 memcpy(keys->ltk.ediv, req->ediv, sizeof(keys->ltk.ediv)); in smp_central_ident() 2782 bool bt_smp_request_ltk(struct bt_conn *conn, uint64_t rand, uint16_t ediv, uint8_t *ltk) in bt_smp_request_ltk() argument [all …]
|
D | keys.h | 45 uint8_t ediv[2]; member
|
D | conn_internal.h | 523 uint8_t ediv[2], const uint8_t *ltk, size_t len);
|
D | conn.c | 2536 uint8_t ediv[2], const uint8_t *ltk, size_t len) in bt_conn_le_start_encryption() 2553 memcpy(&cp->ediv, ediv, sizeof(cp->ediv)); in bt_conn_le_start_encryption()
|
D | hci_core.c | 2378 if (bt_smp_request_ltk(conn, evt->rand, evt->ediv, ltk)) { in le_ltk_request()
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/ |
D | ull_llcp.h | 97 uint8_t ull_cp_encryption_start(struct ll_conn *conn, const uint8_t rand[8], const uint8_t ediv[2], 103 uint8_t ull_cp_encryption_pause(struct ll_conn *conn, const uint8_t rand[8], const uint8_t ediv[2],
|
D | ull_llcp.c | 672 uint8_t ull_cp_encryption_start(struct ll_conn *conn, const uint8_t rand[8], const uint8_t ediv[2], in ull_cp_encryption_start() 688 ctx->data.enc.ediv[0] = ediv[0]; in ull_cp_encryption_start() 689 ctx->data.enc.ediv[1] = ediv[1]; in ull_cp_encryption_start() 698 uint8_t ull_cp_encryption_pause(struct ll_conn *conn, const uint8_t rand[8], const uint8_t ediv[2], in ull_cp_encryption_pause() 714 ctx->data.enc.ediv[0] = ediv[0]; in ull_cp_encryption_pause() 715 ctx->data.enc.ediv[1] = ediv[1]; in ull_cp_encryption_pause()
|
D | ull_llcp_enc.c | 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()
|
D | ull_central.c | 556 uint8_t const *const ediv, uint8_t const *const ltk) in ll_enc_req_send() argument 575 return ull_cp_encryption_start(conn, rand_num, ediv, ltk); in ll_enc_req_send() 578 return ull_cp_encryption_pause(conn, rand_num, ediv, ltk); in ll_enc_req_send()
|
D | ull_llcp_pdu.c | 334 p->ediv[0] = ctx->data.enc.ediv[0]; in encode_enc_req() 335 p->ediv[1] = ctx->data.enc.ediv[1]; in encode_enc_req()
|
D | ull_llcp_internal.h | 97 uint8_t ediv[2]; member
|
D | pdu.h | 649 uint8_t ediv[2]; member
|
/Zephyr-latest/tests/bluetooth/controller/ctrl_hci/src/ |
D | main.c | 501 uint8_t ediv; in ZTEST() local 513 err = ll_enc_req_send(conn_handle + 1, &rand_nr, &ediv, <k[0]); in ZTEST() 515 err = ll_enc_req_send(conn_handle, &rand_nr, &ediv, <k[0]); in ZTEST()
|
/Zephyr-latest/tests/bluetooth/controller/common/src/ |
D | helper_pdu.c | 144 memcpy(pdu->llctrl.enc_req.ediv, p->ediv, sizeof(pdu->llctrl.enc_req.ediv)); in helper_pdu_encode_enc_req() 643 PDU_MEM_EQUAL(ediv, pdu->llctrl.enc_req, p, "EDIV mismatch."); in helper_pdu_verify_enc_req() 659 PDU_MEM_EQUAL(ediv, pdu->llctrl.enc_req, p, "EDIV mismatch."); in helper_pdu_ntf_verify_enc_req()
|
/Zephyr-latest/subsys/bluetooth/controller/include/ |
D | ll.h | 252 uint8_t ll_enc_req_send(uint16_t handle, uint8_t const *const rand_num, uint8_t const *const ediv,
|
/Zephyr-latest/include/zephyr/bluetooth/ |
D | hci_types.h | 1229 uint16_t ediv; member 3095 uint16_t ediv; member
|
/Zephyr-latest/subsys/bluetooth/controller/hci/ |
D | hci.c | 1995 (uint8_t *)&cmd->ediv, in le_start_encryption() 8849 memcpy(&sep->ediv, pdu_data->llctrl.enc_req.ediv, sizeof(uint16_t));
|