Skip to content

Commit ba2035c

Browse files
naghaabiramibjayanaxYogaraj-Alamenda
committed
Bug Fixes, README update and Version bump to v1.6.0
- Version bump and Readme update - Binary RPM update - Fix AES-CCM in Openssl_3.2 provider - SVM aes-gcm testapp invalid ptr fix - Clean up duplicate mutex unlocks - Fix for system openssl sm3 compilation warns Signed-off-by: Nagha Abirami <[email protected]> Co-authored-by: Jaya Naga Venkata Sudhakar <[email protected]> Co-authored-by: Yogaraj Alamenda <[email protected]>
1 parent 4cf7a99 commit ba2035c

29 files changed

+120
-76
lines changed

README.md

+13-16
Original file line numberDiff line numberDiff line change
@@ -164,21 +164,20 @@ QAT gen4 devices.
164164
</details>
165165
</details>
166166
<details>
167-
<summary>Install OpenSSL* (Note this step is not required if OpenSSL* 1.1.1 or 3.0 is already installed)</summary>
167+
<summary>Install OpenSSL* (Note this step is not required if OpenSSL* is already installed)</summary>
168168

169169
## Build OpenSSL\*
170170

171171
This step is not required if building the Intel&reg; QAT OpenSSL\* Engine
172-
against system prebuilt OpenSSL\* 1.1.1 or 3.0. When using the prebuild system OpenSSL library
172+
against system prebuilt OpenSSL\* . When using the prebuild system OpenSSL library
173173
the engine library is installed in the system OpenSSL engines directory.
174174

175175
Clone OpenSSL\* from Github\* at the following location:
176176

177177
git clone https://github.com/openssl/openssl.git
178178

179179
It is recommended to checkout and build against the OpenSSL\* git tag
180-
specified in the Software Requirements section. OpenSSL\* Version 1.1.1
181-
and 3.0 are only supported.
180+
specified in the Software Requirements section.
182181

183182
Due to the nature of the Intel&reg; QAT OpenSSL\* Engine being a dynamic engine
184183
it can only be used with shared library builds of OpenSSL\*.
@@ -282,7 +281,7 @@ Here are a few example builds that demonstrate how the Intel&reg; QAT OpenSSL\*
282281
Engine can be configured to use qat_hw and/or qat_sw.
283282

284283
<details>
285-
<summary>Example 1: qat_hw target with OpenSSL\* 1.1.1 or 3.0 built from source</summary>
284+
<summary>Example 1: qat_hw target with OpenSSL\* built from source</summary>
286285
<br>
287286

288287
The following example is assuming:
@@ -291,7 +290,7 @@ The following example is assuming:
291290
of the drive: `/`.
292291
* The Intel&reg; QAT Driver version 1.7 or 2.0 was unpacked within `/QAT` and using
293292
the USDM component.
294-
* OpenSSL\* 1.1.1 or 3.0 built from source is being used and installed to `/usr/local/ssl`.
293+
* OpenSSL\* built from source is being used and installed to `/usr/local/ssl`.
295294

296295
To build and install the Intel&reg; QAT OpenSSL\* Engine:
297296

