/base/security/certificate_framework/frameworks/core/param/src/ |
D | cf_param.c | 45 (*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(¶mSet->params[paramSet->paramsCnt++], sizeof(CfParam), ¶ms[i], sizeof(CfPar… in CfAddParams()
|
/base/security/certificate_manager/frameworks/cert_manager_standard/main/common/src/ |
D | cm_param.c | 43 (*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(¶mSet->params[paramSet->paramsCnt++], sizeof(struct CmParam), ¶ms[i], in CmAddParams()
|
/base/security/huks/frameworks/huks_standard/main/common/src/ |
D | hks_param.c | 153 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(¶mSet->params[paramSet->paramsCnt++], sizeof(struct HksParam), ¶ms[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 …]
|
D | hks_crypto_adapter.c | 35 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/ |
D | cm_param_test.cpp | 143 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/ |
D | hks_upgrade_key_accesser.c | 41 return HksAddParams(targetParamSet, srcParamSet->params, srcParamSet->paramsCnt); in AddMandatoryParamsInService()
|
/base/security/huks/interfaces/kits/c/src/ |
D | native_huks_api_adapter.c | 44 … ret = HksAddParams(newParamSet, (const struct HksParam *)paramSet->params, paramSet->paramsCnt); in HuksAttestAdapter()
|
/base/security/certificate_framework/frameworks/js/napi/certificate/src/ |
D | napi_common.cpp | 122 if (paramSet->paramsCnt <= 1) { in GetBlobArrayFromParamSet() 127 uint32_t oidsCnt = paramSet->paramsCnt - 1; in GetBlobArrayFromParamSet()
|
D | napi_object.cpp | 54 size_t paramsCnt; member 266 INPUT_PARAMS_MAP[i].paramsCnt) != CF_SUCCESS) { in CheckInputParams()
|
/base/security/certificate_framework/test/unittest/cf_sdk_test/src/ |
D | cf_param_test.cpp | 145 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/ |
D | hks_param.h | 135 HKS_API_EXPORT int32_t HksCheckIsTagAlreadyExist(const struct HksParam *params, uint32_t paramsCnt,
|
/base/security/certificate_framework/interfaces/innerkits/include/ |
D | cf_type.h | 128 uint32_t paramsCnt; member
|
/base/security/huks/test/unittest/modify_old_version_key_test_util/ |
D | hks_test_modify_old_key.c | 43 (void)HksAddParams(newParamSet, paramSet->params, paramSet->paramsCnt); in HksTestGenerateOldKey()
|
/base/security/huks/frameworks/huks_standard/main/common/include/ |
D | hks_base_check.h | 83 uint32_t paramsCnt; member
|
/base/security/huks/services/huks_standard/huks_engine/main/core/src/ |
D | hks_upgrade_key.c | 56 for (uint32_t i = 0; i < srcParamSet->paramsCnt; ++i) { in AddAlgParamsTags() 146 ret = HksAddParams(outParamSet, srcParamSet->params, srcParamSet->paramsCnt); in AddMandatoryParamsInCore()
|
D | hks_chipset_platform_decrypt.c | 50 if (paramSet->paramsCnt != PLATFORM_KEY_INPUT_PARAMS_COUNT) { in CheckParams()
|
/base/security/huks/interfaces/kits/napi/src/v8/ |
D | huks_napi_get_key_properties.cpp | 123 napiContext->paramSetOut->paramsCnt = 0; in GetKeyPropertiesAsyncWork()
|
/base/security/certificate_framework/test/unittest/common/src/ |
D | cf_test_sdk_common.cpp | 159 for (uint32_t i = 0; i < resultParamSet->paramsCnt; i++) { in GetOutValue()
|
/base/security/huks/interfaces/kits/napi/src/v9/ |
D | huks_napi_get_key_item_properties.cpp | 118 napiContext->paramSetOut->paramsCnt = 0; in GetKeyPropertiesAsyncWork()
|
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/symmetric_alg_test/ |
D | hks_aes_cipher_test_common.cpp | 174 for (i = 0; i < decryptParamSet->paramsCnt; i++) { in HksAesCipherTestCaseGcm2() 310 for (i = 0; i < decryptParamSet->paramsCnt; i++) {
|
/base/security/huks/interfaces/kits/c/include/ |
D | native_huks_type.h | 707 uint32_t paramsCnt; member
|
/base/security/huks/test/unittest/huks_standard_test/module_test/service_test/huks_engine/core/src/ |
D | hks_keyblob_test.cpp | 71 struct HksParamSet paramSet = { .paramSetSize = 0, .paramsCnt = exceedCnt, .params = {} };
|
D | hks_upgrade_key_c_test.cpp | 160 struct HksParamSet paramSet = { .paramSetSize = 0, .paramsCnt = exceedCnt, .params = {} };
|
/base/security/certificate_manager/interfaces/innerkits/cert_manager_standard/main/include/ |
D | cm_type.h | 322 uint32_t paramsCnt; member
|
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/ |
D | hks_attest_key_test_common.cpp | 180 HKS_LOG_I("paramsSet count is : %" LOG_PUBLIC "d", paramSet->paramsCnt); in ValidataAndCompareCertInfo()
|