Lines Matching refs:prnd
103 u8 prnd[16]; /* SMP Pairing Random (local) */ member
955 ret = smp_c1(smp->tk, smp->prnd, smp->preq, smp->prsp, in smp_confirm()
1000 smp_s1(smp->tk, smp->rrnd, smp->prnd, stk); in smp_random()
1013 smp_send_cmd(conn, SMP_CMD_PAIRING_RANDOM, sizeof(smp->prnd), in smp_random()
1014 smp->prnd); in smp_random()
1016 smp_s1(smp->tk, smp->prnd, smp->rrnd, stk); in smp_random()
1420 na = smp->prnd; in sc_mackey_and_ltk()
1424 nb = smp->prnd; in sc_mackey_and_ltk()
1465 smp_f6(smp->tfm_cmac, smp->mackey, smp->prnd, smp->rrnd, r, io_cap, in sc_dhkey_check()
1481 get_random_bytes(smp->prnd, sizeof(smp->prnd)); in sc_passkey_send_confirm()
1483 if (smp_f4(smp->tfm_cmac, smp->local_pk, smp->remote_pk, smp->prnd, r, in sc_passkey_send_confirm()
1528 sizeof(smp->prnd), smp->prnd); in sc_passkey_round()
1556 sizeof(smp->prnd), smp->prnd); in sc_passkey_round()
1834 get_random_bytes(smp->prnd, sizeof(smp->prnd)); in smp_cmd_pairing_req()
1990 get_random_bytes(smp->prnd, sizeof(smp->prnd)); in smp_cmd_pairing_rsp()
2029 smp_send_cmd(conn, SMP_CMD_PAIRING_RANDOM, sizeof(smp->prnd), in sc_check_confirm()
2030 smp->prnd); in sc_check_confirm()
2106 smp_send_cmd(conn, SMP_CMD_PAIRING_RANDOM, sizeof(smp->prnd), in smp_cmd_pairing_confirm()
2107 smp->prnd); in smp_cmd_pairing_confirm()
2143 na = smp->prnd; in smp_cmd_pairing_random()
2149 nb = smp->prnd; in smp_cmd_pairing_random()
2155 sizeof(smp->prnd), smp->prnd); in smp_cmd_pairing_random()
2175 smp_send_cmd(conn, SMP_CMD_PAIRING_RANDOM, sizeof(smp->prnd), in smp_cmd_pairing_random()
2176 smp->prnd); in smp_cmd_pairing_random()
2824 sizeof(smp->prnd), smp->prnd); in smp_cmd_public_key()
2849 err = smp_f4(smp->tfm_cmac, smp->local_pk, smp->remote_pk, smp->prnd, in smp_cmd_public_key()
2897 err = smp_f6(smp->tfm_cmac, smp->mackey, smp->rrnd, smp->prnd, r, in smp_cmd_dhkey_check()