/base/security/huks/services/huks_standard/huks_service/main/core/src/ |
D | hks_client_service_util.c | 66 struct HksParamSet *outParamSet = NULL; in GetKeyParamSet() local 68 sizeof(SENSITIVE_DELETE_TAG) / sizeof(SENSITIVE_DELETE_TAG[0]), tmpParamSet, &outParamSet); in GetKeyParamSet() 71 if (paramSet->paramSetSize < outParamSet->paramSetSize) { in GetKeyParamSet() 72 HksFreeParamSet(&outParamSet); in GetKeyParamSet() 75 (void)memcpy_s(paramSet, paramSet->paramSetSize, outParamSet, outParamSet->paramSetSize); in GetKeyParamSet() 79 HksFreeParamSet(&outParamSet); in GetKeyParamSet() 109 struct HksParamSet **outParamSet) in ConstructUpgradeKeyParamSet() argument 128 *outParamSet = paramSet; in ConstructUpgradeKeyParamSet()
|
D | hks_client_service.c | 68 …c int32_t AppendToNewParamSet(const struct HksParamSet *paramSet, struct HksParamSet **outParamSet) in AppendToNewParamSet() argument 86 *outParamSet = newParamSet; in AppendToNewParamSet() 163 const struct HksParamSet *paramSet, struct HksParamSet **outParamSet) in AppendStorageLevelIfNotExistInner() argument 186 *outParamSet = newParamSet; in AppendStorageLevelIfNotExistInner() 190 … AppendStorageLevelIfNotExist(const struct HksParamSet *paramSet, struct HksParamSet **outParamSet) in AppendStorageLevelIfNotExist() argument 192 return AppendStorageLevelIfNotExistInner(NULL, paramSet, outParamSet); in AppendStorageLevelIfNotExist() 246 …ksProcessInfo *processInfo, const struct HksOperation *operation, struct HksParamSet **outParamSet) in AppendProcessInfoAndDefaultStrategy() argument 290 *outParamSet = newParamSet; in AppendProcessInfoAndDefaultStrategy() 299 const struct HksProcessInfo *processInfo, struct HksParamSet **outParamSet) in AppendNewInfoForUseKeyInService() argument 301 return AppendProcessInfoAndDefaultStrategy(paramSet, processInfo, NULL, outParamSet); in AppendNewInfoForUseKeyInService() [all …]
|
/base/security/certificate_framework/test/unittest/cf_sdk_test/src/ |
D | cf_cert_test.cpp | 116 CfParamSet *outParamSet = nullptr; in CertTest() local 121 …2_t ret = CommonTest(CF_OBJ_TYPE_CERT, in, params, sizeof(params) / sizeof(CfParam), &outParamSet); in CertTest() 124 (void)GetOutValue(outParamSet); in CertTest() 126 EXPECT_EQ(CompareResult(id, outParamSet, in->encodingFormat), true); in CertTest() 127 CfFreeParamSet(&outParamSet); in CertTest() 193 CfParamSet *outParamSet = nullptr; variable 197 … CommonTest(CF_OBJ_TYPE_CERT, &g_cert[0], params, sizeof(params) / sizeof(CfParam), &outParamSet); 198 CfFreeParamSet(&outParamSet); 375 CfParamSet *outParamSet = nullptr; variable 376 ret = object->get(nullptr, inParamSet, &outParamSet); /* object is nullptr */ [all …]
|
D | cf_extension_test.cpp | 173 CfParamSet *outParamSet = nullptr; in ExtensionTest() local 174 int32_t ret = CommonTest(CF_OBJ_TYPE_EXTENSION, &g_extensionBlob[0], params, cnt, &outParamSet); in ExtensionTest() 178 (void)GetOutValue(outParamSet); in ExtensionTest() 183 EXPECT_EQ(CompareItemResult(outParamSet), true); in ExtensionTest() 186 EXPECT_EQ(CompareOidsResult(typeValue, outParamSet), true); in ExtensionTest() 189 EXPECT_EQ(CompareEntryResult(typeValue, outParamSet), true); in ExtensionTest() 194 CfFreeParamSet(&outParamSet); in ExtensionTest() 199 CfParamSet *outParamSet = nullptr; in ExtensionCheckTest() local 200 int32_t ret = CommonTest(CF_OBJ_TYPE_EXTENSION, &g_extensionBlob[0], params, cnt, &outParamSet); in ExtensionCheckTest() 204 (void)GetOutValue(outParamSet); in ExtensionCheckTest() [all …]
|
/base/security/certificate_manager/test/unittest/module_test/src/ |
D | cm_param_test.cpp | 465 struct CmParamSet *outParamSet = nullptr; variable 466 int32_t ret = CmGetParamSet(nullptr, 0, &outParamSet); 484 struct CmParamSet *outParamSet = nullptr; variable 485 int32_t ret = CmGetParamSet(paramSet, paramSet->paramSetSize, &outParamSet); 489 CmFreeParamSet(&outParamSet); 514 struct CmParamSet *outParamSet = nullptr; variable 515 ret = CmGetParamSet(paramSet, paramSet->paramSetSize, &outParamSet); 519 CmFreeParamSet(&outParamSet); 544 struct CmParamSet *outParamSet = nullptr; variable 545 ret = CmGetParamSet(paramSet, paramSet->paramSetSize, &outParamSet); [all …]
|
/base/security/certificate_framework/test/unittest/common/src/ |
D | cf_test_sdk_common.cpp | 50 const CfParam *params, uint32_t cnt, CfParamSet **outParamSet) in CommonTest() argument 66 ret = object->get(object, inParamSet, outParamSet); in CommonTest() 68 ret = object->check(object, inParamSet, outParamSet); in CommonTest() 92 CfParamSet *outParamSet = nullptr; in AbnormalTest() local 94 ret = abnormalObject->check(abnormalObject, inParamSet, &outParamSet); in AbnormalTest() 96 ret = abnormalObject->get(abnormalObject, inParamSet, &outParamSet); in AbnormalTest()
|
/base/security/huks/test/unittest/huks_common_test/include/ |
D | hks_test_common_h.h | 65 struct HksParamSet **outParamSet; member 256 struct HksParamSet **outParamSet; member 266 struct HksParamSet **outParamSet; member 270 struct HksParamSet **outParamSet; member 290 struct HksParamSet **outParamSet; member 300 struct HksParamSet **outParamSet; member 331 struct HksParamSet **outParamSet, 350 struct HksParamSet **outParamSet,
|
D | hks_test_common_c.h | 38 int32_t TestConstructGenerateKeyParamSetOut(struct HksParamSet **outParamSet, 59 int32_t TestConstructHashParamSet(struct HksParamSet **outParamSet,
|
/base/security/huks/interfaces/inner_api/huks_standard/main/include/ |
D | hks_plugin_def.h | 69 const struct HksParamSet *paramSet, struct HksParamSet **outParamSet); 71 const struct HksProcessInfo *processInfo, struct HksParamSet **outParamSet); 72 …appendStorageParamsForQuery)(const struct HksParamSet *paramSet, struct HksParamSet **outParamSet);
|
D | hks_param.h | 86 struct HksParamSet **outParamSet); 153 const struct HksParamSet *paramSet, struct HksParamSet **outParamSet);
|
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/ |
D | cert_manager_key_operation.c | 59 …tructParamSet(const struct HksParam *params, uint32_t paramCount, struct HksParamSet **outParamSet) in ConstructParamSet() argument 82 *outParamSet = paramSet; in ConstructParamSet() 280 struct HksParamSet *outParamSet = (struct HksParamSet*)CMMalloc(DEFAULT_LEN_USED_FOR_MALLOC); in GetKeyProperties() local 281 if (outParamSet == NULL) { in GetKeyProperties() 285 outParamSet->paramSetSize = DEFAULT_LEN_USED_FOR_MALLOC; in GetKeyProperties() 294 CM_FREE_PTR(outParamSet); in GetKeyProperties() 298 ret = HksGetKeyParamSet((const struct HksBlob *)commonUri, inParamSet, outParamSet); in GetKeyProperties() 302 CM_FREE_PTR(outParamSet); in GetKeyProperties() 306 FillKeySpec(outParamSet, keySpec); in GetKeyProperties() 307 CM_FREE_PTR(outParamSet); in GetKeyProperties() [all …]
|
/base/security/huks/services/huks_standard/huks_engine/main/core/src/ |
D | hks_upgrade_key.c | 140 struct HksParamSet *outParamSet = NULL; in AddMandatoryParamsInCore() local 143 ret = HksInitParamSet(&outParamSet); in AddMandatoryParamsInCore() 146 ret = HksAddParams(outParamSet, srcParamSet->params, srcParamSet->paramsCnt); in AddMandatoryParamsInCore() 151 ret = HKS_ADD_MANDATORY_FUNC_LIST[i].func(oldKeyBlobParamSet, outParamSet); in AddMandatoryParamsInCore() 153 HksFreeParamSet(&outParamSet); in AddMandatoryParamsInCore() 159 *targetParamSet = outParamSet; in AddMandatoryParamsInCore() 162 HksFreeParamSet(&outParamSet); in AddMandatoryParamsInCore()
|
/base/security/huks/services/huks_standard/huks_service/main/core/include/ |
D | hks_client_service.h | 104 struct HksParamSet **outParamSet, int frontUserId); 107 const struct HksParamSet *paramSet, struct HksParamSet **outParamSet); 110 const struct HksProcessInfo *processInfo, struct HksParamSet **outParamSet); 112 …AppendStorageLevelIfNotExist(const struct HksParamSet *paramSet, struct HksParamSet **outParamSet);
|
D | hks_client_service_util.h | 40 struct HksParamSet **outParamSet);
|
/base/security/certificate_framework/test/fuzztest/cfgetandcheck_fuzzer/ |
D | cfgetandcheck_fuzzer.cpp | 45 CfParamSet *outParamSet = nullptr; in TestCommonfunc() local 52 (void)object->get(object, inParamSet, &outParamSet); in TestCommonfunc() 54 (void)object->check(object, inParamSet, &outParamSet); in TestCommonfunc() 57 CfFreeParamSet(&outParamSet); in TestCommonfunc()
|
/base/security/huks/interfaces/kits/napi/src/v8/ |
D | huks_napi_update_finish.cpp | 253 HksParamSet *outParamSet = nullptr; in GetInputParamSet() local 256 ret = HksInitParamSet(&outParamSet); in GetInputParamSet() 267 ret = HksAddParams(outParamSet, &tokenParam, 1); in GetInputParamSet() 274 ret = AddParams(params, outParamSet); in GetInputParamSet() 280 ret = HksBuildParamSet(&outParamSet); in GetInputParamSet() 288 HksFreeParamSet(&outParamSet); in GetInputParamSet() 290 paramSet = outParamSet; in GetInputParamSet()
|
/base/security/certificate_framework/frameworks/js/napi/certificate/src/ |
D | napi_object.cpp | 393 CfParamSet **outParamSet) in DoOperation() argument 397 ret = obj->get(obj, inParamSet, outParamSet); in DoOperation() 399 ret = obj->check(obj, inParamSet, outParamSet); in DoOperation() 417 CfParamSet *outParamSet = NULL; in CommonOperation() local 418 ret = DoOperation(obj, opType, inParamSet, &outParamSet); in CommonOperation() 425 napi_value returnValue = ConvertToNapiValue(env, opType, typeValue, outParamSet); in CommonOperation() 429 CfFreeParamSet(&outParamSet); in CommonOperation()
|
/base/security/huks/frameworks/huks_standard/main/common/src/ |
D | hks_param.c | 376 uint32_t inParamSetSize, struct HksParamSet **outParamSet) in HksGetParamSet() argument 381 HKS_IF_NULL_RETURN(outParamSet, HKS_ERROR_NULL_POINTER) in HksGetParamSet() 394 *outParamSet = buf; in HksGetParamSet() 457 const struct HksParamSet *paramSet, struct HksParamSet **outParamSet) in HksDeleteTagsFromParamSet() argument 459 if (tag == NULL || paramSet == NULL || outParamSet == NULL) { in HksDeleteTagsFromParamSet() 494 *outParamSet = newParamSet; in HksDeleteTagsFromParamSet()
|
/base/security/certificate_manager/frameworks/cert_manager_standard/main/os_dependency/cm_ipc/include/ |
D | cm_ipc_client_serialization.h | 38 int32_t CmParamsToParamSet(struct CmParam *params, uint32_t cnt, struct CmParamSet **outParamSet);
|
/base/security/certificate_framework/test/unittest/common/include/ |
D | cf_test_sdk_common.h | 28 const CfParam *params, uint32_t cnt, CfParamSet **outParamSet);
|
/base/security/huks/test/unittest/huks_common_test/src/ |
D | hks_test_common_func.cpp | 156 *(paramStruct->outParamSet) = paramSet; in TestGenerateKeyParamSetPost() 175 struct HksParamSet **outParamSet, in TestConstructGenerateKeyParamSetOut() argument 188 *outParamSet = tempParamSet; in TestConstructGenerateKeyParamSetOut() 195 paramStruct->outParamSet, paramStruct->paramSetExist, in TestConstructRsaCipherParamSet() 294 *(paramStruct->outParamSet) = paramSet; in TestAesCipherParamSetPost() 353 *(paramStruct->outParamSet) = paramSet; in TestConstructMacParamSet() 399 *(paramStruct->outParamSet) = paramSet; in TestConstructAgreeParamSet() 483 *(paramStruct->outParamSet) = paramSet; in TestDeriveParamSetPost() 501 struct HksParamSet **outParamSet, in TestConstructHashParamSet() argument 529 *outParamSet = paramSet; in TestConstructHashParamSet()
|
/base/security/certificate_manager/frameworks/cert_manager_standard/main/common/include/ |
D | cm_param.h | 41 …Set(const struct CmParamSet *inParamSet, uint32_t inParamSetSize, struct CmParamSet **outParamSet);
|
/base/security/huks/interfaces/kits/liteapi/include/ |
D | hks_lite_api_common.h | 48 …2_t HksParseParamSetWithAdd(const JSIValue* args, uint32_t index, struct HksParamSet **outParamSet,
|
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/sdk_test/src/ |
D | hks_session_max_test.cpp | 79 static void ConstructInitParamSet(struct HksParamSet **outParamSet) in ConstructInitParamSet() argument 96 *outParamSet = paramSet; in ConstructInitParamSet()
|
/base/security/huks/test/unittest/huks_standard_test/module_test/interface_test/src/ |
D | hks_get_key_info_list_test.cpp | 90 static int32_t BuildParamSetForGenerateKey(struct HksParamSet **outParamSet) in BuildParamSetForGenerateKey() argument 119 *outParamSet = paramSet; in BuildParamSetForGenerateKey()
|