Home
last modified time | relevance | path

Searched refs:mac_key (Results 1 – 14 of 14) sorted by relevance

/system/bt/test/mock/
Dmock_stack_crypto_toolbox.h99 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()
Dmock_stack_crypto_toolbox.cc73 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/
Dcrypto_toolbox.cc77 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()
Dcrypto_toolbox.h30 uint8_t* a1, uint8_t* a2, Octet16* mac_key, Octet16* ltk);
/system/bt/stack/smp/
Dcrypto_toolbox.h30 uint8_t* a1, uint8_t* a2, Octet16* mac_key,
Dsmp_keys.cc882 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()
Dsmp_int.h277 Octet16 mac_key; member
Dsmp_utils.cc1508 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/
Dpairing_handler_le_unittest.cc245 Octet16 ltk, mac_key; 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()
Dpairing_handler_le_secure_connections.cc158 Octet16 ltk, mac_key; in DoSecureConnectionsStage2() local
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()
/system/bt/stack/test/
Dcrypto_toolbox_test.cc209 Octet16 mac_key, ltk; in TEST() local
210 f5(dhkey_w.data(), n1, n2, a1.data(), a2.data(), &mac_key, &ltk); in TEST()
212 EXPECT_EQ(mac_key, expected_mac_key); in TEST()
/system/bt/gd/crypto_toolbox/
Dcrypto_toolbox_test.cc183 Octet16 mac_key, ltk; in TEST() local
184 f5(dhkey_w.data(), n1, n2, a1.data(), a2.data(), &mac_key, &ltk); in TEST()
186 EXPECT_EQ(mac_key, expected_mac_key); in TEST()
Dcrypto_toolbox.h44 …uint8_t* w, const Octet16& n1, const Octet16& n2, uint8_t* a1, uint8_t* a2, Octet16* mac_key, Octe…
Dcrypto_toolbox.cc78 …, 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()