Home
last modified time | relevance | path

Searched refs:returnStrLen (Results 1 – 2 of 2) sorted by relevance

/base/security/device_auth/services/key_agree_sdk/src/
Dkey_agree_sdk.c78 uint32_t returnStrLen = HcStrlen(returnStr); in BuildErrorMessage() local
79 if (memcpy_s(out->data, out->length, returnStr, returnStrLen + 1) != EOK) { in BuildErrorMessage()
82 out->length = returnStrLen + 1; in BuildErrorMessage()
Dkey_agree_session.c540 uint32_t returnStrLen = HcStrlen(returnStr); in BuildAndPutOutMessage() local
541 if (memcpy_s(out->data, out->length, returnStr, returnStrLen + 1) != EOK) { in BuildAndPutOutMessage()
546 out->length = returnStrLen + 1; in BuildAndPutOutMessage()
813 uint32_t returnStrLen = HcStrlen(returnStr); in ProcessProtocolInitial() local
814 if (memcpy_s(out->data, out->length, returnStr, returnStrLen + 1) != EOK) { in ProcessProtocolInitial()
819 out->length = returnStrLen + 1; in ProcessProtocolInitial()