Home
last modified time | relevance | path

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

/system/bt/gd/security/record/
Dsecurity_record_storage.cc64 if (record->remote_ltk) { in SetLeData()
67 std::copy_n(record->remote_ltk->data(), record->remote_ltk->size(), penc_keys.data()); in SetLeData()
112 } else if (record->IsClassicLinkKeyValid() && record->remote_ltk) { in SaveSecurityRecords()
114 } else if (!record->IsClassicLinkKeyValid() && record->remote_ltk) { in SaveSecurityRecords()
159 record->remote_ltk = std::make_optional<std::array<uint8_t, 16>>(); in LoadSecurityRecords()
163 std::copy_n(peer_encryption_keys->data(), 16, record->remote_ltk->data()); in LoadSecurityRecords()
Dsecurity_record_storage_test.cc84 std::array<uint8_t, 16> remote_ltk{ in TEST_F() local
95 record->remote_ltk = remote_ltk; in TEST_F()
Dsecurity_record.h129 std::optional<crypto_toolbox::Octet16> remote_ltk; variable
/system/bt/gd/security/
Dinitial_informations.h42 std::optional<crypto_toolbox::Octet16> remote_ltk; member
Dpairing_handler_le.cc201 if ((pairing_response.GetAuthReq() & AuthReqMaskSc) && distributed_keys.remote_ltk.has_value()) { in PairingMain()
203 Octet16 link_key = crypto_toolbox::ltk_to_link_key(*(distributed_keys.remote_ltk), use_h7); in PairingMain()
446 return DistributedKeys{.remote_ltk = ltk, in ReceiveKeys()
/system/bt/gd/security/internal/
Dsecurity_manager_impl.cc714 record->remote_ltk = result.distributed_keys.remote_ltk; in OnPairingFinished()