Searched refs:signCounter (Results 1 - 7 of 7) sorted by relevance
/foundation/communication/bluetooth_service/services/bluetooth/service/src/ble/ |
H A D | ble_config.cpp | 374 bool BleConfig::SetLocalSignCounter(const std::string §ion, 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 §ion, 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 D | ble_config.h | 70 bool SetLocalSignCounter(const std::string §ion, uint32_t signCounter) const; 87 bool SetPeerSignCounter(const std::string §ion, uint32_t signCounter) const;
|
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/smp/ |
H A D | smp_tool.h | 64 uint32_t signCounter; member
|
H A D | smp_def.h | 187 uint32_t signCounter; member
|
H A D | smp_send.c | 211 encCmd->signCounter = pEncCmdData->signCounter; in SMP_SendLeEncryptCmd()
|
H A D | smp_tool.c | 580 param->signCounter = 0x00; in SMP_ConstituteAesCmacStep3Param() 609 encCmd->signCounter = param->signCounter; in SMP_CryptographicAesCmacStep3()
|
H A D | smp.c | 795 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