Searched refs:MAX_LEN_URI (Results 1 – 12 of 12) sorted by relevance
/base/security/certificate_manager/frameworks/cert_manager_standard/main/common/include/ |
D | cm_type.h | 42 #define MAX_LEN_URI 64 macro 212 char uri[MAX_LEN_URI]; 221 char uri[MAX_LEN_URI]; 241 char uri[MAX_LEN_URI]; 274 char keyUri[MAX_LEN_URI]; 283 char keyUri[MAX_LEN_URI];
|
/base/security/certificate_manager/test/unittest/src/ |
D | cm_app_cert_test.cpp | 132 char retUriBuf[MAX_LEN_URI] = {0}; 156 uint8_t keyUriBuf[MAX_LEN_URI] = {0}; 185 uint8_t keyUriBuf[MAX_LEN_URI] = {0}; 206 uint8_t keyUriBuf[MAX_LEN_URI] = {0}; 224 uint8_t keyUriBuf[MAX_LEN_URI] = {0}; 251 uint8_t uriBuf[MAX_LEN_URI] = {0}; 281 uint8_t uriBuf[MAX_LEN_URI] = {0}; 313 uint8_t uriBuf[MAX_LEN_URI] = {0}; 385 uint8_t uriBuf[MAX_LEN_URI] = {0}; 423 uint8_t uriBuf[MAX_LEN_URI] = {0}; [all …]
|
D | cm_set_status_test.cpp | 25 char uri[MAX_LEN_URI];
|
D | cm_test_common.cpp | 300 uint8_t uriData[MAX_LEN_URI] = {0}; in TestGenerateAppCert()
|
/base/security/certificate_manager/interfaces/kits/napi/src/ |
D | cm_napi_install_app_cert_common.cpp | 136 keyUri->data = static_cast<uint8_t *>(CmMalloc(MAX_LEN_URI)); in InitKeyUri() 142 (void)memset_s(keyUri->data, MAX_LEN_URI, 0, MAX_LEN_URI); in InitKeyUri() 143 keyUri->size = MAX_LEN_URI; in InitKeyUri()
|
/base/security/certificate_manager/frameworks/cert_manager_standard/main/os_dependency/cm_ipc/src/ |
D | cm_ipc_client_serialization.c | 114 … if (memcpy_s(certificateList->certAbstract[i].uri, MAX_LEN_URI, blob.data, blob.size) != EOK) { in CmCertificateListUnpackFromService() 235 (void)memset_s(cInfo->uri, MAX_LEN_URI, 0, MAX_LEN_URI); /* uri */ in CmCertificateInfoUnpackFromService() 236 if (memcpy_s(cInfo->uri, MAX_LEN_URI, certUri->data, certUri->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() 299 MAX_LEN_URI + sizeof(uint32_t) + MAX_LEN_CERT_ALIAS) * MAX_COUNT_CERTIFICATE; in GetAppCertListInitBlob() 365 …if (memcpy_s(certificateList->credentialAbstract[i].keyUri, MAX_LEN_URI, blob.data, blob.size) != … in CmAppCertListUnpackFromService() 438 sizeof(uint32_t) + MAX_LEN_CERT_ALIAS + sizeof(uint32_t) + MAX_LEN_URI + in GetAppCertInitBlob() 469 if (memcpy_s(certificateInfo->keyUri, MAX_LEN_URI, 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 | 339 certBlob->uri[i].size = MAX_LEN_URI; in CmMallocCertBlob() 340 certBlob->uri[i].data = (uint8_t *)CMMalloc(MAX_LEN_URI); in CmMallocCertBlob() 344 (void)memset_s(certBlob->uri[i].data, MAX_LEN_URI, 0, MAX_LEN_URI); in CmMallocCertBlob() 468 if (memcpy_s(certBlob->uri[i].data, MAX_LEN_URI, cFileList[i].fileName.data, in CmGetCertListInfo()
|
D | cert_manager.c | 310 char uriBuf[MAX_LEN_URI] = {0}; in CmRemoveSpecifiedAppCert() 484 if (certUri->size > MAX_LEN_URI) { in CmWriteUserCert()
|
D | cert_manager_status.c | 796 char fn[MAX_LEN_URI] = {0}; in CertManagerStatusFile() 797 if (memcpy_s(fn, MAX_LEN_URI, certFile.fileName->data, certFile.fileName->size) != EOK) { in CertManagerStatusFile()
|
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_service/main/os_dependency/idl/cm_ipc/ |
D | cm_ipc_service.c | 350 char uriBuf[MAX_LEN_URI] = {0}; in CmCertListGetAppCertInfo() 373 MAX_LEN_URI + sizeof(uint32_t) + MAX_LEN_CERT_ALIAS) * MAX_COUNT_CERTIFICATE; in CmServiceGetAppCertListPack() 390 uint8_t certUriBuf[MAX_LEN_URI] = {0}; in CmServiceGetAppCertListPack() 519 sizeof(uint32_t) + MAX_LEN_CERT_ALIAS + sizeof(uint32_t) + MAX_LEN_URI + in CmAppCertificateInfoPack() 533 uint8_t certUriBuf[MAX_LEN_URI] = {0}; in CmAppCertificateInfoPack()
|
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()
|