Searched refs:KeyDistGen (Results 1 – 11 of 11) sorted by relevance
/external/pigweed/pw_bluetooth_sapphire/host/sm/ |
D | phase_1_test.cc | 125 KeyDistGen::kEncKey, // initiator keys in TEST_F() 126 KeyDistGen::kEncKey | KeyDistGen::kIdKey // responder keys in TEST_F() 161 KeyDistGen::kEncKey | KeyDistGen::kIdKey, // initiator keys in TEST_F() 162 KeyDistGen::kEncKey | KeyDistGen::kIdKey // responder keys in TEST_F() 187 KeyDistGen::kEncKey, // initiator keys in TEST_F() 188 KeyDistGen::kEncKey | KeyDistGen::kIdKey // responder keys in TEST_F() 196 KeyDistGen::kIdKey, // initiator keys - not listed in kRequest in TEST_F() 197 KeyDistGen::kEncKey | KeyDistGen::kIdKey // responder keys in TEST_F() 223 KeyDistGen::kEncKey, // initiator keys in TEST_F() 224 KeyDistGen::kEncKey | KeyDistGen::kIdKey // responder keys in TEST_F() [all …]
|
D | phase_3_test.cc | 51 KeyDistGen::kEncKey, // kEncKey because it lets Phase 3 "just work" 211 args.features.local_key_distribution = KeyDistGen::kEncKey; in TEST_F() 218 args.features.remote_key_distribution = KeyDistGen::kEncKey; in TEST_F() 242 args.features.remote_key_distribution = KeyDistGen::kEncKey; in TEST_F() 267 args.features.remote_key_distribution = KeyDistGen::kEncKey; in TEST_F() 289 args.features.remote_key_distribution = KeyDistGen::kEncKey; in TEST_F() 326 args.features.remote_key_distribution = KeyDistGen::kEncKey; in TEST_F() 355 args.features.remote_key_distribution = KeyDistGen::kEncKey; in TEST_F() 376 KeyDistGen::kEncKey | KeyDistGen::kIdKey; in TEST_F() 402 args.features.remote_key_distribution = KeyDistGen::kEncKey; in TEST_F() [all …]
|
D | types_test.cc | 178 KeyDistGen::kLinkKey | KeyDistGen::kEncKey; in TEST() 184 KeyDistGen::kLinkKey | KeyDistGen::kIdKey; in TEST() 189 remote_link_key_only.remote_key_distribution = KeyDistGen::kLinkKey; in TEST() 198 KeyDistGen::kIdKey | KeyDistGen::kLinkKey | KeyDistGen::kEncKey; in TEST() 200 EXPECT_EQ(dist_le_keys, KeyDistGen::kIdKey | KeyDistGen::kEncKey); in TEST() 203 KeyDistGen::kIdKey | KeyDistGen::kLinkKey | KeyDistGen::kEncKey; in TEST() 206 EXPECT_EQ(dist_bredr_keys, KeyDistGen::kIdKey); in TEST()
|
D | phase_3.cc | 124 PW_DCHECK(!(obtained_remote_keys_ & KeyDistGen::kEncKey)); in OnEncryptionInformation() 157 if (obtained_remote_keys_ & KeyDistGen::kEncKey) { in OnCentralIdentification() 173 obtained_remote_keys_ |= KeyDistGen::kEncKey; in OnCentralIdentification() 193 PW_DCHECK(!(obtained_remote_keys_ & KeyDistGen::kIdKey)); in OnIdentityInformation() 214 if (obtained_remote_keys_ & KeyDistGen::kIdKey) { in OnIdentityAddressInformation() 234 obtained_remote_keys_ |= KeyDistGen::kIdKey; in OnIdentityAddressInformation() 419 KeyDistGen::kEncKey) && in ShouldReceiveLtk() 424 return (features_.remote_key_distribution & KeyDistGen::kIdKey); in ShouldReceiveIdentity() 429 KeyDistGen::kEncKey) && in ShouldSendLtk() 434 return (features_.local_key_distribution & KeyDistGen::kIdKey); in ShouldSendIdentity()
|
D | phase_1.cc | 195 local_params.remote_keys = KeyDistGen::kIdKey; in BuildPairingParameters() 200 local_params.local_keys |= KeyDistGen::kIdKey; in BuildPairingParameters() 209 local_params.remote_keys |= KeyDistGen::kEncKey; in BuildPairingParameters() 210 local_params.local_keys |= KeyDistGen::kEncKey; in BuildPairingParameters() 216 local_params.local_keys |= KeyDistGen::kLinkKey; in BuildPairingParameters() 217 local_params.remote_keys |= KeyDistGen::kLinkKey; in BuildPairingParameters() 347 if (local_keys & remote_keys & KeyDistGen::kEncKey) { in ResolveFeatures() 355 local_keys &= ~KeyDistGen::kEncKey; in ResolveFeatures() 356 remote_keys &= ~KeyDistGen::kEncKey; in ResolveFeatures() 362 if (local_keys & remote_keys & KeyDistGen::kLinkKey) { in ResolveFeatures()
|
D | security_manager_test.cc | 2266 KeyDistGenField remote_keys{KeyDistGen::kEncKey}, local_keys{0}; in TEST_F() 2367 KeyDistGen::kEncKey); in TEST_F() 2398 KeyDistGen::kEncKey); in TEST_F() 2424 KeyDistGen::kEncKey); in TEST_F() 2466 KeyDistGen::kEncKey); in TEST_F() 2496 KeyDistGen::kEncKey, in TEST_F() 2524 KeyDistGen::kEncKey); in TEST_F() 2560 KeyDistGen::kEncKey); in TEST_F() 2618 KeyDistGenField remote_keys{0u}, local_keys{KeyDistGen::kEncKey}; in TEST_F() 2658 KeyDistGen::kEncKey, in TEST_F() [all …]
|
D | phase_2_secure_connections_test.cc | 51 .local_key_distribution = KeyDistGen::kIdKey, 52 .remote_key_distribution = KeyDistGen::kIdKey | KeyDistGen::kEncKey}; 59 .initiator_key_dist_gen = KeyDistGen::kIdKey, 60 .responder_key_dist_gen = KeyDistGen::kIdKey | KeyDistGen::kEncKey}; 67 .initiator_key_dist_gen = KeyDistGen::kIdKey, 68 .responder_key_dist_gen = KeyDistGen::kIdKey | KeyDistGen::kEncKey};
|
D | phase_2_legacy_test.cc | 49 .local_key_distribution = KeyDistGen::kIdKey, 50 .remote_key_distribution = KeyDistGen::kIdKey | KeyDistGen::kEncKey}; 57 .initiator_key_dist_gen = KeyDistGen::kIdKey, 58 .responder_key_dist_gen = KeyDistGen::kIdKey | KeyDistGen::kEncKey}; 65 .initiator_key_dist_gen = KeyDistGen::kIdKey, 66 .responder_key_dist_gen = KeyDistGen::kIdKey | KeyDistGen::kEncKey};
|
/external/pigweed/pw_bluetooth_sapphire/host/sm/public/pw_bluetooth_sapphire/internal/host/sm/ |
D | types.h | 92 keys &= ~KeyDistGen::kLinkKey; in DistributableKeys() 96 keys &= ~KeyDistGen::kEncKey; in DistributableKeys()
|
D | smp.h | 124 enum KeyDistGen : uint8_t { enum
|
/external/pigweed/pw_bluetooth_sapphire/fuchsia/host/fidl/ |
D | host_server_test.cc | 59 using bt::sm::KeyDistGen; 797 KeyDistGen::kEncKey | KeyDistGen::kLinkKey, // initiator keys in TEST_F() 798 KeyDistGen::kEncKey | KeyDistGen::kIdKey | in TEST_F() 799 KeyDistGen::kLinkKey // responder keys in TEST_F() 843 KeyDistGen::kEncKey | KeyDistGen::kLinkKey, // initiator keys in TEST_F() 844 KeyDistGen::kEncKey | KeyDistGen::kIdKey | in TEST_F() 845 KeyDistGen::kLinkKey // responder keys in TEST_F()
|