Lines Matching refs:prnd
95 u8 prnd[16]; /* SMP Pairing Random (local) */ member
939 ret = smp_c1(smp->tfm_aes, smp->tk, smp->prnd, smp->preq, smp->prsp, in smp_confirm()
986 smp_s1(smp->tfm_aes, smp->tk, smp->rrnd, smp->prnd, stk); in smp_random()
1002 smp_send_cmd(conn, SMP_CMD_PAIRING_RANDOM, sizeof(smp->prnd), in smp_random()
1003 smp->prnd); in smp_random()
1005 smp_s1(smp->tfm_aes, smp->tk, smp->prnd, smp->rrnd, stk); in smp_random()
1401 na = smp->prnd; in sc_mackey_and_ltk()
1405 nb = smp->prnd; in sc_mackey_and_ltk()
1446 smp_f6(smp->tfm_cmac, smp->mackey, smp->prnd, smp->rrnd, r, io_cap, in sc_dhkey_check()
1462 get_random_bytes(smp->prnd, sizeof(smp->prnd)); in sc_passkey_send_confirm()
1464 if (smp_f4(smp->tfm_cmac, smp->local_pk, smp->remote_pk, smp->prnd, r, in sc_passkey_send_confirm()
1509 sizeof(smp->prnd), smp->prnd); in sc_passkey_round()
1537 sizeof(smp->prnd), smp->prnd); in sc_passkey_round()
1806 get_random_bytes(smp->prnd, sizeof(smp->prnd)); in smp_cmd_pairing_req()
1960 get_random_bytes(smp->prnd, sizeof(smp->prnd)); in smp_cmd_pairing_rsp()
1999 smp_send_cmd(conn, SMP_CMD_PAIRING_RANDOM, sizeof(smp->prnd), in sc_check_confirm()
2000 smp->prnd); in sc_check_confirm()
2076 smp_send_cmd(conn, SMP_CMD_PAIRING_RANDOM, sizeof(smp->prnd), in smp_cmd_pairing_confirm()
2077 smp->prnd); in smp_cmd_pairing_confirm()
2113 na = smp->prnd; in smp_cmd_pairing_random()
2119 nb = smp->prnd; in smp_cmd_pairing_random()
2125 sizeof(smp->prnd), smp->prnd); in smp_cmd_pairing_random()
2145 smp_send_cmd(conn, SMP_CMD_PAIRING_RANDOM, sizeof(smp->prnd), in smp_cmd_pairing_random()
2146 smp->prnd); in smp_cmd_pairing_random()
2651 sizeof(smp->prnd), smp->prnd); in smp_cmd_public_key()
2676 err = smp_f4(smp->tfm_cmac, smp->local_pk, smp->remote_pk, smp->prnd, in smp_cmd_public_key()
2724 err = smp_f6(smp->tfm_cmac, smp->mackey, smp->rrnd, smp->prnd, r, in smp_cmd_dhkey_check()