Home
last modified time | relevance | path

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

/base/security/appverify/interfaces/innerkits/appverify_lite/src/
H A Dapp_verify_hap.c45 const mbedtls_md_info_t *mdInfo = mbedtls_md_info_from_type((mbedtls_md_type_t)alg); in ComputeBlockHash() local
46 P_NULL_RETURN_WTTH_LOG(mdInfo); in ComputeBlockHash()
55 int32_t ret = mbedtls_md_setup(mdCtx, mdInfo, 0); in ComputeBlockHash()
57 size_t hlen = mbedtls_md_get_size(mdInfo); in ComputeBlockHash()
121 const mbedtls_md_info_t *mdInfo = mbedtls_md_info_from_type((mbedtls_md_type_t)digestAlgorithm); in ComputeDigestsWithOptionalBlock() local
122 P_NULL_RETURN_WTTH_LOG(mdInfo); in ComputeDigestsWithOptionalBlock()
126 int32_t ret = mbedtls_md_setup(mdCtx, mdInfo, 0); in ComputeDigestsWithOptionalBlock()
161 const mbedtls_md_info_t *mdInfo, int32_t readLen, size_t *hlen) in HapUpdateDigistHead()
164 int32_t ret = mbedtls_md_setup(mdCtx, mdInfo, 0); in HapUpdateDigistHead()
168 *hlen = mbedtls_md_get_size(mdInfo); in HapUpdateDigistHead()
159 HapUpdateDigistHead( int32_t digestAlgorithm, mbedtls_md_context_t *mdCtx, const mbedtls_md_info_t *mdInfo, int32_t readLen, size_t *hlen) HapUpdateDigistHead() argument
219 const mbedtls_md_info_t *mdInfo = mbedtls_md_info_from_type((mbedtls_md_type_t)digestAlgorithm); ComputerFileHash() local
[all...]

Completed in 2 milliseconds