Searched defs:aKeyRef (Results 1 – 10 of 10) sorted by relevance
| /external/openthread/examples/platforms/simulation/ |
| D | crypto.c | 41 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/ |
| D | storage.hpp | 119 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()
|
| D | ecdsa.hpp | 227 explicit KeyPairAsRef(otCryptoKeyRef aKeyRef = 0) { mKeyRef = aKeyRef; } in KeyPairAsRef() 306 void SetKeyRef(otCryptoKeyRef aKeyRef) { mKeyRef = aKeyRef; } in SetKeyRef()
|
| /external/openthread/tests/unit/ |
| D | test_platform.cpp | 467 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/ |
| D | dataset.cpp | 605 …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/ |
| D | key_manager.cpp | 607 void KeyManager::SetPskcRef(PskcRef aKeyRef) in SetPskcRef() 620 void KeyManager::SetNetworkKeyRef(otNetworkKeyRef aKeyRef) in SetNetworkKeyRef()
|
| /external/openthread/src/core/api/ |
| D | thread_ftd_api.cpp | 320 otError otThreadSetPskcRef(otInstance *aInstance, otPskcRef aKeyRef) in otThreadSetPskcRef()
|
| D | thread_api.cpp | 128 otError otThreadSetNetworkKeyRef(otInstance *aInstance, otNetworkKeyRef aKeyRef) in otThreadSetNetworkKeyRef()
|
| /external/openthread/src/core/mac/ |
| D | mac_types.hpp | 637 void SetKeyRef(KeyRef aKeyRef) { mKeyMaterial.mKeyRef = aKeyRef; } in SetKeyRef()
|
| /external/openthread/src/core/net/ |
| D | srp_client.cpp | 954 Error Client::ReadOrGenerateKey(Crypto::Ecdsa::P256::KeyPairAsRef &aKeyRef) in ReadOrGenerateKey()
|