/base/security/huks/services/huks_standard/huks_engine/main/core/src/ |
D | hks_core_service_three_stage.c | 264 … 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 …]
|
D | hks_keynode.c | 51 .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()
|
D | hks_secure_access.c | 183 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/ |
D | hks_secure_access_test.cpp | 107 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 };
|
D | hks_keynode_test.cpp | 63 .uint64Param = 0
|
D | hks_core_service_test.cpp | 298 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/ |
D | huks_ipc_serialization_test.cpp | 213 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/ |
D | cf_type.h | 121 uint64_t uint64Param; member
|
/base/security/huks/frameworks/huks_standard/main/common/include/ |
D | hks_type_inner.h | 96 uint64_t *uint64Param; member
|
/base/security/certificate_manager/interfaces/innerkits/cert_manager_standard/main/include/ |
D | cm_type.h | 304 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/ |
D | cm_ipc_service_serialization.c | 69 *(outParams->uint64Param) = param->uint64Param; in GetNormalParam()
|
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/ca/ |
D | hks_teec.c | 233 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/ |
D | hks_param_test.cpp | 83 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/ |
D | cf_test_sdk_common.cpp | 149 std::cout << "value: " << paramOut->uint64Param << std::endl; in GetOutValue()
|
/base/security/huks/frameworks/huks_standard/main/common/src/ |
D | hks_param.c | 384 … return (baseParam->uint64Param == param->uint64Param) ? HKS_SUCCESS : HKS_ERROR_INVALID_ARGUMENT; in HksCheckParamMatch()
|
/base/security/huks/interfaces/kits/c/include/ |
D | native_huks_type.h | 691 uint64_t uint64Param; member
|
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/idl/ipc/ |
D | hks_ipc_serialization.c | 461 *(outParams->uint64Param) = param->uint64Param; in GetNormalParam()
|
/base/security/huks/interfaces/kits/napi/src/v8/ |
D | huks_napi_common.cpp | 130 … NAPI_CALL(env, napi_get_value_int64(env, value, reinterpret_cast<int64_t *>(¶m.uint64Param))); in GetHksParam() 326 NAPI_CALL(env, napi_create_int64(env, param.uint64Param, &value)); in GenerateHksParam()
|
/base/security/huks/interfaces/kits/liteapi/src/ |
D | hks_lite_api_common.cpp | 90 outParam->uint64Param = paramValue; in CheckIsNumberAndAssignUlongParam()
|
/base/security/huks/interfaces/kits/napi/src/v9/ |
D | huks_napi_common_item.cpp | 209 … NAPI_CALL(env, napi_get_value_int64(env, value, reinterpret_cast<int64_t *>(¶m.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/ |
D | hks_type.h | 650 uint64_t uint64Param; member
|
/base/security/huks/test/unittest/huks_standard_test/module_test/interface_test/src/ |
D | hks_native_api_compatibility_test.cpp | 779 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/ |
D | hks_client_service.c | 299 accessTokenIdParam.uint64Param = processInfo->accessTokenId; in AppendProcessInfoAndkeyAlias()
|