Lines Matching refs:prnd

106 	u8		prnd[16]; /* SMP Pairing Random (local) */  member
964 ret = smp_c1(smp->tfm_aes, smp->tk, smp->prnd, smp->preq, smp->prsp, in smp_confirm()
1012 smp_s1(smp->tfm_aes, smp->tk, smp->rrnd, smp->prnd, stk); in smp_random()
1025 smp_send_cmd(conn, SMP_CMD_PAIRING_RANDOM, sizeof(smp->prnd), in smp_random()
1026 smp->prnd); in smp_random()
1028 smp_s1(smp->tfm_aes, smp->tk, smp->prnd, smp->rrnd, stk); in smp_random()
1440 na = smp->prnd; in sc_mackey_and_ltk()
1444 nb = smp->prnd; in sc_mackey_and_ltk()
1485 smp_f6(smp->tfm_cmac, smp->mackey, smp->prnd, smp->rrnd, r, io_cap, in sc_dhkey_check()
1501 get_random_bytes(smp->prnd, sizeof(smp->prnd)); in sc_passkey_send_confirm()
1503 if (smp_f4(smp->tfm_cmac, smp->local_pk, smp->remote_pk, smp->prnd, r, in sc_passkey_send_confirm()
1548 sizeof(smp->prnd), smp->prnd); in sc_passkey_round()
1576 sizeof(smp->prnd), smp->prnd); in sc_passkey_round()
1854 get_random_bytes(smp->prnd, sizeof(smp->prnd)); in smp_cmd_pairing_req()
2010 get_random_bytes(smp->prnd, sizeof(smp->prnd)); in smp_cmd_pairing_rsp()
2049 smp_send_cmd(conn, SMP_CMD_PAIRING_RANDOM, sizeof(smp->prnd), in sc_check_confirm()
2050 smp->prnd); in sc_check_confirm()
2126 smp_send_cmd(conn, SMP_CMD_PAIRING_RANDOM, sizeof(smp->prnd), in smp_cmd_pairing_confirm()
2127 smp->prnd); in smp_cmd_pairing_confirm()
2163 na = smp->prnd; in smp_cmd_pairing_random()
2169 nb = smp->prnd; in smp_cmd_pairing_random()
2175 sizeof(smp->prnd), smp->prnd); in smp_cmd_pairing_random()
2195 smp_send_cmd(conn, SMP_CMD_PAIRING_RANDOM, sizeof(smp->prnd), in smp_cmd_pairing_random()
2196 smp->prnd); in smp_cmd_pairing_random()
2775 sizeof(smp->prnd), smp->prnd); in smp_cmd_public_key()
2800 err = smp_f4(smp->tfm_cmac, smp->local_pk, smp->remote_pk, smp->prnd, in smp_cmd_public_key()
2848 err = smp_f6(smp->tfm_cmac, smp->mackey, smp->rrnd, smp->prnd, r, in smp_cmd_dhkey_check()