Searched refs:outputBuf (Results 1 – 2 of 2) sorted by relevance
/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/md/src/ |
D | md_openssl.c | 89 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/ |
D | mac_openssl.c | 116 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()
|