Home
last modified time | relevance | path

Searched defs:aKeyRef (Results 1 – 8 of 8) sorted by relevance

/openthread-latest/examples/platforms/simulation/
Dcrypto.c41 otError otPlatCryptoImportKey(otCryptoKeyRef *aKeyRef, in otPlatCryptoImportKey()
60 otError otPlatCryptoExportKey(otCryptoKeyRef aKeyRef, uint8_t *aBuffer, size_t aBufferLen, size_t *… in otPlatCryptoExportKey()
70 otError otPlatCryptoDestroyKey(otCryptoKeyRef aKeyRef) in otPlatCryptoDestroyKey()
77 bool otPlatCryptoHasKey(otCryptoKeyRef aKeyRef) in otPlatCryptoHasKey()
84 otError otPlatCryptoEcdsaGenerateAndImportKey(otCryptoKeyRef aKeyRef) in otPlatCryptoEcdsaGenerateAndImportKey()
91 otError otPlatCryptoEcdsaExportPublicKey(otCryptoKeyRef aKeyRef, otPlatCryptoEcdsaPublicKey *aPubli… in otPlatCryptoEcdsaExportPublicKey()
99 otError otPlatCryptoEcdsaSignUsingKeyRef(otCryptoKeyRef aKeyRef, in otPlatCryptoEcdsaSignUsingKeyRef()
110 otError otPlatCryptoEcdsaVerifyUsingKeyRef(otCryptoKeyRef aKeyRef, in otPlatCryptoEcdsaVerifyUsingKeyRef()
/openthread-latest/src/core/crypto/
Dstorage.hpp119 inline bool IsKeyRefValid(KeyRef aKeyRef) { return (aKeyRef < kInvalidKeyRef); } in IsKeyRefValid()
137 inline Error ImportKey(KeyRef &aKeyRef, in ImportKey()
163 inline Error ExportKey(KeyRef aKeyRef, uint8_t *aBuffer, size_t aBufferLen, size_t &aKeyLen) in ExportKey()
174 inline void DestroyKey(KeyRef aKeyRef) in DestroyKey()
191 inline bool HasKey(KeyRef aKeyRef) { return otPlatCryptoHasKey(aKeyRef); } in HasKey()
275 void SetAsKeyRef(Storage::KeyRef aKeyRef) in SetAsKeyRef()
Decdsa.hpp227 explicit KeyPairAsRef(otCryptoKeyRef aKeyRef = 0) { mKeyRef = aKeyRef; } in KeyPairAsRef()
306 void SetKeyRef(otCryptoKeyRef aKeyRef) { mKeyRef = aKeyRef; } in SetKeyRef()
/openthread-latest/src/core/thread/
Dkey_manager.cpp631 void KeyManager::SetPskcRef(PskcRef aKeyRef) in SetPskcRef()
644 void KeyManager::SetNetworkKeyRef(otNetworkKeyRef aKeyRef) in SetNetworkKeyRef()
/openthread-latest/tests/unit/
Dtest_platform.cpp492 otError otPlatCryptoImportKey(otCryptoKeyRef *aKeyRef, in otPlatCryptoImportKey()
511 otError otPlatCryptoExportKey(otCryptoKeyRef aKeyRef, uint8_t *aBuffer, size_t aBufferLen, size_t *… in otPlatCryptoExportKey()
522 otError otPlatCryptoDestroyKey(otCryptoKeyRef aKeyRef) in otPlatCryptoDestroyKey()
529 bool otPlatCryptoHasKey(otCryptoKeyRef aKeyRef) in otPlatCryptoHasKey()
536 otError otPlatCryptoEcdsaGenerateAndImportKey(otCryptoKeyRef aKeyRef) in otPlatCryptoEcdsaGenerateAndImportKey()
543 otError otPlatCryptoEcdsaExportPublicKey(otCryptoKeyRef aKeyRef, otPlatCryptoEcdsaPublicKey *aPubli… in otPlatCryptoEcdsaExportPublicKey()
551 otError otPlatCryptoEcdsaSignUsingKeyRef(otCryptoKeyRef aKeyRef, in otPlatCryptoEcdsaSignUsingKeyRef()
562 otError otPlatCryptoEcdsaVerifyUsingKeyRef(otCryptoKeyRef aKeyRef, in otPlatCryptoEcdsaVerifyUsingKeyRef()
/openthread-latest/src/core/api/
Dthread_ftd_api.cpp312 otError otThreadSetPskcRef(otInstance *aInstance, otPskcRef aKeyRef) in otThreadSetPskcRef()
Dthread_api.cpp134 otError otThreadSetNetworkKeyRef(otInstance *aInstance, otNetworkKeyRef aKeyRef) in otThreadSetNetworkKeyRef()
/openthread-latest/src/core/mac/
Dmac_types.hpp637 void SetKeyRef(KeyRef aKeyRef) { mKeyMaterial.mKeyRef = aKeyRef; } in SetKeyRef()