Update to qatengine v1.3.0

Signed-off-by: Yogaraj Alamenda <yogarajx.alamenda@intel.com>
This commit is contained in:
Yogaraj Alamenda 2023-08-16 08:42:22 +01:00
parent 5c21176738
commit 1d54ebf784
4 changed files with 8 additions and 36 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
/qatengine-1.2.0.tar.gz /qatengine-1.3.0.tar.gz

View File

@ -1,28 +0,0 @@
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

View File

@ -4,8 +4,8 @@
%global enginesdir %(pkg-config --variable=enginesdir libcrypto) %global enginesdir %(pkg-config --variable=enginesdir libcrypto)
Name: qatengine Name: qatengine
Version: 1.2.0 Version: 1.3.0
Release: 2%{?dist} Release: 1%{?dist}
Summary: Intel QuickAssist Technology (QAT) OpenSSL Engine Summary: Intel QuickAssist Technology (QAT) OpenSSL Engine
# Most of the source code is BSD, with the following exceptions: # Most of the source code is BSD, with the following exceptions:
@ -16,9 +16,6 @@ License: BSD-3-Clause AND OpenSSL
URL: https://github.com/intel/QAT_Engine URL: https://github.com/intel/QAT_Engine
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
# https://github.com/intel/QAT_Engine/pull/262
Patch0: 0001-Fix-build-with-intel-ipsec-mb-1.4.patch
# https://bugzilla.redhat.com/show_bug.cgi?id=1909065 # https://bugzilla.redhat.com/show_bug.cgi?id=1909065
ExclusiveArch: x86_64 ExclusiveArch: x86_64
@ -41,7 +38,7 @@ for both hardware and optimized software using Intel QuickAssist Technology
enabled Intel platforms. enabled Intel platforms.
%prep %prep
%autosetup -n QAT_Engine-%{version} -p1 %autosetup -n QAT_Engine-%{version}
%build %build
autoreconf -ivf autoreconf -ivf
@ -73,6 +70,9 @@ openssl engine -v %{name}
%{enginesdir}/%{name}.so %{enginesdir}/%{name}.so
%changelog %changelog
* Wed Aug 09 2023 Yogaraj Alamenda <yogarajx.alamenda@intel.com> - 1.3.0-1
- Update to qatengine v1.3.0
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-2 * Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (qatengine-1.2.0.tar.gz) = 8127603d3f0999457d1ef423b1cf0064d6ea99061622723e223125da142b4fe1f2230c38c67b8cc9e94f96eb50f6e695bd46b3f684ba15f76d103f2da0ef91fd SHA512 (qatengine-1.3.0.tar.gz) = b964411c68a6119046d005f83a64a2a4c90b667ccb1a95143e7075c5e66396e8d11145f8cca79a8260a34664c508caca4b0e504603d8359451453e275879fc81