Home
last modified time | relevance | path

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

/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/ble/
H A Dble_config.cpp374 bool BleConfig::SetLocalSignCounter(const std::string &section, uint32_t signCounter) const in SetLocalSignCounter()
379 … SECTION_BLE_PAIRED_LIST, section, PROPERTY_BLE_LOCAL_SIGN_COUNTER, std::to_string(signCounter)); in SetLocalSignCounter()
473 bool BleConfig::SetPeerSignCounter(const std::string &section, uint32_t signCounter) const in SetPeerSignCounter()
478 … SECTION_BLE_PAIRED_LIST, section, PROPERTY_BLE_PEER_SIGN_COUNTER, std::to_string(signCounter)); in SetPeerSignCounter()
549 std::string signCounter = "0"; in GetLocalSignCounter() local
550 … config_->GetValue(SECTION_BLE_PAIRED_LIST, section, PROPERTY_BLE_LOCAL_SIGN_COUNTER, signCounter); in GetLocalSignCounter()
554 return std::stoul(signCounter); in GetLocalSignCounter()
633 std::string signCounter = "0"; in GetPeerSignCounter() local
634 …= config_->GetValue(SECTION_BLE_PAIRED_LIST, section, PROPERTY_BLE_PEER_SIGN_COUNTER, signCounter); in GetPeerSignCounter()
638 return std::stoul(signCounter); in GetPeerSignCounter()
H A Dble_config.h70 bool SetLocalSignCounter(const std::string &section, uint32_t signCounter) const;
87 bool SetPeerSignCounter(const std::string &section, uint32_t signCounter) const;
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/src/smp/
H A Dsmp_def.h187 uint32_t signCounter; member
H A Dsmp_tool.h64 uint32_t signCounter; member
H A Dsmp_send.c211 encCmd->signCounter = pEncCmdData->signCounter; in SMP_SendLeEncryptCmd()
H A Dsmp_tool.c580 param->signCounter = 0x00; in SMP_ConstituteAesCmacStep3Param()
609 encCmd->signCounter = param->signCounter; in SMP_CryptographicAesCmacStep3()
H A Dsmp.c795 encCmd->signCounter = param->counter; in SMP_GenSignTask()
1678 cryptAesCmacstep3Param.signCounter = pEncCmdData->signCounter; in SMP_GenerateSignatureStep1()
1736 …(void)memcpy_s(signature, sizeof(signature), (uint8_t *)&pEncCmdData->signCounter, SMP_SIGNCOUNTER… in SMP_GenerateSignatureStep3()