Home
last modified time | relevance | path

Searched refs:authParams (Results 1 – 9 of 9) sorted by relevance

/base/security/device_auth/test/fuzztest/device_auth_service/devauthservauthdevice_fuzzer/
Ddevauthservauthdevice_fuzzer.cpp103 char *authParams = PackJsonToString(authParamsJson); in FuzzDoAuthDevice() local
105 LOGI("auth params str:%s", authParams); in FuzzDoAuthDevice()
107 gaInstance->authDevice(0, reqId, authParams, &g_devAuthCallback); in FuzzDoAuthDevice()
109 ClearAndFreeJsonString(authParams); in FuzzDoAuthDevice()
/base/security/device_auth/test/fuzztest/group_auth/authdevice_fuzzer/
Dauthdevice_fuzzer.cpp49 std::string authParams(reinterpret_cast<const char *>(data), size); in FuzzDoAuthDevice()
56 gaInstance->authDevice(*osAccountId, *authReqId, authParams.c_str(), &gaCallback); in FuzzDoAuthDevice()
/base/security/device_auth/interfaces/inner_api/
Ddevice_auth.h211 int32_t (*authDevice)(int32_t osAccountId, int64_t authReqId, const char *authParams,
/base/security/device_auth/frameworks/src/
Dipc_sdk.c1551 const char *authParams, const DeviceAuthCallback *callback) in EncodeAuthDeviceParams() argument
1564 …estParamInfo(callCtx, PARAM_TYPE_AUTH_PARAMS, (const uint8_t *)authParams, strlen(authParams) + 1); in EncodeAuthDeviceParams()
1578 static int32_t IpcGaAuthDevice(int32_t osAccountId, int64_t authReqId, const char *authParams, in IpcGaAuthDevice() argument
1587 if (IsStrInvalid(authParams) || (callback == NULL)) { in IpcGaAuthDevice()
1596 ret = EncodeAuthDeviceParams(callCtx, osAccountId, authReqId, authParams, callback); in IpcGaAuthDevice()
Dipc_service.c971 const char *authParams = NULL; in IpcServiceGaAuthDevice() local
988 …etIpcRequestParamByType(ipcParams, paramNum, PARAM_TYPE_AUTH_PARAMS, (uint8_t *)&authParams, NULL); in IpcServiceGaAuthDevice()
989 if ((authParams == NULL) || (ret != HC_SUCCESS)) { in IpcServiceGaAuthDevice()
1015 callRet = g_groupAuthMgrMethod.authDevice(osAccountId, authReqId, authParams, &g_authCbAdt); in IpcServiceGaAuthDevice()
/base/security/device_auth/services/
Ddevice_auth.c720 static int32_t AuthDevice(int32_t osAccountId, int64_t authReqId, const char *authParams, in AuthDevice() argument
727 if ((authParams == NULL) || (osAccountId == INVALID_OS_ACCOUNT) || (gaCallback == NULL)) { in AuthDevice()
731 CJson *context = CreateJsonFromString(authParams); in AuthDevice()
/base/security/device_auth/
DREADME_zh.md124 …int32_t AuthDevice(int32_t osAccountId, int64_t authReqId, const char *authParams, const DeviceAut…
DREADME.md121 …118111117133514"></a>int32_t AuthDevice(int64_t authReqId, const char *authParams, const DeviceAut…
/base/security/device_auth/services/group_manager/src/group_operation/
Dgroup_operation.c238 AuthModuleParams authParams = { in GetPkByParams() local
244 int32_t res = GetPublicKey(DAS_MODULE, &authParams, &returnPkBuff); in GetPkByParams()