Home
last modified time | relevance | path

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

/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()
381 LOG_ERROR("[BleConfig] %{public}s:%{public}s", __func__, "Set ble local signCounter failed!"); 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()
480 LOG_ERROR("[BleConfig] %{public}s:%{public}s", __func__, "Set ble peer signCounter failed!"); in SetPeerSignCounter()
549 std::string signCounter = "0"; in GetLocalSignCounter() local
550 bool ret = config_->GetValue(SECTION_BLE_PAIRED_LIST, section, PROPERTY_BLE_LOCAL_SIGN_COUNTER, signCounter); in GetLocalSignCounter()
552 LOG_DEBUG("[BleConfig] %{public}s:%{public}s", __func__, "Get ble local signCounter failed!"); in GetLocalSignCounter()
554 return std::stoul(signCounter); in GetLocalSignCounter()
633 std::string signCounter = "0"; GetPeerSignCounter() local
[all...]
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;
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/smp/
H A Dsmp_tool.h64 uint32_t signCounter; member
H A Dsmp_def.h187 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_LEN); in SMP_GenerateSignatureStep3()

Completed in 8 milliseconds