Home
last modified time | relevance | path

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

/base/security/appverify/interfaces/innerkits/appverify_lite/src/
H A Dapp_verify_hap.c75 unsigned char *outbuf = APPV_MALLOC(hlen); in ComputeBlockHash() local
76 P_NULL_GOTO_WTTH_LOG(outbuf); in ComputeBlockHash()
77 ret = mbedtls_md_finish(mdCtx, outbuf); in ComputeBlockHash()
78 HapPutData(result, *offset, outbuf, hlen); in ComputeBlockHash()
80 (void)memset_s(outbuf, hlen, 0, hlen); in ComputeBlockHash()
81 APPV_FREE(outbuf); in ComputeBlockHash()
115 unsigned char* outbuf = NULL; in ComputeDigestsWithOptionalBlock() local
144 outbuf = (unsigned char *)APPV_MALLOC(rootHashLen); in ComputeDigestsWithOptionalBlock()
145 P_NULL_GOTO_WTTH_LOG(outbuf); in ComputeDigestsWithOptionalBlock()
146 ret = mbedtls_md_finish(mdCtx, outbuf); in ComputeDigestsWithOptionalBlock()
231 unsigned char *outbuf = APPV_MALLOC(hlen); ComputerFileHash() local
[all...]

Completed in 1 milliseconds