@@ -305,7 +304,7 @@ make install
305304
```
306305

307306
In the above example this will create the file `qatengine.so` and copy it to
308-
`/usr/local/ssl/lib/engines-1.1`.
307+
`/usr/local/ssl/lib64/engines-3`.
309308

310309
For building QAT Engine against qatlib(intree driver) from source which is
311310
installed to default location "/usr/local" use `--with-qat_hw_dir=/usr/local`
@@ -319,7 +318,7 @@ libraries and headers from the default location `/usr/lib64`.
319318
</details>
320319

321320
<details>
322-
<summary>Example 2: qat_hw target with Prebuilt OpenSSL\* 1.1.1 or 3.0</summary>
321+
<summary>Example 2: qat_hw target with Prebuilt OpenSSL\* </summary>
323322
<br>
324323

325324
The following example is assuming:
@@ -328,7 +327,7 @@ The following example is assuming:
328327
* The Intel&reg; QAT Driver was unpacked within `/QAT` and using
329328
the USDM component.
330329
* Prebuilt OpenSSL\* (both library and devel RPM packages) are installed in
331-
the system and the OpenSSL\* version is in the `1.1.1 or 3.0` series.
330+
the system and the OpenSSL\* version is `3.0` or above.
332331

333332
To build and install the Intel&reg; QAT OpenSSL\* Engine:
334333

@@ -351,7 +350,7 @@ libraries and headers from the default location `/usr/lib64`.
351350
</details>
352351

353352
<details>
354-
<summary>Example 3: qat_hw + qat_sw target with Prebuilt OpenSSL\* 1.1.1 or 3.0</summary>
353+
<summary>Example 3: qat_hw + qat_sw target with Prebuilt OpenSSL\* </summary>
355354
<br>
356355

357356
The following example is assuming:
@@ -361,7 +360,7 @@ The following example is assuming:
361360
* The Intel&reg; QAT Driver was unpacked within `/QAT` and using
362361
the USDM component.
363362
* Intel&reg; Multi-Buffer Crypto for IPsec Library was installed to the default path
364-
* OpenSSL\* 1.1.1 or 3.0 built from source is being used and installed to `/usr/local/ssl`.
363+
* OpenSSL\* built from source is being used and installed to `/usr/local/ssl`.
365364

366365
To build and install the Intel&reg; QAT OpenSSL\* Engine:
367366

@@ -376,15 +375,15 @@ make install
376375
```
377376

378377
- In the above example this will create the file `qatengine.so` and copy it to
379-
`/usr/local/ssl/lib/engines-1.1`.
378+
`/usr/local/ssl/lib64/engines-3`.
380379
- AES-GCM operations are handled by qat_sw
381380
- Other cryptographic operations are handled by qat_hw
382381

383382
<br>
384383
</details>
385384

386385
<details>
387-
<summary>Example 4: qat_sw target with Prebuilt OpenSSL\* 1.1.1 or 3.0 </summary>
386+
<summary>Example 4: qat_sw target with Prebuilt OpenSSL\* </summary>
388387
<br>
389388

390389
The following example is assuming:
@@ -395,7 +394,7 @@ The following example is assuming:
395394
(/usr/local).
396395
* The Intel&reg; Multi-Buffer crypto for IPsec Library was installed to its
397396
default path (/usr/). (Optional if QAT SW AES-GCM support is not needed).
398-
* Prebuilt OpenSSL\* 1.1.1 or 3.0 from the system is used.
397+
* Prebuilt OpenSSL\* from the system is used.
399398

400399
To build and install the Intel&reg; QAT OpenSSL\* Engine with QAT Software support:
401400

@@ -661,8 +660,6 @@ Additional information for testapp tests available with the help option
661660

662661

663662

664-
## Key Protection Technology(KPT) feature
665-
Please refer to: [KPT README](docs/KPT_Feature.md)
666663

667664
## Troubleshooting
668665
Troubleshooting information is available [here](docs/troubleshooting.md).

configure.ac

+14-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Process this file with autoconf to produce a configure script.
33

44
AC_PREREQ([2.68])
5-
AC_INIT([qatengine], [1.5.0], [])
5+
AC_INIT([qatengine], [1.6.0], [])
66
AC_CONFIG_SRCDIR([config.h.in])
77
AC_CONFIG_HEADERS([config.h])
88
AC_CONFIG_AUX_DIR([.])
@@ -638,6 +638,16 @@ then
638638
fi
639639
fi
640640
fi
641+
#System OpenSSL
642+
if test "x$with_openssl_install_dir" = "x"
643+
then
644+
AC_CHECK_LIB([crypto],[EVP_sm3],[with_sm3_support_h=yes],[with_sm3_support_h=no])
645+
if test "x$with_sm3_support_h" = "xno"
646+
then
647+
AC_SUBST([cflags_qat_hw], ["${cflags_qat_hw} -DOPENSSL_NO_SM2_SM3"])
648+
AC_MSG_NOTICE([SM3 support not available in system OpenSSL])
649+
fi
650+
fi
641651

