Searched refs:aPskLength (Results 1 – 5 of 5) sorted by relevance
/external/openthread/src/core/coap/ |
D | coap_secure.hpp | 176 Error SetPsk(const uint8_t *aPsk, uint8_t aPskLength) { return mDtls.SetPsk(aPsk, aPskLength); } in SetPsk() argument 200 …void SetPreSharedKey(const uint8_t *aPsk, uint16_t aPskLength, const uint8_t *aPskIdentity, uint16… in SetPreSharedKey() argument 202 mDtls.SetPreSharedKey(aPsk, aPskLength, aPskIdentity, aPskIdLength); in SetPreSharedKey()
|
/external/openthread/src/core/api/ |
D | coap_secure_api.cpp | 80 uint16_t aPskLength, in otCoapSecureSetPsk() argument 84 OT_ASSERT(aPsk != nullptr && aPskLength != 0 && aPskIdentity != nullptr && aPskIdLength != 0); in otCoapSecureSetPsk() 86 …AsCoreType(aInstance).GetApplicationCoapSecure().SetPreSharedKey(aPsk, aPskLength, aPskIdentity, a… in otCoapSecureSetPsk()
|
/external/openthread/src/core/meshcop/ |
D | dtls.cpp | 464 Error Dtls::SetPsk(const uint8_t *aPsk, uint8_t aPskLength) in SetPsk() argument 468 VerifyOrExit(aPskLength <= sizeof(mPsk), error = kErrorInvalidArgs); in SetPsk() 470 memcpy(mPsk, aPsk, aPskLength); in SetPsk() 471 mPskLength = aPskLength; in SetPsk() 514 void Dtls::SetPreSharedKey(const uint8_t *aPsk, uint16_t aPskLength, const uint8_t *aPskIdentity, u… in SetPreSharedKey() argument 518 OT_ASSERT(aPskLength > 0); in SetPreSharedKey() 522 mPreSharedKeyLength = aPskLength; in SetPreSharedKey()
|
D | dtls.hpp | 210 Error SetPsk(const uint8_t *aPsk, uint8_t aPskLength); 228 …void SetPreSharedKey(const uint8_t *aPsk, uint16_t aPskLength, const uint8_t *aPskIdentity, uint16…
|
/external/openthread/include/openthread/ |
D | coap_secure.h | 113 uint16_t aPskLength,
|