Home
last modified time | relevance | path

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

/external/openthread/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()
/external/openthread/src/core/crypto/
Dstorage.hpp189 inline bool IsKeyRefValid(KeyRef aKeyRef) { return (aKeyRef < kInvalidKeyRef); } in IsKeyRefValid()
206 inline Error ImportKey(KeyRef &aKeyRef, in ImportKey()
231 inline Error ExportKey(KeyRef aKeyRef, uint8_t *aBuffer, size_t aBufferLen, size_t &aKeyLen) in ExportKey()
241 inline void DestroyKey(KeyRef aKeyRef) in DestroyKey()
257 inline bool HasKey(KeyRef aKeyRef) { return otPlatCryptoHasKey(aKeyRef); } in HasKey()
328 void SetAsKeyRef(Storage::KeyRef aKeyRef) in SetAsKeyRef()
Decdsa.hpp211 explicit KeyPairAsRef(otCryptoKeyRef aKeyRef = 0) { mKeyRef = aKeyRef; } in KeyPairAsRef()
284 void SetKeyRef(otCryptoKeyRef aKeyRef) { mKeyRef = aKeyRef; } in SetKeyRef()
/external/openthread/tests/unit/
Dtest_platform.cpp494 otError otPlatCryptoImportKey(otCryptoKeyRef *aKeyRef, in otPlatCryptoImportKey()
513 otError otPlatCryptoExportKey(otCryptoKeyRef aKeyRef, uint8_t *aBuffer, size_t aBufferLen, size_t *… in otPlatCryptoExportKey()
524 otError otPlatCryptoDestroyKey(otCryptoKeyRef aKeyRef) in otPlatCryptoDestroyKey()
531 bool otPlatCryptoHasKey(otCryptoKeyRef aKeyRef) in otPlatCryptoHasKey()
538 otError otPlatCryptoEcdsaGenerateAndImportKey(otCryptoKeyRef aKeyRef) in otPlatCryptoEcdsaGenerateAndImportKey()
545 otError otPlatCryptoEcdsaExportPublicKey(otCryptoKeyRef aKeyRef, otPlatCryptoEcdsaPublicKey *aPubli… in otPlatCryptoEcdsaExportPublicKey()
553 otError otPlatCryptoEcdsaSignUsingKeyRef(otCryptoKeyRef aKeyRef, in otPlatCryptoEcdsaSignUsingKeyRef()
564 otError otPlatCryptoEcdsaVerifyUsingKeyRef(otCryptoKeyRef aKeyRef, in otPlatCryptoEcdsaVerifyUsingKeyRef()
/external/openthread/src/core/thread/
Dkey_manager.cpp661 void KeyManager::SetPskcRef(PskcRef aKeyRef) in SetPskcRef()
674 void KeyManager::SetNetworkKeyRef(otNetworkKeyRef aKeyRef) in SetNetworkKeyRef()
/external/openthread/src/core/api/
Dthread_ftd_api.cpp291 otError otThreadSetPskcRef(otInstance *aInstance, otPskcRef aKeyRef) in otThreadSetPskcRef()
Dthread_api.cpp128 otError otThreadSetNetworkKeyRef(otInstance *aInstance, otNetworkKeyRef aKeyRef) in otThreadSetNetworkKeyRef()
/external/openthread/src/core/mac/
Dmac_types.hpp600 void SetKeyRef(KeyRef aKeyRef) { mKeyMaterial.mKeyRef = aKeyRef; } in SetKeyRef()