Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/bluetooth/host/
Dsmp.c286 static const uint8_t *sc_public_key; variable
2000 if (bt_crypto_f4(sc_public_key, smp->pkey, smp->prnd, r, req->val)) { in smp_send_pairing_confirm()
2651 sc_public_key = bt_pub_key_get(); in smp_init()
3093 memcpy(req->x, sc_public_key, sizeof(req->x)); in sc_send_public_key()
3094 memcpy(req->y, &sc_public_key[32], sizeof(req->y)); in sc_send_public_key()
3308 if (!sc_public_key) { in smp_pairing_rsp()
3628 if (bt_crypto_f4(smp->pkey, sc_public_key, smp->rrnd, r, cfm)) { in sc_smp_check_confirm()
3715 if (bt_crypto_g2(sc_public_key, smp->pkey, smp->prnd, smp->rrnd, in smp_pairing_random()
3760 if (bt_crypto_g2(smp->pkey, sc_public_key, smp->rrnd, smp->prnd, &passkey)) { in smp_pairing_random()
4236 memcmp(smp->pkey, sc_public_key, BT_PUB_KEY_COORD_LEN) == 0) { in smp_public_key_periph()
[all …]