Home
last modified time | relevance | path

Searched refs:aPsk (Results 1 – 5 of 5) sorted by relevance

/external/openthread/src/core/coap/
Dcoap_secure.hpp176 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/
Dcoap_secure_api.cpp79 const uint8_t *aPsk, 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/
Ddtls.hpp210 Error SetPsk(const uint8_t *aPsk, uint8_t aPskLength);
228 …void SetPreSharedKey(const uint8_t *aPsk, uint16_t aPskLength, const uint8_t *aPskIdentity, uint16…
Ddtls.cpp464 Error Dtls::SetPsk(const uint8_t *aPsk, uint8_t aPskLength) in SetPsk() argument
470 memcpy(mPsk, aPsk, aPskLength); in SetPsk()
514 void Dtls::SetPreSharedKey(const uint8_t *aPsk, uint16_t aPskLength, const uint8_t *aPskIdentity, u… in SetPreSharedKey() argument
516 OT_ASSERT(aPsk != nullptr); in SetPreSharedKey()
521 mPreSharedKey = aPsk; in SetPreSharedKey()
/external/openthread/include/openthread/
Dcoap_secure.h112 const uint8_t *aPsk,