Home
last modified time | relevance | path

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

/linux-4.1.27/net/bluetooth/
Dsmp.c97 u8 pcnf[16]; /* SMP Pairing Confirm */ member
687 memcpy(smp->pcnf, oob_data->hash256, 16); in build_pairing_cmd()
688 SMP_DBG("OOB Remote Confirmation: %16phN", smp->pcnf); in build_pairing_cmd()
976 if (memcmp(smp->pcnf, confirm, sizeof(smp->pcnf)) != 0) { in smp_random()
1493 if (memcmp(smp->pcnf, cfm, 16)) in sc_passkey_round()
2055 if (skb->len < sizeof(smp->pcnf)) in smp_cmd_pairing_confirm()
2058 memcpy(smp->pcnf, skb->data, sizeof(smp->pcnf)); in smp_cmd_pairing_confirm()
2059 skb_pull(skb, sizeof(smp->pcnf)); in smp_cmd_pairing_confirm()
2142 if (memcmp(smp->pcnf, cfm, 16)) in smp_cmd_pairing_random()
2597 if (memcmp(cfm.confirm_val, smp->pcnf, 16)) in smp_cmd_public_key()