/external/pigweed/pw_bluetooth_sapphire/host/sm/ |
D | types.cc | 35 bool IsEncryptedKey(hci_spec::LinkKeyType lk_type) { in IsEncryptedKey() 36 return (lk_type == hci_spec::LinkKeyType::kDebugCombination || in IsEncryptedKey() 37 lk_type == hci_spec::LinkKeyType::kUnauthenticatedCombination192 || in IsEncryptedKey() 38 lk_type == hci_spec::LinkKeyType::kUnauthenticatedCombination256 || in IsEncryptedKey() 39 lk_type == hci_spec::LinkKeyType::kAuthenticatedCombination192 || in IsEncryptedKey() 40 lk_type == hci_spec::LinkKeyType::kAuthenticatedCombination256); in IsEncryptedKey() 43 bool IsAuthenticatedKey(hci_spec::LinkKeyType lk_type) { in IsAuthenticatedKey() 44 return (lk_type == hci_spec::LinkKeyType::kAuthenticatedCombination192 || in IsAuthenticatedKey() 45 lk_type == hci_spec::LinkKeyType::kAuthenticatedCombination256); in IsAuthenticatedKey() 48 bool IsSecureConnectionsKey(hci_spec::LinkKeyType lk_type) { in IsSecureConnectionsKey() [all …]
|
D | types_test.cc | 31 SecurityProperties props(hci_spec::LinkKeyType::kCombination); in TEST() 37 props = SecurityProperties(hci_spec::LinkKeyType::kLocalUnit); in TEST() 43 props = SecurityProperties(hci_spec::LinkKeyType::kRemoteUnit); in TEST() 49 props = SecurityProperties(hci_spec::LinkKeyType::kDebugCombination); in TEST() 56 SecurityProperties(hci_spec::LinkKeyType::kUnauthenticatedCombination192); in TEST() 63 SecurityProperties(hci_spec::LinkKeyType::kAuthenticatedCombination192); in TEST() 70 SecurityProperties(hci_spec::LinkKeyType::kUnauthenticatedCombination256); in TEST() 77 SecurityProperties(hci_spec::LinkKeyType::kAuthenticatedCombination256); in TEST() 85 SecurityProperties props(hci_spec::LinkKeyType::kCombination); in TEST() 86 EXPECT_EQ(hci_spec::LinkKeyType::kCombination, props.GetLinkKeyType()); in TEST() [all …]
|
D | security_manager_test.cc | 4094 hci_spec::LinkKeyType::kUnauthenticatedCombination256); in TEST_F() 4124 hci_spec::LinkKeyType::kUnauthenticatedCombination256); in TEST_F() 4134 hci_spec::LinkKeyType::kAuthenticatedCombination256); in TEST_F() 4182 hci_spec::LinkKeyType::kAuthenticatedCombination256); in TEST_F() 4196 hci_spec::LinkKeyType::kUnauthenticatedCombination256); in TEST_F() 4234 hci_spec::LinkKeyType::kUnauthenticatedCombination256); in TEST_F() 4244 hci_spec::LinkKeyType::kUnauthenticatedCombination256); in TEST_F() 4302 hci_spec::LinkKeyType::kUnauthenticatedCombination256); in TEST_F() 4317 hci_spec::LinkKeyType::kUnauthenticatedCombination256); in TEST_F() 4334 hci_spec::LinkKeyType::kUnauthenticatedCombination256); in TEST_F() [all …]
|
D | security_manager.cc | 1396 hci_spec::LinkKeyType::kUnauthenticatedCombination256 || in IsBrEdrCrossTransportKeyDerivationAllowed() 1398 hci_spec::LinkKeyType::kAuthenticatedCombination256)) { in IsBrEdrCrossTransportKeyDerivationAllowed()
|
/external/pigweed/pw_bluetooth_sapphire/host/hci-spec/ |
D | util_test.cc | 24 LinkKeyTypeToString(hci_spec::LinkKeyType::kCombination); in TEST() 27 link_key_type = LinkKeyTypeToString(hci_spec::LinkKeyType::kLocalUnit); in TEST() 30 link_key_type = LinkKeyTypeToString(hci_spec::LinkKeyType::kRemoteUnit); in TEST() 33 link_key_type = LinkKeyTypeToString(hci_spec::LinkKeyType::kDebugCombination); in TEST() 37 hci_spec::LinkKeyType::kUnauthenticatedCombination192); in TEST() 41 LinkKeyTypeToString(hci_spec::LinkKeyType::kAuthenticatedCombination192); in TEST() 45 LinkKeyTypeToString(hci_spec::LinkKeyType::kChangedCombination); in TEST() 49 hci_spec::LinkKeyType::kUnauthenticatedCombination256); in TEST() 53 LinkKeyTypeToString(hci_spec::LinkKeyType::kAuthenticatedCombination256); in TEST() 57 link_key_type = LinkKeyTypeToString(static_cast<hci_spec::LinkKeyType>(0xFF)); in TEST()
|
D | util.cc | 150 const char* LinkKeyTypeToString(hci_spec::LinkKeyType key_type) { in LinkKeyTypeToString() 152 case hci_spec::LinkKeyType::kCombination: in LinkKeyTypeToString() 154 case hci_spec::LinkKeyType::kLocalUnit: in LinkKeyTypeToString() 156 case hci_spec::LinkKeyType::kRemoteUnit: in LinkKeyTypeToString() 158 case hci_spec::LinkKeyType::kDebugCombination: in LinkKeyTypeToString() 160 case hci_spec::LinkKeyType::kUnauthenticatedCombination192: in LinkKeyTypeToString() 162 case hci_spec::LinkKeyType::kAuthenticatedCombination192: in LinkKeyTypeToString() 164 case hci_spec::LinkKeyType::kChangedCombination: in LinkKeyTypeToString() 166 case hci_spec::LinkKeyType::kUnauthenticatedCombination256: in LinkKeyTypeToString() 168 case hci_spec::LinkKeyType::kAuthenticatedCombination256: in LinkKeyTypeToString()
|
/external/pigweed/pw_bluetooth_sapphire/host/gap/ |
D | types_test.cc | 22 std::array<hci_spec::LinkKeyType, 5> kUnauthenticatedNoScKeyTypes = { in TEST() 23 hci_spec::LinkKeyType::kCombination, in TEST() 24 hci_spec::LinkKeyType::kLocalUnit, in TEST() 25 hci_spec::LinkKeyType::kRemoteUnit, in TEST() 26 hci_spec::LinkKeyType::kDebugCombination, in TEST() 27 hci_spec::LinkKeyType::kUnauthenticatedCombination192}; in TEST() 50 hci_spec::LinkKeyType::kAuthenticatedCombination192); in TEST() 69 hci_spec::LinkKeyType::kUnauthenticatedCombination256); in TEST() 88 hci_spec::LinkKeyType::kAuthenticatedCombination256); in TEST()
|
D | legacy_pairing_state.cc | 107 link_->set_link_key(link_key_.value(), hci_spec::LinkKeyType::kCombination); in BuildEstablishedLink() 246 const hci_spec::LinkKeyType link_key_type = in OnLinkKeyRequest() 382 hci_spec::LinkKeyType key_type) { in OnLinkKeyNotification() 392 if (key_type != hci_spec::LinkKeyType::kCombination) { in OnLinkKeyNotification() 700 sm::SecurityProperties(hci_spec::LinkKeyType::kCombination); in CompletePairingRequests()
|
D | secure_simple_pairing_state.cc | 497 hci_spec::LinkKeyType key_type, in OnLinkKeyNotification() 502 PW_CHECK(key_type != hci_spec::LinkKeyType::kDebugCombination, in OnLinkKeyNotification() 509 if (!is_pairing() && key_type == hci_spec::LinkKeyType::kChangedCombination) { in OnLinkKeyNotification()
|
D | pairing_state_manager.cc | 178 hci_spec::LinkKeyType key_type, in OnLinkKeyNotification()
|
D | bredr_connection_manager_test.cc | 118 sm::SecurityProperties(hci_spec::LinkKeyType::kAuthenticatedCombination192), 430 DynamicByteBuffer MakeLinkKeyNotification(hci_spec::LinkKeyType key_type) { in MakeLinkKeyNotification() 436 TEST_DEV_ADDR, kLegacyKey.value(), hci_spec::LinkKeyType::kCombination); 439 hci_spec::LinkKeyType::kAuthenticatedCombination192); 450 hci_spec::LinkKeyType::kChangedCombination); 832 hci_spec::LinkKeyType key_type = in QueueSuccessfulPairing() 833 hci_spec::LinkKeyType::kAuthenticatedCombination192) { in QueueSuccessfulPairing() 871 hci_spec::LinkKeyType key_type = in QueueSuccessfulUnauthenticatedPairing() 872 hci_spec::LinkKeyType::kUnauthenticatedCombination192) { in QueueSuccessfulUnauthenticatedPairing() 5341 hci_spec::LinkKeyType::kAuthenticatedCombination256); in TEST_F() [all …]
|
D | legacy_pairing_state_test.cc | 63 const hci_spec::LinkKeyType kTestLegacyLinkKeyType = 64 hci_spec::LinkKeyType::kCombination; 66 hci_spec::LinkKeyType::kUnauthenticatedCombination192;
|
D | bredr_connection_manager.cc | 1520 sm::SecurityProperties(static_cast<hci_spec::LinkKeyType>(key_type)); in OnLinkKeyNotification() 1546 key_value, static_cast<hci_spec::LinkKeyType>(key_type)); in OnLinkKeyNotification() 1550 hci_key, static_cast<hci_spec::LinkKeyType>(key_type)); in OnLinkKeyNotification() 1553 static_cast<hci_spec::LinkKeyType>(key_type), in OnLinkKeyNotification()
|
D | secure_simple_pairing_state_test.cc | 83 hci_spec::LinkKeyType::kUnauthenticatedCombination192; 85 hci_spec::LinkKeyType::kAuthenticatedCombination192; 87 hci_spec::LinkKeyType::kUnauthenticatedCombination256; 88 const auto kTestLegacyLinkKeyType = hci_spec::LinkKeyType::kCombination; 89 const auto kTestChangedLinkKeyType = hci_spec::LinkKeyType::kChangedCombination;
|
/external/pigweed/pw_bluetooth_sapphire/host/hci/public/pw_bluetooth_sapphire/internal/host/hci/ |
D | bredr_connection.h | 38 hci_spec::LinkKeyType type) { in set_link_key() 43 const std::optional<hci_spec::LinkKeyType>& ltk_type() { return ltk_type_; } in ltk_type() 54 std::optional<hci_spec::LinkKeyType> ltk_type_;
|
/external/pigweed/pw_bluetooth_sapphire/host/hci-spec/public/pw_bluetooth_sapphire/internal/host/hci-spec/ |
D | util.h | 35 const char* LinkKeyTypeToString(hci_spec::LinkKeyType key_type);
|
D | constants.h | 821 enum class LinkKeyType : uint8_t { enum
|
/external/pigweed/pw_bluetooth_sapphire/host/sm/public/pw_bluetooth_sapphire/internal/host/sm/ |
D | types.h | 159 explicit SecurityProperties(hci_spec::LinkKeyType lk_type); 184 hci_spec::LinkKeyType GetLinkKeyType() const;
|
/external/pigweed/pw_bluetooth_sapphire/host/gap/public/pw_bluetooth_sapphire/internal/host/gap/ |
D | pairing_state_manager.h | 165 hci_spec::LinkKeyType key_type,
|
D | legacy_pairing_state.h | 134 hci_spec::LinkKeyType key_type);
|
D | secure_simple_pairing_state.h | 278 hci_spec::LinkKeyType key_type,
|
/external/pigweed/pw_bluetooth_sapphire/host/testing/public/pw_bluetooth_sapphire/internal/host/testing/ |
D | test_packets.h | 189 hci_spec::LinkKeyType key_type);
|
/external/pigweed/pw_bluetooth_sapphire/host/hci/ |
D | connection_test.cc | 42 constexpr hci_spec::LinkKeyType kLinkKeyType = 43 hci_spec::LinkKeyType::kAuthenticatedCombination256;
|
/external/pigweed/pw_bluetooth_sapphire/host/testing/ |
D | test_packets.cc | 720 hci_spec::LinkKeyType key_type) { in LinkKeyNotificationPacket()
|