Home
last modified time | relevance | path

Searched refs:ri (Results 1 – 3 of 3) sorted by relevance

/system/bt/gd/security/
Dpairing_handler_le_secure_connections.cc320 uint8_t ri = bit_set ? 0x81 : 0x80; in SecureConnectionsPasskeyEntry() local
326 Cai = crypto_toolbox::f4((uint8_t*)PKa.x.data(), (uint8_t*)PKb.x.data(), Nai, ri); in SecureConnectionsPasskeyEntry()
349 Octet16 Cbi2 = crypto_toolbox::f4((uint8_t*)PKb.x.data(), (uint8_t*)PKa.x.data(), Nbi, ri); in SecureConnectionsPasskeyEntry()
358 Cbi = crypto_toolbox::f4((uint8_t*)PKb.x.data(), (uint8_t*)PKa.x.data(), Nbi, ri); in SecureConnectionsPasskeyEntry()
378 Octet16 Cai2 = crypto_toolbox::f4((uint8_t*)PKa.x.data(), (uint8_t*)PKb.x.data(), Nai, ri); in SecureConnectionsPasskeyEntry()
/system/bt/stack/smp/
Dsmp_utils.cc1335 uint8_t ri; in smp_calculate_random_input() local
1339 ri = ((random[i] >> j) & 1) | 0x80; in smp_calculate_random_input()
1340 SMP_TRACE_DEBUG("%s ri=0x%02x", __func__, ri); in smp_calculate_random_input()
1341 return ri; in smp_calculate_random_input()
Dsmp_keys.cc783 uint8_t ri; in smp_calculate_peer_commitment() local
799 ri = smp_calculate_random_input(p_cb->peer_random.data(), p_cb->round); in smp_calculate_peer_commitment()
801 p_cb->rrand, ri); in smp_calculate_peer_commitment()