Home
last modified time | relevance | path

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

/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/md/src/
Dmd_openssl.c89 unsigned char outputBuf[EVP_MAX_MD_SIZE]; in OpensslEngineDoFinalMd() local
91 int32_t ret = Openssl_EVP_DigestFinal_ex(localCtx, outputBuf, &outputLen); in OpensslEngineDoFinalMd()
102 (void)memcpy_s(output->data, outputLen, outputBuf, outputLen); in OpensslEngineDoFinalMd()
/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/hmac/src/
Dmac_openssl.c116 unsigned char outputBuf[EVP_MAX_MD_SIZE]; in OpensslEngineDoFinalMac() local
118 int32_t ret = Openssl_HMAC_Final(OpensslGetMacCtx(self), outputBuf, &outputLen); in OpensslEngineDoFinalMac()
129 (void)memcpy_s(output->data, outputLen, outputBuf, outputLen); in OpensslEngineDoFinalMac()