Home
last modified time | relevance | path

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

/openbmc/linux/net/bluetooth/
H A Dsmp.c106 u8 pcnf[16]; /* SMP Pairing Confirm */ member
693 memcpy(smp->pcnf, oob_data->hash256, 16); in build_pairing_cmd()
694 SMP_DBG("OOB Remote Confirmation: %16phN", smp->pcnf); in build_pairing_cmd()
993 if (crypto_memneq(smp->pcnf, confirm, sizeof(smp->pcnf))) { in smp_random()
1524 if (crypto_memneq(smp->pcnf, cfm, 16)) in sc_passkey_round()
2099 if (skb->len < sizeof(smp->pcnf)) in smp_cmd_pairing_confirm()
2102 memcpy(smp->pcnf, skb->data, sizeof(smp->pcnf)); in smp_cmd_pairing_confirm()
2103 skb_pull(skb, sizeof(smp->pcnf)); in smp_cmd_pairing_confirm()
2186 if (crypto_memneq(smp->pcnf, cfm, 16)) in smp_cmd_pairing_random()
2775 if (crypto_memneq(cfm.confirm_val, smp->pcnf, 16)) in smp_cmd_public_key()