Home
last modified time | relevance | path

Searched refs:outputLen (Results 1 – 2 of 2) sorted by relevance

/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/md/src/
Dmd_openssl.c90 uint32_t outputLen; in OpensslEngineDoFinalMd() local
91 int32_t ret = Openssl_EVP_DigestFinal_ex(localCtx, outputBuf, &outputLen); in OpensslEngineDoFinalMd()
97 output->data = (uint8_t *)HcfMalloc(outputLen, 0); in OpensslEngineDoFinalMd()
102 (void)memcpy_s(output->data, outputLen, outputBuf, outputLen); in OpensslEngineDoFinalMd()
103 output->len = outputLen; in OpensslEngineDoFinalMd()
/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/hmac/src/
Dmac_openssl.c117 uint32_t outputLen; in OpensslEngineDoFinalMac() local
118 int32_t ret = Openssl_HMAC_Final(OpensslGetMacCtx(self), outputBuf, &outputLen); in OpensslEngineDoFinalMac()
124 output->data = (uint8_t *)HcfMalloc(outputLen, 0); in OpensslEngineDoFinalMac()
129 (void)memcpy_s(output->data, outputLen, outputBuf, outputLen); in OpensslEngineDoFinalMac()
130 output->len = outputLen; in OpensslEngineDoFinalMac()