Lines Matching refs:prnd
103 u8 prnd[16]; /* SMP Pairing Random (local) */ member
954 ret = smp_c1(smp->tk, smp->prnd, smp->preq, smp->prsp, in smp_confirm()
999 smp_s1(smp->tk, smp->rrnd, smp->prnd, stk); in smp_random()
1012 smp_send_cmd(conn, SMP_CMD_PAIRING_RANDOM, sizeof(smp->prnd), in smp_random()
1013 smp->prnd); in smp_random()
1015 smp_s1(smp->tk, smp->prnd, smp->rrnd, stk); in smp_random()
1419 na = smp->prnd; in sc_mackey_and_ltk()
1423 nb = smp->prnd; in sc_mackey_and_ltk()
1464 smp_f6(smp->tfm_cmac, smp->mackey, smp->prnd, smp->rrnd, r, io_cap, in sc_dhkey_check()
1480 get_random_bytes(smp->prnd, sizeof(smp->prnd)); in sc_passkey_send_confirm()
1482 if (smp_f4(smp->tfm_cmac, smp->local_pk, smp->remote_pk, smp->prnd, r, in sc_passkey_send_confirm()
1527 sizeof(smp->prnd), smp->prnd); in sc_passkey_round()
1555 sizeof(smp->prnd), smp->prnd); in sc_passkey_round()
1833 get_random_bytes(smp->prnd, sizeof(smp->prnd)); in smp_cmd_pairing_req()
1989 get_random_bytes(smp->prnd, sizeof(smp->prnd)); in smp_cmd_pairing_rsp()
2028 smp_send_cmd(conn, SMP_CMD_PAIRING_RANDOM, sizeof(smp->prnd), in sc_check_confirm()
2029 smp->prnd); in sc_check_confirm()
2105 smp_send_cmd(conn, SMP_CMD_PAIRING_RANDOM, sizeof(smp->prnd), in smp_cmd_pairing_confirm()
2106 smp->prnd); in smp_cmd_pairing_confirm()
2142 na = smp->prnd; in smp_cmd_pairing_random()
2148 nb = smp->prnd; in smp_cmd_pairing_random()
2154 sizeof(smp->prnd), smp->prnd); in smp_cmd_pairing_random()
2174 smp_send_cmd(conn, SMP_CMD_PAIRING_RANDOM, sizeof(smp->prnd), in smp_cmd_pairing_random()
2175 smp->prnd); in smp_cmd_pairing_random()
2767 sizeof(smp->prnd), smp->prnd); in smp_cmd_public_key()
2792 err = smp_f4(smp->tfm_cmac, smp->local_pk, smp->remote_pk, smp->prnd, in smp_cmd_public_key()
2840 err = smp_f6(smp->tfm_cmac, smp->mackey, smp->rrnd, smp->prnd, r, in smp_cmd_dhkey_check()