Home
last modified time | relevance | path

Searched refs:localDevType (Results 1 - 6 of 6) sorted by relevance

/base/security/device_auth/services/legacy/authenticators/inc/account_related/auth/iso_auth_task/
H A Diso_auth_task_common.h29 int32_t localDevType; member
/base/security/device_auth/services/identity_manager/src/
H A Dcert_operation.c442 static int32_t GetLocalDeviceType(int32_t osAccountId, const CJson *in, const char *groupId, int32_t *localDevType) in GetLocalDeviceType() argument
452 *localDevType = DEVICE_TYPE_ACCESSORY; in GetLocalDeviceType()
458 *localDevType = DEVICE_TYPE_ACCESSORY; in GetLocalDeviceType()
552 int32_t localDevType = DEVICE_TYPE_CONTROLLER; in GenerateAuthTokenByDevType() local
553 int32_t ret = GetLocalDeviceType(osAccountId, in, groupId, &localDevType); in GenerateAuthTokenByDevType()
558 if (localDevType == DEVICE_TYPE_ACCESSORY) { in GenerateAuthTokenByDevType()
/base/security/device_auth/services/legacy/authenticators/src/account_related/auth/iso_auth_task/
H A Diso_auth_task_common.c192 if (params->localDevType == DEVICE_TYPE_ACCESSORY) { in AccountAuthGeneratePsk()
231 if (GetIntFromJson(in, FIELD_LOCAL_DEVICE_TYPE, &params->localDevType) != CLIB_SUCCESS) { in InitIsoAuthParams()
232 LOGE("Failed to get localDevType from json in sym auth."); in InitIsoAuthParams()
250 if (params->localDevType == DEVICE_TYPE_ACCESSORY) { in InitIsoAuthParams()
/base/security/device_auth/services/legacy/group_auth/src/group_auth_manager/account_related_group_auth/
H A Daccount_related_group_auth.c276 int32_t localDevType = DEVICE_TYPE_CONTROLLER; in FillAccountCredentialInfo() local
281 localDevType = DEVICE_TYPE_ACCESSORY; /* Controller has peer device info, which is added by caller. */ in FillAccountCredentialInfo()
288 if (AddIntToJson(paramsData, FIELD_LOCAL_DEVICE_TYPE, localDevType) != HC_SUCCESS) { in FillAccountCredentialInfo()
/base/security/device_auth/test/fuzztest/authenticators/account_related/auth/isoauthtask_fuzzer/
H A Disoauthtask_fuzzer.cpp141 params->localDevType = DEVICE_TYPE_CONTROLLER; in IsoAuthTaskTest02()
/base/security/device_auth/test/unittest/deviceauth/source/
H A Diso_auth_task_test.cpp128 params->localDevType = DEVICE_TYPE_CONTROLLER; in HWTEST_F()

Completed in 8 milliseconds