Searched refs:APPV_MALLOC (Results 1 – 6 of 6) sorted by relevance
49 mbedtls_md_context_t *mdCtx = APPV_MALLOC(sizeof(mbedtls_md_context_t)); in ComputeBlockHash()75 unsigned char *outbuf = APPV_MALLOC(hlen); in ComputeBlockHash()123 mbedtls_md_context_t *mdCtx = APPV_MALLOC(sizeof(mbedtls_md_context_t)); in ComputeDigestsWithOptionalBlock()144 outbuf = (unsigned char *)APPV_MALLOC(rootHashLen); in ComputeDigestsWithOptionalBlock()192 unsigned char *onceBuf = APPV_MALLOC(onceRead); in UpdateSmallBlock()211 mbedtls_md_context_t *mdCtx = APPV_MALLOC(sizeof(mbedtls_md_context_t)); in ComputerFileHash()231 unsigned char *outbuf = APPV_MALLOC(hlen); in ComputerFileHash()256 char *dirBuf = APPV_MALLOC(centralDirSize); in ComputerCoreDirHash()278 HapEocd *eocdBuf = APPV_MALLOC(signInfo->hapEocdSize); in ComputerEocdHash()
53 char *value = APPV_MALLOC(objLen + 1); in GetStringTag()94 char **value = APPV_MALLOC(sizeof(char *) * num); in GetStringArrayTag()111 value[i] = APPV_MALLOC(len + 1); in GetStringArrayTag()166 profVal->devCert = APPV_MALLOC(sizeof(char)); in GetProfBundleInfo()174 profVal->releaseCert = APPV_MALLOC(sizeof(char)); in GetProfBundleInfo()221 pf->issuer = APPV_MALLOC(len + 1); in GetProfIssuerInfo()313 pf->appDistType = APPV_MALLOC(sizeof(char)); in ParseProfile()386 unsigned char *udid = APPV_MALLOC(size); in VerifyUdid()
137 HwSignHead *signHead = APPV_MALLOC(sizeof(HwSignHead)); in GetSignHead()220 char *buf = APPV_MALLOC(blockHead->length + 1); in GetSignBlockByType()495 Pkcs7 *pkcs7 = APPV_MALLOC(sizeof(Pkcs7)); in VerifyProfileSignGetRaw()531 profileData = APPV_MALLOC(inputLen + 1); in VerifyProfileSignGetRaw()552 unsigned char *buf = APPV_MALLOC(MAX_PK_BUF); in GetRsaPk()572 unsigned char *pkBuf = APPV_MALLOC(pkLen); in GetRsaPk()624 unsigned char *pkBuf = APPV_MALLOC(*len); in GetEcPk()725 char *appid = APPV_MALLOC(appidLen); in GetAppid()957 CertInfo *certInfo = APPV_MALLOC(sizeof(CertInfo)); in GetCertInfo()1064 Pkcs7 *pkcs7 = APPV_MALLOC(sizeof(Pkcs7)); in GetBinSignPkcs()[all …]
36 char *path = APPV_MALLOC(PATH_MAX + 1); in InitVerify()
76 hapBuffer->buffer = APPV_MALLOC(len); in CreateHapBuffer()
97 #define APPV_MALLOC(size) malloc(size) macro