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/ |
D | cm_type.h | 44 #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/ |
D | cm_ipc_service_serialization.c | 126 … 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()
|
D | cm_ipc_service.c | 373 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/ |
D | cm_ipc_client_serialization.c | 124 …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()
|
D | cm_ipc_client.c | 44 … 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/ |
D | cert_manager_query.c | 353 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()
|
D | cert_manager_check.c | 166 certAlias->size > MAX_LEN_CERT_ALIAS) { in CmServiceInstallAppCertCheck()
|
D | cert_manager.c | 471 if (certAlias->size > MAX_LEN_CERT_ALIAS) { in CmWriteUserCert()
|
/base/security/certificate_manager/test/unittest/src/ |
D | cm_user_cert_test.cpp | 643 char aliasBuf004[MAX_LEN_CERT_ALIAS]; 644 (void)snprintf_s(aliasBuf004, MAX_LEN_CERT_ALIAS, MAX_LEN_CERT_ALIAS - 1, "%s%u", alias, i);
|