29 lines
986 B
Diff
29 lines
986 B
Diff
|
From 9d3a778a585dcaa55ef345505cda073dacbf9236 Mon Sep 17 00:00:00 2001
|
||
|
From: Yaakov Selkowitz <yselkowi@redhat.com>
|
||
|
Date: Fri, 21 Jul 2023 13:37:07 -0400
|
||
|
Subject: [PATCH] Fix build with intel-ipsec-mb 1.4
|
||
|
|
||
|
1.4 dropped all 0.53 backwards compatibility symbols.
|
||
|
|
||
|
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
|
||
|
---
|
||
|
qat_evp.c | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/qat_evp.c b/qat_evp.c
|
||
|
index 2d6f05a..ca95fe1 100644
|
||
|
--- a/qat_evp.c
|
||
|
+++ b/qat_evp.c
|
||
|
@@ -755,7 +755,7 @@ const EVP_CIPHER *qat_create_gcm_cipher_meth(int nid, int keylen)
|
||
|
|
||
|
#ifdef ENABLE_QAT_SW_GCM
|
||
|
if (qat_sw_offload && (qat_sw_algo_enable_mask & ALGO_ENABLE_MASK_AES_GCM)) {
|
||
|
- res &= EVP_CIPHER_meth_set_iv_length(c, GCM_IV_DATA_LEN);
|
||
|
+ res &= EVP_CIPHER_meth_set_iv_length(c, IMB_GCM_IV_DATA_LEN);
|
||
|
res &= EVP_CIPHER_meth_set_flags(c, VAESGCM_FLAG);
|
||
|
#ifndef QAT_OPENSSL_PROVIDER
|
||
|
res &= EVP_CIPHER_meth_set_init(c, vaesgcm_ciphers_init);
|
||
|
--
|
||
|
2.41.0
|
||
|
|