/system/bt/test/mock/ |
D | mock_stack_crypto_toolbox.h | 99 uint8_t* a1, uint8_t* a2, Octet16* mac_key, Octet16* ltk)> 101 uint8_t* a1, uint8_t* a2, Octet16* mac_key, Octet16* ltk) {}}; 103 uint8_t* a1, uint8_t* a2, Octet16* mac_key, Octet16* ltk) { in operator() 104 body(w, n1, n2, a1, a2, mac_key, ltk); in operator()
|
D | mock_stack_crypto_toolbox.cc | 73 uint8_t* a2, Octet16* mac_key, Octet16* ltk) { in f5() argument 75 test::mock::stack_crypto_toolbox::f5(w, n1, n2, a1, a2, mac_key, ltk); in f5()
|
/system/bt/stack/crypto_toolbox/ |
D | crypto_toolbox.cc | 77 uint8_t* a2, Octet16* mac_key, Octet16* ltk) { in f5() argument 92 *mac_key = calculate_mac_key_or_ltk(t, 0, key_id, n1, n2, a1, a2, length); in f5() 96 DVLOG(2) << "mac_key=" << HexEncode(mac_key->data(), mac_key->size()); in f5()
|
D | crypto_toolbox.h | 30 uint8_t* a1, uint8_t* a2, Octet16* mac_key, Octet16* ltk);
|
/system/bt/stack/smp/ |
D | crypto_toolbox.h | 30 uint8_t* a1, uint8_t* a2, Octet16* mac_key,
|
D | smp_keys.cc | 882 p_cb->dhkey_check = crypto_toolbox::f6(p_cb->mac_key, p_cb->rand, p_cb->rrand, in smp_calculate_local_dhkey_check() 907 Octet16 param_buf = crypto_toolbox::f6(p_cb->mac_key, p_cb->rrand, p_cb->rand, in smp_calculate_peer_dhkey_check()
|
D | smp_int.h | 277 Octet16 mac_key; member
|
D | smp_utils.cc | 1508 crypto_toolbox::f5(p_cb->dhkey, na, nb, a, b, &p_cb->mac_key, &p_cb->ltk); in smp_calculate_f5_mackey_and_long_term_key()
|
/system/bt/gd/security/ |
D | pairing_handler_le_unittest.cc | 245 Octet16 ltk, mac_key; in TEST_F() local 246 crypto_toolbox::f5(dhkey.data(), Na, Nb, a, b, &mac_key, <k); 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()
|
D | pairing_handler_le_secure_connections.cc | 158 Octet16 ltk, mac_key; in DoSecureConnectionsStage2() local 159 crypto_toolbox::f5((uint8_t*)dhkey.data(), Na, Nb, a, b, &mac_key, <k); 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()
|
/system/bt/gd/crypto_toolbox/ |
D | crypto_toolbox_test.cc | 183 Octet16 mac_key, ltk; in TEST() local 184 f5(dhkey_w.data(), n1, n2, a1.data(), a2.data(), &mac_key, <k); in TEST() 186 EXPECT_EQ(mac_key, expected_mac_key); in TEST()
|
D | crypto_toolbox.h | 44 …uint8_t* w, const Octet16& n1, const Octet16& n2, uint8_t* a1, uint8_t* a2, Octet16* mac_key, Octe…
|
D | crypto_toolbox.cc | 78 …, const Octet16& n1, const Octet16& n2, uint8_t* a1, uint8_t* a2, Octet16* mac_key, Octet16* ltk) { in f5() argument 91 *mac_key = calculate_mac_key_or_ltk(t, 0, key_id, n1, n2, a1, a2, length); in f5()
|
/system/bt/stack/test/ |
D | crypto_toolbox_test.cc | 209 Octet16 mac_key, ltk; in TEST() local 210 f5(dhkey_w.data(), n1, n2, a1.data(), a2.data(), &mac_key, <k); in TEST() 212 EXPECT_EQ(mac_key, expected_mac_key); in TEST()
|