Searched refs:GetKeyRef (Results 1 – 8 of 8) sorted by relevance
273 VerifyOrExit(GetKeyRef() != aOther.GetKeyRef()); in operator =()275 SetKeyRef(aOther.GetKeyRef()); in operator =()319 if (Crypto::Storage::IsKeyRefValid(GetKeyRef())) in ExtractKey()323 SuccessOrAssert(Crypto::Storage::ExportKey(GetKeyRef(), aKey.m8, Key::kSize, keySize)); in ExtractKey()333 aCryptoKey.SetAsKeyRef(GetKeyRef()); in ConvertToCryptoKey()342 Crypto::Storage::DestroyKey(GetKeyRef()); in DestroyKey()351 (GetKeyRef() == aOther.GetKeyRef()); in operator ==()
589 KeyRef GetKeyRef(void) const { return mKeyMaterial.mKeyRef; } in GetKeyRef() function in ot::Mac::KeyMaterial
49 SuccessOrAssert(Crypto::Storage::ExportKey(GetKeyRef(), aKeyBuffer, aKeyLength, readKeyLength)); in ExtractKey()
298 otCryptoKeyRef GetKeyRef(void) const { return mKeyRef; } in GetKeyRef() function in ot::Crypto::Ecdsa::P256::KeyPairAsRef
267 Storage::KeyRef GetKeyRef(void) const { return mKeyRef; } in GetKeyRef() function in ot::Crypto::Key
771 Crypto::Storage::DestroyKey(entry.GetKeyRef(mType)); in DestroySecurelyStoredKeys()779 aDataset.SaveTlvInSecureStorageAndClearValue(entry.mTlvType, entry.GetKeyRef(mType)); in MoveKeysToSecureStorage()794 if (aDataset.ReadTlvFromSecureStorage(entry.mTlvType, entry.GetKeyRef(mType)) != kErrorNone) in EmplaceSecurelyStoredKeys()
255 Crypto::Storage::KeyRef GetKeyRef(Dataset::Type aType) const in GetKeyRef() function
959 VerifyOrExit(!Crypto::Storage::HasKey(aKeyRef.GetKeyRef())); in ReadOrGenerateKey()