Home
last modified time | relevance | path

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

/openbmc/linux/lib/lz4/
H A Dlz4hc_compress.c649 if (ctxPtr->end >= ctxPtr->base + 4) { in LZ4HC_setExternalDict()
651 LZ4HC_Insert(ctxPtr, ctxPtr->end - 3); in LZ4HC_setExternalDict()
658 ctxPtr->lowLimit = ctxPtr->dictLimit; in LZ4HC_setExternalDict()
659 ctxPtr->dictLimit = (U32)(ctxPtr->end - ctxPtr->base); in LZ4HC_setExternalDict()
660 ctxPtr->dictBase = ctxPtr->base; in LZ4HC_setExternalDict()
661 ctxPtr->base = newBlock - ctxPtr->dictLimit; in LZ4HC_setExternalDict()
664 ctxPtr->nextToUpdate = ctxPtr->dictLimit; in LZ4HC_setExternalDict()
682 if ((size_t)(ctxPtr->end - ctxPtr->base) > 2 * GB) { in LZ4_compressHC_continue_generic()
683 size_t dictSize = (size_t)(ctxPtr->end - ctxPtr->base) in LZ4_compressHC_continue_generic()
707 if (ctxPtr->dictLimit - ctxPtr->lowLimit < 4) in LZ4_compressHC_continue_generic()
[all …]
/openbmc/phosphor-net-ipmid/
H A Dcrypt_algo.cpp106 std::unique_ptr<EVP_CIPHER_CTX, decltype(cleanupFunc)> ctxPtr( in decryptData() local
114 if (!EVP_DecryptInit_ex(ctxPtr.get(), EVP_aes_128_cbc(), NULL, k2.data(), in decryptData()
126 EVP_CIPHER_CTX_set_padding(ctxPtr.get(), 0); in decryptData()
140 if (!EVP_DecryptUpdate(ctxPtr.get(), output.data(), &outputLen, input, in decryptData()
167 std::unique_ptr<EVP_CIPHER_CTX, decltype(cleanupFunc)> ctxPtr( in encryptData() local
175 if (!EVP_EncryptInit_ex(ctxPtr.get(), EVP_aes_128_cbc(), NULL, k2.data(), in encryptData()
187 EVP_CIPHER_CTX_set_padding(ctxPtr.get(), 0); in encryptData()
199 if (!EVP_EncryptUpdate(ctxPtr.get(), output.data() + AESCBC128ConfHeader, in encryptData()