Home
last modified time | relevance | path

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

/base/security/huks/services/huks_standard/huks_engine/main/core/src/
Dhks_core_service_three_stage.c264 … return (ret != HKS_SUCCESS || ctxParam == NULL) ? NULL : (void *)(uintptr_t)ctxParam->uint64Param; in GetCryptoCtx()
275 ctxParam->uint64Param = (uint64_t)(uintptr_t)NULL; in ClearCryptoCtx()
290 ctxParam->uint64Param = (uint64_t)(uintptr_t)tempData; in SetCacheModeCtx()
341 void *ctx = (void *)(uintptr_t)ctxParam->uint64Param; in UpdateCachedData()
357 ctxParam->uint64Param = (uint64_t)(uintptr_t)newCachedBlob; in UpdateCachedData()
380 void *ctx = (void *)(uintptr_t)ctxParam->uint64Param; in FinishCachedData()
388 ctxParam->uint64Param = 0; /* clear ctx to NULL */ in FinishCachedData()
405 ctxParam->uint64Param = (uint64_t)(uintptr_t)ctx; in CoreHashInit()
427 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.c183 accessTimeParam.uint64Param = curTime / S_TO_MS; in AddKeyAccessTimeParams()
314 …if ((accessTime->uint64Param > authTokenTime && accessTime->uint64Param - authTokenTime > timeOutI… in HksVerifyKeyTimestamp()
315 …(authTokenTime > accessTime->uint64Param && authTokenTime - accessTime->uint64Param > timeOutInt))… in HksVerifyKeyTimestamp()
1049 …return (blobAccessTokenId->uint64Param == runtimeAccessTokenId->uint64Param) ? HKS_SUCCESS : HKS_E… in HksCheckCompareAccessTokenId()
/base/security/huks/test/unittest/huks_standard_test/module_test/service_test/huks_engine/core/src/
Dhks_secure_access_test.cpp107 struct HksParam accessTokenIdBlob = { .tag = HKS_TAG_ACCESS_TOKEN_ID, .uint64Param = 0 };
112 struct HksParam accessTokenIdRuntime = { .tag = HKS_TAG_ACCESS_TOKEN_ID, .uint64Param = 0 };
133 struct HksParam accessTokenIdBlob = { .tag = HKS_TAG_ACCESS_TOKEN_ID, .uint64Param = 1 };
138 struct HksParam accessTokenIdRuntime = { .tag = HKS_TAG_ACCESS_TOKEN_ID, .uint64Param = 0 };
162 struct HksParam accessTokenIdRuntime = { .tag = HKS_TAG_ACCESS_TOKEN_ID, .uint64Param = 0 };
183 struct HksParam accessTokenIdBlob = { .tag = HKS_TAG_ACCESS_TOKEN_ID, .uint64Param = 1 };
Dhks_keynode_test.cpp63 .uint64Param = 0
Dhks_core_service_test.cpp298 struct HksParam accessTokenIdRuntime = { .tag = HKS_TAG_ACCESS_TOKEN_ID, .uint64Param = 1 };
367 struct HksParam accessTokenIdRuntime = { .tag = HKS_TAG_ACCESS_TOKEN_ID, .uint64Param = 1 };
/base/security/huks/test/unittest/huks_standard_test/module_test/service_test/huks_service/os_dependency/idl/ipc/src/
Dhuks_ipc_serialization_test.cpp213 struct HksParam param = { .tag = HKS_TAG_KEY_ACCESS_TIME, .uint64Param = 0 };
215 struct HksParamOut outParam = { .tag = HKS_TAG_KEY_ACCESS_TIME, .uint64Param = &outParamUint };
222 ASSERT_TRUE(*(outParam.uint64Param) == 0);
237 … struct HksParam param = { .tag = HKS_TAG_KEY_ACCESS_TIME ^ HKS_TAG_TYPE_ULONG, .uint64Param = 0 };
239 …Out outParam = { .tag = HKS_TAG_KEY_ACCESS_TIME ^ HKS_TAG_TYPE_ULONG, .uint64Param = &outParamUint…
/base/security/certificate_framework/interfaces/innerkits/include/
Dcf_type.h121 uint64_t uint64Param; member
/base/security/huks/frameworks/huks_standard/main/common/include/
Dhks_type_inner.h96 uint64_t *uint64Param; member
/base/security/certificate_manager/interfaces/innerkits/cert_manager_standard/main/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/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/test/unittest/huks_standard_test/module_test/framework_test/common_test/src/
Dhks_param_test.cpp83 struct HksParam baseParam = { .tag = HKS_TAG_KEY_ACCESS_TIME, .uint64Param = (uint64_t)1 };
84 struct HksParam otherParam = { .tag = HKS_TAG_KEY_ACCESS_TIME, .uint64Param = (uint64_t)2 };
/base/security/certificate_framework/test/unittest/common/src/
Dcf_test_sdk_common.cpp149 std::cout << "value: " << paramOut->uint64Param << std::endl; in GetOutValue()
/base/security/huks/frameworks/huks_standard/main/common/src/
Dhks_param.c384 … return (baseParam->uint64Param == param->uint64Param) ? HKS_SUCCESS : HKS_ERROR_INVALID_ARGUMENT; in HksCheckParamMatch()
/base/security/huks/interfaces/kits/c/include/
Dnative_huks_type.h691 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/kits/liteapi/src/
Dhks_lite_api_common.cpp90 outParam->uint64Param = paramValue; in CheckIsNumberAndAssignUlongParam()
/base/security/huks/interfaces/kits/napi/src/v9/
Dhuks_napi_common_item.cpp209 … NAPI_CALL(env, napi_get_value_int64(env, value, reinterpret_cast<int64_t *>(&param.uint64Param))); in GetHksParam()
401 NAPI_CALL(env, napi_create_int64(env, param.uint64Param, &value)); in GenerateHksParam()
/base/security/huks/interfaces/inner_api/huks_standard/main/include/
Dhks_type.h650 uint64_t uint64Param; member
/base/security/huks/test/unittest/huks_standard_test/module_test/interface_test/src/
Dhks_native_api_compatibility_test.cpp779 ASSERT_EQ(sizeof(param.uint64Param) == sizeof(uint64_t), true);
786 ASSERT_EQ(sizeof(hksParam.uint64Param) == sizeof(uint64_t), true);
/base/security/huks/services/huks_standard/huks_service/main/core/src/
Dhks_client_service.c299 accessTokenIdParam.uint64Param = processInfo->accessTokenId; in AppendProcessInfoAndkeyAlias()