Home
last modified time | relevance | path

Searched refs:mKeyRef (Results 1 – 8 of 8) sorted by relevance

/openthread-3.6.0/src/core/crypto/
Decdsa.hpp227 explicit KeyPairAsRef(otCryptoKeyRef aKeyRef = 0) { mKeyRef = aKeyRef; } in KeyPairAsRef()
238 Error Generate(void) const { return otPlatCryptoEcdsaGenerateAndImportKey(mKeyRef); } in Generate()
252 … return Crypto::Storage::ImportKey(mKeyRef, Storage::kKeyTypeEcdsa, Storage::kKeyAlgorithmEcdsa, in ImportKeyPair()
269 return otPlatCryptoEcdsaExportPublicKey(mKeyRef, &aPublicKey); in GetPublicKey()
289 return otPlatCryptoEcdsaSignUsingKeyRef(mKeyRef, &aHash, &aSignature); in Sign()
298 otCryptoKeyRef GetKeyRef(void) const { return mKeyRef; } in GetKeyRef()
306 void SetKeyRef(otCryptoKeyRef aKeyRef) { mKeyRef = aKeyRef; } in SetKeyRef()
309 otCryptoKeyRef mKeyRef; member in ot::Crypto::Ecdsa::P256::KeyPairAsRef
Dstorage.hpp267 Storage::KeyRef GetKeyRef(void) const { return mKeyRef; } in GetKeyRef()
279 mKeyRef = aKeyRef; in SetAsKeyRef()
/openthread-3.6.0/src/core/mac/
Dmac_types.hpp589 KeyRef GetKeyRef(void) const { return mKeyMaterial.mKeyRef; } in GetKeyRef()
637 void SetKeyRef(KeyRef aKeyRef) { mKeyMaterial.mKeyRef = aKeyRef; } in SetKeyRef()
/openthread-3.6.0/include/openthread/platform/
Dcrypto.h121 uint32_t mKeyRef; ///< The PSA key ref (requires `mKey` to be NULL). member
Dradio.h227 otMacKeyRef mKeyRef; ///< Reference to the key stored. member
/openthread-3.6.0/src/core/net/
Dsrp_client.cpp899 info.mKeyRef.SetKeyRef(kSrpEcdsaKeyRef); in PrepareUpdateMessage()
900 SuccessOrExit(error = ReadOrGenerateKey(info.mKeyRef)); in PrepareUpdateMessage()
1379 SuccessOrExit(error = aInfo.mKeyRef.GetPublicKey(publicKey)); in AppendKeyRecord()
1520 SuccessOrExit(error = aInfo.mKeyRef.Sign(hash, signature)); in AppendSignature()
Dsrp_client.hpp992 Crypto::Ecdsa::P256::KeyPairAsRef mKeyRef; // The ECDSA key ref for key-pair. member
/openthread-3.6.0/src/lib/spinel/
Dradio_spinel.cpp980 …otError error = otPlatCryptoExportKey(aKeyMaterial.mKeyMaterial.mKeyRef, aKey.m8, sizeof(aKey), &k… in ReadMacKey()