Home
last modified time | relevance | path

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

/openthread-latest/src/core/crypto/
Dstorage.hpp96 typedef otCryptoKeyRef KeyRef; typedef
98 constexpr KeyRef kInvalidKeyRef = 0x80000000; ///< Invalid `KeyRef` value (PSA_KEY_ID_VENDOR_MAX + …
140 KeyRef KeyRefFor(Type aType) in KeyRefFor()
142 KeyRef keyRef = kPsaItsNvmOffset + aType; in KeyRefFor()
170 static constexpr KeyRef kPsaItsNvmOffset = OPENTHREAD_CONFIG_PSA_ITS_NVM_OFFSET;
185 inline bool IsKeyRefValid(KeyRef aKeyRef) { return (aKeyRef < kInvalidKeyRef); } in IsKeyRefValid()
202 inline Error ImportKey(KeyRef &aKeyRef, in ImportKey()
227 inline Error ExportKey(KeyRef aKeyRef, uint8_t *aBuffer, size_t aBufferLen, size_t &aKeyLen) in ExportKey()
237 inline void DestroyKey(KeyRef aKeyRef) in DestroyKey()
253 inline bool HasKey(KeyRef aKeyRef) { return otPlatCryptoHasKey(aKeyRef); } in HasKey()
[all …]
/openthread-latest/src/core/meshcop/
Ddataset_manager.hpp241 using KeyRef = Crypto::Storage::KeyRef; typedef in ot::MeshCoP::DatasetManager
300 …void SaveTlvInSecureStorageAndClearValue(Dataset &aDataset, Tlv::Type aTlvType, KeyRef aKeyRef) c…
301 Error ReadTlvFromSecureStorage(Dataset &aDataset, Tlv::Type aTlvType, KeyRef aKeyRef) const;
Ddataset_manager.cpp780 KeyRef keyRef = Get<KeyRefManager>().KeyRefFor(entry.GetKeyRefType(mType)); in MoveKeysToSecureStorage()
797 KeyRef keyRef = Get<KeyRefManager>().KeyRefFor(entry.GetKeyRefType(mType)); in EmplaceSecurelyStoredKeys()
815 …r::SaveTlvInSecureStorageAndClearValue(Dataset &aDataset, Tlv::Type aTlvType, KeyRef aKeyRef) const in SaveTlvInSecureStorageAndClearValue()
833 Error DatasetManager::ReadTlvFromSecureStorage(Dataset &aDataset, Tlv::Type aTlvType, KeyRef aKeyRe… in ReadTlvFromSecureStorage()
/openthread-latest/src/core/mac/
Dmac_types.hpp497 typedef otMacKeyRef KeyRef; typedef
554 KeyRef GetKeyRef(void) const { return mKeyMaterial.mKeyRef; } in GetKeyRef()
595 static constexpr KeyRef kInvalidKeyRef = Crypto::Storage::kInvalidKeyRef;
598 void SetKeyRef(KeyRef aKeyRef) { mKeyMaterial.mKeyRef = aKeyRef; } in SetKeyRef()
Dmac_types.cpp327 KeyRef keyRef = 0; in SetFrom()