Home
last modified time | relevance | path

Searched refs:FIELD_TOKEN (Results 1 – 6 of 6) sorted by relevance

/base/security/device_auth/services/authenticators/src/account_unrelated/iso_task/iso_protocol_task/
Diso_server_protocol_task.c61 …GOTO_ERR_AND_SET_RET(AddByteToJson(payload, FIELD_TOKEN, selfTokenBuf->val, selfTokenBuf->length),… in PackageServerStartMessage()
179 GOTO_ERR_AND_SET_RET(GetByteFromJson(in, FIELD_TOKEN, peerToken, ISO_TOKEN_LEN), res); in CalTokenAndGenSessionKey()
Diso_client_protocol_task.c129 …GOTO_ERR_AND_SET_RET(AddByteToJson(payload, FIELD_TOKEN, selfTokenBuf->val, selfTokenBuf->length),… in PackDataForCalToken()
147 RETURN_IF_ERR(GetByteFromJson(in, FIELD_TOKEN, peerToken->val, peerToken->length)); in ParseServerStartMessage()
/base/security/device_auth/services/frameworks/inc/
Dcommon_defs.h116 #define FIELD_TOKEN "token" macro
/base/security/device_auth/services/authenticators/src/account_related/auth/iso_auth_task/
Diso_auth_server_task.c78 …if (AddByteToJson(data, FIELD_TOKEN, params->hmacToken, sizeof(params->hmacToken)) != CLIB_SUCCESS… in AddGetTokenDataToJson()
251 if (GetByteFromJson(in, FIELD_TOKEN, peerToken, sizeof(peerToken)) != CLIB_SUCCESS) { in IsoAuthServerCalTokenAndSessionKey()
Diso_auth_client_task.c182 if (GetByteFromJson(in, FIELD_TOKEN, peerToken->val, peerToken->length) != CLIB_SUCCESS) { in ParseIsoAuthServerGetTokenMsg()
215 …if (AddByteToJson(data, FIELD_TOKEN, params->hmacToken, sizeof(params->hmacToken)) != CLIB_SUCCESS… in PackIsoAuthClientGetTokenMsg()
/base/security/device_auth/test/unittest/deviceauth/source/
Diso_auth_task_test.cpp515 (void)AddStringToJson(in, FIELD_TOKEN, TEST_AUTH_CODE.c_str());
793 (void)AddStringToJson(in, FIELD_TOKEN, TEST_AUTH_CODE.c_str());
820 (void)AddStringToJson(in, FIELD_TOKEN, TEST_AUTH_CODE.c_str());
848 (void)AddStringToJson(in, FIELD_TOKEN, TEST_AUTH_CODE.c_str());
876 (void)AddStringToJson(in, FIELD_TOKEN, TEST_AUTH_CODE.c_str());
906 (void)AddStringToJson(in, FIELD_TOKEN, TEST_AUTH_CODE.c_str());
935 (void)AddStringToJson(in, FIELD_TOKEN, TEST_AUTH_CODE.c_str());