642652
#Enable additional QAT_HW & QAT_SW flags
643653
AS_IF([test "x$enable_qat_debug" = "xyes"],
@@ -830,8 +840,11 @@ echo "QAT_SW ALGORITHMS :" [$cflags_qat_sw]
830840
echo "ADDITIONAL FLAGS :" [$cflags_common $cflags_openssl_3 $cflags_boringssl]
831841
if test "x$cflags_qat_hw" != "x"
832842
then
843+
if test "x$cflags_qat_hw_intree" = "x"
844+
then
833845
AC_CHECK_FILE(${with_qat_hw_dir}/build/libqat_s.so, [],
834846
[echo "QAT_HW Driver library not found in $with_qat_hw_dir/build. Install it & try again or proceed with 'make depend' target to install dependencies"])
847+
fi
835848
fi
836849
if test "x$cflags_qat_sw" != "x"
837850
then

docs/config_options.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ The following is a list of the options that can be used with the
161161
Disable/Enable Intel(R) QAT Hardware SM4-CBC acceleration.(disabled by default)
162162
This flag is valid only on 4xxx(QAT gen 4 devices) as the support is not available
163163
for earlier generations of QAT devices (e.g. c62x, dh895xxcc, etc.) and QAT Engine
164-
is built with BabaSSL only
164+
is built with Tongsuo only
165165
166166
--disable-qat_hw_sha3/--enable-qat_hw_sha3
167167
Disable/Enable Intel(R) QAT Hardware SHA-3 acceleration (disabled by default).
@@ -222,19 +222,19 @@ The following is a list of the options that can be used with the
222222
--disable-qat_sw_sm4_cbc/--enable-qat_sw_sm4_cbc
223223
Disable/Enable Intel(R) QAT Software SM4-CBC acceleration.
224224
This flag is valid only when QAT SW acceleration is enabled using the
225-
flag '--enable-qat_sw' and QAT Engine is built with BabaSSL only
225+
flag '--enable-qat_sw' and QAT Engine is built with Tongsuo only
226226
(disabled by default if qat_sw is enabled).
227227
228228
--disable-qat_sw_sm4_gcm/--enable-qat_sw_sm4_gcm
229229
Disable/Enable Intel(R) QAT Software SM4-GCM acceleration.
230230
This flag is valid only when QAT SW acceleration is enabled using the
231-
flag '--enable-qat_sw' and QAT Engine is built with BabaSSL only
231+
flag '--enable-qat_sw' and QAT Engine is built with Tongsuo only
232232
(disabled by default if qat_sw is enabled).
233233
234234
--disable-qat_sw_sm4_ccm/--enable-qat_sw_sm4_ccm
235235
Disable/Enable Intel(R) QAT Software SM4-CCM acceleration.
236236
This flag is valid only when QAT SW acceleration is enabled using the
237-
flag '--enable-qat_sw' and QAT Engine is built with BabaSSL only
237+
flag '--enable-qat_sw' and QAT Engine is built with Tongsuo only
238238
(disabled by default if qat_sw is enabled).
239239
240240
--enable-qat_small_pkt_offload
@@ -310,7 +310,7 @@ The following is a list of the options that can be used with the
310310
311311
--enable-qat_ntls
312312
Enable ntls in engine for handing NTLS requests which is needed for SMx
313-
with BabaSSL (disabled by default).
313+
with Tongsuo (disabled by default).
314314
315315
--enable-qat_insecure_algorithms
316316
Enables insecure algorithms RSA < 2048, DH, DSA, ECDH curves with bitlen

docs/features.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ Please refer [here](qat_hw_algo.md) for supported platforms list and default beh
4848
* NIST Prime Curves: P-256/P-384
4949
* SM2
5050
* SM3 Hash Support using 16 Multibuffer requests (Experimental)
51-
* SM4-CBC Support using 16 Multibuffer requests (BabaSSL only)
52-
* SM4-GCM Support using 16 Multibuffer requests (BabaSSL only)
53-
* SM4-CCM Support using 16 Multibuffer requests (BabaSSL only)
51+
* SM4-CBC Support using 16 Multibuffer requests (Tongsuo only)
52+
* SM4-GCM Support using 16 Multibuffer requests (Tongsuo only)
53+
* SM4-CCM Support using 16 Multibuffer requests (Tongsuo only)
5454
* AES128-GCM, AES192-GCM and AES256-GCM
5555

5656
## Common Features to qat_hw & qat_sw

docs/limitations.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* **qat_contig_mem** memory driver is not supported when running under FreeBSD
1212
Operating system or in the qatlib RPM. The default is to use the USDM memory
1313
driver supplied as part of the Intel&reg; QAT Driver.
14-
* **SM2, SM3 & SM4** application testing is done using BabaSSL only since OpenSSL
14+
* **SM2, SM3 & SM4** application testing is done using Tongsuo only since OpenSSL
1515
doesn't support SMx cipher suites.
1616
* QAT Engine doesn't support **ENCRYPT_THEN_MAC**(default) mode of operation meaning
1717
when Encrypt then MAC is negotiated for symmetric ciphers say AES-CBC, the requests will not
@@ -38,9 +38,8 @@
3838
algorithm support.
3939
* QAT Engine built for OpenSSL3.0 is only compatible with dependent libraries also linked with OpenSSL3.0
4040
libraries due to [OpenSSL#17112][1]. Same applies for OpenSSL 1.1.1.
41-
* SM4-GCM and SM4-CCM are only supported with BabaSSL versions based on OpenSSL 1.1.1.
42-
They are not supported with OpenSSL 1.1.1, OpenSSL 3.0 and BabaSSL versions based
43-
on OpenSSL 3.0.
41+
* SM4-GCM, SM4-CCM and SM4-CBC are only supported with Tongsuo and they are not supported with OpenSSL.
42+
* Handshake Failures with X25519/X448 which is fixed in [Tongsuo#563][7] and SM2 init Failure in Speed test is fixed in [Tongsuo#590][8]. These issues observed in Tongsuo only and not in OpenSSL.
4443
* HKDF based on SM3 is not supported in QAT_HW, The request will fallback to OpenSSL software if
4544
fallback been enabled otherwise failures are observed.
4645
* There is a limitation with thread specific USDM: *memory allocated in one thread
@@ -112,6 +111,7 @@
112111
* Nginx Handshake Performance in OpenSSL3.0 is slightly slower compared to OpenSSL 1.1.1. The same
113112
behaviour is observed in OpenSSL_SW as well [OpenSSL#21833][6].
114113
* Performance scaling is not linear in QAT2.0 supported platforms in ECDSA and chacha-poly algorithms.
114+
* Performance drop observed with ECDSAP256 algorithm in the OpenSSL speed tests with FreeBSD 14 intree driver.
115115

116116
Articles:
117117

@@ -127,3 +127,5 @@
127127
[4]:https://github.com/openssl/openssl/issues/21622
128128
[5]:https://github.com/openssl/openssl/issues/18509
129129
[6]:https://github.com/openssl/openssl/issues/21833
130+
[7]:https://github.com/Tongsuo-Project/Tongsuo/pull/563
131+
[8]:https://github.com/Tongsuo-Project/Tongsuo/pull/590

docs/openssl_config.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ an additional `init` setting that is out of scope of the documentation here.
113113

114114
For further details on using the OpenSSL\* configuration file please see the
115115
OpenSSL\* online documentation located at:
116-
<https://www.openssl.org/docs/man1.1.0/apps/config.html>
116+
<https://www.openssl.org/docs/man3.0/man5/config.html>
117117

118118
By setting up the configuration file as above it is possible for instance to run
119119
the OpenSSL\* speed application to use the Intel&reg; QAT OpenSSL\* Engine
120-
without needing to specify `-engine qatengine` as a command line option.
120+
without needing to specify `-engine qatengine` as a command line option.

docs/qat_common.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ and the default if not specified will use engine interface.
2525
| SHA3-384 | QAT_HW |
2626
| SHA3-512 | QAT_HW |
2727
| ChachaPoly | QAT_HW |
28-
| SM4-GCM (BabaSSL only) | QAT_SW |
29-
| SM4-CCM (BabaSSL only) | QAT_SW |
28+
| SM4-GCM (Tongsuo only) | QAT_SW |
29+
| SM4-CCM (Tongsuo only) | QAT_SW |
3030
| SM4-CBC | QAT_HW & QAT_SW |
3131
| SM3 | QAT_HW & QAT_SW |
3232
| AES-CCM | QAT_HW |

docs/qat_hw_algo.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@
3434
\* Enabled in the default build of qatengine for the specified platforms when `--with-qat_hw_dir` is provided in qatengine/qatprovider build configure.<br>
3535
\** Insecure algorithms which are disabled by default in QAT_HW driver version 1.7 & 1.8 and qatengine/qatprovider. Can be enabled using configure flag `--enable-qat_insecure_algorithms`. Driver will also needs to be built with the flag `./configure --enable-legacy-algorithms` to enable these algorithms at driver.<br>
3636
\*** Algorithms disabled by default as those are experimental.<br>
37-
\# Disabled by default as it is specific to BabaSSL and not applicable to OpenSSL. To be enabled when qatengine is built with BabaSSL.
37+
\# Disabled by default as it is specific to Tongsuo and not applicable to OpenSSL. To be enabled when qatengine is built with Tongsuo.
3838

3939
Please refer [config_options](config_options.md) on details about algorithm enable/disable flags.

docs/software_requirements.md

+9-7
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,14 @@ that supports OpenSSL\* 1.1.1 or OpenSSL\* 3.0 or BoringSSL\* and Intel&reg; Qui
66
Technology Driver for Linux or Intel&reg; QuickAssist Technology
77
Driver for FreeBSD. This release was validated on the following:
88

9-
* Intel&reg; QuickAssist Technology Driver for Linux\* HW Version 2.0 (RHEL\* 8.6) - **QAT20.L.1.0.50-00003**
10-
* Intel&reg; QuickAssist Technology Driver for Linux\* HW Version 1.7 & 1.8 (CentOS\* 8.4 & Ubuntu\* 20.04.2) - **QAT.L.4.23.0-00001**
9+
* Intel&reg; QuickAssist Technology Driver for Linux\* HW Version 2.0 (RHEL\* 8.6) - **QAT20.L.1.1.4000018**
10+
* Intel&reg; QuickAssist Technology Driver for Linux\* HW Version 1.7 & 1.8 (CentOS\* 8.4 & Ubuntu\* 20.04.2) - **QAT.L.4.24.0-00005**
1111
* Intel&reg; QuickAssist Technology Driver for FreeBSD\* HW Version 1.7 (FreeBSD\* 12.4) - **QAT.B.3.12.0-00004**
12-
* OpenSSL\* 1.1.1w (for FreeBSD only) & 3.0.12
12+
* Intel&reg; QATlib for Linux - **QATlib 24.02.0**
13+
* Intel&reg; QATlib for FreeBSD (FreeBSD 14)- **FreeBSD QATlib 23.09.0**
14+
* OpenSSL\* 1.1.1w (for FreeBSD only) & 3.0.13
1315
* BoringSSL\* commit - [23ed9d3][1]
14-
* BabaSSL - 8.3.3 for qatengine and 8.4-stable for qatprovider
16+
* Tongsuo - 8.4.0 (BabaSSL)
1517

1618
## qat_sw Requirements
1719
Successful operation of the Intel&reg; QAT Software acceleration requires a
@@ -29,11 +31,11 @@ This release was validated on the following:
2931

3032
* Operating system: Ubuntu\* 20.04.2 LTS
3133
* Intel&reg; Crypto Multi-buffer library from the [ipp-crypto][2] release
32-
version **IPP Crypto 2021.10**
34+
version **IPP Crypto 2021.11** for OpenSSL & Tongsuo-8.4.0 (BabaSSL) and **IPP Crypto 2021.10** for BoringSSL
3335
* Intel&reg; Multi-Buffer crypto for IPsec Library release version **v1.5**
34-
* OpenSSL\* 3.0.12
36+
* OpenSSL\* 3.0.13
3537
* BoringSSL\* commit - [23ed9d3][1]
36-
* BabaSSL - 8.3.3 for qatengine and 8.4-stable for qatprovider
38+
* Tongsuo - 8.4.0 (BabaSSL)
3739

3840
[1]:https://github.com/google/boringssl/commit/23ed9d3852bbc738bebeaa0fe4a0782f91d7873c
3941
[2]:https://github.com/intel/ipp-crypto

driver_install.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/bin/sh
22

33
#QAT_HW OOT driver Location
4-
QAT17_DRIVER=https://downloadmirror.intel.com/788561/QAT.L.4.23.0-00001.tar.gz
5-
QAT20_DRIVER=https://downloadmirror.intel.com/783270/QAT20.L.1.0.50-00003.tar.gz
4+
QAT17_DRIVER=https://downloadmirror.intel.com/795697/QAT.L.4.24.0-00005.tar.gz
5+
QAT20_DRIVER=https://downloadmirror.intel.com/818498/QAT20.L.1.1.40-00018.tar.gz
66

77
#Supported Devices
88
numC62xDevice=`lspci -vnd 8086: | grep -c "37c8\|37c9"`

e_qat.c

+5-3
Original file line numberDiff line numberDiff line change
@@ -164,13 +164,13 @@ int qat_fips_kat_test;
164164
const char *engine_qat_id = STR(QAT_ENGINE_ID);
165165
#if defined(QAT_HW) && defined(QAT_SW)
166166
const char *engine_qat_name =
167-
"Reference implementation of QAT crypto engine(qat_hw & qat_sw) v1.5.0";
167+
"Reference implementation of QAT crypto engine(qat_hw & qat_sw) v1.6.0";
168168
#elif QAT_HW
169169
const char *engine_qat_name =
170-
"Reference implementation of QAT crypto engine(qat_hw) v1.5.0";
170+
"Reference implementation of QAT crypto engine(qat_hw) v1.6.0";
171171
#else
172172
const char *engine_qat_name =
173-
"Reference implementation of QAT crypto engine(qat_sw) v1.5.0";
173+
"Reference implementation of QAT crypto engine(qat_sw) v1.6.0";
174174
#endif
175175
unsigned int engine_inited = 0;
176176
int fallback_to_openssl = 0;
@@ -607,6 +607,7 @@ int qat_engine_init(ENGINE *e)
607607
if (!qat_hw_init(e)) {
608608
# ifdef ENABLE_QAT_FIPS
609609
fprintf(stderr, "QAT_HW initialization Failed\n");
610+
qat_pthread_mutex_unlock();
610611
return 0;
611612
# else
612613
# ifdef QAT_SW /* Co-Existence mode: Don't return failure when QAT HW initialization Failed. */
@@ -627,6 +628,7 @@ int qat_engine_init(ENGINE *e)
627628
if (!qat_sw_init(e)) {
628629
# ifdef ENABLE_QAT_FIPS
629630
fprintf(stderr, "QAT_SW initialization Failed\n");
631+
qat_pthread_mutex_unlock();
630632
return 0;
631633
# else
632634
WARN("QAT SW initialization Failed, switching to OpenSSL.\n");

ipp-crypto

openssl

Submodule openssl updated 205 files

qat_evp.c

+4
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,11 @@ const EVP_MD *qat_sw_create_sm3_meth(int nid , int key_type)
379379
#else
380380
qat_sw_sm3_offload = 0;
381381
DEBUG("QAT SW SM3 is disabled, using OpenSSL SW\n");
382+
# ifdef OPENSSL_NO_SM2_SM3
383+
return NULL;
384+
# else
382385
return (EVP_MD *)EVP_sm3();
386+
# endif
383387
#endif
384388
}
385389

qat_hw_chachapoly.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -992,7 +992,7 @@ static int qat_chacha20_poly1305_tls_cipher(EVP_CIPHER_CTX * ctx, unsigned char
992992
if (op_done.status == CPA_STATUS_FAIL) {
993993
CRYPTO_QAT_LOG("Verification of result failed for qat inst_num %d device_id %d - %s\n",
994994
cp_ctx->inst_num,
995-
qat_instance_details[cp_ctx->_inst_num].qat_instance_info.physInstId.packageId, __func__);
995+
qat_instance_details[cp_ctx->inst_num].qat_instance_info.physInstId.packageId, __func__);
996996
qat_cleanup_op_done(&op_done);
997997
goto tls_cipher_err;
998998
}
@@ -1322,7 +1322,7 @@ static int qat_chacha20_poly1305_do_cipher(EVP_CIPHER_CTX * ctx, unsigned char *
13221322
if (op_done.status == CPA_STATUS_FAIL) {
13231323
CRYPTO_QAT_LOG("Verification of result failed for qat inst_num %d device_id %d - %s\n",
13241324
cp_ctx->inst_num,
1325-
qat_instance_details[cp_ctx->_inst_num].qat_instance_info.physInstId.packageId, __func__);
1325+
qat_instance_details[cp_ctx->inst_num].qat_instance_info.physInstId.packageId, __func__);
13261326
qat_cleanup_op_done(&op_done);
13271327
goto do_cipher_err;
13281328
}

0 commit comments

Comments
 (0)