Home
last modified time | relevance | path

Searched refs:aPskLength (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.cpp80 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/
Ddtls.cpp464 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()
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…
/external/openthread/include/openthread/
Dcoap_secure.h113 uint16_t aPskLength,