Skip to content

Commit

Permalink
Update README and version to v0.6.12
Browse files Browse the repository at this point in the history
Signed-off-by: Yogaraj Alamenda <[email protected]>
  • Loading branch information
Yogaraj-Alamenda committed Apr 1, 2022
1 parent 38086fa commit dca2957
Show file tree
Hide file tree
Showing 9 changed files with 41 additions and 24 deletions.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script.

AC_PREREQ([2.68])
AC_INIT([qatengine], [0.6.11], [])
AC_INIT([qatengine], [0.6.12], [])
AC_CONFIG_SRCDIR([config.h.in])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_AUX_DIR([.])
Expand Down
4 changes: 4 additions & 0 deletions docs/limitations.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,7 @@
* SM3 is disabled by default due to known issue from cryto_mb. When SM3 enabled,
Performance drop observed in mulithread scenario for all ciphers suites
due to the locks at engine_table_select in OpenSSL.
* OpenSSL 1.1.1n introduced misleading error message(undefined symbol: EVP_PKEY_get_base_id)
during engine load which can be ignored as it is not a real failure. Details of error
message can be found [here] [1]
[1]:https://github.com/openssl/openssl/issues/17962
4 changes: 2 additions & 2 deletions docs/qat_common.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ flags (eg:--enable-qat_sw_rsa) in which case the individual algorithms enabled

# OpenSSL 3.0 Provider Support

Intel&reg; QAT OpenSSL\* Engine supports Provider interface for OpenSSL3.0.
Intel&reg; QAT OpenSSL\* Engine supports Provider interface for OpenSSL 3.0.
The qatprovider support can be enabled using configure flag `--enable-qat_provider`
and the default if not specified will use engine interface. Currently RSA, ECDSA,
ECDH, ECX and AES-GCM algorithms are only supported for both QAT_HW
Expand All @@ -31,4 +31,4 @@ Example OpenSSL Speed command to test using qatprovider:
* QAT_HW
./openssl speed -provider qatprovider -elapsed -async_jobs 72 rsa2048
* QAT_SW
./openssl speed -provider qatprovider -elapsed -async_jobs 72 rsa2048
./openssl speed -provider qatprovider -elapsed -async_jobs 8 rsa2048
8 changes: 4 additions & 4 deletions docs/software_requirements.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Driver for FreeBSD. This release was validated on the following:
* Kernel: GNU\*/Linux\* 3.10.0-693
* Intel&reg; Communications Chipset C62X Series Software for Linux\*, version **4.16**
* Intel&reg; Communications Chipset C62X Series Software for FreeBSD\*, version **3.11**
* OpenSSL\* 1.1.1m & 3.0.1
* OpenSSL\* 1.1.1n & 3.0.1

## qat_sw Requirements
Successful operation of the Intel&reg; QAT Software acceleration requires a
Expand All @@ -29,9 +29,9 @@ This release was validated on the following:
* Operating system: Ubuntu 20.04.2 LTS
* Kernel: 5.4.0-62-generic
* Intel&reg; Crypto Multi-buffer library from the [ipp-crypto][1] release
version **IPP Crypto 2021.4**
* Intel&reg; Multi-Buffer crypto for IPsec Library release version **v1.0**
* OpenSSL\* 1.1.1m & 3.0.1
version **IPP Crypto 2021.5**
* Intel&reg; Multi-Buffer crypto for IPsec Library release version **v1.2**
* OpenSSL\* 1.1.1n & 3.0.1

[1]:https://github.com/intel/ipp-crypto
[2]:https://github.com/intel/ipp-crypto/tree/develop/sources/ippcp/crypto_mb
Expand Down
6 changes: 3 additions & 3 deletions e_qat.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,13 +144,13 @@
const char *engine_qat_id = STR(QAT_ENGINE_ID);
#if defined(QAT_HW) && defined(QAT_SW)
const char *engine_qat_name =
"Reference implementation of QAT crypto engine(qat_hw & qat_sw) v0.6.11";
"Reference implementation of QAT crypto engine(qat_hw & qat_sw) v0.6.12";
#elif QAT_HW
const char *engine_qat_name =
"Reference implementation of QAT crypto engine(qat_hw) v0.6.11";
"Reference implementation of QAT crypto engine(qat_hw) v0.6.12";
#else
const char *engine_qat_name =
"Reference implementation of QAT crypto engine(qat_sw) v0.6.11";
"Reference implementation of QAT crypto engine(qat_sw) v0.6.12";
#endif
unsigned int engine_inited = 0;

Expand Down
6 changes: 3 additions & 3 deletions qat_prov_hw_ecx.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
#define QAT_X448_DATALEN 64
#define X448_DATA_KEY_DIFF 8

#ifdef QAT_OPENSSL_PROVIDER
# ifdef QAT_OPENSSL_PROVIDER
void *qat_pkey_ecx_keygen(void *genctx, OSSL_CALLBACK *osslcb,
void *cbarg)
{
Expand Down Expand Up @@ -993,5 +993,5 @@ int qat_pkey_ecx_derive448(void *vecxctx, unsigned char *secret, size_t *secretl
}
return ret;
}
#endif
#endif
# endif /* Provider */
#endif /* ENABLE_QAT_HW_ECX */
13 changes: 7 additions & 6 deletions qat_prov_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -183,11 +183,13 @@ static int qat_get_params(void *provctx, OSSL_PARAM params[])
}

