QAT_Engine icon indicating copy to clipboard operation
QAT_Engine copied to clipboard

Failed to call EVP_EncryptUpdate multiple times in AES-GCM mode

Open foxriver1025 opened this issue 1 year ago • 1 comments

https://github.com/intel/QAT_Engine/blob/26b4d6c34f32ac3bd21ebb78afc4c7428a70b1f8/qat_hw_gcm.c#L1015C7-L1015C7 The code here uses full mode, it should be in partial mode when calling EVP_EncryptUpdate multiple times, so it is failed. Does QAT_Enigne not support calling EVP_EncryptUpdate multiple times in AES-GCM mode?

foxriver1025 avatar Oct 12 '23 05:10 foxriver1025

The support for partials is not supported in QAT Engine for AES-GCM. Let me check on the background on it and comeback.

Yogaraj-Alamenda avatar Oct 17 '23 03:10 Yogaraj-Alamenda