Lines Matching refs:rand
537 int smp_generate_oob(struct hci_dev *hdev, u8 hash[16], u8 rand[16]) in smp_generate_oob()
579 memcpy(rand, smp->local_rand, 16); in smp_generate_oob()
983 __le64 rand = 0; in smp_random() local
994 hci_le_start_enc(hcon, ediv, rand, stk); in smp_random()
999 __le64 rand = 0; in smp_random() local
1020 SMP_STK, auth, stk, smp->enc_key_size, ediv, rand); in smp_random()
1269 __le64 rand; in smp_distribute_keys() local
1273 get_random_bytes(&rand, sizeof(rand)); in smp_distribute_keys()
1280 smp->enc_key_size, ediv, rand); in smp_distribute_keys()
1284 ident.rand = rand; in smp_distribute_keys()
2193 hci_le_start_enc(hcon, key->ediv, key->rand, key->val); in smp_ltk_encrypt()
2414 rp->ediv, rp->rand); in smp_cmd_master_ident()