Lines Matching refs:rand
106 static void btm_gen_non_resolve_paddr_cmpl(BT_OCTET8 rand) { in btm_gen_non_resolve_paddr_cmpl() argument
116 pp = rand; in btm_gen_non_resolve_paddr_cmpl()
175 uint8_t rand[3]; in rpa_matches_irk() local
176 rand[0] = rpa.address[2]; in rpa_matches_irk()
177 rand[1] = rpa.address[1]; in rpa_matches_irk()
178 rand[2] = rpa.address[0]; in rpa_matches_irk()
181 Octet16 x = crypto_toolbox::aes_128(irk, &rand[0], 3); in rpa_matches_irk()
183 rand[0] = rpa.address[5]; in rpa_matches_irk()
184 rand[1] = rpa.address[4]; in rpa_matches_irk()
185 rand[2] = rpa.address[3]; in rpa_matches_irk()
187 if (memcmp(x.data(), &rand[0], 3) == 0) { in rpa_matches_irk()