Home
last modified time | relevance | path

Searched refs:remote_ltk (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Bluetooth/system/gd/security/record/
Dsecurity_record_storage.cc68 if (record->remote_ltk) { in SetLeData()
71 std::copy_n(record->remote_ltk->data(), record->remote_ltk->size(), penc_keys.data()); in SetLeData()
119 } else if (record->IsClassicLinkKeyValid() && record->remote_ltk) { in SaveSecurityRecords()
121 } else if (!record->IsClassicLinkKeyValid() && record->remote_ltk) { in SaveSecurityRecords()
166 record->remote_ltk = std::make_optional<std::array<uint8_t, 16>>(); in LoadSecurityRecords()
170 std::copy_n(peer_encryption_keys->data(), 16, record->remote_ltk->data()); in LoadSecurityRecords()
Dsecurity_record_storage_test.cc89 std::array<uint8_t, 16> remote_ltk{ in TEST_F() local
100 record->remote_ltk = remote_ltk; in TEST_F()
Dsecurity_record.h124 std::optional<hci::Octet16> remote_ltk; variable
/packages/modules/Bluetooth/system/gd/security/
Dpairing_handler_le.cc206 if ((pairing_response.GetAuthReq() & AuthReqMaskSc) && distributed_keys.remote_ltk.has_value()) { in PairingMain()
208 Octet16 link_key = crypto_toolbox::ltk_to_link_key(*(distributed_keys.remote_ltk), use_h7); in PairingMain()
452 return DistributedKeys{.remote_ltk = ltk, in ReceiveKeys()
Dinitial_informations.h38 std::optional<hci::Octet16> remote_ltk; member
/packages/modules/Bluetooth/system/gd/security/internal/
Dsecurity_manager_impl.cc737 record->remote_ltk = result.distributed_keys.remote_ltk; in OnPairingFinished()