Home
last modified time | relevance | path

Searched refs:uint64Param (Results 1 – 20 of 20) sorted by relevance

/base/security/huks/test/unittest/huks_standard_test/module_test/service_test/huks_engine/core/src/
Dhks_secure_access_test.cpp104 struct HksParam accessTokenIdBlob = { .tag = HKS_TAG_ACCESS_TOKEN_ID, .uint64Param = 0 };
109 struct HksParam accessTokenIdRuntime = { .tag = HKS_TAG_ACCESS_TOKEN_ID, .uint64Param = 0 };
130 struct HksParam accessTokenIdBlob = { .tag = HKS_TAG_ACCESS_TOKEN_ID, .uint64Param = 1 };
135 struct HksParam accessTokenIdRuntime = { .tag = HKS_TAG_ACCESS_TOKEN_ID, .uint64Param = 0 };
159 struct HksParam accessTokenIdRuntime = { .tag = HKS_TAG_ACCESS_TOKEN_ID, .uint64Param = 0 };
180 struct HksParam accessTokenIdBlob = { .tag = HKS_TAG_ACCESS_TOKEN_ID, .uint64Param = 1 };
Dhks_keynode_test.cpp59 .uint64Param = 0
Dhks_core_service_test.cpp292 struct HksParam accessTokenIdRuntime = { .tag = HKS_TAG_ACCESS_TOKEN_ID, .uint64Param = 1 };
/base/security/huks/services/huks_standard/huks_engine/main/core/src/
Dhks_core_service_three_stage.c259 … return (ret != HKS_SUCCESS || ctxParam == NULL) ? NULL : (void *)(uintptr_t)ctxParam->uint64Param; in GetCryptoCtx()
270 ctxParam->uint64Param = (uint64_t)(uintptr_t)NULL; in ClearCryptoCtx()
285 ctxParam->uint64Param = (uint64_t)(uintptr_t)tempData; in SetCacheModeCtx()
336 void *ctx = (void *)(uintptr_t)ctxParam->uint64Param; in UpdateCachedData()
352 ctxParam->uint64Param = (uint64_t)(uintptr_t)newCachedBlob; in UpdateCachedData()
375 void *ctx = (void *)(uintptr_t)ctxParam->uint64Param; in FinishCachedData()
383 ctxParam->uint64Param = 0; /* clear ctx to NULL */ in FinishCachedData()
401 ctxParam->uint64Param = (uint64_t)(uintptr_t)ctx; in CoreHashInit()
425 void *ctx = (void *)(uintptr_t)ctxParam->uint64Param; in CoreHashFinish()
440 ctxParam->uint64Param = 0; /* clear ctx to NULL */ in CoreHashFinish()
[all …]
Dhks_keynode.c51 .uint64Param = 0 in BuildRuntimeParamSet()
328 if (ctxParam->uint64Param != 0) { in FreeRuntimeParamSet()
329 void *ctx = (void *)(uintptr_t)ctxParam->uint64Param; in FreeRuntimeParamSet()
357 ctxParam->uint64Param = 0; /* clear ctx to NULL */ in FreeRuntimeParamSet()
Dhks_secure_access.c148 accessTimeParam.uint64Param = curTime / S_TO_MS; in AddKeyAccessTimeParams()
279 …if ((accessTime->uint64Param > authTokenTime && accessTime->uint64Param - authTokenTime > timeOutI… in HksVerifyKeyTimestamp()
280 …(authTokenTime > accessTime->uint64Param && authTokenTime - accessTime->uint64Param > timeOutInt))… in HksVerifyKeyTimestamp()
992 …ret = (blobAccessTokenId->uint64Param == runtimeAccessTokenId->uint64Param) ? HKS_SUCCESS : HKS_ER… in HksCheckCompareAccessTokenId()
/base/security/huks/test/unittest/huks_standard_test/module_test/service_test/huks_service/os_dependency/idl/ipc/src/
Dhuks_ipc_serialization_test.cpp210 struct HksParam param = { .tag = HKS_TAG_KEY_ACCESS_TIME, .uint64Param = 0 };
212 struct HksParamOut outParam = { .tag = HKS_TAG_KEY_ACCESS_TIME, .uint64Param = &outParamUint };
219 ASSERT_TRUE(*(outParam.uint64Param) == 0);
234 … struct HksParam param = { .tag = HKS_TAG_KEY_ACCESS_TIME ^ HKS_TAG_TYPE_ULONG, .uint64Param = 0 };
236 …Out outParam = { .tag = HKS_TAG_KEY_ACCESS_TIME ^ HKS_TAG_TYPE_ULONG, .uint64Param = &outParamUint…
/base/security/huks/frameworks/huks_standard/main/common/include/
Dhks_type_inner.h84 uint64_t *uint64Param; member
/base/security/certificate_manager/frameworks/cert_manager_standard/main/common/include/
Dcm_type.h304 uint64_t uint64Param; member
315 uint64_t *uint64Param; member
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_service/main/os_dependency/idl/cm_ipc/
Dcm_ipc_service_serialization.c69 *(outParams->uint64Param) = param->uint64Param; in GetNormalParam()
/base/security/huks/test/unittest/huks_standard_test/module_test/framework_test/common_test/src/
Dhks_param_test.cpp79 struct HksParam baseParam = { .tag = HKS_TAG_KEY_ACCESS_TIME, .uint64Param = (uint64_t)1 };
80 struct HksParam otherParam = { .tag = HKS_TAG_KEY_ACCESS_TIME, .uint64Param = (uint64_t)2 };
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/ca/
Dhks_teec.c233 dest->value.a = (uint32_t)((src->uint64Param) >> 32); /* 32 is higher bits */ in FillUpArgs()
234 dest->value.b = (uint32_t)(src->uint64Param); in FillUpArgs()
472 params[2].uint64Param = 0; /* 2 is array index */ in ProcessInit()
488 params[0].uint64Param = operationHandle; in ProcessUpdate()
510 params[0].uint64Param = operationHandle; in ProcessFinal()
/base/security/huks/frameworks/huks_standard/main/common/src/
Dhks_param.c406 … return (baseParam->uint64Param == param->uint64Param) ? HKS_SUCCESS : HKS_ERROR_INVALID_ARGUMENT; in HksCheckParamMatch()
/base/security/huks/interfaces/kits/c/include/
Dnative_huks_type.h667 uint64_t uint64Param; member
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/idl/ipc/
Dhks_ipc_serialization.c461 *(outParams->uint64Param) = param->uint64Param; in GetNormalParam()
/base/security/huks/interfaces/kits/napi/src/v8/
Dhuks_napi_common.cpp130 … NAPI_CALL(env, napi_get_value_int64(env, value, reinterpret_cast<int64_t *>(&param.uint64Param))); in GetHksParam()
326 NAPI_CALL(env, napi_create_int64(env, param.uint64Param, &value)); in GenerateHksParam()
/base/security/huks/interfaces/innerkits/huks_standard/main/include/
Dhks_type.h544 uint64_t uint64Param; member
/base/security/huks/interfaces/kits/napi/src/v9/
Dhuks_napi_common_item.cpp208 … NAPI_CALL(env, napi_get_value_int64(env, value, reinterpret_cast<int64_t *>(&param.uint64Param))); in GetHksParam()
402 NAPI_CALL(env, napi_create_int64(env, param.uint64Param, &value)); in GenerateHksParam()
/base/security/huks/test/unittest/huks_standard_test/module_test/interface_test/src/
Dhks_native_api_compatibility_test.cpp767 ASSERT_EQ(sizeof(param.uint64Param) == sizeof(uint64_t), true);
774 ASSERT_EQ(sizeof(hksParam.uint64Param) == sizeof(uint64_t), true);
/base/security/huks/services/huks_standard/huks_service/main/core/src/
Dhks_client_service.c323 accessTokenIdParam.uint64Param = accessTokenId; in AppendProcessInfo()