Home
last modified time | relevance | path

Searched refs:MAX_LEN_CERT_ALIAS (Results 1 – 9 of 9) sorted by relevance

/base/security/certificate_manager/frameworks/cert_manager_standard/main/common/include/
Dcm_type.h44 #define MAX_LEN_CERT_ALIAS 64 macro
214 char certAlias[MAX_LEN_CERT_ALIAS];
222 char certAlias[MAX_LEN_CERT_ALIAS];
234 char certAlias[MAX_LEN_CERT_ALIAS];
242 char certAlias[MAX_LEN_CERT_ALIAS];
273 char alias[MAX_LEN_CERT_ALIAS];
282 char alias[MAX_LEN_CERT_ALIAS];
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_service/main/os_dependency/idl/cm_ipc/
Dcm_ipc_service_serialization.c126 … sizeof(uint32_t) + MAX_LEN_URI + sizeof(uint32_t) + MAX_LEN_CERT_ALIAS) * MAX_COUNT_CERTIFICATE; in CmGetCertListPack()
197 MAX_LEN_CERT_ALIAS + sizeof(uint32_t); in CmServiceGetCertInfoPack()
218 certAlias.size = MAX_LEN_CERT_ALIAS; in CmServiceGetCertInfoPack()
219 certAlias.data = (uint8_t *)CmMalloc(MAX_LEN_CERT_ALIAS); in CmServiceGetCertInfoPack()
223 (void)memset_s(certAlias.data, MAX_LEN_CERT_ALIAS, 0, MAX_LEN_CERT_ALIAS); in CmServiceGetCertInfoPack()
Dcm_ipc_service.c373 MAX_LEN_URI + sizeof(uint32_t) + MAX_LEN_CERT_ALIAS) * MAX_COUNT_CERTIFICATE; in CmServiceGetAppCertListPack()
392 uint8_t aliasBuf[MAX_LEN_CERT_ALIAS] = {0}; in CmServiceGetAppCertListPack()
519 sizeof(uint32_t) + MAX_LEN_CERT_ALIAS + sizeof(uint32_t) + MAX_LEN_URI + in CmAppCertificateInfoPack()
534 uint8_t aliasBuf[MAX_LEN_CERT_ALIAS] = {0}; in CmAppCertificateInfoPack()
/base/security/certificate_manager/frameworks/cert_manager_standard/main/os_dependency/cm_ipc/src/
Dcm_ipc_client_serialization.c124 …if (memcpy_s(certificateList->certAbstract[i].certAlias, MAX_LEN_CERT_ALIAS, blob.data, blob.size)… in CmCertificateListUnpackFromService()
229 (void)memset_s(cInfo->certAlias, MAX_LEN_CERT_ALIAS, 0, MAX_LEN_CERT_ALIAS); in CmCertificateInfoUnpackFromService()
230 if (memcpy_s(cInfo->certAlias, MAX_LEN_CERT_ALIAS, bufBlob.data, bufBlob.size) != EOK) { in CmCertificateInfoUnpackFromService()
Dcm_ipc_client.c44 … sizeof(uint32_t) + MAX_LEN_URI + sizeof(uint32_t) + MAX_LEN_CERT_ALIAS) * MAX_COUNT_CERTIFICATE; in GetCertListInitOutData()
101 MAX_LEN_CERT_ALIAS + sizeof(uint32_t); in GetCertInfoInitOutData()
299 MAX_LEN_URI + sizeof(uint32_t) + MAX_LEN_CERT_ALIAS) * MAX_COUNT_CERTIFICATE; in GetAppCertListInitBlob()
375 …if (memcpy_s(certificateList->credentialAbstract[i].alias, MAX_LEN_CERT_ALIAS, blob.data, blob.siz… in CmAppCertListUnpackFromService()
438 sizeof(uint32_t) + MAX_LEN_CERT_ALIAS + sizeof(uint32_t) + MAX_LEN_URI + in GetAppCertInitBlob()
479 if (memcpy_s(certificateInfo->alias, MAX_LEN_CERT_ALIAS, blob.data, blob.size) != EOK) { in CmGetAppCertFromBuffer()
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/
Dcert_manager_query.c353 certBlob->certAlias[i].size = MAX_LEN_CERT_ALIAS; in CmMallocCertBlob()
354 certBlob->certAlias[i].data = (uint8_t *)CMMalloc(MAX_LEN_CERT_ALIAS); in CmMallocCertBlob()
358 (void)memset_s(certBlob->certAlias[i].data, MAX_LEN_CERT_ALIAS, 0, MAX_LEN_CERT_ALIAS); in CmMallocCertBlob()
Dcert_manager_check.c166 certAlias->size > MAX_LEN_CERT_ALIAS) { in CmServiceInstallAppCertCheck()
Dcert_manager.c471 if (certAlias->size > MAX_LEN_CERT_ALIAS) { in CmWriteUserCert()
/base/security/certificate_manager/test/unittest/src/
Dcm_user_cert_test.cpp643 char aliasBuf004[MAX_LEN_CERT_ALIAS];
644 (void)snprintf_s(aliasBuf004, MAX_LEN_CERT_ALIAS, MAX_LEN_CERT_ALIAS - 1, "%s%u", alias, i);