Home
last modified time | relevance | path

Searched refs:Na (Results 1 – 2 of 2) sorted by relevance

/system/bt/gd/security/
Dpairing_handler_le_secure_connections.cc140 auto [Na, Nb, ra, rb] = stage1result; in DoSecureConnectionsStage2()
159 crypto_toolbox::f5((uint8_t*)dhkey.data(), Na, Nb, a, b, &mac_key, &ltk); in DoSecureConnectionsStage2()
179 Octet16 Ea = crypto_toolbox::f6(mac_key, Na, Nb, rb, iocapA.data(), a, b); in DoSecureConnectionsStage2()
181 Octet16 Eb = crypto_toolbox::f6(mac_key, Nb, Na, ra, iocapB.data(), b, a); in DoSecureConnectionsStage2()
248 Octet16 Na, Nb, ra, rb; in SecureConnectionsOutOfBand() local
252 Na = GenerateRandom<16>(); in SecureConnectionsOutOfBand()
254 SendL2capPacket(i, PairingRandomBuilder::Create(Na)); in SecureConnectionsOutOfBand()
272 Na = std::get<PairingRandomView>(random).GetRandomValue(); in SecureConnectionsOutOfBand()
277 return Stage1Result{Na, Nb, ra, rb}; in SecureConnectionsOutOfBand()
285 Octet16 Na, Nb, ra{0}, rb{0}; in SecureConnectionsPasskeyEntry() local
[all …]
Dpairing_handler_le_unittest.cc233 Octet16 Na = prv.GetRandomValue(); in TEST_F() local
246 crypto_toolbox::f5(dhkey.data(), Na, Nb, a, b, &mac_key, &ltk); in TEST_F()
258 Octet16 Ea = crypto_toolbox::f6(mac_key, Na, Nb, rb, iocapA.data(), a, b); in TEST_F()
259 Octet16 Eb = crypto_toolbox::f6(mac_key, Nb, Na, ra, iocapB.data(), b, a); in TEST_F()