Home
last modified time | relevance | path

Searched refs:pcnf (Results 1 – 1 of 1) sorted by relevance

/linux-4.4.14/net/bluetooth/
Dsmp.c103 u8 pcnf[16]; /* SMP Pairing Confirm */ member
705 memcpy(smp->pcnf, oob_data->hash256, 16); in build_pairing_cmd()
706 SMP_DBG("OOB Remote Confirmation: %16phN", smp->pcnf); in build_pairing_cmd()
994 if (memcmp(smp->pcnf, confirm, sizeof(smp->pcnf)) != 0) { in smp_random()
1494 if (memcmp(smp->pcnf, cfm, 16)) in sc_passkey_round()
2056 if (skb->len < sizeof(smp->pcnf)) in smp_cmd_pairing_confirm()
2059 memcpy(smp->pcnf, skb->data, sizeof(smp->pcnf)); in smp_cmd_pairing_confirm()
2060 skb_pull(skb, sizeof(smp->pcnf)); in smp_cmd_pairing_confirm()
2143 if (memcmp(smp->pcnf, cfm, 16)) in smp_cmd_pairing_random()
2624 if (memcmp(cfm.confirm_val, smp->pcnf, 16)) in smp_cmd_public_key()