Home
last modified time | relevance | path

Searched refs:paramsCnt (Results 1 – 25 of 45) sorted by relevance

12

/base/security/certificate_framework/frameworks/core/param/src/
Dcf_param.c45 (*paramSet)->paramsCnt = 0; in CfInitParamSet()
54 (paramSet->paramsCnt > ((size - sizeof(CfParamSet)) / sizeof(CfParam)))) { in CfCheckParamSet()
70 uint32_t offset = sizeof(CfParamSet) + sizeof(CfParam) * paramSet->paramsCnt; in CfFreshParamSet()
72 for (uint32_t i = 0; i < paramSet->paramsCnt; i++) { in CfFreshParamSet()
104 uint32_t offset = sizeof(CfParamSet) + sizeof(CfParam) * freshParamSet->paramsCnt; in BuildParamSet()
160 for (uint32_t i = 0; i < paramSet->paramsCnt; i++) { in CfGetParam()
174 … (paramCnt > CF_DEFAULT_PARAM_CNT) || ((paramSet->paramsCnt + paramCnt) > CF_DEFAULT_PARAM_CNT)) { in CheckBeforeAddParams()
210 …(void)memcpy_s(&paramSet->params[paramSet->paramsCnt++], sizeof(CfParam), &params[i], sizeof(CfPar… in CfAddParams()
/base/security/certificate_manager/frameworks/cert_manager_standard/main/common/src/
Dcm_param.c43 (*paramSet)->paramsCnt = 0; in CmInitParamSet()
56 (paramSet->paramsCnt > ((size - sizeof(struct CmParamSet)) / sizeof(struct CmParam)))) { in CmCheckParamSet()
76 uint32_t offset = sizeof(struct CmParamSet) + sizeof(struct CmParam) * paramSet->paramsCnt; in CmFreshParamSet()
78 for (uint32_t i = 0; i < paramSet->paramsCnt; i++) { in CmFreshParamSet()
110 uint32_t offset = sizeof(struct CmParamSet) + sizeof(struct CmParam) * freshParamSet->paramsCnt; in BuildParamSet()
166 for (uint32_t i = 0; i < paramSet->paramsCnt; i++) { in CmGetParam()
179 uint32_t offset = sizeof(struct CmParamSet) + sizeof(struct CmParam) * paramSet->paramsCnt; in FreshParamSet()
181 for (uint32_t i = 0; i < paramSet->paramsCnt; i++) { in FreshParamSet()
236 … (paramCnt > CM_DEFAULT_PARAM_CNT) || ((paramSet->paramsCnt + paramCnt) > CM_DEFAULT_PARAM_CNT)) { in CheckBeforeAddParams()
268 (void)memcpy_s(&paramSet->params[paramSet->paramsCnt++], sizeof(struct CmParam), &params[i], in CmAddParams()
/base/security/huks/frameworks/huks_standard/main/common/src/
Dhks_param.c153 for (uint32_t i = 0; i < paramSet->paramsCnt; ++i) { in HksCheckParamSetTag()
160 for (uint32_t j = i + 1; j < paramSet->paramsCnt; ++j) { in HksCheckParamSetTag()
175 …(paramCnt > HKS_DEFAULT_PARAM_CNT) || (paramSet->paramsCnt > (HKS_DEFAULT_PARAM_CNT - paramCnt))) { in CheckBeforeAddParams()
194 … uint32_t offset = sizeof(struct HksParamSet) + sizeof(struct HksParam) * freshParamSet->paramsCnt; in BuildParamSet()
219 (paramSet->paramsCnt > ((size - sizeof(struct HksParamSet)) / sizeof(struct HksParam)))) { in HksCheckParamSet()
233 (*paramSet)->paramsCnt = 0; in HksInitParamSet()
254 … (void)memcpy_s(&paramSet->params[paramSet->paramsCnt++], sizeof(struct HksParam), &params[i], in HksAddParams()
284 uint32_t offset = sizeof(struct HksParamSet) + sizeof(struct HksParam) * paramSet->paramsCnt; in FreshParamSet()
286 for (uint32_t i = 0; i < paramSet->paramsCnt; i++) { in FreshParamSet()
334 for (uint32_t i = 0; i < paramSet->paramsCnt; i++) { in HksGetParam()
[all …]
Dhks_crypto_adapter.c35 for (uint32_t i = 0; i < paramSet->paramsCnt; i++) { in HksFillKeySpec()
51 for (uint32_t i = 0; i < paramSet->paramsCnt; i++) { in HksFillUsageSpec()
89 for (uint32_t i = 0; i < paramSet->paramsCnt; i++) { in HksFillKeyDerivationParam()
/base/security/certificate_manager/test/unittest/module_test/src/
Dcm_param_test.cpp143 paramSet->paramsCnt = CM_DEFAULT_PARAM_CNT;
389 paramSet->paramsCnt = 1;
417 paramSet->paramsCnt = 1;
445 paramSet->paramsCnt = 1;
508 paramSet->paramsCnt = 1;
538 paramSet->paramsCnt = 1;
568 paramSet->paramsCnt = 1;
/base/security/huks/services/huks_standard/huks_service/main/core/src/
Dhks_upgrade_key_accesser.c41 return HksAddParams(targetParamSet, srcParamSet->params, srcParamSet->paramsCnt); in AddMandatoryParamsInService()
/base/security/huks/interfaces/kits/c/src/
Dnative_huks_api_adapter.c44 … ret = HksAddParams(newParamSet, (const struct HksParam *)paramSet->params, paramSet->paramsCnt); in HuksAttestAdapter()
/base/security/certificate_framework/frameworks/js/napi/certificate/src/
Dnapi_common.cpp122 if (paramSet->paramsCnt <= 1) { in GetBlobArrayFromParamSet()
127 uint32_t oidsCnt = paramSet->paramsCnt - 1; in GetBlobArrayFromParamSet()
Dnapi_object.cpp54 size_t paramsCnt; member
266 INPUT_PARAMS_MAP[i].paramsCnt) != CF_SUCCESS) { in CheckInputParams()
/base/security/certificate_framework/test/unittest/cf_sdk_test/src/
Dcf_param_test.cpp145 paramSet->paramsCnt = CF_DEFAULT_PARAM_CNT;
448 paramSet->paramsCnt = 1;
476 paramSet->paramsCnt = 1;
504 paramSet->paramsCnt = 1;
/base/security/huks/interfaces/inner_api/huks_standard/main/include/
Dhks_param.h135 HKS_API_EXPORT int32_t HksCheckIsTagAlreadyExist(const struct HksParam *params, uint32_t paramsCnt,
/base/security/certificate_framework/interfaces/innerkits/include/
Dcf_type.h128 uint32_t paramsCnt; member
/base/security/huks/test/unittest/modify_old_version_key_test_util/
Dhks_test_modify_old_key.c43 (void)HksAddParams(newParamSet, paramSet->params, paramSet->paramsCnt); in HksTestGenerateOldKey()
/base/security/huks/frameworks/huks_standard/main/common/include/
Dhks_base_check.h83 uint32_t paramsCnt; member
/base/security/huks/services/huks_standard/huks_engine/main/core/src/
Dhks_upgrade_key.c56 for (uint32_t i = 0; i < srcParamSet->paramsCnt; ++i) { in AddAlgParamsTags()
146 ret = HksAddParams(outParamSet, srcParamSet->params, srcParamSet->paramsCnt); in AddMandatoryParamsInCore()
Dhks_chipset_platform_decrypt.c50 if (paramSet->paramsCnt != PLATFORM_KEY_INPUT_PARAMS_COUNT) { in CheckParams()
/base/security/huks/interfaces/kits/napi/src/v8/
Dhuks_napi_get_key_properties.cpp123 napiContext->paramSetOut->paramsCnt = 0; in GetKeyPropertiesAsyncWork()
/base/security/certificate_framework/test/unittest/common/src/
Dcf_test_sdk_common.cpp159 for (uint32_t i = 0; i < resultParamSet->paramsCnt; i++) { in GetOutValue()
/base/security/huks/interfaces/kits/napi/src/v9/
Dhuks_napi_get_key_item_properties.cpp118 napiContext->paramSetOut->paramsCnt = 0; in GetKeyPropertiesAsyncWork()
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/symmetric_alg_test/
Dhks_aes_cipher_test_common.cpp174 for (i = 0; i < decryptParamSet->paramsCnt; i++) { in HksAesCipherTestCaseGcm2()
310 for (i = 0; i < decryptParamSet->paramsCnt; i++) {
/base/security/huks/interfaces/kits/c/include/
Dnative_huks_type.h707 uint32_t paramsCnt; member
/base/security/huks/test/unittest/huks_standard_test/module_test/service_test/huks_engine/core/src/
Dhks_keyblob_test.cpp71 struct HksParamSet paramSet = { .paramSetSize = 0, .paramsCnt = exceedCnt, .params = {} };
Dhks_upgrade_key_c_test.cpp160 struct HksParamSet paramSet = { .paramSetSize = 0, .paramsCnt = exceedCnt, .params = {} };
/base/security/certificate_manager/interfaces/innerkits/cert_manager_standard/main/include/
Dcm_type.h322 uint32_t paramsCnt; member
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
Dhks_attest_key_test_common.cpp180 HKS_LOG_I("paramsSet count is : %" LOG_PUBLIC "d", paramSet->paramsCnt); in ValidataAndCompareCertInfo()

12