Home
last modified time | relevance | path

Searched refs:rawBuf (Results 1 - 2 of 2) sorted by relevance

/base/security/appverify/interfaces/innerkits/appverify_lite/src/
H A Dapp_verify_hap.c114 char *rawBuf = NULL; in ComputeDigestsWithOptionalBlock() local
138 rawBuf = GetSignBlockByType(signInfo, fp, PROFILE_BLOCK_WITHSIGN_TYPE, &rawLen, &blockHead); in ComputeDigestsWithOptionalBlock()
139 P_NULL_GOTO_WTTH_LOG(rawBuf); in ComputeDigestsWithOptionalBlock()
141 LOG_INFO("signBuf %0x %d", rawBuf[0], readLen); in ComputeDigestsWithOptionalBlock()
142 ret = mbedtls_md_update(mdCtx, (unsigned char *)rawBuf, readLen); in ComputeDigestsWithOptionalBlock()
154 APPV_FREE(rawBuf); in ComputeDigestsWithOptionalBlock()
H A Dapp_verify.c761 char *rawBuf = GetSignBlockByType(signInfo, fp, PROFILE_BLOCK_WITHSIGN_TYPE, &rawLen, &blockHead); in VerifyProfGetContent() local
762 P_NULL_RETURN_RET_WTTH_LOG(rawBuf, V_ERR_GET_PROFILE_DATA); in VerifyProfGetContent()
766 profBuf = rawBuf; in VerifyProfGetContent()
770 ret = VerifyProfileSignGetRaw(rawBuf, rawLen, &profBuf, &len); in VerifyProfGetContent()
771 APPV_FREE(rawBuf); in VerifyProfGetContent()

Completed in 3 milliseconds