Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/bluetooth/
Dsmp.c105 u8 pcnf[16]; /* SMP Pairing Confirm */ member
692 memcpy(smp->pcnf, oob_data->hash256, 16); in build_pairing_cmd()
693 SMP_DBG("OOB Remote Confirmation: %16phN", smp->pcnf); in build_pairing_cmd()
989 if (crypto_memneq(smp->pcnf, confirm, sizeof(smp->pcnf))) { in smp_random()
1512 if (crypto_memneq(smp->pcnf, cfm, 16)) in sc_passkey_round()
2085 if (skb->len < sizeof(smp->pcnf)) in smp_cmd_pairing_confirm()
2088 memcpy(smp->pcnf, skb->data, sizeof(smp->pcnf)); in smp_cmd_pairing_confirm()
2089 skb_pull(skb, sizeof(smp->pcnf)); in smp_cmd_pairing_confirm()
2172 if (crypto_memneq(smp->pcnf, cfm, 16)) in smp_cmd_pairing_random()
2753 if (crypto_memneq(cfm.confirm_val, smp->pcnf, 16)) in smp_cmd_public_key()