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.cc315 uint8_t ri = bit_set ? 0x81 : 0x80; in SecureConnectionsPasskeyEntry() local
321 Cai = crypto_toolbox::f4((uint8_t*)PKa.x.data(), (uint8_t*)PKb.x.data(), Nai, ri); in SecureConnectionsPasskeyEntry()
344 Octet16 Cbi2 = crypto_toolbox::f4((uint8_t*)PKb.x.data(), (uint8_t*)PKa.x.data(), Nbi, ri); in SecureConnectionsPasskeyEntry()
353 Cbi = crypto_toolbox::f4((uint8_t*)PKb.x.data(), (uint8_t*)PKa.x.data(), Nbi, ri); in SecureConnectionsPasskeyEntry()
373 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.cc1342 uint8_t ri; in smp_calculate_random_input() local
1346 ri = ((random[i] >> j) & 1) | 0x80; in smp_calculate_random_input()
1347 SMP_TRACE_DEBUG("%s ri=0x%02x", __func__, ri); in smp_calculate_random_input()
1348 return ri; in smp_calculate_random_input()
Dsmp_keys.cc787 uint8_t ri; in smp_calculate_peer_commitment() local
803 ri = smp_calculate_random_input(p_cb->peer_random.data(), p_cb->round); in smp_calculate_peer_commitment()
805 p_cb->rrand, ri); in smp_calculate_peer_commitment()