Searched refs:CmParamSet (Results 1 – 14 of 14) sorted by relevance
/base/security/certificate_manager/frameworks/cert_manager_standard/main/common/include/ |
D | cm_param.h | 23 #define CM_DEFAULT_PARAM_CNT ((uint32_t)((CM_DEFAULT_PARAM_SET_SIZE - sizeof(struct CmParamSet)) / \ 33 int32_t CmInitParamSet(struct CmParamSet **paramSet); 35 int32_t CmBuildParamSet(struct CmParamSet **paramSet); 37 void CmFreeParamSet(struct CmParamSet **paramSet); 39 int32_t CmGetParam(const struct CmParamSet *paramSet, uint32_t tag, struct CmParam **param); 41 int32_t CmGetParamSet(const struct CmParamSet *inParamSet, uint32_t inParamSetSize, struct CmParamS… 43 int32_t CmAddParams(struct CmParamSet *paramSet, const struct CmParam *params, uint32_t paramCnt);
|
/base/security/certificate_manager/frameworks/cert_manager_standard/main/common/src/ |
D | cm_param.c | 31 int32_t CmInitParamSet(struct CmParamSet **paramSet) in CmInitParamSet() 38 *paramSet = (struct CmParamSet *)CmMalloc(CM_DEFAULT_PARAM_SET_SIZE); in CmInitParamSet() 44 (*paramSet)->paramSetSize = sizeof(struct CmParamSet); in CmInitParamSet() 48 static int32_t CmCheckParamSet(const struct CmParamSet *paramSet, uint32_t size) in CmCheckParamSet() 54 if ((size < sizeof(struct CmParamSet)) || (size > CM_PARAM_SET_MAX_SIZE) || in CmCheckParamSet() 56 (paramSet->paramsCnt > ((size - sizeof(struct CmParamSet)) / sizeof(struct CmParam)))) { in CmCheckParamSet() 63 static int32_t CmFreshParamSet(struct CmParamSet *paramSet, bool isCopy) in CmFreshParamSet() 76 uint32_t offset = sizeof(struct CmParamSet) + sizeof(struct CmParam) * paramSet->paramsCnt; in CmFreshParamSet() 106 static int32_t BuildParamSet(struct CmParamSet **paramSet) in BuildParamSet() 108 struct CmParamSet *freshParamSet = *paramSet; in BuildParamSet() [all …]
|
/base/security/certificate_manager/test/unittest/module_test/src/ |
D | cm_param_test.cpp | 85 struct CmParamSet *paramSet = nullptr; 103 struct CmParamSet paramSet = { CM_PARAM_SET_MAX_SIZE + 1, 0 }; 119 struct CmParamSet *paramSet = nullptr; 140 struct CmParamSet *paramSet = nullptr; 162 struct CmParamSet *paramSet = nullptr; 184 struct CmParamSet *paramSet = nullptr; 220 struct CmParamSet *paramSet = nullptr; 238 struct CmParamSet paramSet = {CM_PARAM_SET_MAX_SIZE + 1, 1 }; 252 struct CmParamSet paramSet = { sizeof(struct CmParamSet) - 1, 1 }; 266 struct CmParamSet paramSet = { sizeof(struct CmParamSet), 1 }; [all …]
|
/base/security/certificate_manager/test/fuzz_test/cmsendrequest_fuzzer/ |
D | cmsendrequest_fuzzer.cpp | 27 …uint32_t minSize = sizeof(CertManagerInterfaceCode) + sizeof(struct CmParamSet) + sizeof(struct Cm… in DoSomethingInterestingWithMyAPI() 44 struct CmParamSet *sendParamSet = nullptr; in DoSomethingInterestingWithMyAPI()
|
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_service/main/os_dependency/idl/cm_ipc/ |
D | cm_ipc_service.c | 39 static int32_t GetInputParams(const struct CmBlob *paramSetBlob, struct CmParamSet **paramSet, in GetInputParams() 49 ret = CmGetParamSet((struct CmParamSet *)paramSetBlob->data, paramSetBlob->size, paramSet); in GetInputParams() 71 struct CmParamSet *paramSet = NULL; in CmIpcServiceGetCertificateList() 123 struct CmParamSet *paramSet = NULL; in CmIpcServiceGetCertificateInfo() 172 struct CmParamSet *paramSet = NULL; in CmIpcServiceSetCertStatus() 207 struct CmParamSet *paramSet = NULL; in CmIpcServiceInstallAppCert() 247 struct CmParamSet *paramSet = NULL; in CmIpcServiceUninstallAppCert() 440 struct CmParamSet *paramSet = NULL; in CmIpcServiceGetAppCertList() 593 struct CmParamSet *paramSet = NULL; in CmIpcServiceGetAppCert() 666 struct CmParamSet *paramSet = NULL; in CmIpcServiceGrantAppCertificate() [all …]
|
D | cm_ipc_service_serialization.h | 29 int32_t CmParamSetToParams(const struct CmParamSet *paramSet, struct CmParamOut *outParams, uint32_…
|
D | cm_ipc_service_serialization.c | 84 static int32_t GetNullBlobParam(const struct CmParamSet *paramSet, struct CmParamOut *outParams) in GetNullBlobParam() 103 int32_t CmParamSetToParams(const struct CmParamSet *paramSet, struct CmParamOut *outParams, uint32_… in CmParamSetToParams()
|
/base/security/certificate_manager/frameworks/cert_manager_standard/main/os_dependency/cm_ipc/src/ |
D | cm_ipc_client.c | 25 struct CmBlob *parcelBlob, struct CmParamSet **sendParamSet) in CmSendParcelInit() 60 struct CmParamSet *sendParamSet = NULL; in GetCertificateList() 117 struct CmParamSet *sendParamSet = NULL; in GetCertificateInfo() 164 struct CmParamSet *sendParamSet = NULL; in SetCertificateStatus() 198 struct CmParamSet *sendParamSet = NULL; in InstallAppCert() 242 struct CmParamSet *sendParamSet = NULL; in UninstallAppCert() 388 struct CmParamSet *sendParamSet = NULL; in GetAppCertList() 543 struct CmParamSet *sendParamSet = NULL; in GetAppCert() 594 struct CmParamSet *sendParamSet = NULL; in ClientSerializationAndSend() 825 struct CmParamSet *sendParamSet = NULL; in GetUserCertList() [all …]
|
D | cm_ipc_client_serialization.c | 242 int32_t CmParamsToParamSet(struct CmParam *params, uint32_t cnt, struct CmParamSet **outParamSet) in CmParamsToParamSet() 244 struct CmParamSet *newParamSet = NULL; in CmParamsToParamSet()
|
/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_manager/test/fuzz_test/fuzz_test_common/include/ |
D | cm_fuzz_test_common.h | 37 CertManagerInterfaceCode code, struct CmParamSet **paramSetOut);
|
/base/security/certificate_manager/test/fuzz_test/cmonremoterequest_fuzzer/ |
D | cmonremoterequest_fuzzer.cpp | 51 struct CmParamSet *paramSet = nullptr; in DoSomethingInterestingWithMyAPI()
|
/base/security/certificate_manager/test/fuzz_test/fuzz_test_common/src/ |
D | cm_fuzz_test_common.cpp | 261 uint32_t *offset, CertManagerInterfaceCode code, struct CmParamSet **paramSetOut) in ConstructParamSet() 318 struct CmParamSet *paramSet = nullptr; in IpcServiceApiFuzzerTest()
|
/base/security/certificate_manager/interfaces/innerkits/cert_manager_standard/main/include/ |
D | cm_type.h | 320 struct CmParamSet { struct
|