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/ |
D | iso_server_protocol_task.c | 61 …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()
|
D | iso_client_protocol_task.c | 129 …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/ |
D | common_defs.h | 116 #define FIELD_TOKEN "token" macro
|
/base/security/device_auth/services/authenticators/src/account_related/auth/iso_auth_task/ |
D | iso_auth_server_task.c | 78 …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()
|
D | iso_auth_client_task.c | 182 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/ |
D | iso_auth_task_test.cpp | 515 (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());
|