Home
last modified time | relevance | path

Searched refs:KeyRef (Results 1 – 5 of 5) sorted by relevance

/openthread-latest/src/core/crypto/
Dstorage.hpp99 typedef otCryptoKeyRef KeyRef; typedef
101 constexpr KeyRef kInvalidKeyRef = 0x80000000; ///< Invalid `KeyRef` value (PSA_KEY_ID…
102 constexpr KeyRef kNetworkKeyRef = OPENTHREAD_CONFIG_PSA_ITS_NVM_OFFSET + 1;
103 constexpr KeyRef kPskcRef = OPENTHREAD_CONFIG_PSA_ITS_NVM_OFFSET + 2;
104 constexpr KeyRef kActiveDatasetNetworkKeyRef = OPENTHREAD_CONFIG_PSA_ITS_NVM_OFFSET + 3;
105 constexpr KeyRef kActiveDatasetPskcRef = OPENTHREAD_CONFIG_PSA_ITS_NVM_OFFSET + 4;
106 constexpr KeyRef kPendingDatasetNetworkKeyRef = OPENTHREAD_CONFIG_PSA_ITS_NVM_OFFSET + 5;
107 constexpr KeyRef kPendingDatasetPskcRef = OPENTHREAD_CONFIG_PSA_ITS_NVM_OFFSET + 6;
108 constexpr KeyRef kEcdsaRef = OPENTHREAD_CONFIG_PSA_ITS_NVM_OFFSET + 7;
119 inline bool IsKeyRefValid(KeyRef aKeyRef) { return (aKeyRef < kInvalidKeyRef); } in IsKeyRefValid()
[all …]
/openthread-latest/src/core/meshcop/
Ddataset_manager.hpp259 using KeyRef = Crypto::Storage::KeyRef; typedef in ot::MeshCoP::DatasetManager
263 KeyRef GetKeyRef(Dataset::Type aType) const in GetKeyRef()
269 KeyRef mActiveKeyRef;
270 KeyRef mPendingKeyRef;
316 …void SaveTlvInSecureStorageAndClearValue(Dataset &aDataset, Tlv::Type aTlvType, KeyRef aKeyRef) c…
317 Error ReadTlvFromSecureStorage(Dataset &aDataset, Tlv::Type aTlvType, KeyRef aKeyRef) const;
Ddataset_manager.cpp805 …r::SaveTlvInSecureStorageAndClearValue(Dataset &aDataset, Tlv::Type aTlvType, KeyRef aKeyRef) const in SaveTlvInSecureStorageAndClearValue()
823 Error DatasetManager::ReadTlvFromSecureStorage(Dataset &aDataset, Tlv::Type aTlvType, KeyRef aKeyRe… in ReadTlvFromSecureStorage()
/openthread-latest/src/core/mac/
Dmac_types.hpp526 typedef otMacKeyRef KeyRef; typedef
589 KeyRef GetKeyRef(void) const { return mKeyMaterial.mKeyRef; } in GetKeyRef()
634 static constexpr KeyRef kInvalidKeyRef = Crypto::Storage::kInvalidKeyRef;
637 void SetKeyRef(KeyRef aKeyRef) { mKeyMaterial.mKeyRef = aKeyRef; } in SetKeyRef()
Dmac_types.cpp296 KeyRef keyRef = 0; in SetFrom()