crypto/qat: fix build when no openssl exists
Akhil Goyal
AppliedQuoted 8 lines
Previously some compilation errors existed when no openssl was installed on the system, and intel-ipsec-mb was installed, due to missing headers and macros.
This patch fixes the issue by adding in extra ifdefs around openssl specific code paths, and by adding the relevant macros explicitly in QAT code so it does not depend on openssl at all.
Quoted 5 lines
Fixes ca0ba0e48129 ("crypto/qat: default to IPsec MB for computations")Signed-off-by Ciara Power <[email protected]>
Applied to dpdk-next-crypto
Thanks.
Dooley, Brian
Acked-byHi Ciara,
Quoted 16 lines
-----Original Message-----
From: Power, Ciara <[email protected]>
Sent: Friday, October 27, 2023 3:23 PM
To: [email protected]
Cc: Power, Ciara <[email protected]>; Dooley, Brian <[email protected]>; [email protected]; Ji, Kai <[email protected]>
Subject: [PATCH]crypto/qat: fix build when no openssl existsPreviously some compilation errors existed when no openssl was installed on the system, and intel-ipsec-mb was installed, due to missing headers and macros.
This patch fixes the issue by adding in extra ifdefs around openssl specific code paths, and by adding the relevant macros explicitly in QAT code so it does not depend on openssl at all.
Quoted 5 lines
Fixes ca0ba0e48129 ("crypto/qat: default to IPsec MB for computations")Signed-off-by Ciara Power <[email protected]>
Thanks!