Home
last modified time | relevance | path

Searched refs:FIELD_SESSION_KEY (Results 1 – 12 of 12) sorted by relevance

/base/security/device_auth/services/group_auth/src/group_auth_manager/account_unrelated_group_auth/
Daccount_unrelated_group_auth.c54 if (GetByteFromJson(out, FIELD_SESSION_KEY, sessionKey, keyLen) != HC_SUCCESS) { in ReturnSessionKey()
156 if (GetByteFromJson(sendToSelf, FIELD_SESSION_KEY, sessionKey, keyLen) != HC_SUCCESS) { in AddSessionKeyToSelfData()
161 …if (AddByteToJson(returnToSelf, FIELD_SESSION_KEY, (const uint8_t *)sessionKey, keyLen) != HC_SUCC… in AddSessionKeyToSelfData()
243 ClearSensitiveStringInJson(returnToSelf, FIELD_SESSION_KEY); in DasOnFinishToSelf()
248 ClearSensitiveStringInJson(returnToSelf, FIELD_SESSION_KEY); in DasOnFinishToSelf()
/base/security/device_auth/services/group_auth/src/group_auth_manager/account_related_group_auth/
Daccount_related_group_auth.c60 if (GetByteFromJson(out, FIELD_SESSION_KEY, sessionKey, keyLen) != HC_SUCCESS) { in ReturnSessionKey()
90 if (GetByteFromJson(sendToSelf, FIELD_SESSION_KEY, sessionKey, keyLen) != HC_SUCCESS) { in GetSessionKeyForAccount()
95 …if (AddByteToJson(returnToSelf, FIELD_SESSION_KEY, (const uint8_t *)sessionKey, keyLen) != HC_SUCC… in GetSessionKeyForAccount()
661 ClearSensitiveStringInJson(returnToSelf, FIELD_SESSION_KEY); in AccountOnFinishToSelf()
666 ClearSensitiveStringInJson(returnToSelf, FIELD_SESSION_KEY); in AccountOnFinishToSelf()
/base/security/device_auth/services/authenticators/src/account_unrelated/pake_task/
Dpake_task_common.c96 GOTO_ERR_AND_SET_RET(AddByteToJson(sendToSelf, FIELD_SESSION_KEY, params->returnKey.val, in SendResultToSelf()
103 ClearSensitiveStringInJson(sendToSelf, FIELD_SESSION_KEY); in SendResultToSelf()
/base/security/device_auth/services/authenticators/src/account_unrelated/iso_task/
Diso_task_common.c145 …GOTO_ERR_AND_SET_RET(AddByteToJson(sendToSelf, FIELD_SESSION_KEY, returnSessionKey, params->keyLen… in SendResultToFinalSelf()
149 ClearSensitiveStringInJson(sendToSelf, FIELD_SESSION_KEY); in SendResultToFinalSelf()
189 GOTO_ERR_AND_SET_RET(AddByteToJson(sendToSelf, FIELD_SESSION_KEY, returnKey, in GenEncResult()
196 ClearSensitiveStringInJson(sendToSelf, FIELD_SESSION_KEY); in GenEncResult()
/base/security/device_auth/interfaces/inner_api/
Ddevice_auth.h47 #define FIELD_SESSION_KEY "sessionKey" macro
/base/security/device_auth/test/unittest/deviceauth/unit_test/source/
Daccount_related_group_auth_dir_test.cpp222 (void)AddByteToJson(out, FIELD_SESSION_KEY, sessionKeyTest, sizeof(sessionKeyTest));
244 (void)AddByteToJson(out, FIELD_SESSION_KEY, sessionKeyTest, sizeof(sessionKeyTest));
/base/security/device_auth/services/authenticators/src/account_related/auth/pake_v2_auth_task/
Dpake_v2_auth_client_task.c195FIELD_SESSION_KEY, task->params.pakeParams.sessionKey.val, task->params.pakeParams.sessionKey.leng… in SendFinalToOut()
Dpake_v2_auth_server_task.c185 GOTO_IF_ERR(AddByteToJson(sendToSelf, FIELD_SESSION_KEY, in SendFinalToOut()
/base/security/device_auth/services/session_manager/src/session/v1/compatible_auth_sub_session/
Dcompatible_auth_sub_session.c161 ClearSensitiveStringInJson(out, FIELD_SESSION_KEY); in ProcessClientAuthTask()
Dcompatible_auth_sub_session_common.c624 ClearSensitiveStringInJson(out, FIELD_SESSION_KEY); in HandleAuthTaskStatus()
/base/security/device_auth/services/authenticators/src/account_related/auth/iso_auth_task/
Diso_auth_task_common.c390 if (AddByteToJson(sendToSelf, FIELD_SESSION_KEY, in AuthIsoSendFinalToOut()
/base/security/device_auth/services/session_manager/src/session/v1/compatible_bind_sub_session/
Dcompatible_bind_sub_session.c264 …if (GetByteFromJson(out, FIELD_SESSION_KEY, sessionKey, DEFAULT_RETURN_KEY_LENGTH) == HC_SUCCESS) { in InformSelfBindSuccess()
267 ClearSensitiveStringInJson(out, FIELD_SESSION_KEY); in InformSelfBindSuccess()