Home
last modified time | relevance | path

Searched defs:aKeyRef (Results 1 – 10 of 10) 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.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()
/external/openthread/tests/unit/
Dtest_platform.cpp467 otError otPlatCryptoImportKey(otCryptoKeyRef *aKeyRef, in otPlatCryptoImportKey()
486 otError otPlatCryptoExportKey(otCryptoKeyRef aKeyRef, uint8_t *aBuffer, size_t aBufferLen, size_t *… in otPlatCryptoExportKey()
497 otError otPlatCryptoDestroyKey(otCryptoKeyRef aKeyRef) in otPlatCryptoDestroyKey()
504 bool otPlatCryptoHasKey(otCryptoKeyRef aKeyRef) in otPlatCryptoHasKey()
511 otError otPlatCryptoEcdsaGenerateAndImportKey(otCryptoKeyRef aKeyRef) in otPlatCryptoEcdsaGenerateAndImportKey()
518 otError otPlatCryptoEcdsaExportPublicKey(otCryptoKeyRef aKeyRef, otPlatCryptoEcdsaPublicKey *aPubli… in otPlatCryptoEcdsaExportPublicKey()
526 otError otPlatCryptoEcdsaSignUsingKeyRef(otCryptoKeyRef aKeyRef, in otPlatCryptoEcdsaSignUsingKeyRef()
537 otError otPlatCryptoEcdsaVerifyUsingKeyRef(otCryptoKeyRef aKeyRef, in otPlatCryptoEcdsaVerifyUsingKeyRef()
/external/openthread/src/core/meshcop/
Ddataset.cpp605 …d Dataset::SaveTlvInSecureStorageAndClearValue(Tlv::Type aTlvType, Crypto::Storage::KeyRef aKeyRef) in SaveTlvInSecureStorageAndClearValue()
623 Error Dataset::ReadTlvFromSecureStorage(Tlv::Type aTlvType, Crypto::Storage::KeyRef aKeyRef) in ReadTlvFromSecureStorage()
/external/openthread/src/core/thread/
Dkey_manager.cpp607 void KeyManager::SetPskcRef(PskcRef aKeyRef) in SetPskcRef()
620 void KeyManager::SetNetworkKeyRef(otNetworkKeyRef aKeyRef) in SetNetworkKeyRef()
/external/openthread/src/core/api/
Dthread_ftd_api.cpp320 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.hpp637 void SetKeyRef(KeyRef aKeyRef) { mKeyMaterial.mKeyRef = aKeyRef; } in SetKeyRef()
/external/openthread/src/core/net/
Dsrp_client.cpp954 Error Client::ReadOrGenerateKey(Crypto::Ecdsa::P256::KeyPairAsRef &aKeyRef) in ReadOrGenerateKey()