RE: [EXT] [PATCH v2] crypto/qat: fix docsis segmentation fault

2022-06-29 Thread Akhil Goyal
> Currently if AES or DES algorithms fail for Docsis test suite, > a segmentation fault occurs when cryptodev_qat_autotest is ran. > > This is due to a duplicate call of EVP_CIPHER_CTX_free for the > session context. Ctx is freed firstly in the bpi_cipher_ctx_init > function and then again at the

[PATCH v2] crypto/qat: fix docsis segmentation fault

2022-06-29 Thread Rebecca Troy
Currently if AES or DES algorithms fail for Docsis test suite, a segmentation fault occurs when cryptodev_qat_autotest is ran. This is due to a duplicate call of EVP_CIPHER_CTX_free for the session context. Ctx is freed firstly in the bpi_cipher_ctx_init function and then again at the end of qat_s