Home
last modified time | relevance | path

Searched refs:ediv (Results 1 – 19 of 19) sorted by relevance

/Zephyr-latest/tests/bluetooth/controller/ctrl_encrypt/src/
Dmain.c236 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/
Dsmp.h93 uint8_t ediv[2]; member
136 bool bt_smp_request_ltk(struct bt_conn *conn, uint64_t rand, uint16_t ediv,
Dsmp.c998 (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 …]
Dkeys.h45 uint8_t ediv[2]; member
Dconn_internal.h523 uint8_t ediv[2], const uint8_t *ltk, size_t len);
Dconn.c2536 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()
Dhci_core.c2378 if (bt_smp_request_ltk(conn, evt->rand, evt->ediv, ltk)) { in le_ltk_request()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_llcp.h97 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],
Dull_llcp.c672 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()
Dull_llcp_enc.c937 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()
Dull_central.c556 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()
Dull_llcp_pdu.c334 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()
Dull_llcp_internal.h97 uint8_t ediv[2]; member
Dpdu.h649 uint8_t ediv[2]; member
/Zephyr-latest/tests/bluetooth/controller/ctrl_hci/src/
Dmain.c501 uint8_t ediv; in ZTEST() local
513 err = ll_enc_req_send(conn_handle + 1, &rand_nr, &ediv, &ltk[0]); in ZTEST()
515 err = ll_enc_req_send(conn_handle, &rand_nr, &ediv, &ltk[0]); in ZTEST()
/Zephyr-latest/tests/bluetooth/controller/common/src/
Dhelper_pdu.c144 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/
Dll.h252 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/
Dhci_types.h1229 uint16_t ediv; member
3095 uint16_t ediv; member
/Zephyr-latest/subsys/bluetooth/controller/hci/
Dhci.c1995 (uint8_t *)&cmd->ediv, in le_start_encryption()
8849 memcpy(&sep->ediv, pdu_data->llctrl.enc_req.ediv, sizeof(uint16_t));