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