Home
last modified time | relevance | path

Searched refs:int32Param (Results 1 – 25 of 27) sorted by relevance

12

/base/security/certificate_framework/test/unittest/cf_sdk_test/src/
Dcf_extension_test.cpp77 if (resultTypeParam->int32Param != type) { in CheckAndGetParam()
168 return (resultParam->int32Param == g_expectPathLen); in CompareCheckResult()
209 { .tag = CF_TAG_GET_TYPE, .int32Param = CF_GET_TYPE_EXT_ITEM },
210 { .tag = CF_TAG_PARAM0_INT32, .int32Param = CF_ITEM_ENCODED },
224 { .tag = CF_TAG_GET_TYPE, .int32Param = CF_GET_TYPE_EXT_OIDS },
225 { .tag = CF_TAG_PARAM0_INT32, .int32Param = CF_EXT_TYPE_ALL_OIDS },
239 { .tag = CF_TAG_GET_TYPE, .int32Param = CF_GET_TYPE_EXT_OIDS },
240 { .tag = CF_TAG_PARAM0_INT32, .int32Param = CF_EXT_TYPE_CRITICAL_OIDS },
254 { .tag = CF_TAG_GET_TYPE, .int32Param = CF_GET_TYPE_EXT_OIDS },
255 { .tag = CF_TAG_PARAM0_INT32, .int32Param = CF_EXT_TYPE_UNCRITICAL_OIDS },
[all …]
Dcf_cert_test.cpp83 if (resultTypeParam->int32Param != CF_TAG_TYPE_BYTES) { in CompareResult()
118 { .tag = CF_TAG_GET_TYPE, .int32Param = CF_GET_TYPE_CERT_ITEM }, in CertTest()
119 { .tag = CF_TAG_PARAM0_INT32, .int32Param = id }, in CertTest()
195 { .tag = CF_TAG_CHECK_TYPE, .int32Param = 0 }, /* reserve test */
497 { .tag = CF_TAG_CHECK_TYPE, .int32Param = CF_CHECK_TYPE_EXT_CA },
514 { .tag = CF_TAG_GET_TYPE, .int32Param = CF_GET_TYPE_EXT_ITEM },
531 { .tag = CF_TAG_GET_TYPE, .int32Param = CF_GET_TYPE_CERT_ITEM },
548 { .tag = CF_TAG_GET_TYPE, .int32Param = CF_GET_TYPE_CERT_ITEM },
549 { .tag = CF_TAG_PARAM0_INT32, .int32Param = CF_ITEM_INVALID },
/base/security/certificate_framework/test/fuzztest/cfgetandcheck_fuzzer/
Dcfgetandcheck_fuzzer.cpp73 params[i].int32Param = *reinterpret_cast<int32_t *>(data + offset); in TestObjectTypeFunc1()
88 { .tag = CF_TAG_GET_TYPE, .int32Param = CF_GET_TYPE_EXT_ITEM }, in TestObjectTypeFunc2()
89 { .tag = CF_TAG_PARAM0_INT32, .int32Param = *reinterpret_cast<int32_t *>(data) }, in TestObjectTypeFunc2()
102 { .tag = CF_TAG_GET_TYPE, .int32Param = CF_GET_TYPE_EXT_OIDS }, in TestObjectTypeFunc3()
103 { .tag = CF_TAG_PARAM0_INT32, .int32Param = *reinterpret_cast<int32_t *>(data) }, in TestObjectTypeFunc3()
118 { .tag = CF_TAG_GET_TYPE, .int32Param = CF_GET_TYPE_EXT_ENTRY }, in TestObjectTypeFunc4()
119 { .tag = CF_TAG_PARAM0_INT32, .int32Param = *reinterpret_cast<int32_t *>(data) }, in TestObjectTypeFunc4()
133 { .tag = CF_TAG_GET_TYPE, .int32Param = CF_GET_TYPE_CERT_ITEM }, in TestObjectTypeFunc5()
134 { .tag = CF_TAG_PARAM0_INT32, .int32Param = *reinterpret_cast<int32_t *>(data) }, in TestObjectTypeFunc5()
147 { .tag = CF_TAG_CHECK_TYPE, .int32Param = *reinterpret_cast<int32_t *>(data) }, in TestObjectTypeFunc6()
/base/security/certificate_framework/frameworks/core/extension/src/
Dcf_object_extension.c79 ret = obj->func.adapterGetItem(obj->adapterRes, (CfItemId)tmpParam->int32Param, &itemRes); in CfExtGetItem()
86 { .tag = CF_TAG_RESULT_TYPE, .int32Param = CF_TAG_TYPE_BYTES }, in CfExtGetItem()
104 …ret = obj->func.adapterGetOids(obj->adapterRes, (CfExtensionOidType)oidTypeParam->int32Param, &oid… in CfExtGetOids()
132 … ret = obj->func.adapterGetEntry(obj->adapterRes, (CfExtensionEntryType)entryTypeParam->int32Param, in CfExtGetEntry()
140 { .tag = CF_TAG_RESULT_TYPE, .int32Param = CF_TAG_TYPE_BYTES }, in CfExtGetEntry()
168 switch (tmpParam->int32Param) { in CfExtensionGet()
176 CF_LOG_E("extension get type invalid, type = %d", tmpParam->int32Param); in CfExtensionGet()
201 if (tmpParam->int32Param == CF_CHECK_TYPE_EXT_CA) { in CfExtensionCheck()
210 { .tag = CF_TAG_RESULT_TYPE, .int32Param = CF_TAG_TYPE_INT }, in CfExtensionCheck()
211 { .tag = CF_TAG_RESULT_INT, .int32Param = pathLen }, in CfExtensionCheck()
[all …]
/base/security/certificate_framework/frameworks/core/cert/src/
Dcf_object_cert.c78 CF_LOG_I("cert get type = 0x%x", tmpParam->int32Param); in CfCertGetItem()
80 ret = obj->func.adapterGetItem(obj->adapterRes, (CfItemId)tmpParam->int32Param, &itemValue); in CfCertGetItem()
87 { .tag = CF_TAG_RESULT_TYPE, .int32Param = CF_TAG_TYPE_BYTES }, in CfCertGetItem()
115 switch (tmpParam->int32Param) { in CfCertGet()
119 CF_LOG_E("cert get type invalid, type = %d", tmpParam->int32Param); in CfCertGet()
/base/security/certificate_framework/frameworks/js/napi/certificate/src/
Dnapi_object.cpp149 napi_status status = napi_get_value_int32(env, object, &param.int32Param); in GetInputNumber()
228 param.int32Param = typeValue; in ConstructTypeParams()
231 param.int32Param = typeValue; in ConstructTypeParams()
302 CfParam paramExtEncoded = { .tag = CF_TAG_PARAM0_INT32, .int32Param = CF_ITEM_ENCODED }; in GetInParamSet()
337 if (resultTypeParam->int32Param != (resultType & CF_TAG_TYPE_MASK)) { in CheckResultType()
338 CF_LOG_E("result type[0x%x] is not [0x%x].", resultTypeParam->int32Param, resultType); in CheckResultType()
374 napi_create_int32(env, resultParam->int32Param, &result); in ConvertToNapiValue()
Dnapi_common.cpp113 if (resultTypeParam->int32Param != targetType) { in CheckOutParamType()
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
Dhks_pbkdf2_derive_part2_test.cpp97 .int32Param = DERIVE_ITERATION
138 .int32Param = DERIVE_ITERATION
177 .int32Param = DERIVE_ITERATION
218 .int32Param = DERIVE_ITERATION
257 .int32Param = DERIVE_ITERATION
297 .int32Param = DERIVE_ITERATION
337 .int32Param = DERIVE_ITERATION
376 .int32Param = DERIVE_ITERATION
416 .int32Param = DERIVE_ITERATION
456 .int32Param = DERIVE_ITERATION
[all …]
Dhks_pbkdf2_derive_part1_test.cpp93 .int32Param = DERIVE_ITERATION
156 .int32Param = DERIVE_ITERATION
219 .int32Param = DERIVE_ITERATION
283 .int32Param = DERIVE_ITERATION
346 .int32Param = DERIVE_ITERATION
410 .int32Param = DERIVE_ITERATION
473 .int32Param = DERIVE_ITERATION
537 .int32Param = DERIVE_ITERATION
601 .int32Param = DERIVE_ITERATION
Dhks_access_control_derive_test.cpp134 { .tag = HKS_TAG_ITERATION, .int32Param = DERIVE_ITERATION },
/base/security/certificate_framework/test/unittest/common/src/
Dcf_test_sdk_common.cpp131 int32_t type = param->int32Param; in GetOutValue()
137 std::cout << "value: " << paramOut->int32Param << std::endl; in GetOutValue()
/base/security/certificate_framework/frameworks/core/param/src/
Dcf_param_parse.c63 CfParam typeParam = { .tag = CF_TAG_RESULT_TYPE, .int32Param = CF_TAG_TYPE_BYTES }; in CfConstructArrayParamSetOut()
/base/security/huks/test/unittest/huks_standard_test/module_test/service_test/huks_service/os_dependency/idl/ipc/src/
Dhuks_ipc_serialization_test.cpp141 struct HksParam param = { .tag = HKS_TAG_KEY_AUTH_RESULT, .int32Param = 0 };
143 struct HksParamOut outParam = { .tag = HKS_TAG_KEY_AUTH_RESULT, .int32Param = &outParamInt };
150 ASSERT_TRUE(*(outParam.int32Param) == 0);
/base/security/certificate_framework/interfaces/innerkits/include/
Dcf_type.h119 int32_t int32Param; member
/base/security/huks/frameworks/huks_standard/main/common/include/
Dhks_type_inner.h94 int32_t *int32Param; member
/base/security/certificate_manager/interfaces/innerkits/cert_manager_standard/main/include/
Dcm_type.h302 int32_t int32Param; member
313 int32_t *int32Param; member
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_service/main/os_dependency/idl/cm_ipc/
Dcm_ipc_service_serialization.c63 *(outParams->int32Param) = param->int32Param; in GetNormalParam()
/base/security/huks/frameworks/huks_standard/main/common/src/
Dhks_param.c380 … return (baseParam->int32Param == param->int32Param) ? HKS_SUCCESS : HKS_ERROR_INVALID_ARGUMENT; in HksCheckParamMatch()
/base/security/huks/interfaces/kits/c/include/
Dnative_huks_type.h687 int32_t int32Param; member
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/include/
Dhks_cross_test_common.h263 .int32Param = 1000
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/idl/ipc/
Dhks_ipc_serialization.c455 *(outParams->int32Param) = param->int32Param; in GetNormalParam()
/base/security/huks/interfaces/kits/napi/src/v8/
Dhuks_napi_common.cpp122 NAPI_CALL(env, napi_get_value_int32(env, value, &param.int32Param)); in GetHksParam()
320 NAPI_CALL(env, napi_create_int32(env, param.int32Param, &value)); in GenerateHksParam()
/base/security/huks/interfaces/kits/liteapi/src/
Dhks_lite_api_common.cpp60 outParam->int32Param = paramValue; in CheckIsNumberAndAssignIntParam()
/base/security/huks/interfaces/kits/napi/src/v9/
Dhuks_napi_common_item.cpp201 NAPI_CALL(env, napi_get_value_int32(env, value, &param.int32Param)); in GetHksParam()
395 NAPI_CALL(env, napi_create_int32(env, param.int32Param, &value)); in GenerateHksParam()
/base/security/huks/interfaces/inner_api/huks_standard/main/include/
Dhks_type.h648 int32_t int32Param; member

12