static const OSSL_ALGORITHM_CAPABLE qat_deflt_ciphers[] = {
#if defined(ENABLE_QAT_HW_GCM) || defined(ENABLE_QAT_SW_GCM)
ALG(QAT_NAMES_AES_128_GCM, qat_aes128gcm_functions),
#ifdef QAT_SW
ALG(QAT_NAMES_AES_256_GCM, qat_aes256gcm_functions),
#endif
#ifdef ENABLE_QAT_SW_GCM
ALG(QAT_NAMES_AES_192_GCM, qat_aes192gcm_functions),
#endif
ALG(QAT_NAMES_AES_256_GCM, qat_aes256gcm_functions),
{ { NULL, NULL, NULL }, NULL }
};

Expand All @@ -196,7 +198,7 @@ static OSSL_ALGORITHM qat_exported_ciphers[OSSL_NELEM(qat_deflt_ciphers)];
static const OSSL_ALGORITHM qat_keyexch[] = {
{"X25519", QAT_DEFAULT_PROPERTIES, qat_X25519_keyexch_functions, "QAT X25519 keyexch implementation."},
{"ECDH", QAT_DEFAULT_PROPERTIES, qat_ecdh_keyexch_functions, "QAT ECDH keyexch implementation."},
#ifdef QAT_HW
#ifdef ENABLE_QAT_HW_ECX
{"X448", QAT_DEFAULT_PROPERTIES, qat_X448_keyexch_functions, "QAT X448 keyexch implementation."},
#endif
{NULL, NULL, NULL}};
Expand All @@ -205,7 +207,7 @@ static const OSSL_ALGORITHM qat_keymgmt[] = {
{"RSA", QAT_DEFAULT_PROPERTIES, qat_rsa_keymgmt_functions, "QAT RSA Keymgmt implementation."},
{"X25519", QAT_DEFAULT_PROPERTIES, qat_X25519_keymgmt_functions, "QAT X25519 Keymgmt implementation."},
{"EC", QAT_DEFAULT_PROPERTIES, qat_ec_keymgmt_functions, "QAT EC Keymgmt implementation."},
#ifdef QAT_HW
#ifdef ENABLE_QAT_HW_ECX
{"X448", QAT_DEFAULT_PROPERTIES, qat_X448_keymgmt_functions, "QAT X448 Keymgmt implementation."},
#endif
{NULL, NULL, NULL}};
Expand Down Expand Up @@ -310,8 +312,7 @@ int qat_get_params_from_core(const OSSL_CORE_HANDLE *handle)
}

if (qat_params.enable_external_polling == NULL) {
WARN("please ensure you have enable the qat_provider.cnf or we will use the default parameters.\n");
WARN("get_params from qat_provider.cnf is NULL. Use default params\n");
DEBUG("get_params is NULL. Using the default params\n");
return 1;
}

Expand Down
12 changes: 9 additions & 3 deletions qatengine-sw.spec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
%global enginesdir %(pkg-config --variable=enginesdir libcrypto)

Name: qatengine-sw
Version: 0.6.11
Version: 0.6.12
Release: 1%{?dist}
Summary: Intel QuickAssist Technology (QAT) OpenSSL Engine
# Most of the source code is BSD, with the following exceptions:
Expand All @@ -19,7 +19,7 @@ BuildRequires: gcc make pkg-config
BuildRequires: autoconf automake libtool
BuildRequires: openssl-devel >= 1.1.1
BuildRequires: intel-ipsec-mb-devel >= 0.55.0
BuildRequires: intel-ipp-crypto-mb-devel >= 1.0.1
BuildRequires: intel-ipp-crypto-mb-devel >= 1.0.4
# https://bugzilla.redhat.com/show_bug.cgi?id=1909065
ExcludeArch: %{arm} aarch64 %{power64} s390x i686

Expand Down Expand Up @@ -49,9 +49,15 @@ autoreconf -ivf
%exclude %{enginesdir}/qatengine.la

%changelog
* Tue Jan 18 2022 Yogaraj Alamenda <[email protected]> - 0.6.11-1
* Thu Mar 25 2022 Yogaraj Alamenda <[email protected]> - 0.6.12-1
- Update to qatengine v0.6.12

* Thu Jan 27 2022 Yogaraj Alamenda <[email protected]> - 0.6.11-1
- Update to qatengine v0.6.11

* Fri Jan 21 2022 Fedora Release Engineering <[email protected]> - 0.6.10-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild

* Thu Oct 28 2021 Yogaraj Alamenda <[email protected]> - 0.6.10-1
- Update to qatengine v0.6.10

Expand Down
10 changes: 8 additions & 2 deletions qatengine.spec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
%global enginesdir %(pkg-config --variable=enginesdir libcrypto)

Name: qatengine
Version: 0.6.11
Version: 0.6.12
Release: 1%{?dist}
Summary: Intel QuickAssist Technology (QAT) OpenSSL Engine
# Most of the source code is BSD, with the following exceptions:
Expand Down Expand Up @@ -46,9 +46,15 @@ autoreconf -ivf
%exclude %{enginesdir}/qatengine.la

%changelog
* Tue Jan 18 2022 Yogaraj Alamenda <[email protected]> - 0.6.11-1
* Thu Mar 25 2022 Yogaraj Alamenda <[email protected]> - 0.6.12-1
- Update to qatengine v0.6.12

* Thu Jan 27 2022 Yogaraj Alamenda <[email protected]> - 0.6.11-1
- Update to qatengine v0.6.11

* Fri Jan 21 2022 Fedora Release Engineering <[email protected]> - 0.6.10-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild

* Thu Oct 28 2021 Yogaraj Alamenda <[email protected]> - 0.6.10-1
- Update to qatengine v0.6.10

Expand Down

0 comments on commit dca2957

Please sign in to comment.