Home
last modified time | relevance | path

Searched refs:crypto_toolbox (Results 1 – 12 of 12) sorted by relevance

/system/bt/stack/
DBUILD.gn17 static_library("crypto_toolbox") {
19 "crypto_toolbox/crypto_toolbox.cc",
20 "crypto_toolbox/aes.cc",
21 "crypto_toolbox/aes_cmac.cc",
192 ":crypto_toolbox",
260 ":crypto_toolbox",
312 ":crypto_toolbox",
DAndroid.bp2 "crypto_toolbox/aes.cc",
3 "crypto_toolbox/aes_cmac.cc",
4 "crypto_toolbox/crypto_toolbox.cc",
/system/bt/stack/smp/
Dsmp_keys.cc45 using crypto_toolbox::aes_128;
761 p_cb->commitment = crypto_toolbox::f4( in smp_calculate_local_commitment()
769 crypto_toolbox::f4(p_cb->loc_publ_key.x, p_cb->peer_publ_key.x, in smp_calculate_local_commitment()
775 p_cb->commitment = crypto_toolbox::f4( in smp_calculate_local_commitment()
800 output = crypto_toolbox::f4(p_cb->peer_publ_key.x, p_cb->loc_publ_key.x, in smp_calculate_peer_commitment()
806 output = crypto_toolbox::f4(p_cb->peer_publ_key.x, p_cb->loc_publ_key.x, in smp_calculate_peer_commitment()
810 output = crypto_toolbox::f4(p_cb->peer_publ_key.x, p_cb->peer_publ_key.x, in smp_calculate_peer_commitment()
838 p_cb->number_to_display = crypto_toolbox::g2( in smp_calculate_numeric_comparison_display_number()
841 p_cb->number_to_display = crypto_toolbox::g2( in smp_calculate_numeric_comparison_display_number()
888 p_cb->dhkey_check = crypto_toolbox::f6(p_cb->mac_key, p_cb->rand, p_cb->rrand, in smp_calculate_local_dhkey_check()
[all …]
Dsmp_utils.cc1515 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()
Dsmp_act.cc1875 crypto_toolbox::f4(p_cb->sc_oob_data.loc_oob_data.publ_key_used.x, in smp_set_local_oob_random_commitment()
/system/bt/stack/crypto_toolbox/
Dcrypto_toolbox.h21 namespace crypto_toolbox {
Daes_cmac.cc31 namespace crypto_toolbox { namespace
Dcrypto_toolbox.cc27 namespace crypto_toolbox { namespace
/system/bt/stack/btm/
Dbtm_ble_addr.cc51 Octet16 p = crypto_toolbox::aes_128(irk, random, 3); in generate_rpa_from_irk_and_rand()
181 Octet16 x = crypto_toolbox::aes_128(irk, &rand[0], 3); in rpa_matches_irk()
Dbtm_ble.cc2060 crypto_toolbox::aes_cmac(p_rec->ble.keys.lcsrk, p_buf, (uint16_t)(len + 4), in BTM_BleDataSignature()
2108 crypto_toolbox::aes_cmac(p_rec->ble.keys.pcsrk, p_orig, len, in BTM_BleVerifySignature()
2282 crypto_toolbox::aes_128(btm_cb.devcb.id_keys.ir, &btm_ble_dhk_pt, 1); in btm_ble_reset_id_impl()
2287 crypto_toolbox::aes_128(btm_cb.devcb.id_keys.ir, &btm_ble_irk_pt, 1); in btm_ble_reset_id_impl()
/system/bt/stack/test/
Dstack_smp_test.cc193 Octet16 output = crypto_toolbox::aes_128(p_cb_.tk, p1.data(), OCTET16_LEN); in TEST_F()
Dcrypto_toolbox_test.cc31 namespace crypto_toolbox { namespace