intel / QAT_Engine

Intel QuickAssist Technology( QAT) OpenSSL Engine (an OpenSSL Plug-In Engine) which provides cryptographic acceleration for both hardware and optimized software using Intel QuickAssist Technology enabled Intel platforms. https://developer.intel.com/quickassist
BSD 3-Clause "New" or "Revised" License
410 stars 128 forks source link

qat_hw_sm3_copy的疑问 #279

Open foxriver1025 opened 1 year ago

foxriver1025 commented 1 year ago

https://github.com/intel/QAT_Engine/blob/26b4d6c34f32ac3bd21ebb78afc4c7428a70b1f8/qat_hw_sm3.c#L590C34-L590C34 此处为什么不需要把qat_from中缓存的data拷贝给qat_to呢,而仅仅是data_refs++?那么等到qat_from要cleanup时岂不是由于data_refs不为0,从而释放不了data内存?

Yogaraj-Alamenda commented 11 months ago

Hi @foxriver1025 Sorry for missing this out. Can you share the details in English if possible ?