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/ |
D | account_unrelated_group_auth.c | 54 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/ |
D | account_related_group_auth.c | 60 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/ |
D | pake_task_common.c | 96 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/ |
D | iso_task_common.c | 145 …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/ |
D | device_auth.h | 47 #define FIELD_SESSION_KEY "sessionKey" macro
|
/base/security/device_auth/test/unittest/deviceauth/unit_test/source/ |
D | account_related_group_auth_dir_test.cpp | 222 (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/ |
D | pake_v2_auth_client_task.c | 195 …FIELD_SESSION_KEY, task->params.pakeParams.sessionKey.val, task->params.pakeParams.sessionKey.leng… in SendFinalToOut()
|
D | pake_v2_auth_server_task.c | 185 GOTO_IF_ERR(AddByteToJson(sendToSelf, FIELD_SESSION_KEY, in SendFinalToOut()
|
/base/security/device_auth/services/session_manager/src/session/v1/compatible_auth_sub_session/ |
D | compatible_auth_sub_session.c | 161 ClearSensitiveStringInJson(out, FIELD_SESSION_KEY); in ProcessClientAuthTask()
|
D | compatible_auth_sub_session_common.c | 624 ClearSensitiveStringInJson(out, FIELD_SESSION_KEY); in HandleAuthTaskStatus()
|
/base/security/device_auth/services/authenticators/src/account_related/auth/iso_auth_task/ |
D | iso_auth_task_common.c | 390 if (AddByteToJson(sendToSelf, FIELD_SESSION_KEY, in AuthIsoSendFinalToOut()
|
/base/security/device_auth/services/session_manager/src/session/v1/compatible_bind_sub_session/ |
D | compatible_bind_sub_session.c | 264 …if (GetByteFromJson(out, FIELD_SESSION_KEY, sessionKey, DEFAULT_RETURN_KEY_LENGTH) == HC_SUCCESS) { in InformSelfBindSuccess() 267 ClearSensitiveStringInJson(out, FIELD_SESSION_KEY); in InformSelfBindSuccess()
|