Searched refs:cryptG2Param (Results 1 - 2 of 2) sorted by relevance
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/smp/ |
H A D | smp_sc_accepter.c | 274 SMP_CryptG2Param cryptG2Param; in SMP_ScPairJustworkOrNumericSlaveStep10() local 280 SMP_GetPublicKeyX(SMP_GetPairMng()->peer.publicKey, cryptG2Param.U, sizeof(cryptG2Param.U)); in SMP_ScPairJustworkOrNumericSlaveStep10() 281 SMP_GetPublicKeyX(SMP_GetPairMng()->local.publicKey, cryptG2Param.V, sizeof(cryptG2Param.V)); in SMP_ScPairJustworkOrNumericSlaveStep10() 282 (void)memcpy_s(cryptG2Param.Y, sizeof(cryptG2Param.Y), SMP_GetPairMng()->local.random, sizeof(cryptG2Param.Y)); in SMP_ScPairJustworkOrNumericSlaveStep10() 283 SMP_CryptographicG2(&cryptG2Param); in SMP_ScPairJustworkOrNumericSlaveStep10() 285 SMP_ConstituteAesCmacStep3Param(encData, cryptG2Param in SMP_ScPairJustworkOrNumericSlaveStep10() [all...] |
H A D | smp_sc_initiator.c | 277 SMP_CryptG2Param cryptG2Param; in SMP_ScPairJustworkOrNumericMasterStep11() local 283 SMP_GetPublicKeyX(SMP_GetPairMng()->local.publicKey, cryptG2Param.U, sizeof(cryptG2Param.U)); in SMP_ScPairJustworkOrNumericMasterStep11() 284 SMP_GetPublicKeyX(SMP_GetPairMng()->peer.publicKey, cryptG2Param.V, sizeof(cryptG2Param.V)); in SMP_ScPairJustworkOrNumericMasterStep11() 285 (void)memcpy_s(cryptG2Param.Y, sizeof(cryptG2Param.Y), SMP_GetPairMng()->peer.random, sizeof(cryptG2Param.Y)); in SMP_ScPairJustworkOrNumericMasterStep11() 286 SMP_CryptographicG2(&cryptG2Param); in SMP_ScPairJustworkOrNumericMasterStep11() 287 SMP_ConstituteAesCmacStep3Param(encData, cryptG2Param in SMP_ScPairJustworkOrNumericMasterStep11() [all...] |
Completed in 3 milliseconds