/foundation/communication/bluetooth_service/services/bluetooth/stack/src/smp/ |
H A D | smp_def.h | 60 #define SMP_PUBLICKEY_LEN 0x40 macro 149 uint8_t publicKey[SMP_PUBLICKEY_LEN]; 210 uint8_t publicKey[SMP_PUBLICKEY_LEN];
|
H A D | smp_sc_accepter.c | 38 (void)memcpy_s(SMP_GetPairMng()->peer.publicKey, SMP_PUBLICKEY_LEN, (uint8_t *)param->data, SMP_PUBLICKEY_LEN); in SMP_ScPairJustworkOrNumericSlaveStep1() local 63 SMP_GetPairMng()->local.publicKey, SMP_PUBLICKEY_LEN, eventParam->localP256PublicKey, SMP_PUBLICKEY_LEN); in SMP_ScPairJustworkOrNumericSlaveStep2() local 67 DHKeyParam.remoteP256PublicKey, SMP_PUBLICKEY_LEN, SMP_GetPairMng()->peer.publicKey, SMP_PUBLICKEY_LEN); in SMP_ScPairJustworkOrNumericSlaveStep2() 369 (void)memcpy_s(SMP_GetPairMng()->peer.publicKey, SMP_PUBLICKEY_LEN, (uint8_t *)param->data, SMP_PUBLICKEY_LEN); in SMP_ScPairPasskeyEntrySlaveStep1() local 394 SMP_GetPairMng()->local.publicKey, SMP_PUBLICKEY_LEN, eventParam->localP256PublicKey, SMP_PUBLICKEY_LEN); in SMP_ScPairPasskeyEntrySlaveStep2() local 743 SMP_GetPairMng()->local.publicKey, SMP_PUBLICKEY_LEN, eventParam->localP256PublicKey, SMP_PUBLICKEY_LEN); SMP_ScPairOobSlaveStep1() local 757 (void)memcpy_s(SMP_GetPairMng()->peer.publicKey, SMP_PUBLICKEY_LEN, (uint8_t *)param->data, SMP_PUBLICKEY_LEN); SMP_ScPairOobSlaveStep7() local 770 (void)memcpy_s(SMP_GetPairMng()->peer.publicKey, SMP_PUBLICKEY_LEN, (uint8_t *)param->data, SMP_PUBLICKEY_LEN); SMP_ScPairOobSlaveStep8() local [all...] |
H A D | smp_sc_initiator.c | 41 SMP_GetPairMng()->local.publicKey, SMP_PUBLICKEY_LEN, eventParam->localP256PublicKey, SMP_PUBLICKEY_LEN); in SMP_ScPairJustworkOrNumericMasterStep1() local 65 (void)memcpy_s(SMP_GetPairMng()->peer.publicKey, SMP_PUBLICKEY_LEN, (uint8_t *)param->data, SMP_PUBLICKEY_LEN); in SMP_ScPairJustworkOrNumericMasterStep2() local 68 DHKeyParam.remoteP256PublicKey, SMP_PUBLICKEY_LEN, SMP_GetPairMng()->peer.publicKey, SMP_PUBLICKEY_LEN); in SMP_ScPairJustworkOrNumericMasterStep2() 352 SMP_GetPairMng()->local.publicKey, SMP_PUBLICKEY_LEN, eventParam->localP256PublicKey, SMP_PUBLICKEY_LEN); in SMP_ScPairPasskeyEntryMasterStep1() local 376 (void)memcpy_s(SMP_GetPairMng()->peer.publicKey, SMP_PUBLICKEY_LEN, (uint8_t *)param->data, SMP_PUBLICKEY_LEN); in SMP_ScPairPasskeyEntryMasterStep2() local 710 SMP_GetPairMng()->local.publicKey, SMP_PUBLICKEY_LEN, eventParam->localP256PublicKey, SMP_PUBLICKEY_LEN); SMP_ScPairOobMasterStep1() local 726 (void)memcpy_s(SMP_GetPairMng()->peer.publicKey, SMP_PUBLICKEY_LEN, (uint8_t *)param->data, SMP_PUBLICKEY_LEN); SMP_ScPairOobMasterStep8() local [all...] |
H A D | smp_oob.c | 48 (void)memcpy_s(g_smpScOobMng.publicKey, SMP_PUBLICKEY_LEN, eventParam->localP256PublicKey, SMP_PUBLICKEY_LEN); in SMP_GenerateScOobDataStep1()
|
H A D | smp.c | 1245 DHKeyParam.remoteP256PublicKey, SMP_PUBLICKEY_LEN, g_smpPairMng.peer.publicKey, SMP_PUBLICKEY_LEN); in SMP_AuthReqReplyOobSlave() 1419 g_smpPairMng.local.publicKey, SMP_PUBLICKEY_LEN, SMP_GetScOobMng()->publicKey, SMP_PUBLICKEY_LEN); in SMP_PairReqReplyScPairOob() 1556 g_smpPairMng.local.publicKey, SMP_PUBLICKEY_LEN, SMP_GetScOobMng()->publicKey, SMP_PUBLICKEY_LEN); in SMP_PairRspReplyScPairOob()
|
H A D | smp_cmd.c | 171 PacketPayloadWrite(pkt, publicKey, offset, SMP_PUBLICKEY_LEN); in SMP_SendPairingPublicKey()
|