Lines Matching refs:rrnd
96 u8 rrnd[16]; /* SMP Pairing Random (remote) */ member
970 ret = smp_c1(smp->tfm_aes, smp->tk, smp->rrnd, smp->preq, smp->prsp, in smp_random()
986 smp_s1(smp->tfm_aes, smp->tk, smp->rrnd, smp->prnd, stk); in smp_random()
1005 smp_s1(smp->tfm_aes, smp->tk, smp->prnd, smp->rrnd, stk); in smp_random()
1402 nb = smp->rrnd; in sc_mackey_and_ltk()
1404 na = smp->rrnd; in sc_mackey_and_ltk()
1446 smp_f6(smp->tfm_cmac, smp->mackey, smp->prnd, smp->rrnd, r, io_cap, in sc_dhkey_check()
1490 smp->rrnd, r, cfm)) in sc_passkey_round()
2101 if (skb->len < sizeof(smp->rrnd)) in smp_cmd_pairing_random()
2104 memcpy(smp->rrnd, skb->data, sizeof(smp->rrnd)); in smp_cmd_pairing_random()
2105 skb_pull(skb, sizeof(smp->rrnd)); in smp_cmd_pairing_random()
2114 nb = smp->rrnd; in smp_cmd_pairing_random()
2118 na = smp->rrnd; in smp_cmd_pairing_random()
2138 smp->rrnd, 0, cfm); in smp_cmd_pairing_random()
2724 err = smp_f6(smp->tfm_cmac, smp->mackey, smp->rrnd, smp->prnd, r, in smp_cmd_dhkey_check()