-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OpenSSL 3.0 Provider support for RSA, ECDH, ECDSA, ECX and AES-GCM using QAT_HW and QAT_SW. Co-authored-by: Jaya Naga Venkata Sudhakar <[email protected]> Co-authored-by: ravalib <[email protected]> Signed-off-by: Yogaraj Alamenda <[email protected]>
- Loading branch information
1 parent
5ee799a
commit 38086fa
Showing
49 changed files
with
9,352 additions
and
260 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# QAT_HW and QAT_SW Co-existence Feature | ||
|
||
Intel® QAT OpenSSL\* Engine supports QAT_HW and QAT_SW Co-existence build | ||
with both QAT_HW and QAT_SW dependant libraries(QAT Driver, cryptom_mb and | ||
ipsec_mb) linked in the qatengine.so library. This support can be enabled at | ||
build time when both QAT_HW flag `--with-qat_hw_dir=/path/to/QAT_Driver` | ||
and QAT_SW flag `--enable-qat_sw` configured together in the build configure | ||
option. | ||
|
||
If the platform has support for both QAT_HW and QAT_SW, the default | ||
behaviour is to accelerate asymmetric algorithms and Symmetric chained ciphers | ||
using QAT Hardware and Symmetric GCM Ciphers using QAT Software. If the platform | ||
doesn't have QAT Hardware support then it will use QAT_SW Acceleration for | ||
QAT_SW asymmetric algorithms that are supported in the qatengine. | ||
|
||
The default behaviour can be changed using corresponding algorithm's enable | ||
flags (eg:--enable-qat_sw_rsa) in which case the individual algorithms enabled | ||
(either qat_hw or qat_sw) in the build configure will get accelerated. | ||
|
||
# OpenSSL 3.0 Provider Support | ||
|
||
Intel® QAT OpenSSL\* Engine supports Provider interface for OpenSSL3.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 | ||
and QAT_SW. This support is added as an experimental feature and tested with | ||
OpenSSL Speed and testapp only and not tested with any application. | ||
|
||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.