Home
last modified time | relevance | path

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

/openthread-3.7.0/src/core/thread/
Dkey_manager.cpp68 mRotationTime = kDefaultKeyRotationTime; in SetToDefault()
483 if (newPolicy.mRotationTime < SecurityPolicy::kMinKeyRotationTime) in SetSecurityPolicy()
485 newPolicy.mRotationTime = SecurityPolicy::kMinKeyRotationTime; in SetSecurityPolicy()
486 …("Key Rotation Time in SecurityPolicy is set to min allowed value of %u", newPolicy.mRotationTime); in SetSecurityPolicy()
489 if (newPolicy.mRotationTime != mSecurityPolicy.mRotationTime) in SetSecurityPolicy()
491 uint32_t newGuardTime = newPolicy.mRotationTime; in SetSecurityPolicy()
529 if (mHoursSinceKeyRotation >= mSecurityPolicy.mRotationTime) in CheckForKeyRotation()
/openthread-3.7.0/src/core/meshcop/
Dmeshcop_tlvs.cpp76 return GetLength() >= sizeof(mRotationTime) && GetFlagsLength() >= kThread11FlagsLength; in IsValid()
84 securityPolicy.mRotationTime = GetRotationTime(); in GetSecurityPolicy()
92 SetRotationTime(aSecurityPolicy.mRotationTime); in SetSecurityPolicy()
Dmeshcop_tlvs.hpp539 …void SetRotationTime(uint16_t aRotationTime) { mRotationTime = BigEndian::HostSwap16(aRotation… in SetRotationTime()
540 uint16_t GetRotationTime(void) const { return BigEndian::HostSwap16(mRotationTime); } in GetRotationTime()
541 uint8_t GetFlagsLength(void) const { return GetLength() - sizeof(mRotationTime); } in GetFlagsLength()
543 uint16_t mRotationTime; member in ot::MeshCoP::SecurityPolicyTlv
/openthread-3.7.0/include/openthread/
Ddataset.h151 uint16_t mRotationTime; ///< The value for thrKeyRotation in units of hours. member
/openthread-3.7.0/src/cli/
Dcli_dataset.cpp953 OutputFormat("%u ", aSecurityPolicy.mRotationTime); in OutputSecurityPolicy()
1008 SuccessOrExit(error = aArgs->ParseAsUint16(policy.mRotationTime)); in ParseSecurityPolicy()
/openthread-3.7.0/src/ncp/
Dncp_base_mtd.cpp1336 SuccessOrExit(error = mEncoder.WriteUint16(aDataset.mSecurityPolicy.mRotationTime)); in EncodeOperationalDataset()
1548 SuccessOrExit(error = mDecoder.ReadUint16(aDataset.mSecurityPolicy.mRotationTime)); in DecodeOperationalDataset()
/openthread-3.7.0/tests/unit/
Dtest_routing_manager.cpp97 .mRotationTime = 672,